www.gusucode.com > ASP+ACCESS在线人才招聘网(源代码+论文) > ASP+ACCESS在线人才招聘网(源代码+论文)\person_reg_second.asp

    
<!--#include file="inc/conn.asp"-->
<!--#include file="resultred.asp"-->
<%
username=trim(Request("username"))
password=trim(Request("password"))
session("membertype")=Request("membertype")
if username="" or password="" then
 resultred "帐号或者密码为空,请返回填写完成"
end if
sql="select * from job_person where username='"&username&"'"
Set Rs=Server.CreateObject("Adodb.RecordSet")
Rs.Open sql,conn,1,1
if not rs.eof then
 resultred"该帐号已经有人使用,请另选其他帐号"
end if
Rs.Close
Set Rs=nothing
set conn=nothing
if session("username")<>username then
 session("username")=""
end if
%>
<HTML><!-- #BeginTemplate "/Templates/person.dwt" --><HEAD>
<!-- #BeginEditable "doctitle" --> 
<TITLE>在线人才网站</TITLE>
<!-- #EndEditable --> 
<META http-equiv=Content-Type content="text/html; charset=gb2312"><LINK 
href="inc/cssset.css" type=text/css rel=stylesheet>
<META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff text=#000000 leftmargin="0" topmargin="0">
<center><!--#include file="inc/head.asp"--><TABLE height=503 cellSpacing=0 cellPadding=0 width="770" border=0>
    <TBODY> 
    <TR> 
      <TD vAlign=top width="22%" background="images/11.gif"> 
        <TABLE height=251 cellSpacing=0 cellPadding=0 width="100%" border=0>
          <TBODY> 
          <TR> 
            <TD background=images/arrowbg.jpg height=5>  
              <SCRIPT language=JavaScript>                                                                                                
<!--                                                                                                                                    
   var enabled = 0;   today = new Date();                                                                                                 
   var day;   var date;                                                                                                                   
   if(today.getDay()==0)     day = "星期日"                                                                                                
   if(today.getDay()==1)     day = "星期一"                                                                                                
   if(today.getDay()==2)     day = "星期二"                                                                                               
   if(today.getDay()==3)     day = "星期三"                                                                                                
   if(today.getDay()==4)     day = "星期四"                                                                                                
   if(today.getDay()==5)     day = "星期五"                                                                                               
   if(today.getDay()==6)     day = "星期六"                                                                              
   date = "<font color='##FF0000' > " + (today.getYear())  + "年" + (today.getMonth() + 1 ) + "月" + today.getDate() + "日  " + " " + day + "</font>"; 
   document.write(date);                                                                                                                  
