<html>
<head>
  <title><%if site_title%><%site_title%><%else%>Gossamer Gossamer List<%endif%> - Login</title>
  <%include include_style.txt%>
</head>
<%set set_focus = 'myform.usr_username'%>
<body <%if set_focus%>onload="document.<%set_focus%>.focus()"<%endif%>>
<form name="myform" action="glist.cgi" method="post">
<table width="520" border="0" cellspacing="0" cellpadding="0" align="center" height=90%>
  <tr>
    <td valign=middle>
      <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
        <tr>
          <td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
        </tr>
        <tr bgcolor="#C5E1A3">
          <td>
            <table width="100%" border="0" cellspacing="1" cellpadding="1" bgcolor="#C5E1A3">
              <tr class="bold_white">
                <td bgcolor="#336600" colspan="2">
                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr class=bold_white height=20>
                      <td width=1><img src="<%image_url%>/icons/user.gif" hspace=2></td>
                      <td width=100% class=bold_white><b> Sign up for an account</td>
                    </tr>
                  </table>
                </td>
              </tr>
              <tr bgcolor="#FFFFFF">
                <td class="body" colspan="2"><br/>
                  <p align=center class=body><%if msg%><pre class="body"><%msg%></pre><%endif%></p>
                  <table border="0" cellspacing="2" cellpadding="2" align="center" width=550>
                    <tr class=body colspan="2">
                      <td class=body><li><b>Account Infomation</b></li></td>
                    </tr>
                    <tr class=body>
                      <td width="32%" align="right">Username:</td>
                      <td><input class="object" type="text" name="usr_username" size="20" value="<%if usr_username%><%usr_username%><%endif%>" /><font color=green>*</font></td>
                    </tr>
                    <tr class=body>
                      <td><div align="right">Password:</div></td>
                      <td><input class="object" type="password" name="usr_password" size="20" value="<%if usr_password%><%usr_password%><%endif%>" /><font color=green>*</font></td>
                    </tr>
                    <tr class=body>
                      <td><div align="right">Confirm Password:</div></td>
                      <td><input class="object" type="password" name="con_password" size="20" value="<%if con_password%><%con_password%><%endif%>" /><font color=green>*</font></td>
                    </tr>
                    <tr class=body>
                      <td class=body><div align="right">Email Address:</div></td>
                      <td><input class="object" type="text" name="usr_email" size="<%if is_ie or is_mozilla%>35<%else%>25<%endif%>" value="<%if usr_email%><%usr_email%><%endif%>" /><font color=green>*</font></td>
                    </tr>
                    <tr class=body colspan="2">
                      <td class=body><li><b>Profile Infomation</b></li></td>
                    </tr>
                    <%-- 
                          This auto generates the profile form, so if you add profile options it
                          will automatically appear. 
                    --%>
                    <%GList::GUI::gui_profile_form(
                          td_l => 'class="body" align="right"', 
                          td_r => 'class="body" align="left"',
                          required => '<font color="green">*</font>'
                    )%>
                    <%--
                          Now add any extra application fields needed.
                    --%>
                    <tr>
                      <td class="body" align="right" colspan="2"><BR/><font color=green>(*): Required</font></td>
                    </tr>
                  </table>
                </td>
              </tr>
              <tr bgcolor="#C5E1A3">
                <td class="body">&nbsp;<a href="glist.cgi?do=user_login"><b>Sign In</b></a></td>
                <td height="30" align="right" valign="middle">
                  <input type="submit" name="Submit" value="Sign up" class="button" />
                  <input type="button" name="Submit2" value=" Cancel " class="button" onclick="window.location='glist.cgi?do=user_login'"/>&nbsp;
                </td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<input type=hidden name="do" value="user_signup" />
<%hidden_objects%>
</form>
</body>
</html>