pic_list.html 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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_snsmalbum}</h3>
  7. <h5></h5>
  8. </div>
  9. {include file="public/admin_items" /}
  10. </div>
  11. </div>
  12. <form method="get" name="formSearch">
  13. <input type="hidden" name="id" value="{$id}" />
  14. <div class="ds-search-form">
  15. <dl>
  16. <dt>{$Think.lang.snsalbum_pic_name}</dt>
  17. <dd><input type="text" value="{$Request.get.pic_name}" name="pic_name" id="pic_name" class="txt"></dd>
  18. </dl>
  19. <div class="btn_group">
  20. <a href="javascript:document.formSearch.submit();" class="btn " title="{$Think.lang.ds_query}">{$Think.lang.ds_query}</a>
  21. </div>
  22. </div>
  23. </form>
  24. <table class="ds-default-table">
  25. <tbody>
  26. {notempty name="pic_list"}
  27. <tr><td colspan="20"><ul class="thumblists">
  28. {foreach name="pic_list" item="val"}
  29. <li class="picture">
  30. <div class="size-64x64">
  31. <span class="thumb"><i></i><img width="64" height="64" class="show_image" src="{:get_snsalbumpic($val['member_id'],$val['ap_cover'])}" />
  32. <span class="type-file-preview" style="display: none;">
  33. <img src="{:get_snsalbumpic($val['member_id'],$val['ap_cover'])}">
  34. </span>
  35. </span>
  36. </div>
  37. <p>
  38. <span><input class="checkitem" type="checkbox" name="id[]" value="{$val.ap_id}" /></span><span><a href="javascript:submit_delete({$val.ap_id})">{$Think.lang.ds_del}</a></span>
  39. </p>
  40. </li>
  41. {/foreach}
  42. </ul>
  43. </td>
  44. </tr>
  45. <tfoot>
  46. <tr class="tfoot">
  47. <td class="w48"><input id="checkallBottom" class="checkall" type="checkbox" /></td>
  48. <td colspan="16">
  49. <label for="checkallBottom">{$Think.lang.ds_select_all}</label>
  50. <a class="btn btn-small" href="javascript:void(0);" onclick="submit_delete_batch()"><span>{$Think.lang.ds_del}</span></a>
  51. </tr>
  52. </tfoot>
  53. {else}
  54. <tr class="no_data">
  55. <td colspan="15">{$Think.lang.ds_no_record}</td>
  56. </tr>
  57. {/notempty}
  58. </tbody>
  59. </table>
  60. {$showpage|raw}
  61. </div>
  62. <script type="text/javascript">
  63. function submit_delete(ids_str) {
  64. _uri = ADMINSITEURL + "/Snsmalbum/del_pic.html?ap_id=" + ids_str;
  65. dsLayerConfirm(_uri, '{$Think.lang.ds_ensure_del}');
  66. }
  67. </script>