123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114 |
- <?php /*a:3:{s:64:"/data/web/mall.valimart.net/app/admin/view/goodsvideo/index.html";i:1657785096;s:61:"/data/web/mall.valimart.net/app/admin/view/public/header.html";i:1657785098;s:66:"/data/web/mall.valimart.net/app/admin/view/public/admin_items.html";i:1657785098;}*/ ?>
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?><?php echo htmlentities(lang('system_backend')); ?></title>
- <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
- <link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
- <link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
- <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
- <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
- <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
- <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
- <script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
- <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
- <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
- <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
- <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
- <script type="text/javascript">
- var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
- var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
- var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
- var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
- var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
- </script>
- </head>
- <body>
- <div id="append_parent"></div>
- <div id="ajaxwaitid"></div>
- <div class="page">
- <div class="fixed-bar">
- <div class="item-title">
- <div class="subject">
- <h3><?php echo htmlentities(lang('ds_video')); ?></h3>
- <h5></h5>
- </div>
- <?php if($admin_item): ?>
- <ul class="tab-base ds-row">
- <?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
- <li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
- <?php endforeach; endif; else: echo "" ;endif; ?>
- </ul>
- <?php endif; ?>
- </div>
- </div>
- <table class="ds-default-table">
- <tbody>
- <?php if(!(empty($video_list) || (($video_list instanceof \think\Collection || $video_list instanceof \think\Paginator ) && $video_list->isEmpty()))): ?>
- <tr>
- <td colspan="20">
- <ul class="thumblists">
- <?php if(is_array($video_list) || $video_list instanceof \think\Collection || $video_list instanceof \think\Paginator): if( count($video_list)==0 ) : echo "" ;else: foreach($video_list as $key=>$v): ?>
- <li class="picture" id="ds_row_<?php echo htmlentities($v['goodsvideo_id']); ?>" style="width:254px !important;height: 274px;">
- <div>
- <video title='<?php echo htmlentities(date("Y-m-d",!is_numeric($v['goodsvideo_add_time'])? strtotime($v['goodsvideo_add_time']) : $v['goodsvideo_add_time'])); ?><br><?php echo htmlentities($v['store_name']); ?>' controls="" height="240" width="240" src="<?php echo goods_video($v['goodsvideo_name']); ?>" class="tip" />
- </div>
- <p>
- <span><input class="checkitem" type="checkbox" name="delbox[]" value="<?php echo htmlentities($v['goodsvideo_id']); ?>"></span><span><a href="javascript:dsLayerConfirm('<?php echo url('Goodsvideo/del_video',['goodsvideo_id'=>$v['goodsvideo_id']]); ?>','<?php echo htmlentities(lang('ds_ensure_del')); ?>',<?php echo htmlentities($v['goodsvideo_id']); ?>)"><?php echo htmlentities(lang('ds_del')); ?></a></span>
- </p>
- </li>
- <?php endforeach; endif; else: echo "" ;endif; ?>
- </ul>
- </td>
- </tr>
- <?php else: ?>
- <tr class="no_data">
- <td colspan="15"><?php echo htmlentities(lang('ds_no_record')); ?></td>
- </tr>
- <?php endif; ?>
- </tbody>
- <tfoot>
- <tr class="tfoot">
- <td class="w48"><input id="checkallBottom" class="checkall" type="checkbox"/></td>
- <td colspan="16">
- <label for="checkallBottom"><?php echo htmlentities(lang('ds_select_all')); ?></label>
- <a class="btn btn-small" href="javascript:void(0);" onclick="submit_delete_batch()"><span><?php echo htmlentities(lang('ds_del')); ?></span></a>
- </td>
- </tr>
- </tfoot>
- </table>
- <?php echo $show_page; ?>
- </div>
- <script>
- jQuery.browser={};(function(){jQuery.browser.msie=false; jQuery.browser.version=0;if(navigator.userAgent.match(/MSIE ([0-9]+)./)){ jQuery.browser.msie=true;jQuery.browser.version=RegExp.$1;}})();
- </script>
- <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.poshytip.min.js"></script>
- <script>
- $(function () {
- $('.tip').poshytip({
- className: 'tip-yellowsimple',
- alignTo: 'target',
- alignX: 'center',
- alignY: 'bottom',
- offsetX: 0,
- offsetY: 5,
- allowTipHover: false
- });
- });
- function submit_delete(ids_str){
- _uri = ADMINSITEURL+"/Goodsvideo/del_video.html?goodsvideo_id=" + ids_str;
- dsLayerConfirm(_uri,'<?php echo htmlentities(lang('ds_ensure_del')); ?>');
- }
- </script>
|