国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

179 lines
7.1KB

  1. {dede:config.pagesize value="20"/}
  2. <!DOCTYPE html
  3. PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml">
  5. <head>
  6. <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
  7. <title>网站会员管理</title>
  8. <link rel="stylesheet" href="../static/css/bootstrap.min.css">
  9. <link href="../static/font-awesome/css/font-awesome.min.css" rel="stylesheet">
  10. <link href="css/base.css" rel="stylesheet" type="text/css">
  11. <script language="javascript" src="js/member.js"></script>
  12. <style type="text/css">
  13. .rb {
  14. border-right: 1px solid #666666
  15. }
  16. .tb {
  17. border-top: 1px solid #666666
  18. }
  19. .maintable {
  20. width: 98%!important;
  21. }
  22. </style>
  23. </head>
  24. <body background='images/allbg.gif' leftmargin='8' topmargin='8'>
  25. <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#D6D6D6"
  26. style="margin-bottom:6px" class="table maintable table-bordered mt-3">
  27. <tr>
  28. <td height="30" align="center" bgcolor="#F9FCEF">
  29. <form action="member_main.php" name="form1" method="get">
  30. <table border="0" cellspacing="0" cellpadding="3" class="table table-borderless">
  31. <tr>
  32. <td>关键字:</td>
  33. <td><input name="keyword" type="text" id="keyword" size="12" style="width:120px"
  34. value="{dede:global name='keyword'/}" /></td>
  35. <td>&nbsp;排序:</td>
  36. <td>
  37. <select name="sortkey" id="sortkey" style="width:120px">
  38. {dede:global name='sortform'/}
  39. <option value="mid">mid/注册时间</option>
  40. <option value="logintime">登录时间</option>
  41. <option value="rank">会员等级</option>
  42. <option value="money">会员金币</option>
  43. <option value="scores">会员积分</option>
  44. </select>
  45. </td>
  46. <td>
  47. <select name="sex" id="sex" style="width:60px">
  48. {dede:global name='sexform'/}
  49. <option value="男">男</option>
  50. <option value="女">女</option>
  51. <option value="保密">保密</option>
  52. </select>
  53. </td>
  54. <td>
  55. <select name="mtype" id="mtype" style="width:60px">
  56. {dede:global name='mtypeform'/}
  57. <?php
  58. foreach($MemberModels as $row)
  59. {
  60. echo "<option value=".$row['name'].">".$row['name']."</option>\r\n";
  61. }
  62. ?>
  63. </select>
  64. </td>
  65. <td>
  66. <select name="spacesta" id="spacesta" style="width:150px">
  67. <option value='-10'>--会员状态--</option>
  68. <?php
  69. foreach($staArr as $k=>$v)
  70. {
  71. if($spacesta==$k) echo "<option value='$k' selected>$v</option>\r\n";
  72. else echo "<option value='$k'>$v</option>\r\n";
  73. }
  74. ?>
  75. </select></td>
  76. <td>
  77. <input name="imageField" class="np" type="image" src="images/button_search.gif" width="60" height="22"
  78. border="0" />
  79. </td>
  80. </tr>
  81. </table>
  82. </form>
  83. </td>
  84. </tr>
  85. </table>
  86. <form name="form2">
  87. <table width="98%" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#cfcfcf" class="table table-bordered maintable">
  88. <tr>
  89. <td height="28" colspan="9" background="images/tbg.gif">
  90. <table width="99%" border="0" cellspacing="0" cellpadding="0" class="table table-borderless">
  91. <tr>
  92. <td width="29%" style="padding-left:10px;"><strong>注册会员列表</strong></td>
  93. <td width="71%" align="right">
  94. <a href="member_main.php">所有会员</a> |
  95. <a href="member_main.php?spacesta=-2">被禁言用户</a> |
  96. <a href="member_main.php?matt=1">被推荐</a> |
  97. <a href="member_main.php?matt=0">普通</a> &nbsp;
  98. </td>
  99. </tr>
  100. </table>
  101. </td>
  102. </tr>
  103. <tr bgcolor="#FEFCEF" height="30" align="center">
  104. <td width="3%">选择</td>
  105. <td width="5%">mid</td>
  106. <td width="11%">登录名</td>
  107. <td width="16%">email/昵称</td>
  108. <td width="5%">性别</td>
  109. <td width="8%">会员等级</td>
  110. <td width="20%">会员属性</td>
  111. <td width="14%">最后登录</td>
  112. <td>操作</td>
  113. </tr>
  114. {dede:datalist}
  115. <tr height="26" align="center" bgcolor="#FFFFFF" onMouseMove="javascript:this.bgColor='#FCFDEE';"
  116. onMouseOut="javascript:this.bgColor='#FFFFFF';">
  117. <td><input name="mid" type="checkbox" id="mid" value="{dede:field.mid/}" class="np" /></td>
  118. <td>{dede:field.mid/}</td>
  119. <td><a href="../member/index.php?uid={dede:field.userid/}" target='_blank'>
  120. <?php
  121. echo '<u>'.$fields['userid'].'</u>';
  122. if($fields['spacesta']==-2) echo "<font color='red'>(禁言)</font>";
  123. if($fields['spacesta']==-1) echo "<font color='red'>(未审核)</font>";
  124. if(!empty($fields['face'])) {
  125. echo "<br /><img src='{$fields['face']}' width='60' alt='浏览会员空间' />";
  126. }
  127. ?>
  128. </a></td>
  129. <td>
  130. {dede:field.email/}
  131. <br />
  132. 昵称:{dede:field.uname/}
  133. </td>
  134. <td>
  135. {dede:field.sex /}
  136. </td>
  137. <td>
  138. <a href="member_main.php?rank={dede:field.rank/}">{dede:field.rank function="GetMemberName(@me,'限制会员')"/}</a>
  139. </td>
  140. <td>
  141. {dede:field.mtype /}用户 {dede:field.matt function="GetMAtt(@me)" /}
  142. <br />
  143. 金币:{dede:field.money /} 积分:{dede:field.scores /}
  144. </td>
  145. <td>
  146. {dede:field.logintime function="MyDate('y-m-d H:i',@me)" /}
  147. <br />
  148. 【{dede:field.loginip /}】
  149. </td>
  150. <td align="center">
  151. <a href="member_view.php?id={dede:field.mid/}">修改</a> |
  152. <a href="member_do.php?id={dede:field.mid/}&dopost=delmember">删除</a> |
  153. <a href="content_list.php?mid={dede:field.mid/}" target="_blank">文档</a> |
  154. <a href="member_toadmin.php?id={dede:field.mid/}" target="_self">提升</a>
  155. </td>
  156. </tr>
  157. {/dede:datalist}
  158. <tr bgcolor="#ffffff">
  159. <td height="36" colspan="9">
  160. &nbsp;
  161. <a href="javascript:selAll()" class="coolbg">全选</a>
  162. <a href="javascript:noSelAll()" class="coolbg">取消</a>
  163. <a href="javascript:delArc(0)" class="coolbg">&nbsp;删除&nbsp;</a>
  164. (如果已经整合了论坛的用户请不要使用批量删除功能)</td>
  165. </tr>
  166. <tr bgcolor="#F9FCEF">
  167. <td height="36" colspan="9" align="center">
  168. {dede:pagelist listsize='6' /}
  169. </td>
  170. </tr>
  171. </table>
  172. </form>
  173. </body>
  174. </html>