//----->                                                                                                                                  
</SCRIPT>
<SCRIPT language=javascript src="inc/common.js"></SCRIPT> 
            </TD>
          </TR>
          <TR> 
            <TD vAlign=top background=images/arrowbg.jpg> 
              <table class=a10px height=114 cellspacing=2 cellpadding=0 width="88%" 
      background=images/11.gif border=0>
                <tbody> 
                <tr bgcolor=#ffffff background="images/11.gif"> 
                  <td colspan=2 height=21><img height=16 src="images/10.gif" 
            width=169></td>
                </tr>
                <tr> 
                  <td valign=bottom align=right width=160 background=images/11.gif 
          height=5></td>
                  <td height=5></td>
                </tr>
                <tr> 
                  <td valign=top align=center width=160 background=images/11.gif 
          height=75> 
                    <!--#include file="sysinfo.asp"-->
                  </td>
                  <td height=75></td>
                </tr>
                </tbody> 
              </table>
              <table class=a10px height=114 cellspacing=2 cellpadding=0 width="88%" 
      background=images/11.gif border=0>
                <tbody> 
                <tr bgcolor=#ffffff background="images/11.gif"> 
                  <td colspan=2 height=21><img height=16 src="images/101.gif" 
            width=169></td>
                </tr>
                <tr> 
                  <td valign=bottom align=right width=160 background=images/11.gif 
          height=5></td>
                  <td height=5></td>
                </tr>
                <tr> 
                  <td valign=top align=center width=160 background=images/11.gif 
          height=31> 
                    <!--#include file="person_left.asp"-->
                  </td>
                  <td height=31></td>
                </tr>
                </tbody> 
              </table>
            </TD>
          </TR>
        </TABLE>
        <TABLE class=a10px cellSpacing=2 cellPadding=0 width="88%" 
      background=images/11.gif border=0>
          <TBODY> 
          <TR bgColor=#ffffff background="images/11.gif"> 
            <TD colSpan=2 height=21><IMG height=16 src="images/10.gif" 
            width=169></TD>
          </TR>
          <TR> 
            <TD vAlign=bottom align=right width=160 background=images/11.gif 
          height=5></TD>
            <TD height=5></TD>
          </TR>
          <TR> 
            <TD vAlign=top align=right width=160 background=images/11.gif> 
              <SELECT 
            onchange=window.open(this.options[this.selectedIndex].value); size=10 
            name=select2>
                <OPTION value=http://www.newjobs.com.cn/ 
              selected>中国国家人才网</OPTION>
                <OPTION 
              value=http://www.bjrc.com.cn/>北京人才网</OPTION>
                <OPTION 
              value=http://www.91student.com>中国就业网</OPTION>
                <OPTION 
              value=http://www.tjrc.com.cn/>中国北方人才市场</OPTION>
                <OPTION 
              value=http://www.hr.net.cn/>中国上海人才市场</OPTION>
                <OPTION 
              value=http://www.aphr.org/>亚太人力资源网</OPTION>
                <OPTION 
              value=http://www.54stu.com/2002/login.php>中国学生社区</OPTION>
                <OPTION 
              value=http://www.china-training.com/>中华培训网</OPTION>
                <OPTION 
              value=http://www.fescochina.com/>外企在线</OPTION>
                <OPTION 
              value=http://www.gzscse.gov.cn/>广州留学人员信息网</OPTION>
                <OPTION 
              value=http://www.syrc.com.cn/>沈阳人才网</OPTION>
                <OPTION 
              value=http://www.chinahrd.net/>中国人力资源开发网</OPTION>
                <OPTION 
              value=http://www.cccen.com/>中国谦龙网</OPTION>
                <OPTION 
              value=http://www.gzpi.gov.cn/>中国广州人事信息网</OPTION>
                <OPTION 
              value=http://www.rc114.com/>中国成都人才市场</OPTION>
                <OPTION 
              value=http://www.strc.com.cn/>汕头人才网</OPTION>
                <OPTION 
              value=http://www.wzjob.gov.cn/>温州人才网</OPTION>
                <OPTION 
              value=http://www.job168.com/service/navigation.asp>更多链接……</OPTION>
              </SELECT>
            </TD>
            <TD height=251></TD>
          </TR>
          </TBODY> 
        </TABLE>
      </TD>
      <TD vAlign=top> 
<table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr> 
            <td height=6></td>
          </tr>
        </table>
        <!-- #BeginEditable "a1" --> 
        <table width="100%" border="0" cellspacing="0" cellpadding="0" height="544">
          <tr> 
            <td valign="top" align="center">
			<table width="100%" border="0" cellspacing="0" cellpadding="0" height="505">
        <tr> 
          <td valign="top" align="center"> 
            <script language="javascript" src="../inc/Keane_Common.js"></script>
            <SCRIPT language=javascript>
function formatdate(s) {
var s1;
	if(s.length==1)
		s1="0"+s;
return s1;
}
function checkForm() {
		var PersonName;
		var y_BornDate;
		var EmailAddressLen,relationPhoneLen,BPLen,MobileLen,c_LocationLen;
		PersonNameLen=getStrLength(Jtrim(document.thisForm.Name.value));
		HighLen=getStrLength(Jtrim(document.thisForm.Height.value));
		y_BornDateLen=getStrLength(Jtrim(document.thisForm.Birth.value));
		cardNumberLen=getStrLength(Jtrim(document.thisForm.cardNumber.value));
		EmailAddressLen=getStrLength(Jtrim(document.thisForm.email.value));
		PhoneLen=getStrLength(Jtrim(document.thisForm.Phone.value));
		c_LocationLen=getStrLength(Jtrim(document.thisForm.c_Location.value));
		zipCodeLen=getStrLength(Jtrim(document.thisForm.zipCode.value));
		selfDescriptionLen=getStrLength(Jtrim(document.thisForm.intro.value));
		if (PersonNameLen<1)
		{
			alert("请输入姓名!");
			document.thisForm.Name.focus();
			return false;
		}
		if (document.thisForm.mingZhu[1].checked==true && Jtrim(document.thisForm.Nationality.value)=="" || Jtrim(document.thisForm.Nationality.value)!="" && document.thisForm.mingZhu[0].checked==true)
		{
			alert("请填写正确的民族!");
			document.thisForm.Nationality.focus();
			return false;
		}
		if (y_BornDateLen<1)
		{
		  alert("请输入正确的生日");
		  document.thisForm.Birth.focus();
		  return false;
		}
		if (HighLen<1 || !isDigital(document.thisForm.Height.value) || document.thisForm.Height.value>220 || document.thisForm.Height.value<120)
		{
			alert("请输入正确的身高!");
			document.thisForm.Height.focus();
			return false;
		}
		if (c_LocationLen<1)
		{
			alert("请输入现所在城市!");
			document.thisForm.c_Location.focus();
			return false;
		}
		
		if (EmailAddressLen<1 || !isEmail(document.thisForm.email.value))
		{
			alert("请输入正确的电子邮件!");
			document.thisForm.email.focus();
			return false;
		}
		if(PhoneLen>0)
		   if (!isTel(document.thisForm.Phone.value))
		   {
			 alert("请输入正确联系电话( 0123456789-/( ), ),多个电话请用“,”隔开!");
			 document.thisForm.Phone.focus();
			 return false;
		   }
		
		if (zipCodeLen!=0 && (zipCodeLen!=6 || !isDigital(document.thisForm.zipCode.value)))
		{
			alert("请输入正确的邮政编号!");
			document.thisForm.zipCode.focus();
			return false;
		}
		if ((selfDescriptionLen<20) || (selfDescriptionLen>4000))
		{
			alert("请言简意骇地描述出自己的特点,对应聘职位所持优势……等等,字数在20-4000之间!");
			document.thisForm.intro.focus();
			return false;
		}
	document.thisForm.target="_self";
	document.thisForm.action="person_reg_third.asp";
	document.thisForm.submit();
}
</SCRIPT>
                    <form name=thisForm action="person_reg_third.asp" method=post>
                      <table width="90%" border="0" cellspacing="0" cellpadding="0">
                <tr> 
                  <td width="55%" height="81"><img src="images/car_reg.gif" width="260" height="66"></td>
                  <td width="45%" align="right"><img src="images/car_reg_2.gif" width="231" height="38"></td>
                </tr>
                <tr> 
                  <td colspan="2"><img src="images/car_reg2.gif" width="162" height="33"></td>
                </tr>
              </table>
                      <table border="0" cellspacing="0" width="542" cellpadding="6" id="AutoNumber37">
                        <tr bgcolor="#BCD8E9"> 
                          <td align="middle" width="100%" colspan="2" valign="bottom" height="24"> 
                            <p align="left"><b>基本资料</b> (你选择的帐号 <%=username%>) 
                              <input type="hidden" name="username" value="<%=username%>">
                              <input type="hidden" name="password" value="<%=password%>">
                              <input type="hidden" name="membertype" value="<%=membertype%>">
                          </td>
                        </tr>
                        <tr bgcolor="#ECF4F9"> 
                          <td align="middle" width="91" height="0"> 
                            <p align="left"><span style="FONT-FAMILY: 宋体; FONT-SIZE: 12px"><font color="#b00000">*</font></span><font class="TrueText">姓&nbsp;&nbsp;&nbsp; 
                              名:</font> 
                          </td>
                          <td align="left" width="384" bgcolor="#ECF4F9" height="0"> 
                            <input class="FieldHZ" style="WIDTH: 187px; HEIGHT: 20px" maxlength="20" size="12" value="" name="Name">
                          </td>
                        </tr>
                        <tr> 
                          <td align="middle" width="91" bgcolor="#FFFFFF" height="0"> 
                            <p align="left"><span style="FONT-FAMILY: 宋体; FONT-SIZE: 12px"><font color="#b00000">*</font></span><font class="TrueText">性&nbsp;&nbsp;&nbsp; 
                              别:</font> 
                          </td>
                          <td align="left" width="384" bgcolor="#FFFFFF" height="0"> 
                            <input checked  name="Gender" type="radio" value="男">
                            男 
                            <input  name="Gender" type="radio" value="女">
                            女</td>
                        </tr>
                        <tr bgcolor="#ECF4F9"> 
                          <td align="middle" width="91" height="0"> 
                            <p align="left"><span style="FONT-FAMILY: 宋体; FONT-SIZE: 12px"><font color="#b00000">*</font></span><font class="TrueText">民&nbsp;&nbsp;&nbsp; 
                              族:</font> 
                          </td>
                          <td align="left" width="384" height="0"> 
                            <input  name="mingZhu" type="radio" CHECKED value="0">
                            汉&nbsp; 族   
                            <input  name="mingZhu" type="radio" value="1">
                            <input class="FieldHZ" style="WIDTH: 105px; HEIGHT: 20px" maxlength="15" size="12" name="Nationality">
                            &nbsp;&nbsp;<font color="#435049">(如:回族)</font></td>
                        </tr>
                        <tr> 
                          <td align="middle" width="91" bgcolor="#ffffff" height="0"> 
                            <p align="left"><span style="FONT-FAMILY: 宋体; FONT-SIZE: 12px"><font color="#b00000">*</font></span><font class="TrueText">出生日期:</font> 
                          </td>
                          <td align="left" width="384" bgcolor="#ffffff" height="0"> 
                            <input size="15" name="Birth">
                            (如:1981-10-03)</td>
                        </tr>
                        <tr bgcolor="#ECF4F9"> 
                          <td align="middle" width="91" height="0"> 
                            <p align="left">&nbsp;身份证号: 
                          </td>
                          <td align="left" width="510" height="0"> 
                            <input class="FieldHZ" maxlength="20" size="22" name="cardNumber">
                            &nbsp;&nbsp;<font color="#435049">(非中国国内的用户请输入有效的证件号码)</font></td>
                        </tr>
                        <tr> 
                          <td align="middle" width="91" bgcolor="#FFFFFF" height="0"> 
                            <p align="left"><span style="FONT-FAMILY: 宋体; FONT-SIZE: 12px"><font color="#b00000">*</font></span><font class="TrueText">身&nbsp;&nbsp;&nbsp; 
                              高:</font> 
                          </td>
                          <td align="left" width="384" bgcolor="#FFFFFF" height="0"> 
                            <input  maxlength="3" size="5" name="Height">
                            <strong><font face="Arial">CM</font></strong>&nbsp;&nbsp;<font color="#435049">(如:170CM)</font></td>
                        </tr>
                        <tr bgcolor="#ECF4F9"> 
                          <td align="middle" width="91" height="0"> 
                            <p align="left"><span style="FONT-FAMILY: 宋体; FONT-SIZE: 12px"><font color="#b00000">*</font></span>婚姻状况: 
                          </td>
                          <td align="left" width="384" height="0"> 
                            <input type="radio" value="未婚" name="mari" CHECKED>
                            未婚 
                            <input type="radio" value="已婚" name="mari">
                            已婚 
                            <input type="radio" value="离异" name="mari">
                            离异 
                            <input type="radio" value="保密" name="mari">
                            保密</td>
                        </tr>
                        <tr> 
                          <td align="middle" width="91" bgcolor="#FFFFFF" height="0"> 
                            <p align="left"><font class="TrueText"> 户&nbsp; &nbsp;&nbsp;籍:</font> 
                          </td>
                          <td align="left" width="384" bgcolor="#FFFFFF" height="0"> 
                            <select class="FieldHZ"  tabindex="28" size="1" name="s_HomeTown">
                              <option value="北京">北京</option>
                              <option value="上海">上海</option>
                              <option value="天津">天津</option>
                              <option value="重庆">重庆</option>
                              <option value="深圳">深圳</option>
                              <option value="珠海">珠海</option>
                              <option value="汕头">汕头</option>
                              <option value="厦门">厦门</option>
                              <option value="海南">海南</option>
                              <option value="香港">香港</option>
                              <option value="澳门">澳门</option>
                              <option value="台湾">台湾</option>
                              <option value="广东" selected>广东</option>
                              <option value="广西">广西</option>
                              <option value="福建">福建</option>
                              <option value="浙江">浙江</option>
                              <option value="江苏">江苏</option>
                              <option value="山东">山东</option>
                              <option value="湖南">湖南</option>
                              <option value="湖北">湖北</option>
                              <option value="四川">四川</option>
                              <option value="贵州">贵州</option>
                              <option value="云南">云南</option>
                              <option value="江西">江西</option>
                              <option value="安徽">安徽</option>
                              <option value="河南">河南</option>
                              <option value="河北">河北</option>
                              <option value="辽宁">辽宁</option>
                              <option value="吉林">吉林</option>
                              <option value="黑龙江">黑龙江</option>
                              <option value="内蒙">内蒙</option>
                              <option value="宁夏">宁夏</option>
                              <option value="山西">山西</option>
                              <option value="陕西">陕西</option>
                              <option value="甘肃">甘肃</option>
                              <option value="青海">青海</option>
                              <option value="新疆">新疆</option>
                              <option value="西藏">西藏</option>
                              <option value="国外">国外</option>
                            </select>
                            省(直辖市) 
                            <input class="FieldHZ" maxlength="50" size="11" name="c_HomeTown">
                            市(区、县) </td>
                        </tr>
                        <tr> 
                          <td align="middle" width="91" bgcolor="#ECF4F9" height="0"> 
                            <p align="left"><span style="FONT-FAMILY: 宋体; FONT-SIZE: 12px"><font color="#b00000">*</font></span><font class="TrueText">现在地区:</font> 
                          </td>
                          <td align="left" width="384" bgcolor="#FFFFFF" height="0"> 
                            <select class="FieldHZ"  tabindex="28" size="1" name="s_Location">
                              <option value="北京">北京</option>
                              <option value="上海">上海</option>
                              <option value="天津">天津</option>
                              <option value="重庆">重庆</option>
                              <option value="深圳">深圳</option>
                              <option value="珠海">珠海</option>
                              <option value="汕头">汕头</option>
                              <option value="厦门">厦门</option>
                              <option value="海南">海南</option>
                              <option value="香港">香港</option>
                              <option value="澳门">澳门</option>
                              <option value="台湾">台湾</option>
                              <option value="广东" selected>广东</option>
                              <option value="广西">广西</option>
                              <option value="福建">福建</option>
                              <option value="浙江">浙江</option>
                              <option value="江苏">江苏</option>
                              <option value="山东">山东</option>
                              <option value="湖南">湖南</option>
                              <option value="湖北">湖北</option>
                              <option value="四川">四川</option>
                              <option value="贵州">贵州</option>
                              <option value="云南">云南</option>
                              <option value="江西">江西</option>
                              <option value="安徽">安徽</option>
                              <option value="河南">河南</option>
                              <option value="河北">河北</option>
                              <option value="辽宁">辽宁</option>
                              <option value="吉林">吉林</option>
                              <option value="黑龙江">黑龙江</option>
                              <option value="内蒙">内蒙</option>
                              <option value="宁夏">宁夏</option>
                              <option value="山西">山西</option>
                              <option value="陕西">陕西</option>
                              <option value="甘肃">甘肃</option>
                              <option value="青海">青海</option>
                              <option value="新疆">新疆</option>
                              <option value="西藏">西藏</option>
                              <option value="国外">国外</option>
                            </select>
                            省(直辖市) 
                            <input class="FieldHZ" maxlength="50" size="11" name="c_Location">
                            市(区、县) </td>
                        </tr>
                        <tr bgcolor="#BCD8E9"> 
                          <td align="middle" width="100%" height="24" colspan="2"> 
                            <p align="left"><b>联系方式</b> 
                          </td>
                        </tr>
                        <tr> 
                          <td align="middle" width="91" bgcolor="#FFFFFF" height="0"> 
                            <p align="left"> 联系电话: 
                          </td>
                          <td align="left" width="440" bgcolor="#FFFFFF" height="0"> 
                            <input class="FieldHZ" maxlength="50" size="33" name="Phone">
                          </td>
                        </tr>
                        <tr bgcolor="#ECF4F9"> 
                          <td align="middle" width="91" height="0"> 
                            <p align="left"><span style="FONT-FAMILY: 宋体; FONT-SIZE: 12px"><font color="#b00000">*</font></span><font class="TrueText">电子邮件:</font> 
                          </td>
                          <td align="left" width="510" height="0"> 
                            <input class="FieldAlp" style="WIDTH: 237px; HEIGHT: 20px" maxlength="50" size="40" value="" name="email">
                            &nbsp;&nbsp;</td>
                        </tr>
                        <tr> 
                          <td align="middle" width="91" bgcolor="#F9F9F9" height="0"> 
                            <p align="left"> 个人主页: 
                          </td>
                          <td align="left" width="384" bgcolor="#F9F9F9" height="0"> 
                            <input class="FieldAlp" style="WIDTH: 236px; HEIGHT: 20px" maxlength="50" size="33" value="http://" name="homePage">
                          </td>
                        </tr>
                        <tr bgcolor="#ECF4F9"> 
                          <td align="middle" width="91" height="0"> 
                            <p align="left"> 通讯地址: 
                          </td>
                          <td align="left" width="540" height="0"> 
                            <input class="FieldAlp" style="WIDTH: 275px; HEIGHT: 21px" maxlength="50" size="33" name="addr">
                            <font color="#435049">(如:西南交通大学639#)</font></td>
                        </tr>
                        <tr> 
                          <td align="middle" width="91" bgcolor="#F9F9F9" height="0"> 
                            <p align="left"> 邮政编码: 
                          </td>
                          <td align="left" width="384" bgcolor="#F9F9F9" height="0"> 
                            <input class="FieldAlp" maxlength="10" size="24" name="zipCode">
                          </td>
                        </tr>
                        <tr bgcolor="#BCD8E9"> 
                          <td align="middle" width="100%" height="7" colspan="2"> 
                            <p align="left"><span style="FONT-FAMILY: 宋体; FONT-SIZE: 12px"><font color="#b00000">*</font></span><b>自我评价</b><font color="#435049" style="font-size: 9pt">(请言简意骇地描述出自己的特点,对应聘职位所持优势……等等。字数在 
                              20~4000 之间)</font> 
                          </td>
                        </tr>
                        <tr> 
                          <td align="middle" width="100%" bgcolor="#FFFFFF" height="-3" colspan="2"> 
                            <textarea class="fieldtext" name="intro" rows="11" cols="75" maxlength="3000"></textarea>
                          </td>
                        </tr>
                        <tr> 
                          <td align="middle" width="91" height="0"> </td>
                          <td height="60"> 
                            <p align="right"> 
                              <input type="button" value="保 存 (下 一 步) " name="Step2" onClick="javascript:checkForm()" style="HEIGHT: 30px; font-family: 宋体; font-size:12px">
                          </td>
                        </tr>
                      </table>
            </form>
          </td>
        </tr>
      </table></td>
          </tr>
        </table>
        <!-- #EndEditable --> </TD>
    </TR>
  </TABLE>
  <!--#include file="inc/bottom.asp"-->
</center></BODY><!-- #EndTemplate --></HTML>