606f79c66c615d689b37fc9aa07db666.php 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. <?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;}*/ ?>
  2. <!DOCTYPE html>
  3. <html>
  4. <head>
  5. <meta charset="utf-8">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  7. <title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?><?php echo htmlentities(lang('system_backend')); ?></title>
  8. <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  9. <link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
  10. <link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
  11. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
  12. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
  13. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
  14. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
  15. <script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
  16. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
  17. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
  18. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
  19. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
  20. <script type="text/javascript">
  21. var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
  22. var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
  23. var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
  24. var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
  25. var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
  26. </script>
  27. </head>
  28. <body>
  29. <div id="append_parent"></div>
  30. <div id="ajaxwaitid"></div>
  31. <div class="page">
  32. <div class="fixed-bar">
  33. <div class="item-title">
  34. <div class="subject">
  35. <h3><?php echo htmlentities(lang('ds_video')); ?></h3>
  36. <h5></h5>
  37. </div>
  38. <?php if($admin_item): ?>
  39. <ul class="tab-base ds-row">
  40. <?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): ?>
  41. <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>
  42. <?php endforeach; endif; else: echo "" ;endif; ?>
  43. </ul>
  44. <?php endif; ?>
  45. </div>
  46. </div>
  47. <table class="ds-default-table">
  48. <tbody>
  49. <?php if(!(empty($video_list) || (($video_list instanceof \think\Collection || $video_list instanceof \think\Paginator ) && $video_list->isEmpty()))): ?>
  50. <tr>
  51. <td colspan="20">
  52. <ul class="thumblists">
  53. <?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): ?>
  54. <li class="picture" id="ds_row_<?php echo htmlentities($v['goodsvideo_id']); ?>" style="width:254px !important;height: 274px;">
  55. <div>
  56. <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" />
  57. </div>
  58. <p>
  59. <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>
  60. </p>
  61. </li>
  62. <?php endforeach; endif; else: echo "" ;endif; ?>
  63. </ul>
  64. </td>
  65. </tr>
  66. <?php else: ?>
  67. <tr class="no_data">
  68. <td colspan="15"><?php echo htmlentities(lang('ds_no_record')); ?></td>
  69. </tr>
  70. <?php endif; ?>
  71. </tbody>
  72. <tfoot>
  73. <tr class="tfoot">
  74. <td class="w48"><input id="checkallBottom" class="checkall" type="checkbox"/></td>
  75. <td colspan="16">
  76. <label for="checkallBottom"><?php echo htmlentities(lang('ds_select_all')); ?></label>
  77. <a class="btn btn-small" href="javascript:void(0);" onclick="submit_delete_batch()"><span><?php echo htmlentities(lang('ds_del')); ?></span></a>
  78. </td>
  79. </tr>
  80. </tfoot>
  81. </table>
  82. <?php echo $show_page; ?>
  83. </div>
  84. <script>
  85. 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;}})();
  86. </script>
  87. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.poshytip.min.js"></script>
  88. <script>
  89. $(function () {
  90. $('.tip').poshytip({
  91. className: 'tip-yellowsimple',
  92. alignTo: 'target',
  93. alignX: 'center',
  94. alignY: 'bottom',
  95. offsetX: 0,
  96. offsetY: 5,
  97. allowTipHover: false
  98. });
  99. });
  100. function submit_delete(ids_str){
  101. _uri = ADMINSITEURL+"/Goodsvideo/del_video.html?goodsvideo_id=" + ids_str;
  102. dsLayerConfirm(_uri,'<?php echo htmlentities(lang('ds_ensure_del')); ?>');
  103. }
  104. </script>