📄 adminfinduser_jsp.java
字号:
out.write("<script type=\"text/javascript\">\r\n");
out.write("var obj = document.all;\r\n");
out.write("function subid()\r\n");
out.write("{\r\n");
out.write(" if(obj.userid.value == \"\" || obj.userid.value == null)\r\n");
out.write(" {\r\n");
out.write(" alert(\"ID号不能为空!\");\r\n");
out.write(" return;\r\n");
out.write(" }\r\n");
out.write(" main.submit();\r\n");
out.write("}\r\n");
out.write("function subname()\r\n");
out.write("{\r\n");
out.write(" if(obj.fusername.value == \"\" || obj.fusername.value == null)\r\n");
out.write(" {\r\n");
out.write(" alert(\"用户名不能为空!\");\r\n");
out.write(" return;\r\n");
out.write(" }\r\n");
out.write(" main.submit();\r\n");
out.write("}\r\n");
out.write("function subemail()\r\n");
out.write("{\r\n");
out.write(" if(obj.fuseremail.value == \"\" || obj.fuseremail.value == null)\r\n");
out.write(" {\r\n");
out.write(" alert(\"电子邮箱不能为空!\");\r\n");
out.write(" return;\r\n");
out.write(" }\r\n");
out.write(" main.submit();\r\n");
out.write("}\r\n");
out.write("function showaccredit(s){\r\n");
out.write(" if(s==1){\r\n");
out.write(" obj.accredit.style.display=\"\";\r\n");
out.write(" }\r\n");
out.write(" else{\r\n");
out.write(" obj.accredit.style.display=\"none\";\r\n");
out.write(" }\r\n");
out.write("}\r\n");
out.write("</script></body>\r\n");
out.write("</html>\r\n");
} catch (Throwable t) {
if (!(t instanceof SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
out.clearBuffer();
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
}
} finally {
if (_jspxFactory != null) _jspxFactory.releasePageContext(_jspx_page_context);
}
}
private boolean _jspx_meth_c_if_0(PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// c:if
org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_if_0 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _jspx_tagPool_c_if_test.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
_jspx_th_c_if_0.setPageContext(_jspx_page_context);
_jspx_th_c_if_0.setParent(null);
_jspx_th_c_if_0.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${user.uname != null}", java.lang.Boolean.class, (PageContext)_jspx_page_context, null, false)).booleanValue());
int _jspx_eval_c_if_0 = _jspx_th_c_if_0.doStartTag();
if (_jspx_eval_c_if_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
out.write("\r\n");
out.write(" <table width=\"100%\" align=\"center\" border=\"0\">\r\n");
out.write(" <tr>\r\n");
out.write(" <td>用户名</td>\r\n");
out.write(" <td>电子邮件</td>\r\n");
out.write(" <td>用户性别</td>\r\n");
out.write(" <td>论坛职务</td>\r\n");
out.write(" <td>权限控制</td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr><td colspan=\"5\"><hr style=\"color:blue\" /></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td>");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${user.uname}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\r\n");
out.write(" <input type=\"hidden\" name=\"username\" value=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${user.uname}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\" />\r\n");
out.write(" </td>\r\n");
out.write(" <td>");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${user.uemail}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</td>\r\n");
out.write(" <td>");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${user.usex}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</td>\r\n");
out.write(" <td>");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${user.uduty}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</td>\r\n");
out.write(" <td><a href=\"#\" onclick=\"showaccredit(1)\">授权</a>/<a href=\"abolish?uname=");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${user.uname}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\">解除</a></td>\r\n");
out.write(" </tr>\r\n");
out.write(" </table><br /><br />\r\n");
out.write(" ");
int evalDoAfterBody = _jspx_th_c_if_0.doAfterBody();
if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
break;
} while (true);
}
if (_jspx_th_c_if_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return true;
_jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_0);
return false;
}
private boolean _jspx_meth_c_forEach_0(PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// c:forEach
org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_forEach_0 = (org.apache.taglibs.standard.tag.rt.core.ForEachTag) _jspx_tagPool_c_forEach_var_items.get(org.apache.taglibs.standard.tag.rt.core.ForEachTag.class);
_jspx_th_c_forEach_0.setPageContext(_jspx_page_context);
_jspx_th_c_forEach_0.setParent(null);
_jspx_th_c_forEach_0.setVar("section");
_jspx_th_c_forEach_0.setItems((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${section}", java.lang.Object.class, (PageContext)_jspx_page_context, null, false));
int[] _jspx_push_body_count_c_forEach_0 = new int[] { 0 };
try {
int _jspx_eval_c_forEach_0 = _jspx_th_c_forEach_0.doStartTag();
if (_jspx_eval_c_forEach_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
out.write("\r\n");
out.write(" <option value=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${section.sid}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write('"');
out.write('>');
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${section.sname}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</option>\r\n");
out.write(" ");
int evalDoAfterBody = _jspx_th_c_forEach_0.doAfterBody();
if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
break;
} while (true);
}
if (_jspx_th_c_forEach_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return true;
} catch (Throwable _jspx_exception) {
while (_jspx_push_body_count_c_forEach_0[0]-- > 0)
out = _jspx_page_context.popBody();
_jspx_th_c_forEach_0.doCatch(_jspx_exception);
} finally {
_jspx_th_c_forEach_0.doFinally();
_jspx_tagPool_c_forEach_var_items.reuse(_jspx_th_c_forEach_0);
}
return false;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -