Nav apraksta
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

ajax_users_level_bout.htm 3.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. {include file="public/layout" /}
  2. <body class="bodystyle" style="min-width: auto;">
  3. <div id="append_parent"></div>
  4. <div id="ajaxwaitid"></div>
  5. <div class="page" style="min-width:auto;">
  6. <div class="flexigrid">
  7. <div class="mDiv">
  8. <div class="ftitle">
  9. <h3>会员级别列表</h3>
  10. <h5>(共{$LevelCount}条数据)</h5>
  11. </div>
  12. <div title="刷新数据" class="pReload"><i class="fa fa-refresh"></i></div>
  13. </div>
  14. <div id="explanation" class="explanation">
  15. <div id="checkZoom" class="title"><i class="fa fa-lightbulb-o"></i>
  16. <h4 title="提示相关设置操作时应注意的要点">提示</h4>
  17. <span title="收起提示" id="explanationZoom" style="display: block;"></span>
  18. </div>
  19. <ul>
  20. <li>投稿次数限制按天计算</li>
  21. </ul>
  22. </div>
  23. <br/>
  24. <div class="hDiv">
  25. <div class="hDivBox">
  26. <table cellspacing="0" cellpadding="0" style="width: 100%">
  27. <thead>
  28. <tr>
  29. <th class="sign w20" axis="col0">
  30. <div class="tc"></div>
  31. </th>
  32. <th abbr="ac_id" axis="col4">
  33. <div class="">级别名称</div>
  34. </th>
  35. <th abbr="article_time" axis="col4" class="w100">
  36. <div class="tc">投稿次数</div>
  37. </th>
  38. </tr>
  39. </thead>
  40. </table>
  41. </div>
  42. </div>
  43. <div class="bDiv" style="height: auto; min-height: auto;">
  44. <div id="flexigrid" cellpadding="0" cellspacing="0" border="0">
  45. <table style="width: 100%">
  46. <tbody>
  47. {empty name="list"}
  48. <tr>
  49. <td class="no-data" align="center" axis="col0" colspan="50">
  50. <div class="no_row">
  51. <div class="no_pic"><img src="__SKIN__/images/null-data.png"></div>
  52. </div>
  53. </td>
  54. </tr>
  55. {else/}
  56. {foreach name="list" item="vo" key="k" }
  57. <tr>
  58. <td class="sign">
  59. <div class="w20 tc">
  60. </div>
  61. </td>
  62. <td style="width: 100%">
  63. <div style="">
  64. {$vo.level_name}
  65. </div>
  66. </td>
  67. <td class="sort">
  68. <div class="w100 tc">
  69. <input type="text" onchange="changeTableVal('users_level','level_id','{$vo.level_id}','posts_count',this);" value="{$vo.posts_count}" class="tc" title="输入次数,点击空白处即可保存!"/> 次
  70. </div>
  71. </td>
  72. </tr>
  73. {/foreach}
  74. {/empty}
  75. </tbody>
  76. </table>
  77. </div>
  78. <div class="iDiv" style="display: none;"></div>
  79. </div>
  80. </div>
  81. </div>
  82. <script>
  83. $(document).ready(function(){
  84. // 表格行点击选中切换
  85. $('#flexigrid > table>tbody >tr').click(function(){
  86. $(this).toggleClass('trSelected');
  87. });
  88. // 点击刷新数据
  89. $('.fa-refresh').click(function(){
  90. location.href = location.href;
  91. });
  92. });
  93. </script>
  94. {include file="public/footer" /}