📄 person_addresume.asp
字号:
Case Else
Call addone()
End Select
if FoundErr=True then
call Show_Err()
end if
%>
<%Sub addone()
if (Action="Addnew" or Action="") and rid="" then
session(""&FRHRCMS&"resume_title")=""
set rst=server.createobject("ADODB.Recordset")
sql="select * from job_member where member_login='"&pmember_login&"'"
rst.open sql,conn,1,1
if not rst.eof then
resume_title="简历"&now()
resume_name=rst("member_name")
resume_sex=rst("Member_sex")
resume_birth=rst("Member_birth")
resume_cardtype=rst("Member_cardtype")
resume_idcard=rst("Member_idcard")
resume_marriage=rst("Member_marriage")
resume_polity=rst("Member_polity")
resume_hukouprovinceid=rst("Member_hukouprovinceid")
resume_hukoucapitalid=rst("Member_hukoucapitalid")
resume_hukoucityid=rst("Member_hukoucityid")
resume_provinceid=rst("Member_provinceid")
resume_capitalid=rst("Member_capitalid")
resume_cityid=rst("Member_cityid")
resume_edu=rst("Member_edu")
resume_tel=rst("Member_tel")
resume_chat=rst("Member_chat")
resume_email=rst("Member_email")
resume_url=rst("Member_url")
resume_address=rst("Member_address")
resume_post=rst("Member_post")
else
response.write "<script language=javascript>alert('出错!');javascript:history.back();</script>"
response.end
end if
rst.close
set rst=nothing
end if
if Action<>"Addnew" and rid<>"" then
session(""&FRHRCMS&"resume_title")=""
set rst=server.createobject("ADODB.Recordset")
sql="select * from job_p_resume where resume_pmember='"&pmember_login&"' and resume_id="&rid&""
rst.open sql,conn,1,1
if not rst.eof then
resume_title=rst("resume_title")
resume_usergroup=rst("resume_usergroup")
resume_name=rst("resume_name")
resume_sex=rst("resume_sex")
resume_birth=rst("resume_birth")
resume_cardtype=rst("resume_cardtype")
resume_idcard=rst("resume_idcard")
resume_marriage=rst("resume_marriage")
resume_nation=rst("resume_nation")
resume_height=rst("resume_height")
resume_weight=rst("resume_weight")
resume_polity=rst("resume_polity")
resume_hukouprovinceid=rst("resume_hukouprovinceid")
resume_hukoucapitalid=rst("resume_hukoucapitalid")
resume_hukoucityid=rst("resume_hukoucityid")
resume_provinceid=rst("resume_provinceid")
resume_capitalid=rst("resume_capitalid")
resume_cityid=rst("resume_cityid")
resume_edu=rst("resume_edu")
resume_tel=rst("resume_tel")
resume_chat=rst("resume_chat")
resume_email=rst("resume_email")
resume_url=rst("resume_url")
resume_address=rst("resume_address")
resume_post=rst("resume_post")
resume_zhicheng=rst("resume_zhicheng")
resume_school=rst("resume_school")
resume_graduate=rst("resume_graduate")
resume_sumup=rst("resume_sumup")
resume_appraise=rst("resume_appraise")
session(""&FRHRCMS&"resume_title")=resume_title
else
response.write "<script language=javascript>alert('出错!');javascript:history.back();</script>"
response.end
end if
rst.close
set rst=nothing
end if%>
<form name="infomodi" action="person_addresume.asp?action=SaveAddone&rid=<%=rid%>" method="post" onSubmit="return Juge(this);">
<table width="98%" border="0" align="center" cellpadding="2" cellspacing="1" style="font-size:12px; line-height:20px; border-top:1px #003366 solid;">
<tr style="height:20px; background:url(../skin/skin1/bg1.gif) #F1F8FC repeat-x; font-weight:bold; padding:0 4px;">
<td height="21" colspan="2" valign="middle"> 新增简历名称(注:带<font color="#ff6600">*</font>号为必填项)</td>
</tr>
<tr>
<td width="92" height="25" align="right" bgcolor="#F1F8FC">简历名称:</td>
<td width="637" bgcolor="#F1F8FC"><input name="title" id="title" value="<%=resume_title%>" maxlength="25" />
<span class="note">给简历命名,以区分3份不同的简历 </span></td>
</tr>
<tr>
<td align="right" bgcolor="#F1F8FC">选择人才类别:</td>
<td bgcolor="#F1F8FC"><INPUT id=radUserGroup type=radio checked value=0 name=usergroup>
普通 <INPUT id=radUserGroup type=radio <%if resume_usergroup=1 then response.write "checked" end if%> value=1 name=usergroup>
毕业生
<INPUT id=radUserGroup type=radio <%if resume_usergroup=2 then response.write "checked" end if%> value=2 name=usergroup>高级人才</td>
</tr>
<tr>
<td align="right" bgcolor="#F1F8FC"> </td>
<td bgcolor="#F1F8FC">高级人才需满足以下条件:<br />
1.博士以上学位;<br />
2.硕士学历,二年以上工作经验;<br />
3.本科学历,五年以上工作经验;<br />
4.大专学历,五年以上中层管理经验;<br />
5.海外留学归国人员。</td>
</tr>
</table>
<table width="98%" border="0" align="center" cellpadding="2" cellspacing="1" style="font-size:12px; line-height:20px; border-top:1px #003366 solid;">
<tr style="height:20px; background:url(../skin/skin1/bg1.gif) #F1F8FC repeat-x; font-weight:bold; padding:0 4px;">
<td height="21" colspan="5" valign="middle"> 个人信息</td>
</tr>
<tr>
<td width="92" height="25" align="right" bgcolor="#F1F8FC"><font color="#ff7800">*</font>姓名:</td>
<td width="179" bgcolor="#F1F8FC"><input name="names" id="names" maxlength="25" value="<%=resume_name%>" /></td>
<td width="81" align="right" bgcolor="#F1F8FC"><font color="#ff7800">*</font>性别:</td>
<td width="249" bgcolor="#F1F8FC"><input type="radio" value="1" name="sex" checked />
男
<input type="radio" value="2" name="sex" <%if resume_sex=2 then response.write "checked" end if%> />
女 </td>
<td width="113" rowspan="5" align="center" bgcolor="#F1F8FC"><%
Set rs= Server.CreateObject("ADODB.RecordSet")
sql="select * from job_member where member_login='"&pmember_login&"' and member_typeid=1"
rs.open sql,conn,1,1
if rs("member_logo")<>"" then
%><img height=140 src="../UpFiles/Person/<%=rs("member_logo")%>" width=110 border=0 style="BORDER-RIGHT: #666666 1px solid; BORDER-TOP: #666666 1px solid; BORDER-LEFT: #666666 1px solid; BORDER-BOTTOM: #666666 1px solid">
<%else%><img height=140 src="../UpFiles/Person/nophoto.gif" width=110 border=0 style="BORDER-RIGHT: #666666 1px solid; BORDER-TOP: #666666 1px solid; BORDER-LEFT: #666666 1px solid; BORDER-BOTTOM: #666666 1px solid"><%
end if
rs.close
set rs=nothing
%></td>
</tr>
<tr>
<td align="right" bgcolor="#F1F8FC"><font color="#ff7800">*</font>出生日期:</td>
<td bgcolor="#F1F8FC"><input type="text" name="birth" id="birth" size="10" maxlength="10" value="<%=resume_birth%>" readonly onclick="fPopUpCalendarDlg(birth);return false" />
<img src="../images/calendar_bnt.gif" style="cursor:pointer;" align="absmiddle" onclick="fPopUpCalendarDlg(birth);return false" width="34" height="21" /></td>
<td align="right" bgcolor="#F1F8FC"><font color="#ff7800">*</font>证件类型:</td>
<td bgcolor="#F1F8FC"><select name="cardtype" size="1" id="cardtype">
<option value="0" <%if resume_cardtype=0 then response.write "select" end if%>>身份证</option>
<option value="1" <%if resume_cardtype=1 then response.write "select" end if%>>驾证</option>
<option value="2" <%if resume_cardtype=2 then response.write "select" end if%>>军官证</option>
<option value="3" <%if resume_cardtype=3 then response.write "select" end if%>>护照</option>
<option value="4" <%if resume_cardtype=4 then response.write "select" end if%>>其它</option>
</select>
<input name="idcard" id="idcard" maxlength="20" value="<%=resume_idcard%>" /></td>
</tr>
<tr>
<td align="right" bgcolor="#F1F8FC">民族:</td>
<td bgcolor="#F1F8FC"><select name="nation" id="nation">
<option value=""></option>
<%
set rs=server.createobject("ADODB.Recordset")
sql="select * from job_nation"
rs.open sql,conn,1,1
do while not rs.eof
if resume_nation=rs("nation_id") then
response.write"<OPTION value="&rs("nation_id")&" selected>"&rs("nation_name")&"</option>"
else
response.write"<OPTION value="&rs("nation_id")&">"&rs("nation_name")&"</option>"
end if
rs.movenext
loop
rs.close
%>
</select></td>
<td align="right" bgcolor="#F1F8FC">婚姻状况:</td>
<td bgcolor="#F1F8FC"><select name="marriage" id="marriage">
<option value=""></option>
<%
sql="select * from job_marriage"
rs.open sql,conn,1,1
do while not rs.eof
if resume_marriage=rs("marriage_id") then
response.write"<OPTION value="&rs("marriage_id")&" selected>"&rs("marriage_name")&"</option>"
else
response.write"<OPTION value="&rs("marriage_id")&">"&rs("marriage_name")&"</option>"
end if
rs.movenext
loop
rs.close
%>
</select></td>
</tr>
<tr>
<td align="right" bgcolor="#F1F8FC">政治面貌:</td>
<td bgcolor="#F1F8FC"><select name="polity" id="polity">
<option value=""></option>
<%
sql="select * from job_polity"
rs.open sql,conn,1,1
do while not rs.eof
if resume_polity=rs("polity_id") then
response.write"<OPTION value="&rs("polity_id")&" selected>"&rs("polity_name")&"</option>"
else
response.write"<OPTION value="&rs("polity_id")&">"&rs("polity_name")&"</option>"
end if
rs.movenext
loop
rs.close
%>
</select></td>
<td align="right" bgcolor="#F1F8FC"><font color="#ff7800">*</font>最高学历:</td>
<td bgcolor="#F1F8FC"><select name="edu">
<option value="" selected="selected"></option>
<%
sql="select edu_id,edu_name from job_edu order by edu_id desc"
rs.open sql,conn,1,1
do while not rs.eof
if resume_edu=rs("edu_id") then
response.write"<OPTION value="&rs("edu_id")&" selected>"&rs("edu_name")&"</option>"
else
response.write"<OPTION value="&rs("edu_id")&">"&rs("edu_name")&"</option>"
end if
rs.movenext
loop
rs.close
%>
</select></td>
</tr>
<tr>
<td align="right" bgcolor="#F1F8FC">身高:</td>
<td bgcolor="#F1F8FC"><input name="height" id="height" size="3" maxlength="3" value="<%if resume_height<>0 then response.write resume_height end if%>" />
厘米</td>
<td align="right" bgcolor="#F1F8FC">体重:</td>
<td bgcolor="#F1F8FC"><input name="weight" type="text" id="weight" size="3" maxlength="3" value="<%if resume_weight<>0 then response.write resume_weight end if%>" />
公斤</td>
</tr>
<tr>
<td align="right" bgcolor="#F1F8FC">职称:</td>
<td bgcolor="#F1F8FC"><input name="zhicheng" id="zhicheng" maxlength="25" value="<%=resume_zhicheng%>" /></td>
<td bgcolor="#F1F8FC"> </td>
<td bgcolor="#F1F8FC"> </td>
<td align="center" bgcolor="#F1F8FC"><a href="person_photo.asp" target="_blank">点击进入照片管理</a></td>
</tr>
<tr>
<td align="right" bgcolor="#F1F8FC">户口所在地:</td>
<td colspan="4" bgcolor="#F1F8FC"><select name="hukouprovince" size="1" id="select5" onchange="GethukouCapital(this.options[this.selectedIndex].value)">
<option value="" selected="selected">省份</option>
<%
sql="select * from job_provinceandcity where fid=0"
rs.open sql,conn,1,1
do while not rs.eof
if resume_hukouprovinceid=rs("id") then
response.write"<OPTION value="&rs("id")&" selected>"&rs("province_city")&"</option>"
else
response.write"<OPTION value="&rs("id")&">"&rs("province_city")&"</option>"
end if
rs.movenext
loop
rs.close
%>
</select>
<span id="load300"></span> <span id="chukoucapital">
<select name="hukoucapital" id="hukoucapital" onchange="GethukouCity(this.options[this.selectedIndex].value)">
<option value="" selected="selected">地级市</option>
<%
if resume_hukouprovinceid<>"" and not isnull(resume_hukouprovinceid) and resume_hukouprovinceid<>0 then
sql="select * from job_provinceandcity where fid="&resume_hukouprovinceid&" order by id "
rs.open sql,conn,1,1
do while not rs.eof
if resume_hukoucapitalid=rs("id") then
response.write"<OPTION value="&rs("id")&" selected>"&rs("province_city")&"</option>"
else
response.write"<OPTION value="&rs("id")&">"&rs("province_city")&"</option>"
end if
rs.movenext
loop
rs.close
end if
%>
</select>
</span> <span id="load400"></span> <span id="chukoucity">
<select name="hukoucity" id="hukoucity">
<option value="" selected="selected">县级地区</option>
<%
if resume_hukoucapitalid<>"" and not isnull(resume_hukoucapitalid) and resume_hukoucapitalid<>0 then
sql="select * from job_provinceandcity where fid="&resume_hukoucapitalid&" order by id "
rs.open sql,conn,1,1
do while not rs.eof
if resume_hukoucityid=rs("id") then
response.write"<OPTION value="&rs("id")&" selected>"&rs("province_city")&"</option>"
else
response.write"<OPTION value="&rs("id")&">"&rs("province_city")&"</option>"
end if
rs.movenext
loop
rs.close
end if
%>
</select>
</span> </td>
</tr>
<tr>
<td align="right" bgcolor="#F1F8FC"><font color="#ff7800">*</font>目前所在地:</td>
<td colspan="4" bgcolor="#F1F8FC"><select name="province" size="1" id="select4" onchange="GetCapital(this.options[this.selectedIndex].value)">
<option value="" selected="selected">省份</option>
<%
sql="select * from job_provinceandcity where fid=0"
rs.open sql,conn,1,1
do while not rs.eof
if resume_provinceid=rs("id") then
response.write"<OPTION value="&rs("id")&" selected>"&rs("province_city")&"</option>"
else
response.write"<OPTION value="&rs("id")&">"&rs("province_city")&"</option>"
end if
rs.movenext
loop
rs.close
%>
</select>
<span id="load100"></span> <span id="ccapital">
<select name="capital" onchange="GetCity(this.options[this.selectedIndex].value)">
<option value="" selected="selected">地级市</option>
<%
if resume_provinceid<>"" and not isnull(resume_provinceid) and resume_provinceid<>0 then
sql="select * from job_provinceandcity where fid="&resume_provinceid&" order by id "
rs.open sql,conn,1,1
do while not rs.eof
if resume_capitalid=rs("id") then
response.write"<OPTION value="&rs("id")&" selected>"&rs("province_city")&"</option>"
else
response.write"<OPTION value="&rs("id")&">"&rs("province_city")&"</option>"
end if
rs.movenext
loop
rs.close
end if
%>
</select>
</span> <span id="load200"></span> <span id="ccity">
<select name="city">
<option value="" selected="selected">县级地区</option>
<%
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -