📄 person_addresume.asp
字号:
</li>
<li> 培训地点:
<input name="address" id="address" size="50" maxlength="50" />
</li>
<li><font color="#ff6600">*</font>培训课程:
<input name="course" id="course" size="50" maxlength="50" />
</li>
<li> 获得证书:
<font color="#993300">
<input name="certificate" id="certificate" size="50" maxlength="50" />
</font></li>
<li> 详细描述:
<textarea name="detail" cols="55" rows="8" id="detail" style="HEIGHT: 150px"></textarea>
</li>
<li><INPUT name="submit" type="submit" value="保 存">
<INPUT name=Exit type=button class="inputa3" onClick="unwindow(2)" value="关 闭"></li>
</ul>
</form>
</div>
<!--培训结束
语言能力开始--->
<div class="addlangtab" id="jumply3" style="display:none;">
<form name="langadd" action="person_addresume.asp?Action=Savelang&rid=<%=rid%>" method="post" onSubmit="return Jugel(this)">
<div>编辑<font color="#FF6600" ><b><%=session(""&FRHRCMS&"resume_title")%></b></font>的语言能力(注:带*号为必填项)</div>
<ul>
<li><font color="#ff6600">*</font>外语语种:<select name="language" id="language">
<option value=0 selected>---请选择---</option>
<%Set rs= Server.CreateObject("ADODB.RecordSet")
sql="select foreign_id,foreign_name from job_foreignlanguage"
rs.open sql,conn,1,1
do while not rs.eof
response.write"<OPTION value="&rs("foreign_id")&">"&rs("foreign_name")&"</option>"
rs.movenext
loop
rs.close
%></select><font color="#ff6600">*</font>掌握程度:
<select name="master" id="select5">
<option value=0 selected>---请选择---</option>
<%
sql="select degree_id,degree_name from job_foreigndegree"
rs.open sql,conn,1,1
do while not rs.eof
response.write"<OPTION value="&rs("degree_id")&">"&rs("degree_name")&"</option>"
rs.movenext
loop
rs.close
%>
</select>
</li>
<li><INPUT name="submit" type="submit" value="保 存">
<INPUT name=Exit type=button class="inputa3" onClick="unwindow(3)" value="关 闭"></li>
</ul>
</form>
</div>
<!--语言结束-->
<%End Sub%>
<%Sub addthree()%>
<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"> 工作经历(注:带<font color="#ff6600">*</font>号为必填项)</td>
</tr>
<tr>
<td colspan="5" bgcolor="#F1F8FC"> <b>按"添加"增加新的工作经验。 要更改或删除某项工作经验,请按"编辑"或"删除"链接。</b></td>
</tr>
<tr>
<td width="92" height="25" align="right" bgcolor="#F1F8FC"> </td>
<td width="198" bgcolor="#F1F8FC">公司名称</td>
<td width="252" bgcolor="#F1F8FC">工作时间</td>
<td width="97" bgcolor="#F1F8FC">部门</td>
<td width="75" bgcolor="#F1F8FC">操作</td>
</tr>
<%set rst=server.createobject("ADODB.Recordset")
sql="select * from job_p_work where work_resumeid="&rid&" order by work_announcedate desc"
rst.open sql,conn,1,1
if not rst.eof then
for i=1 to rst.recordcount
%>
<tr>
<td align="right" bgcolor="#F1F8FC">经历<%=capitalization(small(i))%>:</td>
<td bgcolor="#F1F8FC"><%=rst("work_comname")%></td>
<td bgcolor="#F1F8FC"><%=rst("work_startyear")%>年<%=rst("work_startmonth")%>月——<%if rst("work_endyear")=0 and rst("work_endmonth")=0 then%>至今<%else%><%=rst("work_endyear")%>年<%=rst("work_endmonth")%>月<%end if%></td>
<td bgcolor="#F1F8FC"><%=rst("work_dept")%></td>
<td bgcolor="#F1F8FC"><a href="#" onClick="window.open ('person_modiresume.asp?Action=Modiwork&id=<%=rst("work_id")%>&rid=<%=rid%>','newwindow','height=260,width=580,top=200,left=200,toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no') ">编辑</a> <a href="person_addresume.asp?Action=Delwork&id=<%=rst("work_id")%>&rid=<%=rid%>">删除</a></td>
</tr>
<%
rst.movenext
next
end if
%>
<tr>
<td align="right" bgcolor="#F1F8FC">经历<%=capitalization(small(rst.recordcount+1))%>:</td>
<td bgcolor="#F1F8FC"><a onclick="jumpwindow(4);" style="cursor:pointer"><font color="#FF0000"><b>添加</b></font></a></td>
<td bgcolor="#F1F8FC"> </td>
<td bgcolor="#F1F8FC"> </td>
<td bgcolor="#F1F8FC"> </td>
</tr>
<%
rst.close
%>
<tr>
<td align="right" bgcolor="#F1F8FC"> </td>
<td bgcolor="#F1F8FC"><label>
<input type="submit" name="Submit" value="下一步" onClick="javascript:window.location.href='person_careerwill.asp?rid=<%=rid%>'" />
<input type="button" name="Submit1" value="返回" onclick="javascript:history.back()" />
</label></td>
<td bgcolor="#F1F8FC"> </td>
<td bgcolor="#F1F8FC"> </td>
<td bgcolor="#F1F8FC"> </td>
</tr>
</table>
<!--添加修改工作经历-->
<div class="addedutab" id="jumply4" style="display:none;">
<form name="workadd" action="person_addresume.asp?Action=Savework&rid=<%=rid%>" method="post" onSubmit="return Jugew(this)">
<div>编辑<font color="#FF6600" ><b><%=session(""&FRHRCMS&"resume_title")%></b></font>的工作经历内容(注:带*号为必填项)</div>
<ul>
<li><font color="#ff6600">*</font>时间范围:
从
<select name="start_year" id="start_year">
<option value="0" selected="selected">年</option>
<%
for i=year(date())-70 to year(date())
response.write "<option value='"&i&"'>"&i&"</option>"
next
%>
</select>
<select name="start_month" id="start_month">
<option value="0" selected="selected">月</option>
<%
for i=1 to 12
response.write "<option value='"&i&"'>"&i&"</option>"
next
%>
</select>
到
<select name="end_year" id="end_year">
<option value="0" selected="selected">年</option>
<%
for i=year(date())-70 to year(date())
response.write "<option value='"&i&"'>"&i&"</option>"
next
%>
</select>
<select name="end_month" id="end_month">
<option value="0" selected="selected">月</option>
<%
for i=1 to 12
response.write "<option value='"&i&"'>"&i&"</option>"
next
%>
</select>
(后两项不填表示至今)</li>
<li><font color="#ff6600">*</font>公司名称:
<input name=comname id="comname" size=50 maxLength=50>
</li>
<li><font color="#ff6600">*</font>公司性质:
<select name="ecoclass" size="1" id="select4">
<option value="" selected>---请选择---</option>
<%
Set rs= Server.CreateObject("ADODB.RecordSet")
sql="select ecoclass_id,ecoclass_name from job_ecoclass"
rs.open sql,conn,1,1
do while not rs.eof
response.write"<OPTION value="&rs("ecoclass_id")&">"&rs("ecoclass_name")&"</option>"
rs.movenext
loop
rs.close
%>
</select>
</li>
<li><font color="#ff6600">*</font>所属行业:
<select name=trade id="select2">
<option value="" selected>---请选择---</option>
<%
sql="select trade_id,trade_name from job_trade"
rs.open sql,conn,1,1
do while not rs.eof
response.write"<OPTION value="&rs("trade_id")&">"&rs("trade_name")&"</option>"
rs.movenext
loop
rs.close
%>
</SELECT>
</li>
<li><font color="#ff6600">*</font>所在部门:
<INPUT name=dept id="dept" size=30 maxLength=25></li>
<li><font color="#ff6600">*</font>岗位类别:
<select name="mainposition" size="1" id="mainposition" onChange=GetPosition(this.options[this.selectedIndex].value)>
<option value="" selected>---请选择---</option>
<%
sql="select position_id,position_name from job_position where position_fid=0"
rs.open sql,conn,1,1
do while not rs.eof
response.write"<OPTION value="&rs("position_id")&">"&rs("position_name")&"</option>"
rs.movenext
loop
rs.close
%>
</select>
<span id="load300"></span><span id="cposition">
<select name=subposition id="subposition">
<option value="" selected>---请选择---</option>
</select>
</span></li>
<li><font color="#ff6600">*</font>职位名称:
<INPUT name=place id="place" size="30" maxLength=50></li>
<li><font color="#ff6600"> </font>工作描述:
<TEXTAREA name=introduce cols=55 id="introduce" style="HEIGHT: 100px"></TEXTAREA></li>
<li><FONT color=#ff6600>工作描述限2000个字符,请详细描述您的职责范围、工作任务以及取得的成绩等。 </FONT></li>
<li><font color="#ff6600"> </font>离职原因:
<INPUT name=leftreason id="leftreason" size="28" maxLength=50></li>
<li><FONT color=#ff6600>简明扼要地阐述离职原因,字数在50字以内。</FONT></li>
<li><INPUT name="submit" type="submit" value="保 存">
<INPUT name=Exit type=button class="inputa3" onClick="unwindow(4)" value="关 闭"></li>
</ul>
</form>
</div>
<!--工作地添加结束-->
<%End Sub%>
</div>
<%call bottom()
conn.close:set conn=nothing%>
<%Sub SaveAddone()
resume_title=CheckStr(trim(request("title")))
if resume_title="" then
Response.Write ("<script language=JavaScript>{alert('添加的简历名称不能为空!');location.href = 'javascript:history.go(-1)';}</script>")
Response.End
end if
if rid="" then
set rs=server.createobject("ADODB.Recordset")
sql="select resume_title from job_p_resume where resume_title='"&resume_title&"' and resume_pmember='"&pmember_login&"'"
rs.open sql,conn,1,1
if not rs.eof then
rs.close
set rs=nothing
Response.Write ("<script language=JavaScript>{alert('简历名称已存在!');location.href = 'javascript:history.go(-1)';}</script>")
Response.End
end if
rs.close
set rs=nothing
end if
resume_usergroup=cint(trim(request("usergroup")))
resume_name=CheckStr(trim(request("names")))
if resume_name="" then
Response.Write ("<script language=JavaScript>{alert('错误:姓名不能为空!');location.href = 'javascript:history.go(-1)';}</script>")
Response.End
end if
resume_appraise=CheckStrbox(request("appraise"))
If lenmix(resume_appraise)>=2000 Then
response.write "<script language=javascript>alert('错误:自我评价太长了,要求不多于2000个字符!!');location.href='javascript:history.back()';<//script>"
response.end
end if
resume_sex=cint(trim(request("sex")))
resume_birth=cdate(request("birth"))
resume_cardtype=cint(trim(request("cardtype")))
resume_idcard=CheckStr(trim(request("idcard")))
if trim(request("nation"))<>"" then
resume_nation=cint(trim(request("nation")))
end if
if trim(request("polity"))<>"" then
resume_polity=cint(trim(request("polity")))
end if
if trim(request("marriage"))<>"" then
resume_marriage=cint(trim(request("marriage")))
end if
if trim(request("height"))<>"" then
resume_height=cint(trim(request("height")))
end if
if trim(request("weight"))<>"" then
resume_weight=cint(trim(request("weight")))
end if
if trim(request("hukouprovince"))<>"" then
resume_hukouprovinceid=cint(trim(request("hukouprovince")))
end if
if trim(request("hukoucapital"))<>"" then
resume_hukoucapitalid=cint(trim(request("hukoucapital")))
end if
if trim(request("hukoucity"))<>"" then
resume_hukoucityid=cint(trim(request("hukoucity")))
end if
resume_provinceid=cint(trim(request("province")))
resume_capitalid=cint(trim(request("capital")))
resume_cityid=trim(request("city"))
If IsNumeric(resume_cityid)=False Then
Response.Write ("<script language=JavaScript>{alert('目前所在地必须全部选择!');location.href = 'javascript:history.go(-1)';}</script>")
Response.End
End If
resume_edu=cint(trim(request("edu")))
resume_zhicheng=CheckStr(trim(request("zhicheng")))
resume_school=CheckStr(trim(request("school")))
if request("graduate")<>"" then
resume_graduate=cdate(request("graduate"))
end if
resume_tel=CheckStr(trim(request("tel")))
resume_chat=CheckStr(trim(request("chat")))
resume_email=CheckStr(trim(request("email")))
resume_url=CheckStr(trim(request("url")))
resume_address=CheckStr(trim(request("address")))
resume_post=CheckStr(trim(request("post")))
resume_sumup=CheckStr(trim(request("sumup")))
'查询默认模板ID
set rs=conn.execute("select * from JOB_Template where ChannelID=1 and IsDefault="&FR_HR_True&" and IsDefaultInProject="&FR_HR_True&" and typeid=13")
if not rs.eof then
resume_template=rs("TemplateID")
end if
rs.close
set rs=nothing
'添加或更新简历
set rs=server.createobject("ADODB.Recordset")
if rid<>""then
sql="select * from job_p_resume where resume_id="&rid
rs.open sql,conn,1,3
else
sql="select * from job_p_resume"
rs.open sql,conn,1,3
rs.addnew
rs("resume_visitnum")=0 '新加默认浏览次数为0
end if
rs("resume_pmember")=pmember_login
rs("resume_usergroup")=resume_usergroup
rs("resume_title")=resume_title
rs("resume_name")=resume_name
rs("resume_sex")=resume_sex
rs("resume_birth")=resume_birth
rs("resume_cardtype")=resume_cardtype
rs("resume_idcard")=resume_idcard
rs("resume_nation")=resume_nation
rs("resume_polity")=resume_polity
rs("resume_marriage")=resume_marriage
rs("resume_height")=resume_height
rs("resume_weight")=resume_weight
rs("resume_hukouprovinceid")=resume_hukouprovinceid
rs("resume_hukoucapitalid")=resume_hukoucapitalid
rs("resume_hukoucityid")=resume_hukoucityid
rs("resume_provinceid")=resume_provinceid
rs("resume_capitalid")=resume_capitalid
rs("resume_cityid")=resume_cityid
rs("resume_edu")=resume_edu
rs("resume_zhicheng")=resume_zhicheng
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -