exppoints.setting.php 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <?php defined('InShopNC') or exit('Access Invalid!');?>
  2. <div class="page">
  3. <div class="fixed-bar">
  4. <div class="item-title">
  5. <h3>经验值管理</h3>
  6. <ul class="tab-base">
  7. <li><a href="index.php?act=exppoints&op=index" ><span>经验值明细</span></a></li>
  8. <li><a href="JavaScript:void(0);" class="current"><span>规则设置</span></a></li>
  9. </ul>
  10. </div>
  11. </div>
  12. <div class="fixed-empty"></div>
  13. <form method="post" name="settingForm" id="settingForm">
  14. <input type="hidden" name="form_submit" value="ok" />
  15. <table class="table tb-type2">
  16. <tbody>
  17. <tr>
  18. <td class="" colspan="2"><table class="table tb-type2 nomargin">
  19. <thead>
  20. <tr class="space">
  21. <th colspan="16">经验值获取规则如下:</th>
  22. </tr>
  23. <tr class="thead">
  24. <th>项目</th>
  25. <th>获得经验值</th>
  26. </tr>
  27. </thead>
  28. <tbody>
  29. <tr class="hover">
  30. <td class="w200">会员每天第一次登录</td>
  31. <td><input id="exp_login" name="exp_login" value="<?php echo $output['list_setting']['exppoints_rule']['exp_login'];?>" class="txt" type="text" style="width:60px;"></td>
  32. </tr>
  33. <tr class="hover">
  34. <td class="w200">订单商品评论</td>
  35. <td><input id="exp_comments" name="exp_comments" value="<?php echo $output['list_setting']['exppoints_rule']['exp_comments'];?>" class="txt" type="text" style="width:60px;"></td>
  36. </tr>
  37. </tbody>
  38. </table>
  39. <table class="table tb-type2 nomargin">
  40. <thead>
  41. <tr class="thead">
  42. <th colspan="2">购物</th>
  43. </tr>
  44. </thead>
  45. <tbody>
  46. <tr class="hover">
  47. <td class="w200">消费额与赠送经验值比例</td>
  48. <td><input id="exp_orderrate" name="exp_orderrate" value="<?php echo $output['list_setting']['exppoints_rule']['exp_orderrate'];?>" class="txt" type="text" style="width:60px;">
  49. 该值为大于0的数, 例:设置为10,表明消费10单位货币赠送1经验值</td>
  50. </tr>
  51. <tr class="hover">
  52. <td>每订单最多赠送经验值</td>
  53. <td><input id="exp_ordermax" name="exp_ordermax" value="<?php echo $output['list_setting']['exppoints_rule']['exp_ordermax'];?>" class="txt" type="text" style="width:60px;">
  54. 该值为大于等于0的数,填写为0表明不限制最多经验值,例:设置为100,表明每订单赠送经验值最多为100经验值</td>
  55. </tr>
  56. </tbody>
  57. <tfoot>
  58. <tr class="tfoot">
  59. <td colspan="2" ><a href="JavaScript:void(0);" class="btn" id="submitBtn"><span><?php echo $lang['nc_submit'];?></span></a></td>
  60. </tr>
  61. </tfoot>
  62. </table>
  63. </form>
  64. </div>
  65. <script>
  66. $(function(){
  67. $("#submitBtn").click(function(){
  68. $("#settingForm").submit();
  69. });
  70. });
  71. </script>