home *** CD-ROM | disk | FTP | other *** search
- <%@ page language="java" import="
- java.util.*,
- com.jproxy.site.ejbeans.interfaces.*,
- com.jproxy.site.*"
- %>
- <jsp:useBean id="accreate" scope="request" class="com.jproxy.site.customers.AcCreate"/>
- <%
- accreate.request(pageContext);
- accreate.ses.setNewHit(pageContext, "hits", "Registering New Customer", null);
- %>
-
- <%
- String forward = accreate.getParameter("forward");
-
- if(accreate.forwardPage.length()>0)
- {
- System.out.println("Forward page = " + accreate.forwardPage);
- %>
- <jsp:forward page="<%=accreate.forwardPage%>">
- </jsp:forward>
- <%
- }
- %>
- <!-- HEADER -->
- <jsp:include page="../header.jsp" flush="true">
- <jsp:param name="name" value="ePortal - Registering"/>
- </jsp:include>
-
- <table class="h8Verdana" border="0" bgcolor="white" cellpadding="5" cellspacing="1">
- <tr>
- <td align="left">
- <%
- if(!accreate.m_bAdded && !accreate.m_bNewRecord)
- {
- %>
- The form you filled in has to be corrected. Please review the error messages and try again<br>
- <p>
- <i style="color : #FF0000"><%=accreate.msg%></i>
- <%
- }
- %>
- </td>
- </tr>
- </table>
- <p>
- <table class="h8Verdana" cellpadding="5" width="100%" border="0">
- <!-- Prolog -->
- <tr>
- <td>
- <p>
- Please fill in your contact information and press <span class="h8VerdanaBold">Submit</span>
- button.
- <p>
- <form method="POST" action="register.jsp">
- <table class="h9Verdana" border="0" bgcolor="9c9cff" cellpadding="1" cellspacing="0">
- <tr>
- <td>
- My Profile
- </td>
- </tr>
- <tr>
- <td>
- <table class="h9Verdana" border="0" bgcolor="white" cellpadding="5" cellspacing="1">
-
- <tr class="h8Verdana">
- <td width="35%" align="right">
- <br>
- Name:
- </td>
- <td align="left">
- <br>
- <input type="text" name="name" size="50" maxlength="80" value="<%=accreate.name%>"><span style="color:red">*</span>
- </td>
- </tr>
-
- <tr class="h8Verdana">
- <td align="right">
- Email:
- </td>
- <td align="left">
- <input type="text" name="email" size="50" maxlength="80" value="<%=accreate.email%>"><span style="color:red">*</span>
- </td>
- </tr>
-
- <tr class="h8Verdana">
- <td align="right">
- Address:
- </td>
- <td align="left">
- <textarea wrap="virtual" name="address" cols="45" rows="5"><%=accreate.address%></textarea><span style="color:red">*</span>
- </td>
- </tr>
-
- <tr class="h8Verdana">
- <td align="right">
- Telephone:
- </td>
- <td align="left">
- <input type="text" name="phone" size="50" maxlength="60" value="<%=accreate.phone%>"><span style="color:red">*</span>
- </td>
- </tr>
-
- <tr class="h8Verdana">
- <td align="right">
- Details:
- </td>
- <td align="left">
- <textarea wrap="virtual" name="details" cols="45" rows="5"><%=accreate.details%></textarea>
- </td>
- </tr>
-
- <tr class="h8Verdana">
- <td align="right">
- Password:
- </td>
- <td align="left">
- <input type="password" name="password1" size="20" maxlength="20" value="<%=accreate.password1%>"><span style="color:red">*</span>
- </td>
- </tr>
-
- <tr class="h8Verdana">
- <td align="right">
- Confirm Password:
- </td>
- <td align="left">
- <input type="password" name="password2" value="" size="20" maxlength="20"><span style="color:red">*</span>
- </td>
- </tr>
-
- <tr class="h8Verdana">
- <td align="right">
- </td>
- <td align="right">
- <br>
- <INPUT name=submit style="HEIGHT: 24px; WIDTH: 100" type=submit value="<%=accreate.buttonSubmit%>">
- <INPUT name=submit style="HEIGHT: 24px; WIDTH: 100" type=submit value="<%=accreate.buttonCancel%>">
- <INPUT TYPE=HIDDEN NAME="forward" VALUE="<%=forward%>">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </form>
- </td>
- </tr>
- </table>
- <!-- FOOTER -->
- <jsp:include page="../footer.jsp" flush="true"/>
-