index.html 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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_store_deposit}</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.admin_storedeposit_membername}</dt>
  16. <dd><input type="text" name="mname" class="txt" value='{$Request.param.mname}'></dd>
  17. </dl>
  18. <dl>
  19. <dt>{$Think.lang.admin_storedeposit_changetime}</dt>
  20. <dd><input type="text" id="stime" name="stime" class="txt date" value="{$Request.param.stime}" >
  21. ~
  22. <input type="text" id="etime" name="etime" class="txt date" value="{$Request.param.etime}" >
  23. </dd>
  24. </dl>
  25. <div class="btn_group">
  26. <a href="javascript:document.formSearch.submit();" class="btn " title="{$Think.lang.ds_query}">{$Think.lang.ds_query}</a>
  27. {if $filtered}
  28. <a href="{:url('storedeposit/index')}" class="btn btn-default" title="{$Think.lang.ds_cancel}">{$Think.lang.ds_cancel}</a>
  29. {/if}
  30. </div>
  31. </div>
  32. </form>
  33. <table class="ds-default-table">
  34. <thead>
  35. <tr class="thead">
  36. <th>{$Think.lang.admin_storedeposit_membername}</th>
  37. <th class="align-center">{$Think.lang.admin_storedeposit_changetime}</th>
  38. <th>{$Think.lang.admin_storedeposit_pricetype_available}({$Think.lang.ds_yuan})</th>
  39. <th>{$Think.lang.admin_storedeposit_pricetype_freeze}({$Think.lang.ds_yuan})</th>
  40. <th>{$Think.lang.admin_storedeposit_pricetype_payable}({$Think.lang.ds_yuan})</th>
  41. <th>{$Think.lang.admin_storedeposit_log_desc}</th>
  42. </tr>
  43. </thead>
  44. <tbody>
  45. {notempty name="list_log"}
  46. {foreach name="list_log" item="v" key="k" }
  47. <tr class="hover">
  48. <td>{$v.store_name}</td>
  49. <td class="nowarp align-center">{notempty name="$v.storedepositlog_add_time"}{$v.storedepositlog_add_time|date='Y-m-d H:i:s'}{/notempty}</td>
  50. <td><?php echo floatval($v['store_avaliable_deposit']) ? (floatval($v['store_avaliable_deposit']) > 0 ? '+' : null ).$v['store_avaliable_deposit'] : null;?></td>
  51. <td><?php echo floatval($v['store_freeze_deposit']) ? (floatval($v['store_freeze_deposit']) > 0 ? '+' : null ).$v['store_freeze_deposit'] : null;?></td>
  52. <td><?php echo floatval($v['store_payable_deposit']) ? (floatval($v['store_payable_deposit']) > 0 ? '+' : null ).$v['store_payable_deposit'] : null;?></td>
  53. <td>{$v.storedepositlog_desc}
  54. </td>
  55. </tr>
  56. {/foreach}
  57. {else /}
  58. <tr class="no_data">
  59. <td colspan="10">{$Think.lang.ds_no_record}</td>
  60. </tr>
  61. {/notempty}
  62. </tbody>
  63. </table>
  64. {$show_page|raw}
  65. </div>
  66. <script language="javascript">
  67. $(function() {
  68. $('#stime').datepicker({dateFormat: 'yy-mm-dd'});
  69. $('#etime').datepicker({dateFormat: 'yy-mm-dd'});
  70. });
  71. </script>