userInfo.jsp
上传用户:u_thks
上传日期:2022-07-31
资源大小:1910k
文件大小:8k
源码类别:

WEB源码(ASP,PHP,...)

开发平台:

Java

  1. <%@ page language="java" contentType="text/html;charset=UTF-8"
  2.  errorPage="err.jsp" %>
  3. <%@ include file="./GVinc/gvImport.jsp" %>
  4. <jsp:useBean id="cci" scope="page" class="com.gamvan.club.classed.ClubClassInfo"/>
  5. <jsp:useBean id="ctc" scope="page" class="com.gamvan.club.topic.ClubTopicCollection"/> 
  6. <% 
  7. int userID = ParamUtils.getIntParameter(request,"userID");
  8. boolean isUser=false;
  9. %>
  10. <html xmlns="http://www.w3.org/1999/xhtml">
  11. <head>
  12. <title><%=clubName%>  用户注册信息</title>
  13. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  14. <link href="./GVimgs/favicon.ico" rel="Bookmark"> 
  15. <link rel="icon" href="./GVimgs/favicon.ico" type="image/x-icon" />
  16. <link rel="shortcut icon" href="./GVimgs/favicon.ico" type="image/x-icon" />
  17. <link href="./GVinc/main.css" rel="stylesheet" type="text/css" />
  18. </head>
  19. <body>
  20. <DIV id="waitDiv" style="LEFT: 40%; VISIBILITY: hidden; POSITION: absolute; TOP: 20%; TEXT-ALIGN: center">
  21. <TABLE cellPadding=6 border=0>
  22. <TBODY><TR><TD align=middle>
  23. <IMG  src="GVimgs/loading.gif" alt="请稍候..." width="30" height="30">
  24. <BR>
  25. <FONT color="red">数据载入中,请稍候...</FONT></TD></TR></TBODY></TABLE></DIV>
  26. <script language="javascript" type="text/javascript" src="GVscript/GVtopCode.js"></script>
  27. <script language="javascript" type="text/javascript" src="GVscriptInc/topBar.js"></script>
  28. <script language="javascript" type="text/javascript" src="GVscript/GVshowMenu.js"></script>
  29. <SCRIPT language="javascript">
  30. gv_showWait('waitDiv', 1); 
  31. prtie('<%=clubName%>>>用户 的注册信息');
  32. </SCRIPT>
  33. <%
  34. if(!isPass(gvUserGradeTxt,11)){
  35. out.print(errs(1,"您的级别("+ gvUserGradeName +")无权查看用户注册信息!"));
  36. out.close();
  37. if(true) return;
  38. }
  39. cuc.setUserID(userID);
  40. cui = cuc.userInfo();
  41. if(cui==null){
  42. out.print(errs(3,"您查找的用户资料不存在或已被删除!"));
  43. out.close();
  44. if(true) return;
  45. }
  46. if(cui.getUserIsDel()){
  47. out.print(errs(7,"您查找的用户已被管理员删除!"));
  48. out.close();
  49. if(true) return;
  50. }
  51. %>
  52. <table width="99%" border="0" align="center" cellpadding="2" cellspacing="1" class="tab">
  53.   <tr class="tab1">
  54.     <td>
  55. <strong>您的位置</strong>&gt;&gt;<a href="default.jsp" target="_parent">社区首页</a>&gt;&gt;<a href="main.jsp">进站画面</a>&gt;&gt;
  56. 用户注册信息
  57. </td>
  58.   </tr>
  59. </table>
  60. <table width="99%" border="0" align="center" cellpadding="4" cellspacing="1" class="tab">
  61. <tr>
  62. <td width="120" class="tab1"><strong>ID </strong></td>
  63. <td class="bg2">
  64. <club:users type="userName" idIs="<%=userID%>" value="<%=cui.getUserName()%>"/>
  65. </td>
  66. <td width="80" class="tab1"><strong>信誉</strong></td>
  67. <td width="160" class="bg2">
  68. <club:users type="userCredit" value="<%=String.valueOf(cui.getUserCredit())%>"/>
  69. </td>
  70. </tr>
  71.   <tr>
  72.     <td class="tab1"><strong>性别</strong></td>
  73.     <td class="bg2">
  74. <club:users type="userSex" value="<%=String.valueOf(cui.getUserSex())%>"/>
  75. </td>
  76.   <td class="tab1"><strong>积分</strong></td>
  77.     <td class="bg2">
  78. <club:users type="userMark" value="<%=String.valueOf(cui.getUserMark())%>"/>
  79. </td>
  80.   </tr>
  81.   <tr> 
  82.     <td class="tab1"><strong>电子邮件(Email)</strong></td>
  83.     <td class="bg2">
  84. <club:users type="userEmail" value="<%=cui.getUserEmail()%>" idIs="<%=cui.getUserEmailOpen()%>"  bea="<%=false%>"/>
  85. </td>
  86.   <td class="tab1"><strong>金币</strong></td>
  87.     <td class="bg2">
  88. <club:users type="userMoney" value="<%=String.valueOf(cui.getUserMoney())%>"/>
  89. </td>
  90.   </tr>
  91.   <tr>
  92.     <td width="120" class="tab1"><strong>笔名</strong></td>
  93.     <td class="bg2">
  94. <club:users type="userName2" value="<%=cui.getUserName2()%>"/>
  95. </td>
  96.   <td class="tab1"><strong>发表主题</strong></td>
  97.     <td class="bg2">
  98. <club:users type="userTopicCount" value="<%=String.valueOf(cui.getUserTopicCount())%>"/>
  99. </td>
  100.   </tr>
  101.   <tr>
  102.     <td class="tab1"><strong>生日</strong></td>
  103.     <td class="bg2">
  104. <club:users type="userBirthday" value="<%=cui.getUserBirthday()%>"/>
  105. </td>
  106.   <td class="tab1"><strong>发表回复</strong></td>
  107.     <td class="bg2">
  108. <club:users type="userReCount" value="<%=String.valueOf(cui.getUserReCount())%>"/>
  109. </td>
  110.   </tr>
  111.   <tr>
  112.     <td class="tab1"><strong>个人主页</strong></td>
  113.     <td class="bg2">
  114. <club:users type="userWeb" value="<%=cui.getUserWeb()%>" url="1"/>
  115. </td>
  116.   <td class="tab1"><strong>注册日期</strong></td>
  117.     <td class="bg2">
  118. <club:users type="userRegTime" value="<%=cui.getUserRegTime()%>"/>
  119. </td>
  120.   </tr>
  121.   <tr>
  122.     <td class="tab1"><strong>QQ</strong></td>
  123.     <td class="bg2">
  124. <club:users type="userQQ" value="<%=cui.getUserQQ()%>"/>
  125. </td>
  126.   <td class="tab1"><strong>登陆</strong></td>
  127.     <td class="bg2">
  128. <club:users type="userLoginTimes" value="<%=String.valueOf(cui.getUserLoginTimes())%>"/>
  129. </td>
  130.   </tr>
  131.   <tr>
  132.     <td class="tab1"><strong>所在地区</strong></td>
  133.     <td class="bg2">
  134. <club:users type="userArea" value="<%=cui.getUserArea()%>"/>
  135. </td>
  136.   <td class="tab1"><strong>最后登陆</strong></td>
  137.     <td class="bg2">
  138. <club:users type="userLastTime" value="<%=cui.getUserLastTime()%>"/>
  139. </td>
  140.   </tr>
  141.   <tr>
  142.     <td class="tab1"><strong>所在城市</strong></td>
  143.     <td class="bg2">
  144. <club:users type="userCity" value="<%=cui.getUserCity()%>"/>
  145.  </td>
  146.   <td class="tab1">&nbsp;</td>
  147.     <td class="bg2">&nbsp;</td>
  148.   </tr>
  149.   <tr>
  150.     <td class="tab1"><strong>职业</strong></td>
  151.     <td class="bg2">
  152. <club:users type="userWork" value="<%=cui.getUserWork()%>"/>
  153. </td>
  154.   <td class="tab1">&nbsp;</td>
  155.     <td class="bg2">&nbsp;</td>
  156.   </tr>
  157.   <tr>
  158.     <td class="tab1"><strong>个人签名</strong></td>
  159.     <td class="bg2">
  160. <club:users type="userPen" value="<%=cui.getUserPen()%>"/>
  161. </td>
  162.   <td class="tab1">&nbsp;</td>
  163.     <td class="bg2">&nbsp;</td>
  164.   </tr>
  165.   <tr>
  166.     <td class="tab1"><strong>自我介绍</strong></td>
  167.     <td class="bg2">
  168. <club:users type="userIntro" value="<%=cui.getUserIntro()%>"/>
  169. </td>
  170.   <td class="tab1"><strong>头像</strong></td>
  171.     <td class="bg2">
  172. <club:users type="userPic" value="<%=cui.getUserPic()%>" bea="true"/>
  173. </td>
  174.   </tr>
  175. </table>
  176. <table width="99%" border="0" align="center" cellpadding="4" cellspacing="1" class="tab">
  177.   <tr class="tr">
  178.     <td width="50%" height="25">
  179.       <strong><club:users type="userName" idIs="<%=userID%>" value="<%=cui.getUserName()%>"/>
  180. 最近发表的主题: </strong></td>
  181.     <td>
  182.       <strong><club:users type="userName" idIs="<%=userID%>" value="<%=cui.getUserName()%>"/>
  183. 最近发表的回复:
  184.     </strong></td>
  185.   </tr>
  186.   <tr class="tab3">
  187.     <td height="25" valign="top">
  188. <%
  189. //int totalPage = 0; // 总页数
  190. ctc.setTopicLayer((short)0);
  191. ctc.setUserID(userID);
  192. //totalPage = ctc.myTopicCount();
  193. String tUrl = "clubPage.jsp?ccStyle=0";
  194. ClubClassItem ccit = null;
  195. %>
  196. <c:forEach var="t" items="<%=ctc.myTopicList(1,10)%>">
  197. <span style="float:right">
  198. <club:topic type="img_listType" idIs="${t.topicType}" value="${t.topicTypeNum}"/>
  199. <club:topic type="topicAddTime" value="${t.topicAddTime}"/>
  200. </span>
  201. <club:topic type="img_listMood"  value="${t.topicMood}"/>&nbsp;<c:if test="${t.topicLayer>0}" >
  202. <club:topic type="topic" url="<%=tUrl%>" ccID="${t.ccID}" idIs="${t.topicID}"  value="${t.topic}" bea="<%=true%>"/>
  203. </c:if>
  204. <c:if test="${t.topicLayer==0}" >
  205. <club:topic type="topic" property="_blank" url="<%=tUrl%>" ccID="${t.ccID}" idIs="${t.topicID}" value="${t.topic}" bea="<%=true%>"/>
  206. </c:if>
  207. <br>
  208. </c:forEach>
  209. </td>
  210. <td valign="top"><%
  211. //int totalPage = 0; // 总页数
  212. ctc.setTopicLayer((short)1);
  213. ctc.setUserID(userID);
  214. //totalPage = ctc.myTopicCount();
  215. tUrl = "clubPage.jsp?ccStyle=1";
  216. ccit = null;
  217. %><c:forEach var="t" items="<%=ctc.myTopicList(1,10)%>">
  218. <span style="float:right">
  219. <club:topic type="img_listType" idIs="${t.topicType}" value="${t.topicTypeNum}"/>
  220. <club:topic type="topicAddTime" value="${t.topicAddTime}"/>
  221. </span>
  222. <club:topic type="img_listMood"  value="${t.topicMood}"/>&nbsp;<c:if test="${t.topicLayer>0}" >
  223. <club:topic property="_blank" type="topic" url="<%=tUrl%>" ccID="${t.ccID}" idIs="${t.topicID}" linkId="${t.topicReID}" value="${t.topic}" bea="<%=true%>"/> </c:if> <c:if test="${t.topicLayer==0}" > <club:topic type="topic" url="<%=tUrl%>" ccID="${t.ccID}" idIs="${t.topicID}" value="${t.topic}" bea="<%=true%>"/> </c:if> <br>
  224. </c:forEach></td>
  225.   </tr>
  226. </table>
  227. <%@ include file="GVinc/gvOnlineArea.jsp" %>
  228. <%=Gfoot()%>
  229. </body>
  230. </html>