📄 person_addresume.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="../conn/conn.asp"-->
<!--#include file="../inc/Commoncode.asp"-->
<!--#include file="../inc/CommonFunction.asp"-->
<%link="person_addresume.asp"%>
<!--#include file="checkpmember.asp" -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>新建简历--<%=SiteTitle%></title>
<link href="../css/<%=MainWebCss%>.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../inc/main.js"></script><script language="JavaScript">
<!--
function GethukouCapital(capitalid)
{
document.frames["hukoucapitalframe"].location.replace("../inc/gethukoucapital.asp?capitalid="+capitalid);
}
function GethukouCity(cityid)
{
document.frames["hukoucityframe"].location.replace("../inc/gethukoucity.asp?cityid="+cityid);
}
function GetCapital(capitalid)
{
document.frames["capitalframe"].location.replace("../inc/getcapital.asp?capitalid="+capitalid);
}
function GetCity(cityid)
{
document.frames["cityframe"].location.replace("../inc/getcity.asp?cityid="+cityid);
}
function GetProfession(professionid)
{
document.frames["professionframe"].location.replace("../inc/getprofession2.asp?professionid="+professionid);
}
function GetPosition(positionid)
{
document.frames["positionframe"].location.replace("../inc/getposition2.asp?positionid="+positionid);
}
//功能:去掉字符串前后空格
//返回值:去掉空格后的字符串
//function fnRemoveBrank(strSource)
//{
// return strSource.replace(/^\s*/,'').replace(/\s*$/,'');
//}
function String.prototype.lenB()
{
return this.replace(/[^\x00-\xff]/g,"**").length;
}
function Juge(theForm)
{
if (fnRemoveBrank(theForm.title.value) == "")
{
alert("请输入简历名称!");
theForm.title.focus();
return (false);
}
if (fnRemoveBrank(theForm.names.value) == "")
{
alert("请输入姓名!");
theForm.names.focus();
return (false);
}
today=new Date();
// birthb=new Date(theForm.birth.value);
var birtha=theForm.birth.value;
var birthb=birtha.split("-");
if (fnRemoveBrank(theForm.birth.value) == "")
{
alert("请输入出日期!");
theForm.birth.focus();
return (false);
}else
if (today.getYear()-12<=birthb[0])
{
alert("出生日期"+birtha+"至今必须大于12年!");
theForm.birth.focus();
return (false);
}
if (fnRemoveBrank(theForm.idcard.value) == "")
{
alert("请输入证件编号!");
theForm.idcard.focus();
return (false);
}
if (fnRemoveBrank(theForm.province.value) == "")
{
alert("请选择所在省份!");
theForm.province.focus();
return (false);
}
if (fnRemoveBrank(theForm.edu.value) == "")
{
alert("请选择最高学历!");
theForm.edu.focus();
return (false);
}
// if (fnRemoveBrank(theForm.school.value) == "")
// {
// alert("请填写毕业学校!");
// theForm.school.focus();
// return (false);
// }
if (fnRemoveBrank(theForm.tel.value) == "")
{
alert("请输入联系电话!");
theForm.tel.focus();
return (false);
}
var objv = fnRemoveBrank(theForm.email.value);
var pattern = /^([a-zA-Z0-9_-])+(\.([a-zA-Z0-9_-])+)*@([a-zA-Z0-9_-])+(\.([a-zA-Z0-9_-])+)+$/;
flag = pattern.test(objv);
if(!flag)
{
alert("电子邮件:格式不正确!请重新输入。");
theForm.email.focus();
return (false);
}
// if (fnRemoveBrank(theForm.sumup.value) == "")
// {
// alert("请输入特点概括!");
// theForm.sumup.focus();
// return (false);
// }
// if (fnRemoveBrank(theForm.appraise.value) == "")
// {
// alert("请输入自我评价!");
// theForm.appraise.focus();
// return (false);
// }
// if ((theForm.appraise.value).lenB()>=8000)
// {
// alert("自我评价太长了,要求不多于2000个字符!");
// theForm.appraise.focus();
// return (false);
// }
}
function Juges(theForm)
{
if (fnRemoveBrank(theForm.start_year.value) == "0")
{
alert("请选择时间!");
theForm.start_year.focus();
return (false);
}
if (fnRemoveBrank(theForm.start_month.value) == "0")
{
alert("请选择时间!");
theForm.start_month.focus();
return (false);
}
if (fnRemoveBrank(theForm.school.value) == "")
{
alert("请输入学校名称!");
theForm.school.focus();
return (false);
}
if (fnRemoveBrank(theForm.mainprofession.value) == "")
{
alert("请选择专业!");
theForm.mainprofession.focus();
return (false);
}
if (fnRemoveBrank(theForm.subprofession.value) == "")
{
alert("请选择专业!");
theForm.subprofession.focus();
return (false);
}
if (fnRemoveBrank(theForm.edu.value) == "")
{
alert("请选择学历!");
theForm.edu.focus();
return (false);
}
}
function Juget(theForm)
{
if (fnRemoveBrank(theForm.start_year.value) == "0")
{
alert("请选择培训时间!");
theForm.start_year.focus();
return (false);
}
if (fnRemoveBrank(theForm.start_month.value) == "0")
{
alert("请选择培训时间!");
theForm.start_month.focus();
return (false);
}
if (fnRemoveBrank(theForm.train.value) == "")
{
alert("请输入培训机构!");
theForm.train.focus();
return (false);
}
if (fnRemoveBrank(theForm.course.value) == "")
{
alert("请输入培训课程!");
theForm.course.focus();
return (false);
}
}
function Jugel(theForm)
{
if (fnRemoveBrank(theForm.language.value) == "0")
{
alert("请选择外语语种!");
theForm.language.focus();
return (false);
}
if (fnRemoveBrank(theForm.master.value) == "0")
{
alert("请选择掌握程度!");
theForm.master.focus();
return (false);
}
}
function Jugew(theForm)
{
if (fnRemoveBrank(theForm.start_year.value) == "0")
{
alert("请选择时间!");
theForm.start_year.focus();
return (false);
}
if (fnRemoveBrank(theForm.start_month.value) == "0")
{
alert("请选择时间!");
theForm.start_month.focus();
return (false);
}
if (fnRemoveBrank(theForm.comname.value) == "")
{
alert("请输入公司名称!");
theForm.comname.focus();
return (false);
}
if (fnRemoveBrank(theForm.ecoclass.value) == "")
{
alert("请选择公司性质!");
theForm.ecoclass.focus();
return (false);
}
if (fnRemoveBrank(theForm.trade.value) == "")
{
alert("请选择所属行业!");
theForm.trade.focus();
return (false);
}
if (fnRemoveBrank(theForm.mainposition.value) == "")
{
alert("请选择岗位!");
theForm.mainposition.focus();
return (false);
}
if (fnRemoveBrank(theForm.subposition.value) == "")
{
alert("请选择岗位!");
theForm.subposition.focus();
return (false);
}
if (fnRemoveBrank(theForm.dept.value) == "")
{
alert("请输入所在部门!");
theForm.dept.focus();
return (false);
}
if (fnRemoveBrank(theForm.place.value) == "")
{
alert("请输入职位名称!");
theForm.place.focus();
return (false);
}
}
function jumpwindow(i){
document.all.bodyly.style.display="block";
document.all.bodyly.style.width=document.body.clientWidth;
document.all.bodyly.style.height=document.body.clientHeight;
//this.style.display='block';
document.getElementById("jumply"+i).style.display='block';
}
function unwindow(i){
document.all.bodyly.style.display='none';
//this.style.display='none';
document.getElementById("jumply"+i).style.display='none';
}
-->
</script></head>
<body>
<center>
<div id="bodyly" style="position:absolute;top:0px;FILTER: alpha(opacity=30);background-color:#333; z-index:0;left:0px;display:none;"></div>
<iframe height=0 width=0 src="" id="hukoucapitalframe"></iframe>
<iframe height=0 width=0 src="" id="hukoucityframe"></iframe>
<iframe height=0 width=0 src="" id="capitalframe"></iframe>
<iframe height=0 width=0 src="" id="cityframe"></iframe>
<iframe height=0 width=0 src="" id="positionframe"></iframe>
<iframe height=0 width=0 src="" id="mainpositionframe"></iframe>
<iframe height=0 width=0 src="" id="professionframe"></iframe>
<div id="head">
<div id="logo"><img src="<%=SiteUrl&InstallDir&LogoUrl%>" alt="欢迎访问<%=SiteName%>" /></div>
<div id="banner"><%Call Loginshow()%></div>
<ul><%Call Membernav(1)%></ul>
</div>
<%Call Pmembermenu(2)%>
<div class="maintaba">
<span class="maintit">新建简历:<%=session(""&FRHRCMS&"resume_title")%></span>
<%
rid=trim(request("rid"))
Action=trim(Request("Action"))
Select Case Action
Case "Addnew"
Call Addone()
Case "Addtwo"
Call addtwo()
Case "Addthree"
Call addthree()
Case "SaveAddone"
Call SaveAddone()
Case "Saveedu"
Call Saveedu()
Case "Savetrain"
Call Savetrain()
Case "Savelang"
Call Savelang()
Case "Savework"
Call Savework()
Case "Deledu"
Call Deledu()
Case "Deltrain"
Call Deltrain()
Case "Dellang"
Call Dellang()
Case "Delwork"
Call Delwork()
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -