index.html 4.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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_snsmember}</h3>
  7. <h5></h5>
  8. </div>
  9. {include file="public/admin_items" /}
  10. </div>
  11. </div>
  12. <div class="explanation" id="explanation">
  13. <div class="title" id="checkZoom">
  14. <h4 title="{$Think.lang.ds_explanation_tip}">{$Think.lang.ds_explanation}</h4>
  15. <span id="explanationZoom" title="{$Think.lang.ds_explanation_close}" class="arrow"></span>
  16. </div>
  17. <ul>
  18. <li>{$Think.lang.sns_member_index_tips_1}</li>
  19. <li>{$Think.lang.sns_member_index_tips_2}</li>
  20. </ul>
  21. </div>
  22. <table class="ds-default-table">
  23. <thead>
  24. <tr class="thead">
  25. <th></th>
  26. <th class="w60">{$Think.lang.ds_sort}</th>
  27. <th class="w200">{$Think.lang.sns_member_tag_name}</th>
  28. <th class="align-center">{$Think.lang.ds_recommend}</th>
  29. <th class="w200 align-center">{$Think.lang.ds_handle}</th>
  30. </tr>
  31. </thead>
  32. {notempty name="tag_list"}
  33. <tbody>
  34. {foreach name="tag_list" item="v"}
  35. <tr class="hover edit">
  36. <td class="w48"><input type="checkbox" name="id[]" value="{$v.mtag_id}" class="checkitem"></td>
  37. <td class="w48 sort"><span title="{$Think.lang.ds_editable}" ajax_branch="membertag_sort" datatype="number" fieldid="{$v.mtag_id}" fieldname="mtag_sort" ds_type="inline_edit" class="editable ">{$v.mtag_sort}</span></td>
  38. <td class="w50pre name"><span title="{$Think.lang.ds_editable}" required="1" fieldid="{$v.mtag_id}" ajax_branch="membertag_name" fieldname="mtag_name" ds_type="inline_edit" class="editable ">{$v.mtag_name}</span></td>
  39. <td class="align-center yes-onoff">
  40. {if $v.mtag_recommend == 0}
  41. <a href="JavaScript:void(0);" class=" disabled" fieldvalue="0" fieldid="{$v.mtag_id}" ajax_branch="membertag_recommend" fieldname="mtag_recommend" ds_type="inline_edit" title="{$Think.lang.ds_editable}"><img src=""></a>
  42. {else}
  43. <a href="JavaScript:void(0);" class=" enabled" fieldvalue="1" fieldid="{$v.mtag_id}" ajax_branch="membertag_recommend" fieldname="mtag_recommend" ds_type="inline_edit" title="{$Think.lang.ds_editable}"><img src=""></a>
  44. {/if}</td>
  45. <td class="w132 align-center">
  46. <a href="javascript:dsLayerOpen('{:url('Snsmember/tag_edit',['id'=>$v.mtag_id])}','{$Think.lang.ds_edit}-{$v.mtag_name}')" class="dsui-btn-edit"><i class="iconfont"></i>{$Think.lang.ds_edit}</a>
  47. <a href="javascript:dsLayerConfirm('{:url('Snsmember/tag_del',['id'=>$v.mtag_id])}','{$Think.lang.ds_ensure_del}')" class="dsui-btn-del"><i class="iconfont"></i>{$Think.lang.ds_del}</a>
  48. <a href="{:url('Snsmember/tag_member',['id'=>$v.mtag_id])}" class="dsui-btn-view"><i class="iconfont"></i>{$Think.lang.sns_member_view_member}</a>
  49. </td>
  50. </tr>
  51. {/foreach}
  52. </tbody>
  53. <tfoot>
  54. <tr class="tfoot">
  55. <td><input type="checkbox" class="checkall" id="checkall_1"></td>
  56. <td id="batchAction" colspan="15"><span class="all_checkbox">
  57. <label for="checkall_2">{$Think.lang.ds_select_all}</label>
  58. </span>&nbsp;&nbsp;<a href="JavaScript:void(0);" class="btn btn-small" onclick="submit_delete_batch()"><span>{$Think.lang.ds_del}</span></a>
  59. </td>
  60. </tr>
  61. </tfoot>
  62. {else}
  63. <tbody>
  64. <tr class="no_data">
  65. <td colspan="10">{$Think.lang.ds_no_record}</td>
  66. </tr>
  67. </tbody>
  68. {/notempty}
  69. </table>
  70. {$showpage|raw}
  71. </div>
  72. <script type="text/javascript" src="{$Think.ADMIN_SITE_ROOT}/js/jquery.edit.js" charset="utf-8"></script>
  73. <script type="text/javascript">
  74. function submit_delete(ids_str){
  75. _uri = ADMINSITEURL+"/Snsmember/tag_del.html?id=" + ids_str;
  76. dsLayerConfirm(_uri,'{$Think.lang.ds_ensure_del}');
  77. }
  78. </script>