
<html>
<head>
<LINK target=_blank href=images/index.asp rel=stylesheet>
<title>雨花幸运网 - 幸运会员申请表</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script language=javascript>
<!--
function changeimg()
{
	var options_string = "";

	var the_select = window.document.userjoin.imgids;

	for (loop=0; loop < the_select.options.length; loop++)
	{
		if (the_select.options[loop].selected == true)

		{
			 options_string += the_select.options[loop].text + " ";
		}
	}
document.userjoin.imgs.src="face/" + options_string;
document.userjoin.face.value=(document.userjoin.imgs.src);
}
function formtest()

{
var formname=document.userjoin
if (formname.userID.value=="")
{
 formname.userID.focus();
 formname.userID.select();
alert ("请输入用户名称");
return false;
}
else if (formname.username.value=="")
{
 formname.username.focus();
 formname.username.select();
alert ("请输入您的昵称");
return false;
}
else if (formname.password.value=="")
{
 formname.password.focus();
 formname.password.select();
alert ("请输入您初始密码");
return false;
}
if (formname.password2.value=="")
{
 formname.password2.focus();
 formname.password2.select();
alert ("请确认您的密码");
return false;
}
else if (formname.password2.value!=formname.password.value)
{
 formname.password2.focus();
 formname.password2.select();
alert ("两次输入的密码不一样");
return false;
}
}
//-->
</script>
</head>

<body bgcolor="#FFFFFF" text="#000000">
<table width="750" border="0" cellpadding="3" cellspacing="1" bgcolor="#000000">
  <form name="userjoin" method="post" action="join.asp" onSubmit="return formtest()"><tr>
    <td height="35" align="center" valign="middle" bgcolor="#99CC00">幸运用户申请表</td>
  </tr>
  <tr>
    <td valign="middle" bgcolor="#FFFFFF">
	<table width="750" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#99CC00">
      <tr>
        <td bgcolor="#FFFFFF"><table width="90%" height="189" border="0" align="center" cellpadding="0" cellspacing="1">
          <tr>
            <td colspan="3" height="26" align="left">请如实填写下面资料，带红色标志的为必填项目。</td>
          </tr>
          <tr>
            <td width="18%" height="25">登陆帐号：</td>
            <td width="32%"><input name="userID" type="text" class="input2" size="20" maxlength="20">
            </td>
            <td width="50%"><font color="#FF0000">*</font>由中文、数字、字母组成</td>
          </tr>
          <tr>
            <td width="18%" height="22">用户昵称：</td>
            <td width="32%"><input name="username" type="text" class="input2" size="20" maxlength="20">
            </td>
            <td width="50%"><font color="#FF0000">*</font>在留言薄里面和其他里面的称呼，建议用中文。</td>
          </tr>
          <tr>
            <td width="18%" height="25">登陆密码：</td>
            <td width="32%"><input name="password" type="password" class="input2">
            </td>
            <td width="50%"><font color="#FF0000">*</font>请输入您的登陆密码</td>
          </tr>
          <tr>
            <td width="18%" height="19">确认密码：</td>
            <td width="32%"><input name="password2" type="password" class="input2">
            </td>
            <td width="50%"><font color="#FF0000">*</font>请重新输入您的密码以便确认是对的</td>
          </tr>
          <tr>
            <td width="18%" height="31">性别：</td>
            <td width="32%"><input name="user_sex" type="radio" id="sex1" value="男" checked>
            <label for="sex1">
      男</label>
        <input type="radio" name="user_sex" id="sex2" value="女"><label for="sex2">
      女</label></td>
            <td width="50%"><font color="#FF0000">*</font>请选择您的性别</td>
          </tr>
          <tr align="left">
            <td height="23" valign="middle" colspan="3" background="images/bg001.gif"><input name="gaojilist" type="checkbox" id="gaojilist" onClick="gaoji()" value="checkbox">
              <label for="gaojilist">显示高级选项</label></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td bgcolor="#FFFFFF" id="gaojitable" style="display:none"><table width="90%" height="511" border="0" align="center" cellpadding="0" cellspacing="1">
          <tr>
            <td colspan="3" height="26" align="left">高级选项[建议填写]</td>
          </tr>
          <tr>
            <td width="18%" height="25">肖像：</td>
            <td width="32%" height="25"><select name="imgids" class="input2" onChange="changeimg()">
                <option selected>001.gif</option>
                <%
dim img
img=2
do until img=21
if img<10 then
response.write "<option>00"& img &".gif</option>"
else
response.write "<option>0"& img &".gif</option>"
end if
img=img+1
loop
%>
              </select>
                <input type="hidden" name="face" value="face/001.gif">
            </td>
            <td width="50%" height="25">请选择您的肖像</td>
          </tr>
          <tr>
            <td width="18%" height="102" valign="top"><br>
              肖像预览：</td>
            <td width="32%" height="102"><img src="face/001.gif" width="82" height="90" name="imgs"></td>
            <td width="50%" height="102">&nbsp;</td>
          </tr>
          <tr>
            <td width="18%" height="28">生日：</td>
            <td width="32%" height="28"><select name="years" class="input2">
                <option selected>1950</option>
                <%
img=1951
do until img=1997
response.write "<option>"& img &"</option>"
img=img+1
loop
%>
              </select>
      年
      <select name="mons" class="input2">
        <option selected>01</option>
        <option>02</option>
        <option>03</option>
        <option>04</option>
        <option>05</option>
        <option>06</option>
        <option>07</option>
        <option>08</option>
        <option>09</option>
        <option>10</option>
        <option>11</option>
        <option>12</option>
      </select>
      月
      <select name="days" class="input2">
        <option selected>01</option>
        <option>02</option>
        <option>03</option>
        <option>04</option>
        <option>05</option>
        <option>06</option>
        <option>07</option>
        <option>08</option>
        <option>09</option>
        <option>10</option>
        <option>11</option>
        <option>12</option>
        <option>13</option>
        <option>14</option>
        <option>15</option>
        <option>16</option>
        <option>17</option>
        <option>18</option>
        <option>19</option>
        <option>20</option>
        <option>21</option>
        <option>22</option>
        <option>23</option>
        <option>24</option>
        <option>25</option>
        <option>26</option>
        <option>27</option>
        <option>28</option>
        <option>29</option>
        <option>30</option>
        <option>31</option>
      </select>
      日</td>
            <td width="50%" height="28">请选择您的出生年月</td>
          </tr>
          <tr>
            <td width="18%" height="28">E_MAIL：</td>
            <td width="32%" height="28"><input name="email" type="text" class="input2" value="@">
            </td>
            <td width="50%" height="28"> 请输入您的电子邮箱地址</td>
          </tr>
          <tr>
            <td width="18%" height="22">个人主页：</td>
            <td width="32%" height="22"><input name="homeurl" type="text" class="input2" value="http://">
            </td>
            <td width="50%" height="22">没有个人主页可以不填</td>
          </tr>
          <tr>
            <td width="18%" height="25">来自何方：</td>
            <td width="32%" height="25"><input name="address" type="text" class="input2">
            </td>
            <td width="50%" height="25">目前所在的地方</td>
          </tr>
          <tr>
            <td width="18%" height="24">联系电话：</td>
            <td width="32%" height="24"><input name="tel" type="text" class="input2">
            </td>
            <td width="50%" height="24">（如：07315581118或者0731-5581118）</td>
          </tr>
          <tr>
            <td width="18%" height="22">密码提示问题：</td>
            <td width="32%" height="22"><input name="psqs" type="text" class="input2" maxlength="20">
            </td>
            <td width="50%" height="22">（如:你的妹妹叫什么?）此项做取回密码之用</td>
          </tr>
          <tr>
            <td width="18%" height="20">密码提示答案：</td>
            <td width="32%" height="20"><input name="psas" type="text" class="input2" maxlength="8">
            </td>
            <td width="50%" height="20">（如:是秘密）作密码取回之用</td>
          </tr>
          <tr>
            <td width="18%" height="23">QQ号码：</td>
            <td width="32%" height="23"><input name="QQ" type="text" class="input2">
            </td>
            <td width="50%" height="23">没有可以不填写</td>
          </tr>
          <tr>
            <td width="18%" height="23">证件类型：</td>
            <td width="32%" height="23"><select name="zjtype" class="input2">
                <option>学生证</option>
                <option selected>身份证</option>
                <option>护照</option>
              </select>
            </td>
            <td width="50%" height="23">请输入您的证件类型</td>
          </tr>
          <tr>
            <td width="18%" height="23">证件号码：</td>
            <td width="32%" height="23"><input name="zjNumber" type="text" class="input2" maxlength="18">
            </td>
            <td width="50%" height="23">请输入您的证件号码</td>
          </tr>
          <tr>
            <td width="18%" height="80" valign="top"><br>
      个人签名：</td>
            <td width="32%" height="80"><textarea name="messages" cols="25" rows="5" class="input2">我是懒鬼</textarea>
            </td>
            <td width="50%" height="80" valign="top"><br>
      个人签名在留言以后可以看到。</td>
          </tr>
          <tr>
            <td height="24" colspan="3" align="center" valign="middle">&nbsp;</td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td align="center" bgcolor="#FFFFFF"id ="gaoji"><input type="submit" name="Submit" value="申请">
          <input type="button" name="Submit2" value="重输"></td>
      </tr>
    </table>
	
	
	</td>
  </tr>
  <tr>
    <td height="25" bgcolor="#99CC00">&nbsp;</td>
  </tr></form>
</table>
<script language="javascript">
<!--
function gaoji()
{
if(gaojitable.style.display=="none"){gaojitable.style.display=""}else{gaojitable.style.display="none"}
}
-->
</script>
</body>
</html>
