user_modify.jsp
上传用户:jhtang88
上传日期:2014-01-27
资源大小:28528k
文件大小:21k
源码类别:

Jsp/Servlet

开发平台:

Java

  1. <%@ page contentType="text/html; charset=utf-8"%>
  2. <%@ page import="java.util.*" %>
  3. <%@ page import="cn.js.fan.web.*" %>
  4. <%@ page import="com.cloudwebsoft.framework.base.*" %>
  5. <%@ page import="cn.js.fan.util.*" %>
  6. <%@ page import="com.redmoon.forum.person.*" %>
  7. <%@ page import="com.redmoon.forum.*" %>
  8. <%@ page import="com.redmoon.forum.plugin.*" %>
  9. <%@ taglib uri="/WEB-INF/tlds/LabelTag.tld" prefix="lt" %>
  10. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  11. <html>
  12. <head>
  13. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  14. <meta name="GENERATOR" content="Microsoft FrontPage 4.0">
  15. <meta name="ProgId" content="FrontPage.Editor.Document">
  16. <LINK href="../common.css" type=text/css rel=stylesheet>
  17. <LINK href="default.css" type=text/css rel=stylesheet>
  18. <title><lt:Label res="res.label.forum.admin.user_m" key="user_manage"/></title>
  19. <SCRIPT language=javascript>
  20. <!--
  21. function form1_onsubmit() {
  22. if (form1.pwd.value!=form1.pwd_confirm.value) {
  23. alert("<lt:Label res="res.label.forum.admin.user_m" key="pwd_not_equal"/>");
  24. return false;
  25. }
  26. }
  27. //-->
  28. </script></head>
  29. <body>
  30. <jsp:useBean id="StrUtil" scope="page" class="cn.js.fan.util.StrUtil"/>
  31. <jsp:useBean id="us" scope="page" class="com.redmoon.forum.person.userservice"/>
  32. <jsp:useBean id="privilege" scope="page" class="com.redmoon.forum.Privilege"/>
  33. <jsp:useBean id="prision" scope="page" class="com.redmoon.forum.life.prision.Prision"/>
  34. <%
  35. if (!privilege.isMasterLogin(request))
  36. {
  37. out.print(cn.js.fan.web.SkinUtil.makeErrMsg(request, cn.js.fan.web.SkinUtil.LoadString(request, "pvg_invalid")));
  38. return;
  39. }
  40. String op = StrUtil.getNullString(request.getParameter("op"));
  41. String username = ParamUtil.get(request, "username");
  42. UserDb user = new UserDb();
  43. user = user.getUser(username);
  44. UserPrivDb upd = new UserPrivDb();
  45. upd = upd.getUserPrivDb(username);
  46. if (op.equals("priv")) {
  47. /*
  48. int maxAttachDayCount = ParamUtil.getInt(request, "attach_day_count");
  49. int maxAttachmentSize = ParamUtil.getInt(request, "attach_size");
  50. String add_topic = ParamUtil.get(request, "add_topic");
  51. if (add_topic.equals(""))
  52. add_topic = "0";
  53. String reply_topic = ParamUtil.get(request, "reply_topic");
  54. if (reply_topic.equals(""))
  55. reply_topic = "0";
  56. upd.set("attach_day_count", new Integer(maxAttachDayCount));
  57. upd.set("attach_size", new Integer(maxAttachmentSize));
  58. upd.set("add_topic", add_topic);
  59. upd.set("reply_topic", reply_topic);
  60. if (upd.save())
  61. out.print(StrUtil.Alert(SkinUtil.LoadString(request, "info_op_success")));
  62. else
  63. out.print(StrUtil.Alert_Back(SkinUtil.LoadString(request, "info_op_fail")));
  64. */
  65. QObjectMgr qom = new QObjectMgr();
  66. if (qom.save(request, upd, "sq_user_priv_save"))
  67. out.print(StrUtil.Alert(SkinUtil.LoadString(request, "info_op_success")));
  68. else
  69. out.print(StrUtil.Alert_Back(SkinUtil.LoadString(request, "info_op_fail")));
  70. }
  71. if (op.equals("priv_reset")) {
  72. upd.del();
  73. upd.init(username);
  74. upd = upd.getUserPrivDb(username);
  75. }
  76. String privurl = StrUtil.getNullString(request.getParameter("privurl"));
  77. if (op.equals("pwd")) {
  78. String pwd = StrUtil.getNullString(request.getParameter("pwd"));
  79. try {
  80. if (us.ModifyPWD(response,username, pwd, privurl))
  81. out.print(StrUtil.Alert(SkinUtil.LoadString(request, "info_op_success")));
  82. }
  83. catch (ErrMsgException e) {
  84. out.print(StrUtil.Alert(e.getMessage()));
  85. }
  86. }
  87. if (op.equals("modify")) {
  88. String nick = ParamUtil.get(request, "nick").trim();
  89. if (nick.equals("")) {
  90. out.print(StrUtil.Alert_Back(SkinUtil.LoadString(request, "res.label.forum.admin.user_m", "need_nick")));
  91. return;
  92. }
  93. String isValid = request.getParameter("isValid");
  94. if (isValid==null)
  95. isValid = "true";
  96. String groupCode = ParamUtil.get(request, "groupCode");
  97. if (isValid.equals("false"))
  98. user.setValid(false);
  99. else
  100. user.setValid(true);
  101. user.setGroupCode(groupCode);
  102. int diskSpaceAllowed = (int)user.getDiskSpaceAllowed();
  103. try {
  104. diskSpaceAllowed = ParamUtil.getInt(request, "diskSpaceAllowed");
  105. }
  106. catch (Exception e) {
  107. }
  108. user.setDiskSpaceAllowed((long)diskSpaceAllowed);
  109. user.setNick(nick);
  110. String strCheckStatus = ParamUtil.get(request, "checkStatus");
  111. if (StrUtil.isNumeric(strCheckStatus)) {
  112. user.setCheckStatus(Integer.parseInt(strCheckStatus));
  113. }
  114. else
  115. user.setCheckStatus(user.CHECK_STATUS_NOT);
  116. if (user.save())
  117. out.print(StrUtil.Alert(SkinUtil.LoadString(request, "info_op_success")));
  118. else
  119. out.print(StrUtil.Alert(SkinUtil.LoadString(request, "info_op_fail")));
  120. }
  121. if (op.equals("modifyValue")) {
  122. int credit = ParamUtil.getInt(request, "credit");
  123. int experience = ParamUtil.getInt(request, "experience");
  124. int gold = ParamUtil.getInt(request, "gold");
  125. user = user.getUser(username);
  126. user.setCredit(credit);
  127. user.setExperience(experience);
  128. user.setGold(gold);
  129. if (user.save())
  130. out.print(StrUtil.Alert(SkinUtil.LoadString(request, "info_op_success")));
  131. else
  132. out.print(StrUtil.Alert(SkinUtil.LoadString(request, "info_op_fail")));
  133. }
  134. if (op.equals("delmsg")) {
  135. // user.del();
  136. MsgDb md = new MsgDb();
  137. int count = md.delMessagesOfUser(user.getName());
  138. out.print(StrUtil.Alert(SkinUtil.LoadString(request, "res.label.forum.admin.user_m", "del_count")));
  139. }
  140. if (op.equals("deluser")) {
  141. if (user.del())
  142. out.print(StrUtil.Alert_Redirect(SkinUtil.LoadString(request, "info_op_success"), "user_m.jsp"));
  143. else
  144. out.print(StrUtil.Alert_Back(SkinUtil.LoadString(request, "info_op_fail")));
  145. }
  146. if (op.equals("arrest")) {
  147. boolean isvalid = true;
  148. String arresttime = ParamUtil.get(request, "arresttime");
  149. String arrestreason = ParamUtil.get(request, "arrestreason");
  150. int arrestday = 0;
  151. String errmsg = "";
  152. try {
  153. arrestday = ParamUtil.getInt(request, "arrestday");
  154. }
  155. catch (ErrMsgException e) {
  156. errmsg += SkinUtil.LoadString(request, "res.label.forum.admin.user_m", "err_day_count") + "\r\n";
  157. isvalid = false;
  158. }
  159. if (arresttime.equals("") || arrestreason.equals("")) {
  160. errmsg += SkinUtil.LoadString(request, "res.label.forum.admin.user_m", "err_date_reason") + "\r\n";
  161. isvalid = false;
  162. }
  163. if (arrestday<=0) {
  164. errmsg += SkinUtil.LoadString(request, "res.label.forum.admin.user_m", "day_count_big_than_zero") + "\r\n";
  165. isvalid = false;
  166. }
  167. if (!errmsg.equals(""))
  168. out.print(StrUtil.Alert(errmsg));
  169. if (isvalid)
  170. {
  171. try {
  172. isvalid = prision.arrest(privilege.getUser(request), username, arresttime, arrestreason, arrestday);
  173. if (isvalid)
  174. out.println(StrUtil.Alert(SkinUtil.LoadString(request, "info_op_success")));
  175. else
  176. out.println(StrUtil.Alert(SkinUtil.LoadString(request, "info_op_fail")));
  177. }
  178. catch (ResKeyException e) {
  179. out.print(StrUtil.Alert(e.getMessage(request)));
  180. }
  181. }
  182. }
  183. if (op.equals("release")) {
  184. try {
  185. boolean isvalid = prision.release(username);
  186. if (isvalid)
  187. out.println(StrUtil.Alert(SkinUtil.LoadString(request, "info_op_success")));
  188. else
  189. out.println(StrUtil.Alert(SkinUtil.LoadString(request, "info_op_fail")));
  190. }
  191. catch (ResKeyException e) {
  192. out.print(StrUtil.Alert(e.getMessage(request)));
  193. }
  194. }
  195. %>
  196. <TABLE 
  197. style="BORDER-RIGHT: #a6a398 1px solid; BORDER-TOP: #a6a398 1px solid; BORDER-LEFT: #a6a398 1px solid; BORDER-BOTTOM: #a6a398 1px solid" 
  198. cellSpacing=0 cellPadding=3 width="95%" align=center>
  199.   <TBODY>
  200.     <TR>
  201.       <TD class=thead style="PADDING-LEFT: 10px" noWrap width="70%">&nbsp;<a href="user_m.jsp"><lt:Label res="res.label.forum.admin.user_m" key="back_to_user_list"/></a></TD>
  202.     </TR>
  203.     <TR class=row style="BACKGROUND-COLOR: #fafafa">
  204.       <TD align="center" style="PADDING-LEFT: 10px"><table width="550" border="0" align="center" class="frame_gray">
  205.         <form name=form1 action="user_modify.jsp?op=pwd" method="post" onSubmit="return form1_onsubmit()">
  206.           <tr>
  207.             <td width="12%" height="23">&nbsp;</td>
  208.             <td align="center" colspan="2" height="23"><b><lt:Label res="res.label.forum.admin.user_m" key="modify_pwd"/></b></td>
  209.             </tr>
  210.           <tr>
  211.             <td width="12%">&nbsp;</td>
  212.             <td width="21%" align="left"><lt:Label res="res.label.forum.admin.user_m" key="user_name"/></td>
  213.             <td width="67%" align="left"><%=user.getNick()%><input name="username" value="<%=username%>" type=hidden>            </td>
  214.             </tr>
  215.           <tr>
  216.             <td width="12%">&nbsp;</td>
  217.             <td width="21%" align="left"><lt:Label res="res.label.forum.admin.user_m" key="pwd"/></td>
  218.             <td width="67%" align="left"><input name=pwd type=password class="singleboarder">            </td>
  219.             </tr>
  220.           <tr>
  221.             <td width="12%">&nbsp;</td>
  222.             <td width="21%" align="left"><lt:Label res="res.label.forum.admin.user_m" key="confirm_pwd"/></td>
  223.             <td width="67%" align="left"><input name=pwd_confirm type=password class="singleboarder">
  224.               <input type=hidden name="privurl" value="<%=privurl%>">            </td>
  225.             </tr>
  226.           <tr>
  227.             <td width="12%">&nbsp;</td>
  228.             <td colspan="2" align="center"><input name="submit" type=submit value="<lt:Label key="ok"/>">
  229. &nbsp;&nbsp;&nbsp;
  230.         <input name="reset" type=reset value="<lt:Label key="reset"/>">            </td>
  231.             </tr>
  232.         </form>
  233.       </table>
  234.         <br>
  235.         <table width="550" border="0" align="center" class="frame_gray">
  236.           <form name=form_priv action="user_modify.jsp?op=priv" method="post">
  237.             <tr>
  238.               <td width="5%" height="23">&nbsp;</td>
  239.               <td height="23" colspan="2" align="center"><b>
  240.                 <lt:Label res="res.label.forum.admin.user_m" key="modify_privilege"/>
  241.               </b></td>
  242.             </tr>
  243.             <tr>
  244.               <td>&nbsp;</td>
  245.               <td colspan="2" align="left">
  246.   <input name="add_topic" type="checkbox" value=1 <%=upd.getBoolean("add_topic")?"checked":""%>>
  247.   <lt:Label res="res.forum.person.UserPrivDb" key="add_topic"/>   &nbsp;&nbsp;
  248.   <input name="reply_topic" type="checkbox" value=1 <%=upd.getBoolean("reply_topic")?"checked":""%>>
  249.   <lt:Label res="res.forum.person.UserPrivDb" key="reply_topic"/>   &nbsp;&nbsp;&nbsp;
  250.   <input name="vote" type="checkbox" value=1 <%=upd.getBoolean("vote")?"checked":""%>>
  251.   <lt:Label res="res.forum.person.UserPrivDb" key="vote"/>   &nbsp;&nbsp;
  252.   <input name="attach_upload" type="checkbox" value=1 <%=upd.getBoolean("attach_upload")?"checked":""%>>
  253.   <lt:Label res="res.forum.person.UserPrivDb" key="attach_upload"/>
  254.   &nbsp;
  255. <input name="attach_download" type="checkbox" value=1 <%=upd.getBoolean("attach_download")?"checked":""%>>
  256. <lt:Label res="res.forum.person.UserPrivDb" key="attach_download"/>
  257. <input name="search" type="checkbox" value=1 <%=upd.getBoolean("search")?"checked":""%>>
  258. <lt:Label res="res.forum.person.UserPrivDb" key="search"/></td>
  259.             </tr>
  260.             <tr>
  261.               <td>&nbsp;</td>
  262.               <td width="28%" align="left">                <lt:Label res="res.forum.person.UserPrivDb" key="attach_size"/>              </td>
  263.               <td width="67%" align="left"><input name="attach_size" value="<%=upd.getInt("attach_size")%>">
  264.                 (K)
  265.                 <input name="username" type=hidden value="<%=username%>">
  266.                 <input name="attach_today" type=hidden value="<%=upd.getString("attach_today")%>">
  267.                 <input name="attach_today_upload_count" type=hidden value="<%=upd.getInt("attach_today_upload_count")%>"></td>
  268.             </tr>
  269.             <tr>
  270.               <td>&nbsp;</td>
  271.               <td align="left">                <lt:Label res="res.forum.person.UserPrivDb" key="attach_day_count"/>              </td>
  272.               <td align="left"><input name="attach_day_count" value="<%=upd.getInt("attach_Day_count")%>">
  273.               &nbsp;&nbsp;
  274.   <input name="is_default" value="1" type="checkbox" <%=upd.getBoolean("is_default")?"checked":""%>>
  275.   <lt:Label res="res.label.forum.admin.user_m" key="use_default_priv"/></td>
  276.             </tr>
  277.             <tr>
  278.               <td>&nbsp;</td>
  279.               <td colspan="2" align="center">
  280.   <input name="submit23" type=submit value="<lt:Label key="ok"/>">
  281.      <input name="submit23" type=button value="<lt:Label res="res.label.forum.admin.user_m" key="reset_privilege"/>" onclick="window.location.href='user_modify.jsp?username=<%=StrUtil.UrlEncode(username)%>&op=priv_reset'">   </td>
  282.             </tr>
  283.           </form>
  284.         </table>
  285.         <br>
  286.       <table width="550" border="0" align="center" class="frame_gray">
  287.         <form name=form2 action="user_modify.jsp?op=modify" method="post">
  288.           <tr>
  289.             <td width="4%" height="23">&nbsp;</td>
  290.             <td align="center" colspan="2" height="23"><b><lt:Label res="res.label.forum.admin.user_m" key="user_setup"/></b></td>
  291.             </tr>
  292.           <tr>
  293.             <td width="4%">&nbsp;</td>
  294.             <td width="20%" align="left"><lt:Label res="res.label.forum.admin.user_m" key="user_name"/></td>
  295.             <td width="52%" align="left"><input name="nick" value="<%=user.getNick()%>"><input name="username" type=hidden value="<%=username%>">            <label></label></td>
  296.             </tr>
  297.           <tr>
  298.             <td>&nbsp;</td>
  299.             <td align="left"><lt:Label res="res.label.forum.admin.user_m" key="disk_space"/>&nbsp;&nbsp;&nbsp;</td>
  300.             <td align="left"><input name="diskSpaceAllowed" class="singleboarder" id="diskSpaceAllowed" value="<%=user.getDiskSpaceAllowed()%>">
  301.               <lt:Label res="res.label.forum.admin.user_m" key="byte"/></td>
  302.             </tr>
  303.           <tr>
  304.             <td>&nbsp;</td>
  305.             <td align="left"><lt:Label res="res.label.forum.admin.user_m" key="disk_space_used"/></td>
  306.             <td align="left"><%=user.getDiskSpaceUsed()%><lt:Label res="res.label.forum.admin.user_m" key="byte"/></td>
  307.             </tr>
  308.           <tr>
  309.             <td>&nbsp;</td>
  310.             <td align="left"><lt:Label res="res.label.forum.admin.user_m" key="user_group"/></td>
  311.             <td align="left"><select name="groupCode">
  312.                 <%
  313. UserGroupDb ugroup = new UserGroupDb();
  314. Vector result = ugroup.list();
  315. Iterator ir = result.iterator();
  316. String opts = "";
  317. while (ir.hasNext()) {
  318. ugroup = (UserGroupDb) ir.next();
  319. opts += "<option value='" + ugroup.getCode() + "'>" + ugroup.getDesc() + "</option>";
  320. }
  321. %>
  322. <option value=""><lt:Label res="res.label.forum.admin.user_m" key="none"/></option>
  323.                 <%=opts%>
  324.               </select>
  325.   <script>
  326.   form2.groupCode.value = "<%=user.getGroupCode()%>";
  327.   </script>
  328.   <lt:Label res="res.label.forum.admin.user_m" key="auto_level_group"/>
  329.   <%
  330.   UserGroupDb ugd = user.getUserGroupDb();
  331.   out.print(ugd.getDesc());   
  332.   %></td>
  333.           </tr>
  334.           <tr>
  335.             <td>&nbsp;&nbsp;&nbsp;</td>
  336.             <td colspan="2" align="left">
  337. <input type="checkbox" name="isValid" value="false" <%=user.isValid()?"":"checked"%>>
  338. <lt:Label res="res.label.forum.admin.user_m" key="shield_user_and_topic"/>
  339. <input type="checkbox" name="checkStatus" value="<%=user.CHECK_STATUS_PASS%>" <%=user.getCheckStatus()==user.CHECK_STATUS_PASS?"checked":""%>>
  340. <lt:Label res="res.label.forum.admin.user_m" key="check_pass"/>
  341. </td>
  342.             </tr>
  343.           <tr>
  344.             <td>&nbsp;</td>
  345.             <td colspan="2" align="center"><input name="submit2" type=submit value="<lt:Label key="ok"/>"></td>
  346.             </tr>
  347.         </form>
  348.       </table>
  349.       <br>
  350.       <table width="550" border="0" align="center" class="frame_gray">
  351.         <form name=form3 action="user_modify.jsp?op=modifyValue" method="post">
  352.           <tr>
  353.             <td width="4%" height="23">&nbsp;</td>
  354.             <td align="center" colspan="2" height="23"><b><lt:Label res="res.label.forum.admin.user_m" key="modify_user_score"/></b></td>
  355.             <td width="24%" height="23">&nbsp;</td>
  356.           </tr>
  357.           <tr>
  358.             <td width="4%">&nbsp;</td>
  359.             <td width="15%" align="left"><lt:Label res="res.label.forum.admin.user_m" key="credit"/></td>
  360.             <td width="57%" align="left"><input name="credit" class="singleboarder" value="<%=user.getCredit()%>">
  361.                 <input name="username" type=hidden value="<%=username%>">
  362.               <lt:Label res="res.label.forum.admin.user_m" key="level"/>
  363.               &nbsp;
  364.               <%
  365. out.print(user.getLevelDesc());
  366. %>
  367.               <img src="../images/<%=user.getLevelPic()%>"> </td>
  368.             <td width="24%">&nbsp;</td>
  369.           </tr>
  370.           <tr>
  371.             <td width="4%">&nbsp;</td>
  372.             <td align="left"><lt:Label res="res.label.forum.admin.user_m" key="experience"/>&nbsp;</td>
  373.             <td align="left"><input name="experience" class="singleboarder" value="<%=user.getExperience()%>"></td>
  374.             <td width="24%">&nbsp;</td>
  375.           </tr>
  376.           <tr>
  377.             <td>&nbsp;</td>
  378.             <td align="left"><lt:Label res="res.label.forum.admin.user_m" key="add_topic_count"/>&nbsp;</td>
  379.             <td align="left"><%=user.getAddCount()%></td>
  380.             <td>&nbsp;</td>
  381.           </tr>
  382.           <tr>
  383.             <td>&nbsp;</td>
  384.             <td align="left">
  385. <%
  386. ScoreMgr sm = new ScoreMgr();
  387. ScoreUnit su = sm.getScoreUnit("gold");
  388. out.print(su.getName());
  389. %> </td>
  390.             <td align="left"><input name="gold" class="singleboarder" value="<%=user.getGold()%>"></td>
  391.             <td><input name="submit22" type=submit value="<lt:Label key="ok"/>"></td>
  392.           </tr>
  393.         </form>
  394.       </table>
  395.       <br>
  396.       <table width="550" border="0" cellspacing="1" class="frame_gray">
  397.         <TR align=center bgColor=#f8f8f8>
  398.           <TD width="83" height="24" bgcolor="#E2E0DC"><lt:Label res="res.label.forum.admin.user_m" key="arrest_date"/></TD>
  399.           <TD width="114" bgcolor="#E2E0DC"><lt:Label res="res.label.forum.admin.user_m" key="arrest_reason"/></TD>
  400.           <TD width="51" bgcolor="#E2E0DC"><lt:Label res="res.label.forum.admin.user_m" key="arrest_day"/></TD>
  401.           <TD width="99" bgcolor="#E2E0DC"><lt:Label res="res.label.forum.admin.user_m" key="arrest_person"/></TD>
  402.           <TD width="43" bgcolor="#E2E0DC"><lt:Label res="res.label.forum.admin.user_m" key="arrest_status"/></TD>
  403.           <TD width="100" bgcolor="#E2E0DC"><lt:Label key="op"/></TD>
  404.         </TR>
  405.         <TR align=center bgColor=#f8f8f8>
  406.           <form name="formarrest" id="formarrest" action="?op=arrest" method=post target="_self">
  407.             <TD><%
  408. int arrestday = user.getArrestDay();
  409. String arrestreason = user.getArrestReason();
  410. java.util.Date arresttime = user.getArrestTime();
  411. String arrestpolice = StrUtil.getNullString(user.getArrestPolice());
  412. String artime = "";
  413. if (arresttime==null)
  414. artime = DateUtil.format(Calendar.getInstance(), "yyyy-MM-dd HH:mm:ss");
  415. else
  416. artime = StrUtil.FormatDate(arresttime,"yyyy-MM-dd HH:mm:ss");
  417. %>
  418.                 <input name=arresttime value="<%=artime%>" size=10></TD>
  419.             <TD><input name=arrestreason value="<%=StrUtil.getNullStr(arrestreason)%>" size=20></TD>
  420.             <TD><input name=arrestday value="<%=arrestday%>" size=3></TD>
  421.             <TD><%=StrUtil.getNullStr(user.getUser(arrestpolice).getNick())%>
  422.                 <input type=hidden name=username value="<%=user.getName()%>">
  423.               </TD>
  424.             <TD><%
  425. Calendar c1 = DateUtil.add(arresttime, arrestday); // 释放日期
  426. Calendar c2 = Calendar.getInstance(); // 当前日期
  427. if (DateUtil.compare(c1,c2)==1)
  428. out.println("<font color=red>" + SkinUtil.LoadString(request, "yes") + "</font>");
  429. else
  430. out.println(SkinUtil.LoadString(request, "no"));
  431. %>            </TD>
  432.             <TD>
  433.   <input type="submit" name="Submit2" value="<lt:Label res="res.label.forum.admin.user_m" key="arrest"/>">
  434.               &nbsp;
  435.               <input name="Submit22" type="button" id="Submit22" onClick="window.location.href='?op=release&username=<%=StrUtil.UrlEncode(user.getName())%>';" value="<lt:Label res="res.label.forum.admin.user_m" key="release"/>">            </TD>
  436.           </form>
  437.         </TR>
  438.       </table>
  439.       <br>
  440.       <br>
  441.       <a href="?op=deluser&username=<%=StrUtil.UrlEncode(user.getName())%>"><lt:Label res="res.label.forum.admin.user_m" key="del_user_and_topic"/></a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="?op=delmsg&username=<%=StrUtil.UrlEncode(username)%>"><lt:Label res="res.label.forum.admin.user_m" key="del_user_topic"/></a></TD>
  442.     </TR>
  443.     <TR>
  444.       <TD class=tfoot align=right><DIV align=right> </DIV></TD>
  445.     </TR>
  446.   </TBODY>
  447. </TABLE>
  448. </body>
  449. </html>