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

📄 personinfo_modi.asp

📁 嘉缘人才6.0精简 ,很好用的人才系统
💻 ASP
📖 第 1 页 / 共 2 页
字号:
<%ds="../"%>
<!--#include file="../conn/conn.asp" -->
<!--#include file="../inc/sub.asp"-->
<!--#include file="checkpmember.asp" -->
<!--#include file="../inc/replace.asp" -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>个人基本资料-个人求职管理中心-<%=SiteName%></title>
<LINK href="../css/css.css" rel=stylesheet>
<script type="text/javascript" src="../inc/hzcalendar.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 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.name.value) == "")
  {
    alert("请输入姓名!");
    theForm.name.focus();
    return (false);
  }
  if (fnRemoveBrank(theForm.birth.value) == "")
  {
    alert("请输入出日期!");
    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);
  } 
 }
-->
</script>
</head>
<body>
<!--#include file="../inc/head.asp"-->
<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="capitalframe"></iframe>
<iframe height=0 width=0 src="" id="cityframe"></iframe>
<iframe height=0 width=0 src="" id="mainpositionframe"></iframe>
<iframe height=0 width=0 src="" id="positionframe"></iframe>
<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="capitalframe"></iframe>
<iframe height=0 width=0 src="" id="cityframe"></iframe>
<br class="br">
<table width="778" border="0" align="center" cellpadding="0" cellspacing="0" class="table2">
  <tr>
    <td width="200" height="299" rowspan="4" valign="top"><!--#include file="menu.asp" --></td>
  </tr>
  <tr>
    <td width="639" height="35" background="../images/companyleftregbg.gif">&nbsp;<font class=font-14><b><img src="../images/arrow_01.gif" width="11" height="11" align="absmiddle"> </b></font><font class=font-14><b>姓名:</b></font><font 
            class=font-title color="#FF6600"><%=session("user_pname")%></FONT></td>
    <td width="122" background="../images/companyleftregbg.gif"><font 
            class=font-title color="#FF6600"><A 
            style="CURSOR: hand" 
            href="logout.asp"><IMG src="../images/exit.gif" width=79 
            height=19 border="0"></A></font></td>
  </tr>
  <tr>
    <td height="223" colspan="2" valign="top"><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="orange-bar">
        <tr>
          <td width="2%" align="right">&nbsp;</td>
          <td width="97%" class="white14">  个人基本资料</td>
          <td width="1%">&nbsp;</td>
        </tr>
      </table><TABLE cellSpacing=2 cellPadding=3 width=100% border=0 align="center">
	  <% 
	   action=cint(trim(request("action")))
       rid=clng(trim(request("rid")))
	   set rst=server.createobject("ADODB.Recordset")
       sql="select * from job_p_resume where resume_id="&rid
       rst.open sql,conn,1,1
	    resume_title=rst("resume_title")
		resume_personinfo=rst("resume_personinfo")
		resume_education=rst("resume_education")
		resume_train=rst("resume_train")
		resume_lang=rst("resume_lang")
		resume_work=rst("resume_work")
		resume_careerwill=rst("resume_careerwill")
      %>
	  <form name="infomodi" action="personinfo_save.asp?action=<%=action%>&rid=<%=rid%>" method="post" onSubmit="return Juge(this)">
		
	  
          <TR bgcolor="#f9f9f9">
            <TD width=32 height=29 ><IMG height=11 hspace=10 
            src="../images/biao_01.gif" width=12 align=absMiddle></TD>
            <TD width="92" align=right><font style="font-size:14px" color="#FF6600"><B>简历名称:</B></font></TD>
            <TD width="419"><font style="font-size:14px" color="#FF6600"><B><%=resume_title%></B></font></TD>
          </TR>
        </table>        
        <TABLE cellSpacing=2 cellPadding=3 width=100% border=0 align="center">
          <TBODY>
            <TR bgcolor="#efefef">
              <TD height=27 width="25%"><div align="center"><strong><img src="../images/<%if resume_personinfo=1 then response.write "cv2.gif" else response.write "cv0.gif" end if%>" width="18" height="16"><a href="personinfo_modi.asp?action=1&rid=<%=rid%>" class="04d">个人基本信息</a></strong></div></TD>
              <TD width="25%"><div align="center"><strong><img src="../images/<%if (resume_education=1 and resume_train=1 and resume_lang=1) then response.write "cv2.gif" else if (resume_education=0 and resume_train=0 and resume_lang=0) then response.write "cv0.gif" else response.write "cv1.gif" end if end if%>" width="18" height="16"><a href="educations.asp?action=1&rid=<%=rid%>" class="04d">教育/培训/语言</a></strong></div></TD>
              <TD width="25%"><div align="center"><strong><img src="../images/<%if resume_work=1 then response.write "cv2.gif" else response.write "cv0.gif" end if%>" width="18" height="16"><a href="works.asp?action=1&rid=<%=rid%>" class="04d">工作经历</a></strong></div></TD>
              <TD width="25%"><div align="center"><strong><img src="../images/<%if resume_careerwill=1 then response.write "cv2.gif" else response.write "cv0.gif" end if%>" width="18" height="16"><a href="careerwill.asp?action=1&rid=<%=rid%>" class="04d">求职意向</a></strong></div></TD>
            </TR>
          </TBODY>
        </TABLE>        
        <TABLE height=13 cellSpacing=0 cellPadding=0 width=100% align=center border=0>
          <TBODY>
            <TR>
              <TD height=35 align="center"><FONT color=#333333><STRONG><img src="../images/cv0.gif" width="18" height="16">表示此项栏目未填写&nbsp;&nbsp;&nbsp;<img src="../images/cv1.gif" width="18" height="16">表示此项栏目未填写完整&nbsp;&nbsp;&nbsp;<img src="../images/cv2.gif" width="18" height="16">表示此项栏目已填写完整</STRONG></FONT></TD>
            </TR>
          </TBODY>
        </TABLE>        <br class="br">
        <table width="98%"  border="0" align="center" cellpadding="4" cellspacing="0">
          <tr>
            <td class="prmtopborder2"><span class="font-title">基本资料</span></td>
          </tr>
          <tr>
            <td height="464" valign="top" class="table2"><P style="MARGIN-BOTTOM: 3px; LINE-HEIGHT:180%">&nbsp;
                </P>
                <TABLE width="100%" border="0" align=center cellPadding=6 cellSpacing=0>
                  <TR bgcolor="#efefef">
                    <TD height=28 colSpan=2 align=left noWrap><FONT 
                        color=#333333>(注:带</FONT><FONT 
                        color=#ff6600>*</FONT><FONT color=#b00000><FONT 
                        color=#333333>号为必填项)</FONT></FONT> </TD>
                  </TR>
                  <TBODY>
                    <TR bgcolor="#f9f9f9">
                      <TD width=100 height=30 bgcolor="#f9f9f9">&nbsp;<FONT 
                  color=#ff7800><STRONG>*</STRONG></FONT>姓&nbsp;&nbsp;&nbsp;&nbsp;名:</TD>
                      <TD width="432"><INPUT name=name id="name2" maxLength=25 value="<%=rst("resume_name")%>"></TD>
                    </TR>
                    <TR bgcolor="#efefef">
                      <TD height=30>&nbsp;<FONT 
                  color=#ff7800><STRONG>*</STRONG></FONT>性&nbsp;&nbsp;&nbsp;&nbsp;别: </TD>
                      <TD><INPUT type=radio value=1 name=sex <%if rst("resume_sex")=1 then response.write "checked" end if%>>
          <input type=radio value=2 name=sex <%if rst("resume_sex")=2 then response.write "checked" end if%>>
        女 </TD>
                    </TR>
                    <TR bgcolor="#f9f9f9">
                      <TD height=30>&nbsp;<FONT 
                  color=#ff7800><STRONG>*</STRONG></FONT>出生日期: </TD>
                      <TD><input type="text" name="birth" id="birth" size="10" maxlength="10" value="<%=rst("resume_birth")%>">
                      <img src="../images/calendar_bnt.gif" style="cursor:pointer;" align="absmiddle" onClick="fPopUpCalendarDlg(birth);return false" WIDTH="34" HEIGHT="21"></TD>
                    </TR>
                    <TR bgcolor="#efefef">
                      <TD height=30>&nbsp;<FONT 
                  color=#ff7800><STRONG>*</STRONG></FONT>证件类型:</TD>
                      <TD><SELECT name=cardtype size=1 id="cardtype">
                          <OPTION value=0 <%if rst("resume_cardtype")=0 then response.write "select" end if%>>身份证</OPTION>
                          <OPTION value=1 <%if rst("resume_cardtype")=1 then response.write "select" end if%>>驾证</OPTION>
                          <OPTION value=2 <%if rst("resume_cardtype")=2 then response.write "select" end if%>>军官证</OPTION>
                          <OPTION value=3 <%if rst("resume_cardtype")=3 then response.write "select" end if%>>护照</OPTION>
                          <OPTION value=4 <%if rst("resume_cardtype")=4 then response.write "select" end if%>>其它</OPTION>
                        </SELECT>
&nbsp;&nbsp;证件编号:
        <INPUT name=idcard id="idcard" maxLength=20 value="<%=rst("resume_idcard")%>"></TD>
                    </TR>
                    <TR bgcolor="#f9f9f9">
                      <TD height=30>&nbsp;民&nbsp;&nbsp;&nbsp;&nbsp;族:</TD>
                      <TD><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 rst("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>
                    </TR>
                    <TR bgcolor="#efefef">
                      <TD height=30>&nbsp;婚姻状况:</TD>
                      <TD><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 rst("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

⌨️ 快捷键说明

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