📄 edit.asp
字号:
<%@ codepage ="936" %>
<%
if instr(session("flag"),"41")=0 then
response.redirect "../login.asp"
response.end
end if
%>
<!--#include file="../../conn/dbconn2.asp" -->
<!--#include file="../classkind.asp"-->
<head>
<STYLE type=text/css>
TD {
COLOR: #000; FONT-FAMILY: 宋体; FONT-SIZE: 12px
}
.GR {
COLOR: #666
}
</STYLE>
<Script LANGUAGE="JavaScript">
function check()
{
if (document.Form1.showname.value=="")
{
alert("招聘信息不能为空")
document.Form1.showname.focus()
document.Form1.showname.select()
return
}
if (document.Form1.content.value=="")
{
alert("招聘内容不能为空")
document.Form1.content.focus()
document.Form1.content.select()
return
}
document.Form1.submit()
}
</SCRIPT>
<%
if not isEmpty(request("info_id")) then
info_id=request("info_id")
else
inf_id=1
end if
sql="select * from work where info_id="+cstr(info_id)+" order by info_ID desc"
Set rs= Server.CreateObject("ADODB.Recordset")
rs.open sql,conn,1,1
%>
</head>
<BODY text=#000000 leftMargin=0 topMargin=0
marginheight="0" marginwidth="0">
<FORM method="POST" action=Save_Edit.asp?info_id=<%=rs("info_id")%> name="Form1">
<table width="604" height="311" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#111111" style="border-collapse: collapse">
<tr bgcolor="#A0CCC8">
<td width="33" align="right" bgcolor="#82AAD2" height="20"> </td>
<td width="319" align="left" colspan="2" bgcolor="#82AAD2" height="20" >
<font color="#FFFFFF"><b> 你要修改的招聘信息</b></font></td>
<td width="14" align="left" height="20" bgcolor="#FFFFFF"> </td>
<td width="431" height="20" colspan="2" bgcolor="#FFFFFF">
<p align="right"><font color=#ff6600>
【※为必填写】</font></td>
</tr>
<tr bgcolor="#F0F4F0" height=25>
<td colspan="3" bgcolor="#DEE9F3" height="12" width="352"></td>
<td width="14" rowspan="7" bgcolor="#DEE9F3" height="133"></td>
<td colspan="2" align="left" bgcolor="#DEE9F3" height="12" width="431">招聘内容:</td>
</tr>
<tr bgcolor="#F0F4F0" height="30">
<td width="133" align="center" colspan="2" bgcolor="#DEE9F3" height="28">
招聘主题:</td>
<td width="219" align="left" bgcolor="#DEE9F3" height="28"> <input type="text" class="smallInput" size="23" name="showname" value=<%=rs("showname")%>>
<font color="#FF6600">※</font></td>
<td width="431" colspan="2" rowspan="6" bgcolor="#DEE9F3" height="121">
<textarea rows="8" cols="33" name="content" style="font-size: 9pt; font-family:宋体"><%=rs("content")%></textarea>
<font color="#FF6600">※</font></td>
</tr>
<tr bgcolor="#F0F4F0" height="30">
<td width="133" align="center" colspan="2" bgcolor="#DEE9F3" height="20">
招聘对象:</td>
<td width="219" align="left" bgcolor="#DEE9F3" height="20"> <select size="1" style="font-size: 9pt" name="type">
<%if rs("type")="全职" then%>
<OPTION value="全职" selected>全职</OPTION>
<%else%>
<OPTION value="全职">全职</OPTION>
<%end if%>
<%if rs("type")="兼职" then%>
<OPTION value="兼职" selected>兼职</OPTION>
<%else%>
<OPTION value="兼职">兼职</OPTION>
<%end if%>
<%if rs("type")="应届生" then%>
<OPTION value="应届生" selected>应届生</OPTION>
<%else%>
<OPTION value="应届生">应届生</OPTION>
<%end if%>
</SELECT> <font color="#FF6600">※</font></td>
</tr>
<tr>
<td width="133" align="center" colspan="2" bgcolor="#DEE9F3" height="21">
招聘人数:</td>
<td width="219" align="left" bgcolor="#DEE9F3" height="21"> <input type="text" size="6" 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 width="133" align="center" colspan="2" bgcolor="#DEE9F3" height="21">
<p>工作地点:</td>
<td width="219" align="left" bgcolor="#DEE9F3" height="21"> <input type="text" size="8" name="xs" value="<%=rs("xs")%>">
</td>
</tr>
<tr bgcolor="#F0F4F0" height="30">
<td width="133" align="center" colspan="2" bgcolor="#DEE9F3" height="25">有
效 期:</td>
<td width="219" align="left" bgcolor="#DEE9F3" height="25"> <select size="1" name="period" style="font-size: 9pt">
<%if rs("period")="一周" then%>
<OPTION value="一周" selected>一周</OPTION>
<%else%>
<OPTION value="一周">一周</OPTION>
<%end if%>
<%if rs("period")="半月" then%>
<OPTION value="半月" selected>半月</OPTION>
<%else%>
<OPTION value="半月">半月
<%end if%>
<%if rs("period")="一个月" then%>
<OPTION value="一个月" selected>一个月</OPTION>
<%else%>
<OPTION value="一个月">一个月</OPTION>
<%end if%>
<%if rs("period")="三个月" then%>
<OPTION value="三个月" selected>三个月</OPTION>
<%else%>
<OPTION value="三个月">三个月</OPTION>
<%end if%>
<%if rs("period")="六个月" then%>
<OPTION value="六个月" selected>六个月</OPTION>
<%else%>
<OPTION value="六个月">六个月</OPTION>
<%end if%>
<%if rs("period")="一年" then%>
<OPTION value="一年" selected>一年</OPTION>
<%else%>
<OPTION value="一年">一年</OPTION>
<%end if%>
<%if rs("period")="长期" then%>
<OPTION value="长期" selected>长期</OPTION>
<%else%>
<OPTION value="长期">长期</OPTION>
<%end if%>
</select> <font color="#FF6600">※</font></td>
</tr>
<tr bgcolor="#F0F4F0" height="25">
<td width="352" align="center" colspan="3" bgcolor="#DEE9F3" height="6"></td>
</tr>
<tr bgcolor="#F0F4F0" height="25">
<td colspan="6" bgcolor="#DEE9F3" height="12" width="755"> <p align="center">
<input type="button" class="smallInput" value="修 改" onclick="check()">
<input type="button" class="smallInput"value="返 回" onclick=javascript:history.go(-1)></td>
</tr>
</table>
</form>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -