memberlist.html 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  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_statmember}</h3>
  7. <h5></h5>
  8. </div>
  9. {include file="public/admin_items" /}
  10. </div>
  11. </div>
  12. <div class="fixed-empty"></div>
  13. <div style="width:100%; text-align:right;padding-top:10px;">
  14. <input type="hidden" id="export_type" data-url="{:url(request()->controller().'/'.request()->action())}/exporttype/excel" name="export_type" data-param='{"url":"{$actionurl}&exporttype=excel"}' value="excel"/>
  15. <a class="btn btn-mini" href="javascript:void(0);" id="export_btn">{$Think.lang.ds_export}Excel</a>
  16. </div>
  17. <form method="post" id="form_member">
  18. <table class="ds-default-table">
  19. <thead>
  20. <tr class="thead">
  21. <th>&nbsp;</th>
  22. <th colspan="2">{$Think.lang.ds_member_name}</th>
  23. <th class="align-center">{$Think.lang.member_addtime}</th>
  24. <th class="align-center">{$Think.lang.member_loginnum}</th>
  25. <th class="align-center">{$Think.lang.member_logintime}</th>
  26. <th class="align-center">{$Think.lang.ds_member_points}</th>
  27. <th class="align-center">{$Think.lang.ds_predeposit}</th>
  28. </tr>
  29. <tbody id="datatable">
  30. {notempty name="member_list"}
  31. {foreach name="member_list" item="v"}
  32. <tr class="hover member">
  33. <td class="w24"></td>
  34. <td class="w48 picture">
  35. <div class="size-44x44">
  36. <span class="thumb size-44x44"><i></i>
  37. <img src="{:get_member_avatar_for_id($v.member_id)}" onload="javascript:ResizeImage(this,44,44);"/>
  38. </span>
  39. </div>
  40. </td>
  41. <td>
  42. <p class="name">
  43. <strong>{$v.member_name}</strong>({$Think.lang.member_truename}: {$v.member_truename})
  44. </p>
  45. <div class="im">
  46. <span class="email" >
  47. {if $v.member_email !=''}
  48. <a href="mailto:{$v.member_email}" class="tooltip yes" title="{$Think.lang.member_email}:{$v.member_email}">{$v.member_email}</a>
  49. {else /}
  50. <a href="JavaScript:void(0);" class="tooltip" title="{$Think.lang.member_index_null}">{$v.member_email}</a>
  51. {/if}
  52. </span>
  53. {if $v.member_ww != ''}
  54. <a target="_blank" href="http://web.im.alisoft.com/msg.aw?v=2&uid={$v.member_ww}&site=cnalichn&s=11" class="tooltip" title="WangWang: {$v.member_ww}">
  55. <img border="0" src="http://web.im.alisoft.com/online.aw?v=2&uid={$v.member_ww}&site=cntaobao&s=2" />
  56. </a>
  57. {/if}
  58. {if $v.member_qq != ''}
  59. <a target="_blank" href="{$Think.HTTP_TYPE}wpa.qq.com/msgrd?v=3&uin={$v.member_qq}&site=qq&menu=yes" class="tooltip" title="QQ: {$v.member_qq}">
  60. <img border="0" src="{$Think.HTTP_TYPE}wpa.qq.com/pa?p=2:{$v.member_qq}:52"/>
  61. </a>
  62. {/if}
  63. </div>
  64. </td>
  65. <td class="align-center">{$v.member_addtime}</td>
  66. <td class="align-center">{$v.member_loginnum}</td>
  67. <td class="w150 align-center">
  68. <p>{$v.member_logintime}</p>
  69. <p>{$v.member_login_ip}</p>
  70. </td>
  71. <td class="align-center">{$v.member_points}</td>
  72. <td class="align-center">
  73. <p>{$Think.lang.member_index_available}:&nbsp;<strong class="red">{$v.available_predeposit}</strong>&nbsp;{$Think.lang.ds_yuan}</p>
  74. <p>{$Think.lang.member_index_frozen}:&nbsp;<strong class="red">{$v.freeze_predeposit}</strong>&nbsp;{$Think.lang.ds_yuan}</p>
  75. </td>
  76. </tr>
  77. {/foreach}
  78. {else /}
  79. <tr class="no_data">
  80. <td colspan="11">{$Think.lang.no_record}</td>
  81. </tr>
  82. {/notempty}
  83. </tbody>
  84. </table>
  85. {$show_page|raw}
  86. </form>
  87. </div>
  88. <script src="{$Think.PLUGINS_SITE_ROOT}/statistics.js"></script>
  89. <script>
  90. $(function(){
  91. //导出图表
  92. $("#export_btn").click(function(){
  93. var item = $("#export_type");
  94. var type = $(item).val();
  95. if(type == 'excel'){
  96. export_xls(item.attr('data-url').replace('.html',''));
  97. }
  98. });
  99. });
  100. </script>