?? file_ly.asp
字號:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--#include file="conn.asp"-->
<%
id=request.Form("id")
if id<>"" then
sql="select * from file where id="&id
rs.open sql,conn,1,3
sql1="select * from result where fileid="&id
rs1.open sql1,conn,1,3
rs("zt")=6
if rs1.eof then
rs1.addnew
end if
rs1("title")=rs("title")
rs1("authorname")=rs("authorname")
rs1("username")=rs("username")
rs1("fileid")=rs("id")
rs1("date")=rs("date")
rs1("zt")="錄用"
rs.update
rs1.update
response.Write "<script langurage=javascript> alert('操作成功!')</script>"
rs.close
set rs=nothing
conn.close
set conn=nothing
response.Redirect "admin.asp"
else
ID=Request.querystring("ID")
if id="" then
response.Write "<script langurage=javascript> alert('對不起, 您沒有訪問權限!')</script>"
response.End
end if
sql="select * from file where id="&id
rs.open sql,conn,1,1
%>
<html>
<head>
<link href="style.css" rel="stylesheet" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
body,td,th {
font-family: Arial, Helvetica, sans-serif;
font-size: 16px;
}
a {
font-family: Arial, Helvetica, sans-serif;
font-size: 16px;
}
-->
</style><title>錄用確定</title></head>
<body>
<form name="form1" method="post" action="file_ly.asp">
<table width="600" border="0">
<tr>
<td height="26"><div align="center">文章題目</div></td>
<td height="26"><%=rs("title")%></td>
</tr>
<tr>
<td width="25%" height="26"><div align="center">第一作者</div></td>
<td width="75%" height="26"><%=rs("authorname")%></td>
</tr>
<tr>
<td height="26"><div align="center">聯系人</div></td>
<td height="26"><%=rs("username")%></td>
</tr>
<tr>
<td height="26"><div align="center">投稿時間</div></td>
<td height="26"><div align="left"><%=rs("date")%>
</div></td>
</tr>
<tr>
<td height="26" colspan="2"><div align="center"></div> <div align="left"><input name="id" type="hidden" value="<%=id%>">
您確定要錄用此稿件嗎? <input name="Submit" type="submit" class="bt" value="確定">
<input name="Submit2" type="button" onclick="history.go(-1);" class="bt" value="返回">
</div></td>
</tr>
</table>
<%
end if
rs.close
set rs=nothing
conn.close
set conn=nothing
%>
</form>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -