index.html 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. {extend name="default/base/base_member" /}
  2. {block name="member_main"}
  3. <div class="alert alert-block">
  4. <h4>{$Think.lang.rules_integral_acquisition}</h4>
  5. <ul>
  6. <li>{$Think.lang.rule_description1}<em>{$Think.config.ds_config.points_reg}</em>{$Think.lang.rule_description2}<em>{$Think.config.ds_config.points_login}</em>{$Think.lang.rule_description3}<em>{$Think.config.ds_config.points_comments}</em>{$Think.lang.member_pointorder_exchangepoints}。
  7. </li>
  8. {if $Think.config.ds_config.points_orderrate}
  9. <li>{$Think.lang.rule_description4}{php}printf('%s',number_format(100/config('ds_config.points_orderrate')));{/php}%{if $Think.config.ds_config.points_ordermax}({$Think.lang.rule_description5}{$Think.config.ds_config.points_ordermax}){/if}{$Think.lang.member_pointorder_exchangepoints}。</li>
  10. {/if}
  11. <li>{$Think.lang.rule_description6}</li>
  12. </ul>
  13. </div>
  14. <form method="get" action="">
  15. <table class="dsm-search-table">
  16. <tr>
  17. <td class="w10">&nbsp;</td>
  18. <td><strong> {$Think.lang.points_log_pointscount}</strong><strong style="color: #F00;">{$member_points.member_points}</strong>
  19. </td>
  20. <th>{$Think.lang.points_addtime}</th>
  21. <td class="w240"><input type="text" id="stime" name="stime" class="text w70" value="{$Request.get.stime}">
  22. <label class="add-on"><i class="iconfont">&#xe8d6;</i></label>&nbsp;&#8211;&nbsp;
  23. <input type="text" id="etime" name="etime" class="text w70" value="{$Request.get.etime}">
  24. <label class="add-on"><i class="iconfont">&#xe8d6;</i></label>
  25. </td>
  26. <th> {$Think.lang.points_stage}</th>
  27. <td class="w100">
  28. <select name="stage">
  29. <option value="" {if !$Request.get.stage}selected=selected{/if}>
  30. {$Think.lang.ds_please_choose}
  31. </option>
  32. <option value="regist" {if $Request.get.stage == 'regist'}selected=selected{/if}>{$Think.lang.points_stage_regist}</option>
  33. <option value="login" {if $Request.get.stage == 'login'}selected=selected{/if}>{$Think.lang.points_stage_login}</option>
  34. <option value="comments" {if $Request.get.stage == 'comments'}selected=selected{/if}>{$Think.lang.points_stage_comments}</option>
  35. <option value="order" {if $Request.get.stage == 'order'}selected=selected{/if}>{$Think.lang.points_stage_order}</option>
  36. <option value="system" {if $Request.get.stage == 'system'}selected=selected{/if}>{$Think.lang.points_stage_system}</option>
  37. <option value="pointorder" {if $Request.get.stage == 'pointorder'}selected=selected{/if}>{$Think.lang.points_stage_pointorder}</option>
  38. <option value="app" {if $Request.get.stage == 'app'}selected=selected{/if}>{$Think.lang.points_stage_app}</option>
  39. </select>
  40. </td>
  41. <th>{$Think.lang.points_pointsdesc}</th>
  42. <td class="w160"><input type="text" class="text w150" id="description" name="description" value="{$Request.get.description}"></td>
  43. <td class="w70 tc">
  44. <input type="submit" class="submit" value="{$Think.lang.ds_search}" />
  45. </td>
  46. </tr>
  47. </table>
  48. </form>
  49. <table class="dsm-default-table">
  50. <thead>
  51. <tr>
  52. <th class="w200">{$Think.lang.points_addtime}</th>
  53. <th class="w150">{$Think.lang.points_pointsnum}</th>
  54. <th class="w300">{$Think.lang.points_stage}</th>
  55. <th class="tl">{$Think.lang.points_pointsdesc}</th>
  56. </tr>
  57. </thead>
  58. <tbody>
  59. {notempty name="list_log"}
  60. {foreach name="list_log" item="log"}
  61. <tr class="bd-line">
  62. <td class="goods-time">{$log.pl_addtime|date="Y-m-d"}</td>
  63. <td class="goods-price">{$log.pl_points>0 ? '+' : ''}{$log.pl_points}</td>
  64. <td>{php}$lang='points_stage_'.$log['pl_stage'];echo lang($lang);{/php}</td>
  65. <td class="tl">{$log.pl_desc}</td>
  66. </tr>
  67. {/foreach}
  68. {else /}
  69. <tr>
  70. <td colspan="20" class="norecord">
  71. <div class="warning-option"><i>&nbsp;</i><span>{$Think.lang.no_record}</span>
  72. </div>
  73. </td>
  74. </tr>
  75. {/notempty}
  76. </tbody>
  77. <tfoot>
  78. {notempty name="list_log"}
  79. <tr>
  80. <td colspan="20">
  81. <div class="pagination">{$show_page|raw}</div>
  82. </td>
  83. </tr>
  84. {/notempty}
  85. </tfoot>
  86. </table>
  87. <script language="javascript">
  88. $(function(){
  89. $('#stime').datepicker({dateFormat: 'yy-mm-dd'});
  90. $('#etime').datepicker({dateFormat: 'yy-mm-dd'});
  91. });
  92. </script>
  93. {/block}