📄 edit1.asp
字号:
<%@ codepage ="936" %><%if id=session("id") thensession("pageid")="job"response.redirect "../login/login.asp"elseid=session("id")%><!--#include file="../../conn/dbconn2.asp"--><script LANGUAGE="JavaScript">function check(){if (document.Form1.showname.value==""){alert("招聘主题不能为空")document.Form1.showname.focus()document.Form1.showname.select()return}if (document.Form1.zrs.value==""){alert("招聘人数不能为空")document.Form1.zrs.focus()document.Form1.zrs.select()return}if (isNaN(Form1.zrs.value)){alert("招聘人数只能填数字!");Form1.zrs.focus(); return (false);}if (document.Form1.xs.value==""){alert("工作地点不能为空")document.Form1.xs.focus()document.Form1.xs.select()return} if (document.Form1.content.value==""){alert("招聘内容不能为空")document.Form1.content.focus()document.Form1.content.select() return}if (document.Form1.linkman.value==""){alert("联系人不能为空")document.Form1.linkman.focus()document.Form1.linkman.select() return}if (document.Form1.company.value==""){alert("公司名称不能为空")document.Form1.company.focus()document.Form1.company.select() return} if (document.Form1.address.value==""){alert("联系地址不能为空")document.Form1.address.focus()document.Form1.address.select() return}if (document.Form1.country.value==""){alert("所在区域不能为空")document.Form1.country.focus()document.Form1.country.select() return}if (document.Form1.city.value==""){alert("所在城市不能为空")document.Form1.city.focus()document.Form1.city.select() return} if (document.Form1.phone.value==""){alert("联系电话不能为空")document.Form1.phone.focus()document.Form1.phone.select() return}if (document.Form1.email.value==""){alert("电子邮件不能为空")document.Form1.email.focus()document.Form1.email.select() return} document.Form1.submit()}</SCRIPT><%if not isEmpty(request("info_id")) theninfo_id=request("info_id")elseinf_id=1end ifsql="select * from job where info_id="+cstr(info_id)+" order by info_ID desc"Set rs= Server.CreateObject("ADODB.Recordset") rs.open sql,conn,1,1 %><script language="javascript">function show_sader(mylink){window.open(mylink,'','top=50,left=50,width=430,height=450,scrollbars=no')}</script><script language="javascript">function show_sader(mylink){window.open(mylink,'','top=50,left=50,width=430,height=450,scrollbars=no')}</script><head><STYLE type=text/css>TD {COLOR: #000; FONT-FAMILY: 宋体; FONT-SIZE: 12px}.GR {COLOR: #666}</STYLE></head><BODY text=#000000 leftMargin=0 topMargin=0 marginheight="0" marginwidth="0" bgcolor="#FBFDFF"><div align="center"><center><table border="0" cellspacing="1" style="border-collapse: collapse" bordercolor="#111111" width="98%" id="AutoNumber1"><tr><td width="100%" bgcolor="#E1EFFF"><div align="center"><center><TABLE cellSpacing=0 cellPadding=0 width="99%" bgColor=#ffffff border=0 style="border-collapse: collapse" bordercolor="#111111"><TBODY><tr><TD align=middle><CENTER><TABLE border=0 cellSpacing=0 width="100%" style="border-collapse: collapse" height="505" cellpadding="0"><TR><TD width="100%" height="34" bgcolor="#EEF7FF"><table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#111111"><tr> <td><table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber4" height="22"><tr><TD width="770" height="34"><table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#111111"><tr> <td><table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="558" id="AutoNumber1" height="22"><tr><td width="1" valign="bottom"></td><td width="116" background="../images/z7.gif" height="22"> <img border="0" src="../images/cl1.gif"><span style="letter-spacing: 1"><font color="#FFFFFF" style="font-size: 10pt"><b>招聘修改</b></font></span></td><td width="441"> </td></tr></table></td></tr><tr><td bgcolor=999999></td></tr></table></TD></tr></table></td></tr></table></TD></TR><FORM method="POST" action=Save_Edit.asp?info_id=<%=rs("info_id")%> name="Form1"><TR><TD height="17" bgcolor="#EEF7FF" width="100%"><table border="1" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber2" bordercolorlight="#FFFFFF" bordercolordark="#FFFFFF" height="508"><tr><TD colspan="4" height="20" bgcolor="#EEF7FF" width="750"><table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber2"><tr><TD height="17" bgcolor="#EEF7FF" width="770"><table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber2"><tr><td width="62%"><span style="font-size: 10.5pt"><b> <img border="0" src="../images/bul_arrowGrnSm1.gif"> 招聘信息</b></span></td><td width="38%"><font color=#ff6600>【</font><font color="#FF6600">*</font><font color=#ff6600>为必填写】 【<a href='javascript:show_sader("explanation.asp")' style="text-decoration: none"><font color=#ff6600>发布须知</font></a>】</td></tr></table></TD></tr></table></TD></tr><tr><TD align=right width=193 height="27" bgcolor="#ACD6FF">招聘主题:</td><TD width="554" height="27" bgcolor="#ACD6FF" colspan="3"> <input type="text" size="35" name="showname" value="<%=rs("showname")%>"> <font color="#FF6600">*</font></td></tr><tr><TD align="right" width="193" height="23" bgcolor="#EEF7FF">有 效 期:</TD><TD width=554 height="23" bgcolor="#EEF7FF" colspan="3"> <select size="1" name="period" class="f11"> <option value="<%=rs("period")%>" selected><%=rs("period")%></option><option value="一周">一周</option><option value="半月">半月</option><option value="一个月">一个月</option><option value="三个月">三个月</option><option value="六个月">六个月</option><option value="一年">一年</option><option value="长期">长期</option></select> <font color="#FF6600">*</font></td></tr><tr><TD align="right" width="193" height="27" bgcolor="#ACD6FF">招聘人数:</TD><TD width=554 height="27" bgcolor="#ACD6FF" colspan="3"> <input type="text" size="11" name="zrs" value="<%=rs("zrs")%>"><span class="a9px"><font color="blue"></font>人<font color="blue">(<span style="letter-spacing: 1">为</span></font><span style="font-size: 13px; letter-spacing: 1"><font color="#FF0000">0</font></span><font color="blue"><span style="letter-spacing: 1">表示不限</span>)</font></span><font color="#FF6600">*</font></td></tr><tr><TD align="right" width="193" height="28" bgcolor="#EEF7FF"><p>工作地点:</TD><TD width=554 height="28" bgcolor="#EEF7FF" colspan="3"> <input type="text" size="11" name="xs" value="<%=rs("xs")%>"><font color="#FF6600"> *</font></td></tr><tr><TD align="right" width=193 height="25" bgcolor="#ACD6FF">招聘对象:</td><TD width=554 height="25" bgcolor="#ACD6FF" colspan="3"> <select size="1" style="font-size: 9pt" name="type"><option value="<%=rs("type")%>" selected><%=rs("type")%></option><OPTION value="全职">全职</OPTION> <OPTION value="兼职">兼职</OPTION> <OPTION value="应届生">应届生</OPTION></SELECT><font color="#FF6600"> *</font></td></tr><tr><TD align="right" width="193" height="57" bgcolor="#ACD6FF"> 招聘内容:<br> (最多500字)</TD><TD colspan="3" align="left" width="554" height="57" bgcolor="#ACD6FF"> <textarea rows="8" cols="54" name="content" class="f11" style="font-family: 宋体"><%=rs("content")%></textarea><FONT color="#FF6600"> *</FONT></TD></tr><tr><TD colspan="4" align="center" width="750" height="26" bgcolor="#EEF7FF"><table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber3"><tr><td width="84%"><span style="font-size: 10.5pt"><b> <img border="0" src="../images/bul_arrowGrnSm1.gif"> 联系方式</b></span></td></tr></table></TD></tr><tr><TD align="right" width="193" height="31" bgcolor="#ACD6FF"><span style="letter-spacing: 3">联系人:</span></TD><TD width=192 height="31" bgcolor="#ACD6FF"> <input type="text" class="smallInput" size="20" name="linkman" value=<%=rs("linkman")%>> <font color="#FF6600">*</font></td><TD align="right" width=89 height="31" bgcolor="#ACD6FF">所属公司:</td><TD width=267 height="31" bgcolor="#ACD6FF"> <input type="text" class=smallInput size="20" name="company" value=<%=rs("company")%>></TD></tr><tr><TD align="right" width=193 height="25" bgcolor="#EEF7FF">联系地址:</td><TD width=192 height="25" bgcolor="#EEF7FF"> <input class=smallInput type="text" class=smallInput size="20" name="address" value=<%=rs("address")%>> <font color="#FF6600">*</font></td><TD align="right" width=89 height="25" bgcolor="#EEF7FF">邮政编码:</td><TD width=267 height="25" bgcolor="#EEF7FF"> <input class="smallInput" type="text" size="20" name="postcode" value=<%=rs("postcode")%>></TD></tr><tr><TD align="right" width=193 height="28" bgcolor="#ACD6FF"> <p align="right">所在区域:</td><TD width=192 height="28" bgcolor="#ACD6FF"> <input type="text" class=smallInput size="20" name="country" value=<%=rs("country")%>> <font color="#FF6600">*</font></td><TD align="right" width=89 height="28" bgcolor="#ACD6FF">所在城镇:</td><TD width=267 height="28" bgcolor="#ACD6FF"> <input type="text" class=smallInput size="20" name="city" value=<%=rs("city")%>> <font color="#FF6600">*</font></TD></tr><tr><TD align="right" width=193 height="26" bgcolor="#EEF7FF">联系电话:</td><TD width=192 height="26" bgcolor="#EEF7FF"> <input type="text" class="smallInput" size="20" name="phone" value=<%=rs("phone")%>> <font color="#FF6600">*</font></td><TD align="right" width=89 height="26" bgcolor="#EEF7FF">传真号码:</td><TD width=267 height="26" bgcolor="#EEF7FF"> <input class="smallInput" type="text" size="20" name="fax" value=<%=rs("fax")%>></TD></tr><tr><TD align="right" width=193 height="27" bgcolor="#ACD6FF">电子邮件:</td><TD width=192 height="27" bgcolor="#ACD6FF"> <input class="smallInput" type="text" size="20" name="email" value=<%=rs("mail")%>> <font color="#FF6600">*</font></td><TD align="right" width=89 height="27" bgcolor="#ACD6FF">公司网址:</td><TD width=267 height="27" bgcolor="#ACD6FF"> <input class="smallInput" type="text" size="20" name="web" value=<%=rs("web")%>></TD></tr><tr><TD colspan="4" align="center" width="750" height="12" bgcolor="#EEF7FF"></TD></tr><tr><TD colspan="4" align="center" width="750" height="21" bgcolor="#ACD6FF"><INPUT class="f11" type="button" value="确 定" onclick="check()"> <INPUT class="f11" type="button" value="返 回"></TD></tr><tr><TD colspan="4" align="center" width="750" height="12" bgcolor="#EEF7FF"></TD></tr></table></TD></TR></FORM></TABLE><%end if%></CENTER></TD></tr></TBODY></TABLE></center></div> </td></tr></table></center>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -