<!--#include file="conn.asp"-->
<%
Function Text2Html(Str1)
    If isNULL(Str1) Then
       Text2Html=""
       Exit Function
    End If
     Str1=Replace(Str1,"&","&amp;")
     Str1=Replace(Str1,"<","&lt;")
     Str1=Replace(Str1,">","&gt;")
     Str1=Replace(Str1,VBcrlf,"<br>")
     Str1=Replace(Str1,chr(34),"&quot;")
     Str1=Replace(Str1,chr(9),"&nbsp;&nbsp;&nbsp;")
     Str1=Replace(Str1," ","&nbsp;")      
     Text2Html=Str1
End Function

if Request.ServerVariables("REQUEST_METHOD")="POST" Then
	if session("posted")=true then
		Response.write "<script>alert('不能重复提交');window.close();</script>"
		Response.end
	End if
	Dim name,SEX,BirthDay,jiguan,IsMarry,sfz,shengao,tizhong,xeixing,techang
	Dim tel,shouji,email,Address,postcode
	Dim GradSchool,zhuanye,Culture,waiyu,zhengshu,xuexijingli
	Dim JobName,daiyu,danwei,gzjingli
	Dim jineng,pingjia
	name=Trim(Request.form("name"))
	Sex=Trim(Request.form("SEX"))
	BirthDay=Trim(Replace(Request.form("BirthDay"),",","/"))
	jiguan=Trim(Request.form("jiguan"))
	IsMarry=Trim(Request.form("IsMarry"))
	sfz=Trim(Request.form("sfz"))
	shengao=Trim(Request.form("shengao"))
	tizhong=Trim(Request.form("tizhong"))
	xeixing=Trim(Request.form("xeixing"))
	techang=Trim(Request.form("techang"))
	
	
	'-------------------------------------
	tel=Trim(Request.form("tel"))
	shouji=Trim(Request.form("shouji"))
	email=Trim(Request.form("email"))
	Address=Trim(Request.form("Address"))
	postcode=Trim(Request.form("postcode"))
	
	
	'--------------------------------------
	GradSchool=Trim(Request.form("GradSchool"))
	zhuanye=Trim(Request.form("zhuanye"))
	Culture=Trim(Request.form("Culture"))
	waiyu=Trim(Request.form("waiyu"))
	zhengshu=Trim(Request.form("zhengshu"))
	xuexijingli=Trim(Request.form("xuexijingli"))
	
	'---------------------------------------
	JobName=Trim(Request.form("JobName"))
	daiyu=Trim(Request.form("daiyu"))
	danwei=Trim(Request.form("danwei"))
	gzjingli=Trim(Request.form("gzjingli"))
	
	jineng=Trim(Request.form("jineng"))
	pingjia=Trim(Request.form("pingjia"))
	
	if name="" or BirthDay ="" or tel="" or Email="" or Address="" or GradSchool="" or zhuanye="" or Culture="" or xuexijingli="" or JobName="" or daiyu="" or gzjingli="" then
			Response.Write ("<script>alert('信息不完整！\n\n请仔细检查带有""*""号的表单');history.back()</script>")
			Response.end
	End if
	Dim Str
	Str="姓名："&name&"　　　　性别："&SEX&vbcrlf&_
		"生日："&BirthDay&vbcrlf&_
		"籍贯："&jiguan&"　　　　婚姻状况："&IsMarry&vbcrlf&_
		"身份证："&sfz&"　　　　身高："&shengao&vbcrlf&_
		"体重："&tizhong&"　　　　血型："&xeixing&vbcrlf&_
		"特长："&techang&vbcrlf&_
		"－－－－－－－－－－－－－－－－－－－"&vbcrlf&_
		"联系电话："&tel&vbcrlf&_
		"手机："&shouji&"　　　　E-mail："&email&vbcrlf&_
		"地址："&Address&vbcrlf&_
		"邮编："&postcode&vbcrlf&_
		"毕业院校："&GradSchool&vbcrlf&_
		"专业："&zhuanye&"　　　　　学历："&Culture&vbcrlf&_
		"外语水平："&waiyu&vbcrlf&_
		"资格证书："&zhengshu&vbcrlf&_
		"－－－－－－－－－－－－－－－－－－－"&vbcrlf&_
		"学习经历："&vbcrlf&""&xuexijingli&vbcrlf&_
		"－－－－－－－－－－－－－－－－－－－"&vbcrlf&_
		"应聘职位："&JobName&vbcrlf&_
		"待遇要求："&daiyu&vbcrlf&_
		"现工作单位："&danwei&vbcrlf&_
		"－－－－－－－－－－－－－－－－－－－"&vbcrlf&_
		"工作经历："&vbcrlf&""&gzjingli&vbcrlf&_
		"－－－－－－－－－－－－－－－－－－－"&vbcrlf&_
		"职业技能、特长："&vbcrlf&jineng&vbcrlf&_
		"－－－－－－－－－－－－－－－－－－－"&vbcrlf&_
		"自我评价："&vbcrlf&pingjia&vbcrlf&_
		"－－－－－－－－－－－－－－－－－－－"&vbcrlf
	Str=Text2Html(Str)
	Response.Write("<table align=center><tr><td>")
	Response.write str
	Response.Write("<td></tr></center>")
	rs.open "job",conn,1,3,2
	rs.addnew()
	rs("name")=name
	rs("jobname")=jobname
	rs("content")=str
	rs.update
	rs.close
	session("posted")=true
	set rs=nothing
	conn.close
	set conn=nothing

	Response.end
End if
%>
<%session("posted")=false%>
<style type="text/css">
<!--
.td {
	font-size: 12px;
}
-->
</style>


<form action="" method="post">
  <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr> 
    <td height="5"></td>
  </tr>
  <tr>
      <td height="25" align="center" bgcolor="00a39e" class="td">个人资料</td>
  </tr>
  <tr>
      <td height="5" class="unnamed1"></td>
  </tr>
  <tr> 
      <td class="unnamed1">
<table width="100%" border="1" cellpadding="0" cellspacing="0" bordercolor="#CCCCCC" bordercolorlight="#999999" bordercolordark="#000000">
          <tr class="td"> 
            <td width="17%" align="center">* 姓名：<br></td>
            <td width="30%"> 
              <input name="name" type="text" id="name" size="12"></td>
            <td width="12%" align="center">性别：</td>
            <td width="41%"> 
              <input name="SEX" type="radio" value="男" checked>
            男 
            <input type="radio" name="SEX" value="女">
            女</td>
        </tr>
          <tr class="td"> 
            <td align="center">*出生日期：</td>
            <td colspan="3"> 
              <SELECT NAME="BirthDay" id="BirthDay">
              <OPTION SELECTED VALUE="1940">1940 
              <OPTION VALUE="1941">1941 
              <OPTION VALUE="1942">1942 
              <OPTION VALUE="1943">1943 
              <OPTION VALUE="1944">1944 
              <OPTION VALUE="1945">1945 
              <OPTION VALUE="1946">1946 
              <OPTION VALUE="1947">1947 
              <OPTION VALUE="1948">1948 
              <OPTION VALUE="1949">1949 
              <OPTION VALUE="1950">1950 
              <OPTION VALUE="1951">1951 
              <OPTION VALUE="1952">1952 
              <OPTION VALUE="1953">1953 
              <OPTION VALUE="1954">1954 
              <OPTION VALUE="1955">1955 
              <OPTION VALUE="1956">1956 
              <OPTION VALUE="1957">1957 
              <OPTION VALUE="1958">1958 
              <OPTION VALUE="1959">1959 
              <OPTION VALUE="1960">1960 
              <OPTION VALUE="1961">1961 
              <OPTION VALUE="1962">1962 
              <OPTION VALUE="1963">1963 
              <OPTION VALUE="1964">1964 
              <OPTION VALUE="1965">1965 
              <OPTION VALUE="1966">1966 
              <OPTION VALUE="1967">1967 
              <OPTION VALUE="1968">1968 
              <OPTION VALUE="1969">1969 
              <OPTION VALUE="1970">1970 
              <OPTION VALUE="1971">1971 
              <OPTION VALUE="1972">1972 
              <OPTION VALUE="1973">1973 
              <OPTION VALUE="1974">1974 
              <OPTION VALUE="1975">1975 
              <OPTION VALUE="1976">1976 
              <OPTION VALUE="1977">1977 
              <OPTION VALUE="1978">1978 
              <OPTION VALUE="1979">1979 
              <OPTION VALUE="1980">1980 
              <OPTION VALUE="1981">1981 
              <OPTION VALUE="1982">1982 
              <OPTION VALUE="1983">1983 
              <OPTION VALUE="1984">1984 
              <OPTION VALUE="1985">1985 
              <OPTION VALUE="1986">1986 
              <OPTION VALUE="1987">1987 
              <OPTION VALUE="1988">1988 
              <OPTION VALUE="1989">1989 
              <OPTION VALUE="1990">1990 
              <OPTION VALUE="1991">1991 
              <OPTION VALUE="1992">1992 
              <OPTION VALUE="1993">1993 
              <OPTION VALUE="1994">1994 
              <OPTION VALUE="1995">1995 
              <OPTION VALUE="1996">1996 
              <OPTION VALUE="1997">1997 
              <OPTION VALUE="1998">1998 
              <OPTION VALUE="1999">1999 
              <OPTION VALUE="2000">2000 
              <OPTION VALUE="2001">2001 
              <OPTION VALUE="2002">2002 
              <OPTION VALUE="2003">2003 
              <OPTION VALUE="2004">2004 
            </SELECT>
            年 
            <SELECT NAME="BirthDay" id="BirthDay">
              <OPTION SELECTED VALUE="1">1 
              <OPTION VALUE="2">2 
              <OPTION VALUE="3">3 
              <OPTION VALUE="4">4 
              <OPTION VALUE="5">5 
              <OPTION VALUE="6">6 
              <OPTION VALUE="7">7 
              <OPTION VALUE="8">8 
              <OPTION VALUE="9">9 
              <OPTION VALUE="10">10 
              <OPTION VALUE="11">11 
              <OPTION VALUE="12">12 
            </SELECT>
            月 
            <SELECT NAME="BirthDay" id="BirthDay">
              <OPTION SELECTED VALUE="1">1 
              <OPTION VALUE="2">2 
              <OPTION VALUE="3">3 
              <OPTION VALUE="4">4 
              <OPTION VALUE="5">5 
              <OPTION VALUE="6">6 
              <OPTION VALUE="7">7 
              <OPTION VALUE="8">8 
              <OPTION VALUE="9">9 
              <OPTION VALUE="10">10 
              <OPTION VALUE="11">11 
              <OPTION VALUE="12">12 
              <OPTION VALUE="13">13 
              <OPTION VALUE="14">14 
              <OPTION VALUE="15">15 
              <OPTION VALUE="16">16 
              <OPTION VALUE="17">17 
              <OPTION VALUE="18">18 
              <OPTION VALUE="19">19 
              <OPTION VALUE="20">20 
              <OPTION VALUE="21">21 
              <OPTION VALUE="22">22 
              <OPTION VALUE="23">23 
              <OPTION VALUE="24">24 
              <OPTION VALUE="25">25 
              <OPTION VALUE="26">26 
              <OPTION VALUE="27">27 
              <OPTION VALUE="28">28 
              <OPTION VALUE="29">29 
              <OPTION VALUE="30">30 
              <OPTION VALUE="31">31 
            </SELECT>
            日</td>
        </tr>
          <tr class="td"> 
            <td align="center">籍贯</td>
            <td> 
              <input name="jiguan" type="text" id="jiguan" size="12"></td>
            <td align="center">婚姻状况：</td>
            <td> 
              <input name="IsMarry" type="radio" value="已婚">
            已婚 
              <input name="IsMarry" type="radio" value="未婚" checked>
            未婚</td>
        </tr>
          <tr class="td"> 
            <td align="center">身份证号码：</td>
            <td> 
              <input name="sfz" type="text" id="sfz" size="15"></td>
            <td align="center">身 高：</td>
            <td> 
              <input name="shengao" type="text" id="shengao" size="3">
            CM</td>
        </tr>
          <tr class="td"> 
            <td align="center">体 重：</td>
            <td> 
              <input name="tizhong" type="text" id="tizhong" size="3">
            KG</td>
            <td align="center">血 型：</td>
            <td> 
              <input name="xeixing" type="text" id="xeixing" size="3">
            型</td>
        </tr>
          <tr class="td"> 
            <td align="center">特 长：</td>
            <td colspan="3"> 
              <input name="techang" type="text" id="techang" size="40"></td>
        </tr>
      </table></td>
  </tr>
  <tr> 
    <td height="5"></td>
  </tr>
  <tr> 
      <td height="26" align="center" bgcolor="00a39e" class="td">联 系 方 法 </td>
  </tr>
  <tr> 
      <td height="5" class="td"></td>
  </tr>
  <tr> 
      <td class="td"> 
        <table width="100%" border="1" cellspacing="0" cellpadding="0" bordercolordark="#000000" bordercolorlight="#999999">
          <tr class="td"> 
            <td width="17%" align="center">* 电话：<br></td>
            <td colspan="3"> 
              <input name="tel" type="text" id="tel" size="20">
            * （请填长途区号）</td>
        </tr>
          <tr class="td"> 
            <td align="center">手 机：</td>
            <td width="30%"> 
              <INPUT TYPE="TEXT" MAXLENGTH="20" SIZE="12" NAME="shouji">
            </td>
            <td width="16%" bgcolor="#FFFFFF">* 电子邮件：</td>
            <td width="37%"> 
              <INPUT TYPE="TEXT" MAXLENGTH="40" NAME="email">
            </td>
        </tr>
          <tr class="td"> 
            <td align="center">* 家庭住址：</td>
            <td colspan="3"> 
              <INPUT TYPE="TEXT" MAXLENGTH="40" SIZE="45" NAME="Address">
            </td>
        </tr>
          <tr class="td"> 
            <td align="center">邮政编码：</td>
            <td colspan="3"> 
              <INPUT NAME="postcode" TYPE="TEXT" id="postcode" SIZE="15" MAXLENGTH="10">
            </td>
        </tr>
      </table></td>
  </tr>
  <tr> 
      <td height="5" class="td"></td>
  </tr>
  <tr> 
      <td height="25" align="center" bgcolor="00a39e" class="td">教 育 背 景</td>
  </tr>
  <tr> 
      <td height="5" class="td"></td>
  </tr>
  <tr> 
      <td height="5" class="td">
<table width="100%" border="1" cellspacing="0" cellpadding="0" bordercolordark="#000000" bordercolorlight="#999999">
          <tr class="td"> 
            <td width="20%" align="center">* 毕业院校：<br></td>
            <td colspan="3"> 
              <INPUT TYPE="TEXT" MAXLENGTH="30" NAME="GradSchool">
             *</td>
        </tr>
          <tr class="td"> 
            <td align="center">* 所学专业：</td>
            <td width="26%"> 
              <INPUT TYPE="TEXT" MAXLENGTH="30" SIZE="12" NAME="zhuanye">
            </td>
            <td width="24%">* 最高学历：</td>
            <td width="30%"> 
              <SELECT NAME="Culture">
              <OPTION VALUE="高中">高中 
              <OPTION VALUE="中专">中专 
              <OPTION VALUE="大专">大专 
              <OPTION SELECTED VALUE="本科">本科 
              <OPTION VALUE="硕士">硕士 
              <OPTION VALUE="博士">博士 </SELECT> </td>
        </tr>
          <tr class="td"> 
            <td align="center">外语能力：</td>
            <td colspan="3">英语水平 
              <SELECT NAME="waiyu" id="waiyu">
              <OPTION SELECTED VALUE="CET3">CET3 
              <OPTION VALUE="CET4">CET4 
              <OPTION VALUE="CET6">CET6 
              <OPTION VALUE="CET8">CET8 </SELECT> </td>
        </tr>
          <tr class="td"> 
            <td align="center">资格证书：</td>
            <td colspan="3"> 
              <INPUT NAME="zhengshu" TYPE="TEXT" id="zhengshu" SIZE="45" MAXLENGTH="40">
            </td>
        </tr>
          <tr class="td"> 
            <td align="center">* 学习经历：<br>
            </td>
            <td colspan="3"> 
              <TEXTAREA NAME="xuexijingli" COLS="50" rows="4"></TEXTAREA> 
          </td>
        </tr>
      </table></td>
  </tr>
  <tr> 
      <td height="5" class="td"></td>
  </tr>
  <tr> 
      <td height="26" align="center" bgcolor="00a39e" class="td">工 作 经 历 及 意 
        向</td>
  </tr>
  <tr> 
      <td height="5" class="td">&nbsp;</td>
  </tr>
  <tr> 
      <td class="td"> 
        <table width="100%" border="1" cellspacing="0" cellpadding="0" bordercolordark="#000000" bordercolorlight="#999999">
          <tr class="td"> 
            <td width="26%" align="center">* 应聘职位：<br></td>
            <td width="74%"> 
              <INPUT NAME="JobName" TYPE="TEXT" value="<%=Request("Job")%>" SIZE="20" MAXLENGTH="20"> 
          </td>
        </tr>
          <tr class="td"> 
            <td align="center">* 最低待遇要求：</td>
            <td> 
              <INPUT NAME="daiyu" TYPE="TEXT" id="daiyu" SIZE="6" MAXLENGTH="10">
            元/月</td>
        </tr>
          <tr class="td"> 
            <td align="center">现工作单位：</td>
            <td> 
              <INPUT NAME="danwei" TYPE="TEXT" id="danwei" SIZE="40" MAXLENGTH="40"> </td>
        </tr>
          <tr class="td"> 
            <td align="center">* 工作经历：<br>
            </td>
            <td> 
              <TEXTAREA NAME="gzjingli" COLS="50" rows="4" id="gzjingli"></TEXTAREA> </td>
        </tr>
      </table></td>
  </tr>
  <tr> 
      <td height="5" class="td">&nbsp;</td>
  </tr>
  <tr> 
      <td height="25" align="center" bgcolor="00a39e" class="td">其 他</td>
  </tr>
  <tr> 
      <td height="5" class="td"></td>
  </tr>
  <tr> 
      <td class="td"> 
        <table width="100%" border="1" cellspacing="0" cellpadding="0" bordercolordark="#000000" bordercolorlight="#999999">
          <tr class="td"> 
            <td width="26%" align="center">职业技能、特长<br> <br></td>
            <td width="74%"> 
              <TEXTAREA NAME="jineng" COLS="50" rows="4" id="jineng"></TEXTAREA>
            </td>
        </tr>
          <tr class="td"> 
            <td align="center">自我评价</td>
            <td> 
              <TEXTAREA NAME="pingjia" cols="50" rows="4" id="pingjia"></TEXTAREA>
          </td>
        </tr>
      </table></td>
  </tr>
  <tr> 
      <td align="center" class="td">
<input name="Submit1" type="submit" id="Submit1" value="提交">
      　 
      <input type="reset" name="Submit2" value="重置"></td>
  </tr>
</table>
</form>
