?? admin_authorwriting.asp
字號(hào):
<!-- #include file="../conn.asp" --><!--#include file="../inc/config.asp"-->
<!-- #include file="session.asp" --><%
dim authorID
authorID=CheckSql(request("ID"))
CheckSqlnum(authorID)
authorID=int(authorID)
set rs=server.createobject("adodb.recordset")
if IsSqlDataBase = 2 then
sql="select author_id,author_UserName,author_Name,author_writing from author where author_ID="&authorID&""
else
sql="select author_id,author_UserName,author_Name,author_writing from [author] where author_ID="&authorID&""
end if
rs.open sql,conn,1,1
if rs.eof and rs.bof then
Response.Write ("<script>alert(' 操作錯(cuò)誤!\n\n 用戶不存在。');history.back();</script>")
Response.end
End If
%><html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="css.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style2 {
font-family: "隸書(shū)";
color: #FF0000;
font-size: 24px;
}
.style3 {color: #FF0000}
-->
</style>
</head>
<body>
<table border="1" width="100%" cellspacing="0" cellpadding="0" class="TableLine" bordercolor="#1f3566" bordercolordark="#FFFFFF">
<tr bgcolor="#1C3566">
<td width="8%" height=25 align=center><font color="white">ID</font></td>
<td width="18%" height=25 align=center><font color="white">登陸名</font></td>
<td width="18%" height=25 align=center><font color="white">筆名</font></td>
<td width="16%" height=25 align=center><font color="white">駐站申請(qǐng)</font></td>
<td width="10%" height=25 align=center><font color="white">刪除</font></td>
</tr>
<tr>
<td height="22" align=center><%=rs("author_id")%> </td>
<td align=center><%=rs("author_UserName")%></td>
<td align=center><%=rs("author_Name")%></td>
<td align=center><input class="button" type=button name=author value="通過(guò)駐站申請(qǐng)" onclick="javascript:window.open('admin_authorSave.asp?id=<%=rs("author_id")%>&act=goauthor','_self','')"></td>
<td align=center><input class="button" type=button name=del value=刪除 onclick="javascript:window.open('admin_authorDel.asp?id=<%=rs("author_id")%>','_self','')"></td>
</tr>
<tr>
<td height="22" align=center valign="top">申請(qǐng)?jiān)杉安糠肿髌穬?nèi)容</td>
<td height="22" align=left colspan="4"> <%=rs("author_writing")%></td>
</tr>
</table>
<%rs.close
set rs=nothing
conn.close
set conn=nothing
%>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -