index.html 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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.arrivalnotice_arrivalnotice}</h3>
  7. <h5></h5>
  8. </div>
  9. {include file="public/admin_items" /}
  10. </div>
  11. </div>
  12. <form method="get" name="formSearch">
  13. <div class="ds-search-form">
  14. <dl>
  15. <dt>{$Think.lang.ds_goods_name}</dt>
  16. <dd><input class="txt" name="search_goods" value="{$Request.get.search_goods}" type="text"></dd>
  17. </dl>
  18. <dl>
  19. <dt>{$Think.lang.arrivalnotice_state}</dt>
  20. <dd>
  21. <select name="search_state">
  22. <option value="">{$Think.lang.ds_please_choose}...</option>
  23. <option value="1">{$Think.lang.arrivalnotice_noinformed}</option>
  24. <option value="2">{$Think.lang.arrivalnotice_informed}</option>
  25. </select>
  26. </dd>
  27. </dl>
  28. <div class="btn_group">
  29. <a href="javascript:document.formSearch.submit();" class="btn" title="{$Think.lang.ds_query}">{$Think.lang.ds_query}</a>
  30. {if $filtered}
  31. <a href="{:url('arrivalnotice/index')}" class="btn btn-default" title="{$Think.lang.ds_cancel}">{$Think.lang.ds_cancel}</a>
  32. {/if}
  33. </div>
  34. </div>
  35. </form>
  36. <div class="explanation" id="explanation">
  37. <div class="title" id="checkZoom">
  38. <h4 title="{$Think.lang.ds_explanation_tip}">{$Think.lang.ds_explanation}</h4>
  39. <span id="explanationZoom" title="{$Think.lang.ds_explanation_close}" class="arrow"></span>
  40. </div>
  41. <ul>
  42. <li>{$Think.lang.arrivalnotice_tips}</li>
  43. </ul>
  44. </div>
  45. <form method='post' id="picForm" name="picForm">
  46. <table class="ds-default-table">
  47. <thead>
  48. <tr class="thead">
  49. <th class="w24"></th>
  50. <th class="">Email</th>
  51. <th class="">{$Think.lang.ds_goods_name}</th>
  52. <th class="">{$Think.lang.arrivalnotice_member_name}</th>
  53. <th class="">{$Think.lang.arrivalnotice_mobile}</th>
  54. <th class="">{$Think.lang.arrivalnotice_state}</th>
  55. <th class="">{$Think.lang.arrivalnotice_addtime}</th>
  56. <th class="">{$Think.lang.arrivalnotice_time}</th>
  57. <th class="align-center">{$Think.lang.ds_handle}</th>
  58. </tr>
  59. </thead>
  60. <tbody>
  61. {notempty name="arrivalnotice_list"}
  62. {foreach name="arrivalnotice_list" item="v"}
  63. <tr class="hover edit">
  64. <td><input value="{$v.arrivalnotice_id}" class="checkitem" type="checkbox" name="arrivalnotice_id[]"></td>
  65. <td class="name">{$v.arrivalnotice_email}</td>
  66. <td class="name">{$v.goods_name}</td>
  67. <td class="name">{$v.member_name}</td>
  68. <td class="name">{:encrypt_show($v.arrivalnotice_mobile,4,4)}</td>
  69. <td class="name">{if $v.arrivalnotice_state==2}{$Think.lang.arrivalnotice_state_2}{else/}{$Think.lang.arrivalnotice_state_1}{/if}</td>
  70. <td class="name">{$v.arrivalnotice_addtime|date="Y-m-d H:i:s"}</td>
  71. <td class="name">{if $v.arrivalnotice_time neq '0'}{$v.arrivalnotice_time|date="Y-m-d H:i:s"}{/if}</td>
  72. <td class="align-center">
  73. <a href="javascript:dsLayerConfirm('{:url('arrivalnotice/arrivalnotice_del',['arrivalnotice_id'=>$v.arrivalnotice_id])}','{$Think.lang.ds_ensure_del}')"
  74. class="dsui-btn-del"><i class="iconfont"></i>{$Think.lang.ds_del}</a>
  75. </td>
  76. </tr>
  77. {/foreach}
  78. {else}
  79. <tr class="no_data">
  80. <td colspan="10">{$Think.lang.ds_no_record}</td>
  81. </tr>
  82. {/notempty}
  83. </tbody>
  84. <tfoot>
  85. {notempty name="arrivalnotice_list"}
  86. <tr colspan="15" class="tfoot">
  87. <td><input type="checkbox" class="checkall" id="checkallBottom"></td>
  88. <td colspan="16"><label for="checkallBottom">{$Think.lang.ds_select_all}</label>
  89. &nbsp;&nbsp;<a href="JavaScript:void(0);" class="btn btn-small" onclick="submit_delete_batch()"><span>{$Think.lang.ds_del}</span></a>
  90. </td>
  91. </tr>
  92. {/notempty}
  93. </tfoot>
  94. </table>
  95. {$show_page|raw}
  96. </form>
  97. </div>
  98. <script type="text/javascript">
  99. function submit_delete(ids_str) {
  100. _uri = ADMINSITEURL + "/arrivalnotice/arrivalnotice_del.html?arrivalnotice_id=" + ids_str;
  101. dsLayerConfirm(_uri, '{$Think.lang.ds_ensure_del}');
  102. }
  103. </script>