📄 per_education_edit.asp
字号:
<!--#include file="../Include/Class_Conn.asp" -->
<!--#include file="../Public/Person_Cookies.asp" -->
<!--#include file="../Include/Class_Main.asp" -->
<%
Dim Param,Perid,Username,Action,Ncid
Param = Request.QueryString("param")
Ncid = Replace_Text(Request.QueryString("paramid"))
Action = Request.QueryString("action")
Perid = Session("Person")(2)
Username = Session("Person")(0)
If Action<>"" Then
Select Case Action
Case "edus_submit"
Call Edus_Submit()
Case "trains_submit"
Call Trains_Submit()
End Select
End if
%>
<!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_education_add.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"> </td>
<td valign="top">
<%
Select Case Param
Case "editedus"
Call EditEdus_Sub()
Case "edittrains"
Call EditTrains_Sub()
End Select
Sub EditEdus_Sub()
Set Rs = Conn.Execute("Select * From [pH_Person_Education] Where Perid='"&Perid&"' And Ncid="&Cstr(Ncid))
If Not Rs.Eof Then
Ncid = Rs("Ncid")
SchoolName = Rs("SchoolName")
Edus = Rs("Edus")
Speciality = Rs("Speciality")
Begin_Year = Rs("Begin_Year")
Begin_Month = Rs("Begin_Month")
End_Year = Rs("End_Year")
End_Month = Rs("End_Month")
CertName = Rs("CertName")
Rs.Close
%>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<form action="?action=edus_submit" name="edus" method="post" onSubmit="return edus_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"> 教育经历</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" value="<%= Begin_year %>">
年<span style="FONT-FAMILY: 宋体; FONT-SIZE: 12px"><font>
<select name=begin_month id="begin_month">
<%for i=1 to 12%>
<option <%if i=Begin_Month then response.write "selected"%> value="<%=i%>"><%=i%></option>
<%next%>
</select>
</font></span>月 --
<input name="end_year" type="text" id="end_year" size="4" maxlength="4" value="<%= End_year %>">
年<span style="FONT-FAMILY: 宋体; FONT-SIZE: 12px"><font>
<select name=end_month id="end_month">
<%for i=1 to 12%>
<option <%if i=End_Month then response.write "selected"%> 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="schoolname" type="text" id="schoolname" size="35" maxlength="25" style="width:220px;" value="<%= Schoolname %>">
</td>
</tr>
<tr>
<td height="25" align="right"><STRONG><FONT
color=#ff6600>* </FONT></STRONG>学 历:</td>
<td height="25"><select name="edus" id="edus" style="width:100px;">
<option value="10" <% If Edus = 10 Then Response.write "Selected" %>>小学</option>
<option value="20" <% If Edus = 20 Then Response.write "Selected" %>>初中</option>
<option value="30" <% If Edus = 30 Then Response.write "Selected" %>>高中</option>
<option value="40" <% If Edus = 40 Then Response.write "Selected" %>>中专</option>
<option value="50" <% If Edus = 50 Then Response.write "Selected" %>>专科</option>
<option value="60" <% If Edus = 60 Then Response.write "Selected" %>>本科</option>
<option value="70" <% If Edus = 70 Then Response.write "Selected" %>>硕士</option>
<option value="80" <% If Edus = 80 Then Response.write "Selected" %>>博士</option>
<option value="90" <% If Edus = 90 Then Response.write "Selected" %>>博士后</option>
</select> </td>
</tr>
<tr>
<td height="25" align="right" bgcolor="f9f9f9">专
业:</td>
<td height="25" bgcolor="f9f9f9"><input name="speciality" type="text" id="speciality" size="35" maxlength="25" style="width:220px;" value="<%= Speciality %>"></td>
</tr>
<tr>
<td height="25" align="right">所获证书:</td>
<td height="25"><input name="certname" type="text" size="35" maxlength="25" style="width:220px;" value="<%= Certname %>"></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 name="ncid" type="hidden" value="<%= Ncid %>"> <input type="submit" name="Submit" value=" 保存教育经历数据 " style="height:35px;">
</td>
</tr>
</form>
</table>
<%
Else
Response.write "没有找到该条教育经历!"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -