memberclass.html 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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_inviter_set}</h3>
  7. <h5></h5>
  8. </div>
  9. {include file="public/admin_items" /}
  10. </div>
  11. </div>
  12. <div class="ds-search-form">
  13. <div class="btn_group">
  14. <a href="javascript:dsLayerOpen('{:url('Inviter/memberclass_add')}','{$Think.lang.ds_add}')" class="btn" ><span>{$Think.lang.ds_add}</span></a>
  15. </div>
  16. </div>
  17. <table class="ds-default-table">
  18. <thead>
  19. <tr class="thead">
  20. <th></th>
  21. <th class="w60">{$Think.lang.inviter_class}</th>
  22. <th class="w200">{$Think.lang.inviterclass_amount}</th>
  23. <th class="w200 align-center">{$Think.lang.ds_handle}</th>
  24. </tr>
  25. </thead>
  26. {notempty name="memberclass_list"}
  27. <tbody>
  28. {foreach name="memberclass_list" item="v"}
  29. <tr class="hover edit">
  30. <td class="w48"><input type="checkbox" name="id[]" value="{$v.inviterclass_id}" class="checkitem"></td>
  31. <td class="w48 sort">{$v.inviterclass_name}</td>
  32. <td class="w50pre name">{$v.inviterclass_amount}</td>
  33. <td class="w132 align-center">
  34. <a href="javascript:dsLayerOpen('{:url('Inviter/memberclass_edit',['id'=>$v.inviterclass_id])}','{$Think.lang.ds_edit}-{$v.inviterclass_name}')" class="dsui-btn-edit"><i class="iconfont"></i>{$Think.lang.ds_edit}</a>
  35. <a href="javascript:dsLayerConfirm('{:url('Inviter/memberclass_del',['id'=>$v.inviterclass_id])}','{$Think.lang.ds_ensure_del}')" class="dsui-btn-del"><i class="iconfont"></i>{$Think.lang.ds_del}</a>
  36. </td>
  37. </tr>
  38. {/foreach}
  39. </tbody>
  40. <tfoot>
  41. <tr class="tfoot">
  42. <td><input type="checkbox" class="checkall" id="checkall_1"></td>
  43. <td id="batchAction" colspan="15"><span class="all_checkbox">
  44. <label for="checkall_2">{$Think.lang.ds_select_all}</label>
  45. </span>&nbsp;&nbsp;<a href="JavaScript:void(0);" class="btn btn-small" onclick="submit_delete_batch()"><span>{$Think.lang.ds_del}</span></a>
  46. </td>
  47. </tr>
  48. </tfoot>
  49. {else}
  50. <tbody>
  51. <tr class="no_data">
  52. <td colspan="10">{$Think.lang.ds_no_record}</td>
  53. </tr>
  54. </tbody>
  55. {/notempty}
  56. </table>
  57. </div>
  58. <script type="text/javascript">
  59. function submit_delete(ids_str){
  60. _uri = ADMINSITEURL+"/Inviter/memberclass_del.html?id=" + ids_str;
  61. dsLayerConfirm(_uri,'{$Think.lang.ds_ensure_del}');
  62. }
  63. </script>