regpost.jsp
上传用户:toby834
上传日期:2013-10-21
资源大小:2613k
文件大小:4k
源码类别:

Jsp/Servlet

开发平台:

Java

  1. <%@ page contentType="text/html;charset=GBK"%>
  2. <%@ page import="net.acai.forum.util.*"%>
  3. <%@ include file="INC/const.jsp"%>
  4. <%
  5. stats="用户注册";
  6. %>
  7. <%@ include file="INC/theme.jsp"%>
  8. <%
  9. userName=ParamUtil.getString(request,"userName","");
  10. try
  11. {
  12. ForumFactory.addUser(request,wealthReg,epReg,cpReg);
  13. %>
  14. <table cellpadding=0 cellspacing=0 border=0 width=500 bgcolor=<%=aTableBackColor%> align=center>
  15. <tr> 
  16. <td> 
  17.       <table cellpadding=3 cellspacing=1 border=0 width=500>
  18.         <TBODY> 
  19.         <TR align=middle bgcolor=<%=aTableTitleColor%>> 
  20.           <TD colSpan=2 height=24><b>用户注册成功</b></TD>
  21.         </TR>
  22.         <TR bgcolor=<%=tableBodyColor%>> 
  23.           <TD colspan=2><center><b> 
  24.       <%if (emailFlag==0) {%><center>
  25.             <b>欢迎使用本系统,有任何问题,请与网管(<a href=mailto:<%=systemEmail%>><%=systemEmail%></A>)联系!</b> 
  26.             <%}else if (emailFlag==1) {
  27.     out.println( "<center><b> 一封注册信已经发送到你您注册时填写的信箱,请查收!</b>");
  28.    }
  29.    %>
  30.         
  31.           </TD>
  32.         </TR>
  33.         <TR bgcolor=<%=tableBodyColor%>> 
  34.           <TD width=35% height="32">注 册 名**</TD>
  35.           <TD><%=userName%></TD>
  36.         </TR>
  37.         <TR bgcolor=<%=tableBodyColor%>> 
  38.           <TD height="32" width="150">性 别</TD>
  39.           <TD> 
  40.             <%if (ParamUtil.getInt(request,"sex",0)==1) {%>
  41.             男 
  42.             <%} else {%>
  43.             女 
  44.             <%}%>
  45.           </TD>
  46.         </TR>
  47.         <TR bgcolor=<%=tableBodyColor%>> 
  48.           <TD height="32" width="150">密&nbsp;&nbsp;&nbsp;&nbsp;码**</TD>
  49.           <TD><%=ParamUtil.getString(request,"userPassword","")%> </TD>
  50.         </TR>
  51.         <TR bgcolor=<%=tableBodyColor%>> 
  52.           <TD height=32 width="150">Email地址 **</TD>
  53.           <TD><%=ParamUtil.getString(request,"userEmail","")%></TD>
  54.         </TR>
  55.         <TR bgcolor=<%=tableBodyColor%>> 
  56.           <TD height=32 width="150">形象**</TD>
  57.           <TD><img src="<%=ParamUtil.getString(request,"face","")%>"> 
  58.         </TR>
  59.         <TR bgcolor=<%=tableBodyColor%>> 
  60.           <TD height="32" width="150">财 产</TD>
  61.           <TD><%=wealthReg%> 
  62.         </TR>
  63.         <TR bgcolor=<%=tableBodyColor%>> 
  64.           <TD height="32" width="150">经验值</TD>
  65.           <TD><%=epReg%> 
  66.         </TR>
  67.         <TR bgcolor=<%=tableBodyColor%>> 
  68.           <TD height="32" width="150">魅力值</TD>
  69.           <TD><%=cpReg%> 
  70.         </TR>
  71.         <tr bgcolor=<%=tableBodyColor%>> 
  72.           <td height="32" width="150">有回帖时是否提示</td>
  73.           <td> 
  74. <%if (ParamUtil.getInt(request,"showRe",0)==1)
  75. out.println( "提示");
  76. else
  77. out.println("不提示");
  78. %>
  79.         </tr>
  80.         <TR bgcolor=<%=tableBodyColor%>> 
  81.           <TD height="32" width="150">OICQ号码</TD>
  82.           <TD> 
  83.             <%if (ParamUtil.getString(request,"oicq","").equals("")){%>
  84.             未注册 
  85.             <% }else {%>
  86.             <%=ParamUtil.getString(request,"oicq","")%> 
  87.             <%}%>
  88.           </TD>
  89.         </TR>
  90.         <TR bgcolor=<%=tableBodyColor%>> 
  91.           <TD width=150>签 名<BR>
  92.             <BR>
  93.             文字将出现在您发表的文章的结尾处。体现您的个性。 </TD>
  94.           <TD> 
  95.             <%if (ParamUtil.getString(request,"sign","").equals("")) {%>
  96.             未填写 
  97.             <%} else {%>
  98.             <%=(new String(ParamUtil.getString(request,"sign","").getBytes("ISO-8859-1"),"GBK"))%> 
  99.             <%}%>
  100.           </TD>
  101.         </TR>
  102.         
  103.         <TR align=middle bgcolor=<%=aTableTitleColor%>> 
  104.           <TD colSpan=2 align=center> <a href=login.jsp>请登陆论坛</a> </TD>
  105.         </TR>
  106.         </TBODY> 
  107.       </TABLE>
  108. </td>
  109. </tr>
  110. </table>
  111. <%
  112. }
  113. catch(Exception e){
  114. e.printStackTrace();
  115. out.print(e.getMessage());
  116. }
  117. %>
  118. <%@ include file="foot.jsp"%>