reg_pre.aspx
上传用户:scene123
上传日期:2010-02-19
资源大小:3311k
文件大小:9k
源码类别:

.net编程

开发平台:

C#

  1. <%@ Page Inherits="huang.reg_pre" Language="C#" src="cs/huang.cs" %>
  2. <html>
  3. <head>
  4. <title></title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  6. <link href="css/css.css" rel="stylesheet" type="text/css">
  7. </head>
  8. <body class=bodycss>
  9. <%if (Action=="modify"){%>
  10. <form action="user_modify.aspx?UserName=<%=UserName%>" method="post" name="form1">
  11. <%}
  12. else {%>
  13.     <form action="reg.aspx" method="post" name="form1">
  14. <%}%>
  15.   <table width="89%" border="0" align="center" class="bar">
  16.     <tr> 
  17.       <td height="26" colspan="2"  >用户资料</td>
  18.     </tr>
  19.     <tr> 
  20.       <td width="23%">用户名</td>
  21.       <td width="77%">
  22.       
  23.       
  24.       <%if (Action=="modify"){%>
  25.   <input name="UserName" type="text" class="unnamed2" id="UserName" size="20" maxlength="20" Value="<%=UserName%>" disabled>
  26. <%}
  27. else {%>
  28.   <input name="UserName" type="text" class="unnamed2" id="UserName" size="20" maxlength="20" Value="<%=UserName%>" >
  29. <%}%>
  30.       
  31.       
  32.     
  33.       
  34.       
  35.       
  36.       
  37.       </td>
  38.     </tr>
  39.      <%if (Request.QueryString["UserName"].ToString()==""){%>
  40.     <tr> 
  41.       <td>密码</td>
  42.       <td><input name="PassWord" type="password" class="unnamed2" id="PassWord" size="20" maxlength="20" Value="<%=Pass%>"> 
  43.         <input name="PassWord2" type="password" class="unnamed2" id="PassWord2" value="" size="20"></td>
  44.     </tr>
  45.     <%}%>
  46.     <tr> 
  47.       <td>性别</td>
  48.       <td>男 
  49.         <input name="Sex" type="radio" value="1" <%if (sex=="1"){
  50.         Response.Write("checked");
  51.         }
  52. %>>
  53.         女 
  54.         <input type="radio" name="Sex" value="2" <%if (sex=="2"){
  55.         Response.Write("checked");
  56.         }
  57. %>></td>
  58.     </tr>
  59.     <tr> 
  60.       <td>E-mail</td>
  61.       <td><input name="mail" type="text" class="unnamed2" id="mail" size="40" maxlength="40" Value="<%=mail%>"></td>
  62.     </tr>
  63.     <tr> 
  64.       <td>qq号码</td>
  65.       <td><input name="QQ" type="text" class="unnamed2" id="QQ" size="20" maxlength="20" Value="<%=QQ%>"></td>
  66.     </tr>
  67.     <tr> 
  68.       <td>来自</td>
  69.       <td><input name="Location" type="text" class="unnamed2" id="Location" size="50" maxlength="50" Value="<%=loca%>"></td>
  70.     </tr>
  71.     <tr> 
  72.       <td>生日</td>
  73.       <td><input name="textfield" type="text" class="unnamed2" size="20" maxlength="20"> 
  74.       </td>
  75.     </tr><%
  76. if (Action=="modify"){
  77. Response.Write("<tr>       <td>当前头像</td>   <td>");
  78. Response.Write("<img src='"+HeadImg+"' height='"+height+"' width='"+width+"' border=0>");
  79. Response.Write("  </td>    </tr>");
  80. }
  81. %>
  82.     <tr> 
  83.       <td>头像选择<br>
  84.         (使用论坛头象) <input name="head_type" type="radio" value="1" checked> 
  85.       <TD class=tablebody1 width=77%>论坛头像选择 
  86.         <SELECT 
  87.             style="FONT-FAMILY: arial" 
  88.             onchange="document.images['face'].src=options[selectedIndex].value; " 
  89.             size=1 name=face>
  90.           <OPTION value=userface/image1.gif selected>image1.gif</OPTION>
  91.           <OPTION 
  92.               value=userface/image2.gif >image2.gif</OPTION>
  93.           <OPTION 
  94.               value=userface/image3.gif>image3.gif</OPTION>
  95.           <OPTION 
  96.               value=userface/image4.gif>image4.gif</OPTION>
  97.           <OPTION 
  98.               value=userface/image5.gif>image5.gif</OPTION>
  99.           <OPTION 
  100.               value=userface/image6.gif>image6.gif</OPTION>
  101.           <OPTION 
  102.               value=userface/image7.gif>image7.gif</OPTION>
  103.           <OPTION 
  104.               value=userface/image8.gif>image8.gif</OPTION>
  105.           <OPTION 
  106.               value=userface/image9.gif>image9.gif</OPTION>
  107.           <OPTION 
  108.               value=userface/image10.gif>image10.gif</OPTION>
  109.           <OPTION 
  110.               value=userface/image11.gif>image11.gif</OPTION>
  111.           <OPTION 
  112.               value=userface/image12.gif>image12.gif</OPTION>
  113.           <OPTION 
  114.               value=userface/image13.gif>image13.gif</OPTION>
  115.           <OPTION 
  116.               value=userface/image14.gif>image14.gif</OPTION>
  117.           <OPTION 
  118.               value=userface/image15.gif>image15.gif</OPTION>
  119.           <OPTION 
  120.               value=userface/image16.gif>image16.gif</OPTION>
  121.           <OPTION 
  122.               value=userface/image17.gif>image17.gif</OPTION>
  123.           <OPTION 
  124.               value=userface/image18.gif>image18.gif</OPTION>
  125.           <OPTION 
  126.               value=userface/image19.gif>image19.gif</OPTION>
  127.           <OPTION 
  128.               value=userface/image20.gif>image20.gif</OPTION>
  129.           <OPTION 
  130.               value=userface/image21.gif>image21.gif</OPTION>
  131.           <OPTION 
  132.               value=userface/image22.gif>image22.gif</OPTION>
  133.           <OPTION 
  134.               value=userface/image23.gif>image23.gif</OPTION>
  135.           <OPTION 
  136.               value=userface/image24.gif>image24.gif</OPTION>
  137.           <OPTION 
  138.               value=userface/image25.gif>image25.gif</OPTION>
  139.           <OPTION 
  140.               value=userface/image26.gif>image26.gif</OPTION>
  141.           <OPTION 
  142.               value=userface/image27.gif>image27.gif</OPTION>
  143.           <OPTION 
  144.               value=userface/image28.gif>image28.gif</OPTION>
  145.           <OPTION 
  146.               value=userface/image29.gif>image29.gif</OPTION>
  147.           <OPTION 
  148.               value=userface/image30.gif>image30.gif</OPTION>
  149.           <OPTION 
  150.               value=userface/image31.gif>image31.gif</OPTION>
  151.           <OPTION 
  152.               value=userface/image32.gif>image32.gif</OPTION>
  153.           <OPTION 
  154.               value=userface/image33.gif>image33.gif</OPTION>
  155.           <OPTION 
  156.               value=userface/image34.gif>image34.gif</OPTION>
  157.           <OPTION 
  158.               value=userface/image35.gif>image35.gif</OPTION>
  159.           <OPTION 
  160.               value=userface/image36.gif>image36.gif</OPTION>
  161.           <OPTION 
  162.               value=userface/image37.gif>image37.gif</OPTION>
  163.           <OPTION 
  164.               value=userface/image38.gif>image38.gif</OPTION>
  165.           <OPTION 
  166.               value=userface/image39.gif>image39.gif</OPTION>
  167.           <OPTION 
  168.               value=userface/image40.gif>image40.gif</OPTION>
  169.           <OPTION 
  170.               value=userface/image41.gif>image41.gif</OPTION>
  171.           <OPTION 
  172.               value=userface/image42.gif>image42.gif</OPTION>
  173.           <OPTION 
  174.               value=userface/image43.gif>image43.gif</OPTION>
  175.           <OPTION 
  176.               value=userface/image44.gif>image44.gif</OPTION>
  177.           <OPTION 
  178.               value=userface/image45.gif>image45.gif</OPTION>
  179.           <OPTION 
  180.               value=userface/image46.gif>image46.gif</OPTION>
  181.           <OPTION 
  182.               value=userface/image47.gif>image47.gif</OPTION>
  183.           <OPTION 
  184.               value=userface/image48.gif>image48.gif</OPTION>
  185.           <OPTION 
  186.               value=userface/image49.gif>image49.gif</OPTION>
  187.           <OPTION 
  188.               value=userface/image50.gif>image50.gif</OPTION>
  189.           <OPTION 
  190.               value=userface/image51.gif>image51.gif</OPTION>
  191.           <OPTION 
  192.               value=userface/image52.gif>image52.gif</OPTION>
  193.           <OPTION 
  194.               value=userface/image53.gif>image53.gif</OPTION>
  195.           <OPTION 
  196.               value=userface/image54.gif>image54.gif</OPTION>
  197.           <OPTION 
  198.               value=userface/image55.gif>image55.gif</OPTION>
  199.           <OPTION 
  200.               value=userface/image56.gif>image56.gif</OPTION>
  201.           <OPTION 
  202.               value=userface/image57.gif>image57.gif</OPTION>
  203.           <OPTION 
  204.               value=userface/image58.gif>image58.gif</OPTION>
  205.           <OPTION 
  206.               value=userface/image59.gif>image59.gif</OPTION>
  207.           <OPTION 
  208.               value=userface/image60.gif>image60.gif</OPTION>
  209.           <OPTION 
  210.               value=userface/></OPTION> </SELECT> <img id=face 
  211.             height=32 src="userface/image1.gif" width=32></td>
  212.       <td>&nbsp;</td>
  213.     </tr>
  214.     <tr> 
  215.       <td>&nbsp;</td>
  216.       <td>&nbsp; </td>
  217.     </tr>
  218.     <tr> 
  219.       <td>头像指定 
  220.         <input type="radio" name="head_type" value="2"></td>
  221.       <td><input name="head-url" type="text" class="unnamed2" id="head-url" value="http://" size="50" maxlength="50"></td>
  222.     </tr>
  223.     <tr> 
  224.       <td>指定头象大小</td>
  225.       <td>高: 
  226.         <input name="height" type="text" class="unnamed2" id="height" value="<%=height%>" size="3" maxlength="3">
  227.         宽 
  228.         <input name="width" type="text" class="unnamed2" id="width" value="<%=width%>" size="3" maxlength="3"></td>
  229.     </tr>
  230.     <tr> 
  231.       <td>签名</td>
  232.       <td><textarea name="Sign" cols="52" rows="4" class="unnamed2" id="Sign2" ><%=Sign%></textarea></td>
  233.     </tr>
  234.     <tr> 
  235.       <td>&nbsp;</td>
  236.       <td>  
  237.       <%if (Request.QueryString["UserName"].ToString()==""){%>
  238.       
  239.      
  240.      <input name="Submit" type="submit" class="btn" value="Submit"> <input name="Submit2" type="reset" class="btn" value="Reset">
  241.     
  242.      <%}%>
  243.     
  244.     </td>
  245.     </tr>
  246.   </table>
  247. </form>
  248. </body>
  249. </html>