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

📄 per_works_add.asp

📁 直接附加数据库! 修改 Include/ Class_Main.asp 为自己信息 后台admin admin 绍兴人才网程序
💻 ASP
字号:
<!--#include file="../Include/Class_Conn.asp" -->
<!--#include file="../Public/Person_Cookies.asp" -->
<!--#include file="../Include/Class_Main.asp" -->
<% 
Dim Param,Perid,Username,Action
Param = Request.QueryString("param")
Action = Request.QueryString("action")
Perid = Session("Person")(2)
Username = Session("Person")(0)
If Action = "submit" Then Call Works_Submit() 

'//关闭数据库连接
CloseDB
 %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href="../Css/Style.css" type=text/css rel=stylesheet>
<title><%= Cls_WebName %> -- 个人会员管理中心 -- 添加工作经历</title>
</head>
<script language="JavaScript" src="../js/Person_works_add.js"></script>
<script language="JavaScript" src="../js/funlib.js"></script>
<script language="JavaScript" src="../js/joball.js"></script>

<body>
<table width="768" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td>
      <!--#include file="../Include/Header.asp" -->
    </td>
  </tr>
</table>
<table width="956" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr> 
    <td><table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr> 
          <td height="4"></td>
        </tr>
        <tr> 
          <td height="1" bgcolor="#eeeeee"></td>
        </tr>
      </table>
      <table width="956" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr> 
          <td width="175">
            <!--#include file="../Public/Person_Left.asp" -->
          </td>
          <td width="5">&nbsp;</td>
          <td valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <form action="?action=submit" name="works" method="post" onSubmit="return works_check();">
                <tr> 
                  <td><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="eeeeee">
                      <tr> 
                        <td bgcolor="#FFFFFF"><table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
                            <tr> 
                              <td height="2"></td>
                            </tr>
                          </table>
                          <table width="99%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="eeeeee">
                            <tr> 
                              <td height="25" bgcolor="f5f5f5"><b><font color="#000000">&nbsp;添加工作经历</font></b></td>
                            </tr>
                          </table>
                          <table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
                            <tr> 
                              <td width="18%" height="25" align="right"><STRONG><FONT 
                  color=#ff6600>* </FONT></STRONG>时间范围:</td>
                              <td height="25"><input name="begin_year" type="text" id="begin_year" size="4" maxlength="4" >
                                年<span style="FONT-FAMILY: 宋体; FONT-SIZE: 12px"><font> 
                                <select name=begin_month id="begin_month">
                                  <%for i=1 to 12%>
                                  <option value="<%=i%>"><%=i%></option>
                                  <%next%>
                                </select>
                                </font></span>月 -- 
                                <input name="end_year" type="text" id="end_year" size="4" maxlength="4">
                                年<span style="FONT-FAMILY: 宋体; FONT-SIZE: 12px"><font> 
                                <select name=end_month id="end_month">
                                  <%for i=1 to 12%>
                                  <option value="<%=i%>"><%=i%></option>
                                  <%next%>
                                </select>
                                </font></span>月</td>
                            </tr>
                            <tr> 
                              <td width="18%" height="25" align="right" bgcolor="f9f9f9"><STRONG><FONT 
                  color=#ff6600>* </FONT></STRONG>企业名称:</td>
                              <td height="25" bgcolor="f9f9f9"> <input name="companyname" maxLength=50 size=30 style="width:260px;"> 
                              </td>
                            </tr>
                            <tr> 
                              <td height="25" align="right">所属行业:</td>
                              <td height="25"><select name="industry" id="industry" style="width:260px;">
                                  <option value="1">互联网、电子商务</option>
                                  <option value="2">计算机业(软件、数据库、系统集成)</option>
                                  <option value="3">计算机业(硬件、网络设备)</option>
                                  <option value="4">电子、微电子技术</option>
                                  <option value="5">通讯、电信业</option>
                                  <option value="6">家电业</option>
                                  <option value="7">批发零售(百货、超市、专卖店)</option>
                                  <option value="8">贸易、商务、进出口</option>
                                  <option value="9">电气</option>
                                  <option value="10">电力、能源、矿产业</option>
                                  <option value="11">石油、化工业</option>
                                  <option value="12">生物工程、制药、环保</option>
                                  <option value="13">机械制造、机电设备、重工业</option>
                                  <option value="14">汽车、摩托车</option>
                                  <option value="15">仪器仪表、电工设备</option>
                                  <option value="16">广告、公关、设计</option>
                                  <option value="17">媒体、影视制作、新闻出版</option>
                                  <option value="18">艺术、文化传播</option>
                                  <option value="19">快速消费品(食品、饮料、粮油、化妆品、烟酒)</option>
                                  <option value="20">纺织品业(服饰、鞋类、家纺用品、皮具)</option>
                                  <option value="21">咨询业(顾问、会计师、审计师、法律)</option>
                                  <option value="22">金融业(投资、保险、证券、银行、基金)</option>
                                  <option value="23">建筑、房地产、物业管理、装潢</option>
                                  <option value="24">餐饮、娱乐、酒店</option>
                                  <option value="25">运输、物流、快递</option>
                                  <option value="26">旅游业</option>
                                  <option value="27">办公设备、文化体育休闲用品、家居用品</option>
                                  <option value="28">印刷、包装、造纸</option>
                                  <option value="29">生产、制造、加工</option>
                                  <option value="30">教育、培训、科研院所</option>
                                  <option value="31">医疗、保健、卫生服务</option>
                                  <option value="32">英才交流、中介</option>
                                  <option value="33">协会、社团、政府公用事业、社区服务</option>
                                  <option value="34">农、林、牧、副、渔业</option>
                                  <option value="35">其他</option>
                                </select> </td>
                            </tr>
                            <tr> 
                              <td height="25" align="right" bgcolor="f9f9f9">企业性质:</td>
                              <td height="25" bgcolor="f9f9f9"><select name="properity" style="width:260px;">
                                  <option value="1">国有企业</option>
                                  <option value="2">外资企业</option>
                                  <option value="3">合资企业</option>
                                  <option value="4">私营企业</option>
                                  <option value="5">民营企业</option>
                                  <option value="6">股份制企业</option>
                                  <option value="7">集体企业</option>
                                  <option value="8">集体事业</option>
                                  <option value="9">乡镇企业</option>
                                  <option value="10">行政机关</option>
                                  <option value="11">社会团体</option>
                                  <option value="12">事业单位</option>
                                  <option value="13">跨国企业</option>
                                  <option value="14">其他</option>
                                </select></td>
                            </tr>
                            <tr> 
                              <td height="25" align="right"><STRONG><FONT 
                  color=#ff6600>* </FONT></STRONG>担任职位:</td>
                              <td height="25"><SELECT name=workclass style="width:120px;" onChange="document.works.workname.value=document.works.worksubclass.value">
                                </SELECT> <select name=worksubclass style="width:130px;" onChange="document.works.workname.value=document.works.worksubclass.value">
                                </select> </td>
                            </tr>
                            <tr> 
                              <td height="25" align="right" bgcolor="f9f9f9">&nbsp;</td>
                              <td height="25" bgcolor="f9f9f9"> <input name="workname" type="text"  maxlength="60" style="width:260px;" onClick="document.works.workname.value=document.works.worksubclass.value"> 
                              </td>
                            </tr>
                            <tr> 
                              <td height="25" align="right"><STRONG><FONT 
                  color=#ff6600>* </FONT></STRONG>工作描述:</td>
                              <td height="25"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                  <tr> 
                                    <td><textarea name="workmemo" cols="45" rows="8" id="workmemo"></textarea></td>
                                    <td width="27%">强调参与哪些重要项目/事务,突出个人工作业绩。另外,如果您要保密个人简历,请不在此透露身份信息 
                                      . </td>
                                  </tr>
                                </table></td>
                            </tr>
                            <tr> 
                              <td height="25" align="right" bgcolor="f9f9f9">离职原因:</td>
                              <td height="25" bgcolor="f9f9f9"> <input name="demission" id="demission" style="width:260px;" size=30 maxLength=50>
                                简明扼要地阐述离职原因</td>
                            </tr>
                          </table>
                          <table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
                            <tr> 
                              <td height="2"></td>
                            </tr>
                          </table></td>
                      </tr>
                    </table></td>
                </tr>
                <tr> 
                  <td height="40" align="center"> <input name="perid" type="hidden" id="perid" value="<%= Perid %>"> 
                    <input name="username" type="hidden" value="<%= Username %>"> 
                    <input type="submit" name="Submit" value=" 保存工作经历数据 " style="height:35px;"> 
                    <SCRIPT language=JavaScript>
			  
  var objJobSelector, objJobSubSelector

  objJobSelector = new JobCategoryAssociateList(document.works.workclass, null, document.works.worksubclass, PCLOptions);
  objJobSelector.init();
  objJobSubSelector = new JobCategoryAssociateList(document.works.worksubclass, document.works.workclass, null, CCLOptions);
  objJobSubSelector.init();  
                    </SCRIPT> </td>
                </tr>
              </form>
            </table></td>
        </tr>
      </table>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td height="1" bgcolor="#eeeeee"></td>
  </tr>
</table>
<!--#include file="../Include/Footer.asp" -->
	  </td>
  </tr>
</table>

</body>
</html>
<% 
Sub Works_Submit() '//添加工作经历
 Call Check_url()    '防止外部站点提交数据
 '//提交数据
 Perid                = Session("Person")(2)
 Username             = Session("Person")(0)
 Begin_Year           = Replace_Text(Request.Form("Begin_Year"))
 Begin_Month          = Replace_Text(Request.Form("Begin_Month"))
 End_Year             = Replace_Text(Request.Form("End_Year"))
 End_Month            = Replace_Text(Request.Form("End_Month"))
 CompanyName          = Replace_Text(Request.Form("CompanyName"))
 Properity            = Replace_Text(Request.Form("Properity"))
 Industry             = Replace_Text(Request.Form("Industry"))
 WorkName             = Replace_Text(Request.Form("WorkName"))
 WorkMemo             = Replace_Text(Request.Form("WorkMemo"))
 Demission            = Replace_Text(Request.Form("Demission"))
 
 SQL = "Insert Into [pH_Person_Work] (Perid,Username,Begin_Year,Begin_Month,End_Year,End_Month,CompanyName,Properity,Industry,WorkName,WorkMemo,Demission) Values ('"&Perid&"','"&UserName&"',"&Begin_Year&","&Begin_Month&","&End_Year&","&End_Month&",'"&CompanyName&"',"&Properity&","&Industry&",'"&WorkName&"','"&WorkMemo&"','"&Demission&"')"
 Conn.Execute(SQL)

 '//更改最后修改时间
 SQL = "Update [pH_Person_Base] Set LastUpdate_Time='"&Now()&"' Where Perid='"&Perid&"'"
 Conn.Execute(SQL)
 
 CloseDB
 Response.redirect "Per_Works.asp"
End Sub


 %>

⌨️ 快捷键说明

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