index.html 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. {include file="public/header" /}
  2. <div class="page">
  3. <div class="fixed-bar">
  4. <div class="item-title">
  5. <div class="subject">
  6. <h3>{$Think.lang.ds_video}</h3>
  7. <h5></h5>
  8. </div>
  9. {include file="public/admin_items" /}
  10. </div>
  11. </div>
  12. <table class="ds-default-table">
  13. <tbody>
  14. {notempty name="video_list"}
  15. <tr>
  16. <td colspan="20">
  17. <ul class="thumblists">
  18. {foreach name="video_list" item="v"}
  19. <li class="picture" id="ds_row_{$v.goodsvideo_id}" style="width:254px !important;height: 274px;">
  20. <div>
  21. <video title='{$v.goodsvideo_add_time|date="Y-m-d"}<br>{$v.store_name}' controls="" height="240" width="240" src="{:goods_video($v.goodsvideo_name)}" class="tip" />
  22. </div>
  23. <p>
  24. <span><input class="checkitem" type="checkbox" name="delbox[]" value="{$v.goodsvideo_id}"></span><span><a href="javascript:dsLayerConfirm('{:url('Goodsvideo/del_video',['goodsvideo_id'=>$v.goodsvideo_id])}','{$Think.lang.ds_ensure_del}',{$v.goodsvideo_id})">{$Think.lang.ds_del}</a></span>
  25. </p>
  26. </li>
  27. {/foreach}
  28. </ul>
  29. </td>
  30. </tr>
  31. {else /}
  32. <tr class="no_data">
  33. <td colspan="15">{$Think.lang.ds_no_record}</td>
  34. </tr>
  35. {/notempty}
  36. </tbody>
  37. <tfoot>
  38. <tr class="tfoot">
  39. <td class="w48"><input id="checkallBottom" class="checkall" type="checkbox"/></td>
  40. <td colspan="16">
  41. <label for="checkallBottom">{$Think.lang.ds_select_all}</label>
  42. <a class="btn btn-small" href="javascript:void(0);" onclick="submit_delete_batch()"><span>{$Think.lang.ds_del}</span></a>
  43. </td>
  44. </tr>
  45. </tfoot>
  46. </table>
  47. {$show_page|raw}
  48. </div>
  49. <script>
  50. 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;}})();
  51. </script>
  52. <script src="{$Think.PLUGINS_SITE_ROOT}/jquery.poshytip.min.js"></script>
  53. <script>
  54. $(function () {
  55. $('.tip').poshytip({
  56. className: 'tip-yellowsimple',
  57. alignTo: 'target',
  58. alignX: 'center',
  59. alignY: 'bottom',
  60. offsetX: 0,
  61. offsetY: 5,
  62. allowTipHover: false
  63. });
  64. });
  65. function submit_delete(ids_str){
  66. _uri = ADMINSITEURL+"/Goodsvideo/del_video.html?goodsvideo_id=" + ids_str;
  67. dsLayerConfirm(_uri,'{$Think.lang.ds_ensure_del}');
  68. }
  69. </script>