⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 userlist.jsp

📁 LyBBS基于Struts1.3/Ajax的架构
💻 JSP
字号:
<%@ page contentType="text/html; charset=GBK" %>
<%@ include file="common/include/taglibs.jsp" %>
<html:html>
<head>
<!--lybbs:changeUserPositionTag forumID="0" positionFlag="4"/-->
<title><lybbs:web key="forumName"/></title>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="bookmark" href="favicon.ico" type="image/x-icon">
<%@ include file="common/include/header.jsp" %>
<bean:define id="pageUtils" name="pageUtils" type="net.lybbs.util.PageUtils"/>
</head>
<%
int a=ParameterUtils.getInt(request,"a");
int pages=pageUtils.getPages();
int numPerPage=pageUtils.getNumPerPage();
int count=pageUtils.getCount();
int i=(pages-1)*numPerPage;
%>
<body topmargin=0 leftmargin=0>
<TABLE class=tableCommonStyle cellSpacing=1 cellPadding=3 border=0 align=center>
 <TR>
  <TD height=4 class=bgStyle></TD>
 </TR>
 <TR>
  <TD class=noBgStyle>
    <lybbs:typeAdTag/>
  </TD>
 </TR>
 <TR>
  <TD height=4 class=bgStyle></TD>
 </TR>
 <tr>
  <td class=menuStyle height=22>
    <table width=100% cellpadding=0 cellspacing=0 border=0>
    <tr>
    <td align=left>
    <lybbs:typeUserHeaderTag forumID="0"/>
    </td>
    <td align=right>
      <lybbs:web key="returnHomeLink"/>
    </td>
    </tr>
    </table>
  </td>
 </tr>
</table>
<br>
<table class=tableCommonStyle cellpadding=3 cellspacing=1 border=0 align=center>
 <tr>
  <td class=navStyle vAlign=center height=25>
    <img src="lybbs/images/forum_nav.gif" width="9" height="9" align="absMiddle"> <a href="bbs_index.do"><lybbs:web key="forumName"/></a> <bean:message key="common.lybbs.arrow"/> <bean:message key="common.lybbs.userlist"/>
  </td>
 </tr>
</table>
<br>

