complain_subject_list.html 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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_complain}</h3>
  7. <h5></h5>
  8. </div>
  9. {include file="public/admin_items" /}
  10. </div>
  11. </div>
  12. <table class="ds-default-table">
  13. <thead>
  14. <tr class="thead">
  15. <th class="w24"></th>
  16. <th>{$Think.lang.complain_subject_content}</th>
  17. <th>{$Think.lang.complain_subject_desc}</th>
  18. <th class="w72 align-center">{$Think.lang.ds_handle}</th>
  19. </tr>
  20. </thead>
  21. <tbody>
  22. {notempty name="complainsubject_list"}
  23. {foreach name="complainsubject_list" item="v"}
  24. <tr class="hover" id="ds_row_{$v.complainsubject_id}">
  25. <td><input type="checkbox" name='complainsubject_id' value="{$v.complainsubject_id}" class="checkitem"></td>
  26. <td>{$v.complainsubject_content}</td>
  27. <td>{$v.complainsubject_desc}</td>
  28. <td class="align-center">
  29. <a href="javascript:dsLayerConfirm('{:url('Complain/complain_subject_drop',['complain_subject_id'=>$v.complainsubject_id])}','{$Think.lang.ds_ensure_del}',{$v.complainsubject_id})" class="dsui-btn-del"><i class="iconfont"></i>{$Think.lang.ds_del}</a>
  30. </td>
  31. </tr>
  32. {/foreach}
  33. {else}
  34. <tr class="no_data">
  35. <td colspan="16">{$Think.lang.ds_no_record}</td>
  36. </tr>
  37. {/notempty}
  38. </tbody>
  39. <tfoot>
  40. {notempty name="complainsubject_list"}
  41. <tr class="tfoot">
  42. <td>
  43. <input type="checkbox" class="checkall" id="checkall_1">
  44. </td>
  45. <td colspan="16"><label for="checkall_1">{$Think.lang.ds_select_all}</label>
  46. &nbsp;&nbsp;<a href="JavaScript:void(0);" id="btn_batch_drop" class="btn btn-small" onclick="submit_delete_batch()"><span>{$Think.lang.ds_del}</span></a>
  47. </td>
  48. </tr>
  49. {/notempty}
  50. </tfoot>
  51. </table>
  52. {$show_page|raw}
  53. </div>
  54. <script type="text/javascript">
  55. function submit_delete(ids_str){
  56. _uri = ADMINSITEURL+"/Complain/complain_subject_drop.html?complain_subject_id=" + ids_str;
  57. dsLayerConfirm(_uri,'{$Think.lang.ds_ensure_del}');
  58. }
  59. </script>