home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 May / CMCD0505.ISO / Software / Shareware / Programare / bugzero / jsp / register.jsp < prev    next >
Text File  |  2004-08-11  |  2KB  |  53 lines

  1. <html>
  2. <head>
  3. <title>User Registration</title>
  4. <meta http-equiv=Content-Type content="text/html">
  5. </head>
  6. <body onLoad="focusFirstField()">
  7. <%
  8.   String contextPath = request.getContextPath();
  9.   String msg = request.getParameter("msg");
  10.   if (msg == null) msg = "";
  11. %>
  12. <center>
  13. <form method="post" action="<%=contextPath%>/servlet/register">
  14. <table cellspacing=2 cellpadding=2 border=0>
  15. <tr><td colspan=2 align=center valign=top height=50>
  16. <font color="#888888" size=+1><b>User Registration</b></font></td></tr>
  17.   <tr><td>Username:</td>
  18.   <td><input type="text" name="username" size=16 maxlength=50></td>
  19.   </tr>
  20.   <tr><td>Password:</td>
  21.   <td><input type="password" name="password" size=16 maxlength=50></td>
  22.   </tr>
  23.   <tr><td>Email Address:</td>
  24.   <td><input type="text" name="email_address" size=32 maxlength=50></td>
  25.   </tr>
  26.   <tr><td>Full Name:</td>
  27.   <td><input type="text" name="full_name" size=32 maxlength=64></td>
  28.   </tr>
  29. <tr><td colspan=2 align=center height=60>
  30. <input type="submit" value="Submit">
  31. <input type="reset" value="Reset">
  32. <script language="Javascript">
  33. <!--
  34. timezone=-new Date().getTimezoneOffset();
  35. document.write("<input type='hidden' name='timezone' value='" + timezone + "'>");
  36.  
  37. function focusFirstField() {
  38.   document.forms[0].username.focus();
  39.   document.forms[0].username.select();
  40. }
  41. //-->
  42. </script>
  43. </td></tr>
  44. </table>
  45. </form>
  46. <font color=red><%=msg%></font>
  47. </center>
  48. <hr>
  49. <em>Powered by</em> <a href="http://www.websina.com/bugzero/"
  50. style="color: #999933; font-weight: bold; text-decoration: none">Bugzero</a>
  51.  
  52. </body></html>
  53.