<table class=tableCommonStyle align=center cellspacing=1 cellpadding=3 border=0>
 <tr>
  <td class=catStyle colspan=10 align=center>
    &gt;&gt; <B>
    <%if(a==1) {%>
          <bean:message key="tag.typememberlisttag.a.1"/>
    <%}else if(a==2){%>
          <bean:message key="tag.typememberlisttag.a.2"/>
    <%}else if(a==3){%>
          <bean:message key="tag.typememberlisttag.a.3"/>
    <%}else if(a==4){%>
          <bean:message key="tag.typememberlisttag.a.4"/>
    <%}else if(a==5){%>
          <bean:message key="tag.typememberlisttag.a.5"/>
    <%}else if(a==6){%>
          <bean:message key="tag.typememberlisttag.a.6"/>
    <%}else if(a==7){%>
          <bean:message key="tag.typememberlisttag.a.7"/>
    <%}else if(a==8){%>
          <bean:message key="tag.typememberlisttag.a.8"/>
    <%}else if(a==9){%>
          <bean:message key="tag.typememberlisttag.a.9"/>
    <%}else if(a==10) {%>
          <bean:message key="tag.typememberlisttag.a.10"/>
    <%}%>
      </B> &lt;&lt;
  </td>
 </tr>
 <tr>
  <form action=bbs_memberList.do name=myform method=post>
  <td class=forumColorOne colspan=10>
    &nbsp;<bean:write name="registerInfo"/>&nbsp;&nbsp;&nbsp;&nbsp;
    <select name=a>
     <option value=1><bean:message key="tag.typememberlisttag.a.1"/></option>
     <option value=2><bean:message key="tag.typememberlisttag.a.2"/></option>
     <option value=10><bean:message key="tag.typememberlisttag.a.10"/></option>
     <option value=3><bean:message key="tag.typememberlisttag.a.3"/></option>
     <option value=4><bean:message key="tag.typememberlisttag.a.4"/></option>
     <option value=5><bean:message key="tag.typememberlisttag.a.5"/></option>
     <option value=7><bean:message key="tag.typememberlisttag.a.7"/></option>
     <option value=8><bean:message key="tag.typememberlisttag.a.8"/></option>
     <option value=9><bean:message key="tag.typememberlisttag.a.9"/></option>
     <option value=6><bean:message key="tag.typememberlisttag.a.6"/></option>
    </select>&nbsp;&nbsp;
    <script>setCurrentSelect(document.myform.a,"<%=a%>");</script>
    <input type=submit value="<bean:message key="common.lybbs.submit"/>">
  </td>
  </form>
 </tr>
 <tr>
  <td class=forumColorTwo align=center width=40><b><bean:message key="common.lybbs.serialnumber"/></b></td>
  <td class=forumColorTwo align=center width=200><b><bean:message key="common.lybbs.username"/></b></td>
  <td class=forumColorTwo align=center><b><bean:message key="common.lybbs.email"/></b></td>
  <td class=forumColorTwo align=center><b><bean:message key="jsp.register.icq"/></b></td>
  <td class=forumColorTwo align=center><b><bean:message key="jsp.register.qq"/></b></td>
  <td class=forumColorTwo align=center><b><bean:message key="jsp.register.homepage"/></b></td>
  <td class=forumColorTwo align=center><b><bean:message key="error.message.subject"/></td>
  <td class=forumColorTwo align=center><b><bean:message key="jsp.team.registertime"/></b></td>
  <!--td class=forumColorTwo align=center><b><bean:message key="tag.typememberlisttag.grade"/></b></td-->
  <td class=forumColorTwo align=center><b>
  <%if(a==7) {%>
     <bean:message key="common.lybbs.user.money"/>
  <%}else if(a==8) {%>
     <bean:message key="common.lybbs.user.experience"/>
  <%}else if(a==9) {%>
     <bean:message key="common.lybbs.user.charm"/>
  <%}else if(a==10) {%>
     <bean:message key="common.lybbs.topicnumber"/>
  <%} else {%>
     <bean:message key="tag.typememberlisttag.postnumber"/>
  <%}%>
  </b>
  </td>
 </tr>
 <logic:iterate id="element" name="userListBean" type="net.lybbs.user.bean.data.User">
 <tr>
  <td class=forumColorTwo align=center><%=++i%></td>
  <td class=forumColorTwo>&nbsp;<a href="bbs_userShow.do?userID=<bean:write name="element" property="userID"/>"><bean:write name="element" property="userName"/></a></td>
  <td class=forumColorTwo align=center>
    <logic:equal name="element" property="email" value="">
      <bean:message key="common.lybbs.without"/>
    </logic:equal>
    <logic:notEqual name="element" property="email" value="">
      <logic:equal name="element" property="showEmail" value="1">
       <a href="mailto:<bean:write name="element" property="email"/>"><img border=0 src=lybbs/images/email.gif></a>
      </logic:equal>
      <logic:equal name="element" property="showEmail" value="0">
        <logic:equal name="userBean" property="userMode" value="7" scope="session">
          <a href="mailto:<bean:write name="element" property="email"/>"><img border=0 src=lybbs/images/email.gif></a>
        </logic:equal>
        <logic:notEqual name="userBean" property="userMode" value="7" scope="session">
          <img border=0 src=lybbs/images/email.gif>
        </logic:notEqual>
      </logic:equal>
    </logic:notEqual>
  </td>
  <td class=forumColorTwo align=center>
    <logic:equal name="element" property="icq" value="">
      <bean:message key="common.lybbs.without"/>
    </logic:equal>
    <logic:notEqual name="element" property="icq" value="">
      <img src=lybbs/images/icq.gif border=0 width=16 height=16><bean:write name="element" property="icq"/>
    </logic:notEqual>
  </td>
  <td class=forumColorTwo align=center>
    <logic:equal name="element" property="QQ" value="">
      <bean:message key="common.lybbs.without"/>
    </logic:equal>
    <logic:notEqual name="element" property="QQ" value="">
      <a href=<%=net.lybbs.util.Constants.QQLINK%><bean:write name="element" property="QQ"/> target=_blank><img src=lybbs/images/oicq.gif alt=<bean:message key="common.lybbs.viewinfo"/> border=0 width=16 height=16></a>
    </logic:notEqual>
  </td>
  <td class=forumColorTwo align=center>
    <logic:equal name="element" property="homePage" value="">
      <bean:message key="common.lybbs.without"/>
    </logic:equal>
    <logic:notEqual name="element" property="homePage" value="">
      <a href="<bean:write name="element" property="homePage"/>" target=_blank><img border=0 src=lybbs/images/homepage.gif></a>
    </logic:notEqual>
  </td>
  <td class=forumColorTwo align=center>
    <a href="javascript:openScript('bbs_preMessageSend.do?msgToUserID=<bean:write name="element" property="userID"/>',550,400)"><img src=lybbs/images/message.gif border=0></a>
  </td>
  <td class=forumColorTwo align=center>
    <bean:write name="element" property="registerTime"/>
  </td>
  <td class=forumColorTwo align=center>
  <%if(a==7) {%>
      <bean:write name="element" property="money"/>
  <%}else if(a==8) {%>
      <bean:write name="element" property="experience"/>
  <%}else if(a==9) {%>
      <bean:write name="element" property="charm"/>
  <%}else if(a==10) {%>
      <bean:write name="element" property="NPosts"/>
  <%}else {%>
      <%=element.getNPosts()+element.getNReply()%>
  <%}%>
  </td>
 </tr>
 </logic:iterate>
 <%
   if(a!=2 && a!=5 && a!=6) {
 %>
 <tr>
  <td class=forumColorOne colspan=10>
     <bean:write name="pageUtils" property="pageInfo" filter="false"/>
  </td>
 </tr>
 <%
   }
 %>
</tr>
</table>
      
<br>
<lybbs:web key="foot"/>
</body>
</html:html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -