?? save_info.asp
字號:
<!--#include file="../../conn/conn.asp"-->
<!--#include file="../../inc/safe.asp"-->
<%
Response.Buffer = true
Response.ExpiresAbsolute=now()-1
Response.Expires=0
Response.CacheControl="no-cache"
%>
<%
if Not ChkPost then
response.redirect ("../../login/chklogin.asp?login=4")
response.end
end if
if session("flag")<>1 then
response.Redirect("../../login/login1.asp")
response.end
end if
%>
<%
showname=Replace_Text(request("showname"))
zrs=Replace_Text(request("zrs"))
xs=Replace_Text(request("xs"))
mmfx=Replace_Text(request("type"))
period=Replace_Text(request("period"))
content=Replace_Text(request("content"))
gsid=session("id")
set rs=server.createobject("adodb.recordset")
sql="select * from work where gsid="&gsid&" and showname='"&showname&"'"
rs.open sql,conn,1,3
if not rs.eof then
response.write"<SCRIPT language=JavaScript>alert('對不起,您已經提交過此信息!');"
response.write"javascript:history.go(-1)</SCRIPT>"
response.end
else
rs("showname")=showname
rs("zrs")=zrs
rs("xs")=xs
rs("type")=mmfx
rs("period")=period
rs("content")=content
rs("gsid")=gsid
rs("dateandtime")=now()
rs.update
rs.close
set rs=noting
conn.close
set conn=nothing
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>操作成功</title>
<link href="../../images/css.css" rel="stylesheet" type="text/css">
<meta HTTP-EQUIV=refresh Content='1;url=work.asp'>
</head>
<table border="0" cellspacing="0" width="100%" cellpadding="0" height="418" style="border-collapse: collapse" bordercolor="#111111">
<tr>
<td width="100%" height="418" valign="middle" align="center">
<b>恭喜您,招聘信息成功!<a href="work.asp">返回</a></b></td>
</tr>
</table>
</body>
</html>
<%end if%>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -