📄 train_add.asp
字号:
<%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 language="JavaScript">
<!--
function GetProfession(professionid)
{
document.frames["professionframe"].location.replace("../inc/getprofession2.asp?professionid="+professionid);
}
//功能:去掉字符串前后空格
//返回值:去掉空格后的字符串
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.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);
}
}
-->
</script>
</head>
<body>
<!--#include file="../inc/head.asp"-->
<br class="br">
<iframe height=0 width=0 src="" id="professionframe"></iframe>
<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"> <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="500" colspan="2" valign="top"><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="orange-bar">
<tr>
<td width="2%" align="right"> </td>
<td width="97%" class="white14"> 培训</td>
<td width="1%"> </td>
</tr>
</table><TABLE width="98%" border=0 align="center" cellPadding=6 cellSpacing=0>
<%
action=cint(trim(request("action")))
rid=clng(trim(request("rid")))
%><form name="trainadd" action="train_save.asp?action=<%=action%>&rid=<%=rid%>" method="post" onSubmit="return Juge(this)">
<TBODY>
<TR bgcolor="#efefef">
<TD noWrap align=left colSpan=2 height=35><FONT
color=#333333>(注:带</FONT><FONT
color=#ff6600>*</FONT><FONT color=#b00000><FONT
color=#333333>号为必填项)</FONT></FONT> </TD>
</TR>
<TR bgcolor="#f9f9f9">
<TD width="16%" height="30"><FONT
color=#ff6600>*</FONT>培训时间:</TD>
<TD width="84%">从
<select name="start_year" id="start_year">
<option value=0 selected>年</option>
<%
for i=year(date())-70 to year(date())
response.write "<option value='"&i&"'>"&i&"</option>"
next
%>
</select>
<select name="start_month" id="select7">
<option value=0 selected>月</option>
<%
for i=1 to 12
response.write "<option value='"&i&"'>"&i&"</option>"
next
%>
</select>
到
<select name="end_year" id="select3">
<option value=0 selected>年</option>
<%
for i=year(date())-70 to year(date())
response.write "<option value='"&i&"'>"&i&"</option>"
next
%>
</select>
<select name="end_month" id="select4">
<option value=0 selected>月</option>
<%
for i=1 to 12
response.write "<option value='"&i&"'>"&i&"</option>"
next
%>
</select>
(后两项不填表示至今) </TD>
</TR>
<TR bgcolor="#efefef">
<TD width="16%" height="30"><FONT
color=#ff6600>*</FONT>培训机构:</TD>
<TD width="84%"><INPUT name=train id="train" size=50 maxLength=50>
</TD>
</TR>
<TR bgcolor="#f9f9f9">
<TD width="16%" height="30">培训地点:</TD>
<TD width="84%"><INPUT name=address id="address" size=50 maxLength=50>
</TD>
</TR>
<TR bgcolor="#efefef">
<TD width="16%" height="30"><FONT
color=#ff6600>*</FONT>培训课程:</TD>
<TD width="84%"><INPUT name=course id="course" size=50 maxLength=50>
</TD>
</TR>
<TR bgcolor="#f9f9f9">
<TD width="16%" height="30">获得证书:</TD>
<TD width="84%"><FONT color=#993300>
<input name=certificate id="course22" size=50 maxlength=50>
</FONT></TD>
</TR>
<TR bgcolor="#efefef">
<TD width="16%" height="30" vAlign=top>详细描述:</TD>
<TD width="84%"><TEXTAREA name=detail cols=55 rows="8" id="detail" style="HEIGHT: 150px"></TEXTAREA>
</TD>
</TR>
</TBODY>
</TABLE>
<br class="br">
<TABLE width="98%" border=0 align="center" cellPadding=6 cellSpacing=0 bgColor=#f1b5a1>
<TBODY>
<TR>
<TD bgColor=#ffffff align="center"> <INPUT name=Save type=submit class="inputa3" value=保 存>
<INPUT name=Exit type=button class="inputa3" onClick="javascript:window.location.href='educations.asp?lang=<%=lang%>&action=<%=action%>&rid=<%=rid%>'" value=返 回> </TD>
</TR>
</TBODY>
</TABLE>
</form>
</td>
</tr>
</table>
<!--#include file="../inc/bottom.asp"-->
</body>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -