⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 person_modiresume.asp

📁 嘉缘人才6.0精简 ,很好用的人才系统
💻 ASP
📖 第 1 页 / 共 2 页
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="../conn/conn.asp"-->
<!--#include file="../inc/Commoncode.asp"-->
<!--#include file="../inc/CommonFunction.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></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 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.dept.value) == "")
  {
    alert("请输入所在部门!");
    theForm.dept.focus();
    return (false);
  }
  if (fnRemoveBrank(theForm.place.value) == "")
  {
    alert("请输入职位名称!");
    theForm.place.focus();
    return (false);
  }
 }
-->
</script></head>
<body>
<center>
<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>
<%
rid=trim(request("rid"))
Action=trim(Request("Action"))
Select Case Action
	Case "Modilang"
		Call Modilang()
	Case "Modiwork"
		Call Modiwork()
	Case "Modiedu"
		Call Modiedu()
	Case "Moditrain"
		Call Moditrain()
	Case "Modilang"
		Call Modilang()
	Case "Modiwork"
		Call Modiwork()
	Case "Saveedu"
		Call Saveedu()
	Case "Savetrain"
		Call Savetrain()
	Case "Savelang"
		Call Savelang()
	Case "Savework"
		Call Savework()
End Select

if FoundErr=True then
	call Show_Err()
end if

Conn.Close
Set Conn=Nothing%>
<%Sub Modiedu()%>
<div class="addedutab" id="addedu">
<%education_id=clng(trim(request("id")))
set rst=server.createobject("ADODB.Recordset")
sql="select * from job_p_education where education_id="&education_id
rst.open sql,conn,1,1
education_school=rst("education_school")
education_detail=rst("education_detail")
education_startyear=rst("education_startyear")
education_startmonth=rst("education_startmonth")
education_endyear=rst("education_endyear")
education_endmonth=rst("education_endmonth")
education_mainprofession=rst("education_mainprofession")
education_subprofession=rst("education_subprofession")
education_edu=rst("education_edu")
rst.close
set rst=nothing%><form name="eduadds" action="person_modiresume.asp?Action=Saveedu&lang=<%=lang%>&rid=<%=rid%>" method="post" onsubmit="return Juges(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())
if education_startyear=i then
response.write "<option value="&i&" selected>"&i&"</option>"
else
response.write "<option value="&i&">"&i&"</option>"
end if
next
%>
</select>
<select name="start_month" id="start_month">
<option value="0" selected="selected">月</option>
<%
for i=1 to 12
if education_startmonth=i then
response.write "<option value="&i&" selected>"&i&"</option>"
else
response.write "<option value="&i&">"&i&"</option>"
end if
next
%>
</select>
<select name="end_year" id="end_year">
<option value="0" selected="selected">年</option>
<%
for i=year(date())-70 to year(date())
if education_endyear=i then
response.write "<option value="&i&" selected>"&i&"</option>"
else
response.write "<option value="&i&">"&i&"</option>"
end if
next
%>
</select>
<select name="end_month" id="end_month">
<option value="0" selected="selected">月</option>
<%for i=1 to 12
if education_endmonth=i then
response.write "<option value="&i&" selected>"&i&"</option>"
else
response.write "<option value="&i&">"&i&"</option>"
end if
next
%>
</select>
(后两项不填表示至今)</li>
<li><font color="#ff6600"> *</font>学校:
<INPUT name=school id="school" size=50 maxLength=50 value="<%=education_school%>"></li>
<li><font color="#ff6600"> *</font>专业:
<select name="mainprofession" size="1" id="mainprofession" onChange=GetProfession(this.options[this.selectedIndex].value)>
<option value="" selected>---请选择---</option>
<%
Set rs= Server.CreateObject("ADODB.RecordSet")
sql="select profession_id,profession_name from job_profession where profession_fid=0 order by profession_id"
rs.open sql,conn,1,1
do while not rs.eof
if education_mainprofession=rs("profession_id") then
response.write"<OPTION value="&rs("profession_id")&" selected>"&rs("profession_name")&"</option>"
else
response.write"<OPTION value="&rs("profession_id")&">"&rs("profession_name")&"</option>"
end if
rs.movenext
loop
rs.close
%>
</select>
<span id="load400"></span><span id="cprofession">
<select name=subprofession id="subprofession">
  <option value="">---请选择---</option>
<%
if education_mainprofession<>"" and not isnull(education_mainprofession) and education_mainprofession<>0 then
sql="select profession_id,profession_name from job_profession where profession_fid="&education_mainprofession&" order by profession_id "
rs.open sql,conn,1,1
do while not rs.eof
if education_subprofession=rs("profession_id") then
response.write"<OPTION value="&rs("profession_id")&" selected>"&rs("profession_name")&"</option>"
else
response.write"<OPTION value="&rs("profession_id")&">"&rs("profession_name")&"</option>"
end if
rs.movenext
loop
rs.close
end if
%>
</select>
</span></li>
<li><font color="#ff6600"> *</font>学历:
<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 education_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>
</li>
<li>专业描述:
<textarea name="detail" cols="55" id="detail" style="HEIGHT: 150px"><%=ChangeStrbox(education_detail)%></textarea>
</li>
<li><FONT color=#993300>专业描述您可以填写您所学专业包括什么课程,您的毕业设计等等。 </FONT></li>
<li><input name="id" type="hidden" value="<%=education_id%>" /><INPUT name="submit" type="submit" value="保 存">
<INPUT name=Exit type=button class="inputa3" onClick="javascript:addedu.style.display='none'" value="关 闭"></li>
</ul></form>
</div>
<%End Sub%>


<%Sub Moditrain()%>
<div class="addedutab" id="addtrain">
<%
train_id=clng(trim(request("id")))
set rst=server.createobject("ADODB.Recordset")
sql="select * from job_p_training where train_id="&train_id&""
rst.open sql,conn,1,1
train_startyear=rst("train_startyear")
train_startmonth=rst("train_startmonth")
train_endyear=rst("train_endyear")
train_endmonth=rst("train_endmonth")
train_train=rst("train_train")
train_address=rst("train_address")
train_course=rst("train_course")
train_certificate=rst("train_certificate")
train_detail=rst("train_detail")
rst.close
set rst=nothing
%>
<form name="trainadd" action="person_modiresume.asp?Action=Savetrain&rid=<%=rid%>" method="post" onSubmit="return Juget(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())
if train_startyear=i then
response.write "<option value="&i&" selected>"&i&"</option>"
else
response.write "<option value="&i&">"&i&"</option>"
end if
next
%>
</select>
<select name="start_month" id="start_month">
<option value="0" selected="selected">月</option>
<%
for i=1 to 12
if train_startmonth=i then
response.write "<option value="&i&" selected>"&i&"</option>"
else
response.write "<option value="&i&">"&i&"</option>"
end if
next
%>
</select>
<select name="end_year" id="end_year">
<option value="0" selected="selected">年</option>
<%
for i=year(date())-70 to year(date())
if train_endyear=i then
response.write "<option value="&i&" selected>"&i&"</option>"
else
response.write "<option value="&i&">"&i&"</option>"
end if
next
%>
</select>
<select name="end_month" id="end_month">
<option value="0" selected="selected">月</option>
<%
for i=1 to 12
if train_endmonth=i then
response.write "<option value="&i&" selected>"&i&"</option>"
else
response.write "<option value="&i&">"&i&"</option>"
end if
next
%>
</select>
 (后两项不填表示至今)</li>
<li><font color="#ff6600">*</font>培训机构:
  <input name="train" id="train" size="50" maxlength="50" value="<%=train_train%>" />
</li>
<li>  培训地点:
  <input name="address" id="address" size="50" maxlength="50" value="<%=train_address%>" />
</li>
<li><font color="#ff6600">*</font>培训课程:
  <input name="course" id="course" size="50" maxlength="50" value="<%=train_course%>" />
</li>
<li> 获得证书:
  <font color="#993300">
  <input name="certificate" id="certificate" size="50" maxlength="50" value="<%=train_certificate%>" />
  </font></li>
<li>  详细描述:

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -