seller_log.html 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. {extend name="default/base/base_seller" /}
  2. {block name="seller_main"}
  3. <form method="get">
  4. <table class="search-form">
  5. <tr>
  6. <td>&nbsp;</td>
  7. <th>{$Think.lang.sellerlog_account}</th>
  8. <td class="w100"><input type="text" class="text w80" name="seller_name"
  9. value="{$Request.get.seller_name}" /></td>
  10. <th>{$Think.lang.sellerlog_log_content}</th>
  11. <td class="w160"><input type="text" class="text w150" name="log_content"
  12. value="{$Request.get.log_content}" /></td>
  13. <th>{$Think.lang.sellerlog_time}</th>
  14. <td class="w240">
  15. <input name="add_time_from" id="add_time_from" type="text" class="text w70"
  16. value="{$Request.get.add_time_from}" />
  17. <label class="add-on"><i class="iconfont">&#xe8d6;</i></label>&nbsp;&#8211;&nbsp;
  18. <input name="add_time_to" id="add_time_to" type="text" class="text w70"
  19. value="{$Request.get.add_time_to}" />
  20. <label class="add-on"><i class="iconfont">&#xe8d6;</i></label>
  21. </td>
  22. <td class="w70 tc">
  23. <input type="submit" class="submit" value="{$Think.lang.ds_search}" />
  24. </td>
  25. </tr>
  26. </table>
  27. </form>
  28. <table class="dssc-default-table">
  29. <thead>
  30. <tr>
  31. <th class="w100">{$Think.lang.sellerlog_account}</th>
  32. <th class="tl">{$Think.lang.sellerlog_log_content}</th>
  33. <th class="w80">{$Think.lang.ds_state}</th>
  34. <th class="w110">ip</th>
  35. <th class="w130">{$Think.lang.sellerlog_time}</th>
  36. </tr>
  37. </thead>
  38. <tbody>
  39. {if $log_list}
  40. {foreach name="log_list" item="log"}
  41. <tr class="bd-line">
  42. <td height="30">{$log.sellerlog_seller_name}</td>
  43. <td class="tl">{$log.sellerlog_content}</td>
  44. <td>{$log.sellerlog_state ? lang('sellerlog_success') : lang('sellerlog_failure')}</td>
  45. <td>{$log.sellerlog_seller_ip}</td>
  46. <td>{$log.sellerlog_time|date="Y-m-d H:s"}</td>
  47. </tr>
  48. {/foreach}
  49. {else}
  50. <tr>
  51. <td colspan="20" class="norecord">
  52. <div class="warning-option"><i
  53. class="iconfont">&#xe64c;</i><span>{$Think.lang.no_record}</span></div>
  54. </td>
  55. </tr>
  56. {/if}
  57. </tbody>
  58. </table>
  59. {$show_page|raw}
  60. <script type="text/javascript">
  61. $(document).ready(function () {
  62. $('#add_time_from').datepicker({dateFormat: 'yy-mm-dd'});
  63. $('#add_time_to').datepicker({dateFormat: 'yy-mm-dd'});
  64. });
  65. </script>
  66. {/block}