📄 book_view.asp
字号:
<%dbdns="../"%>
<!--#include file="../inc/conn.asp"-->
<%if session("vip")<>2 then
if flag10=0 then
response.redirect"ok.asp?action=flag"
end if
end if%>
<%if session("useradmin")="" then
response.write"<script>alert('对不起,您已经退出管理中心,\n\n请返回登录后重试');window.open('index.asp','_self');</script>"
response.end
end if
if request("action")="del" then
page=request("page")
if page="" then page=1
Rem 删除一级栏目
on error resume next
sql="delete from bookyp where id=" & request("id")
conn.execute sql
if err.Number<>0 then
err.clear
response.write ""
else
finished
end if
rs.open sql,conn,3,3
rs.delete
rs.update
Response.Redirect "book.asp?page="&page
elseif request("action")="view" then
%>
<%=citycss%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><%=citytitle%> - 用户管理中心</title>
</head>
<body topmargin="0" leftmargin="0" bgcolor="#666666">
<%sql="select * from bookyp where id="&request("id")
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,3
rs("key")=true
rs.update
%>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align=center bgcolor=#efefef height=30 style="border-bottom:1px #666666 solid"><strong><%=rs("title")%></strong></td>
</tr>
<tr>
<td height=210 bgcolor=#ffffff>
<table width="80%" border="0" cellspacing="0" cellpadding="0" align=center>
<tr>
<td><p style="line-height:150%"><%=rs("book")%></td>
</tr>
</table>
</td>
</tr>
<tr>
<td height=80 bgcolor=#ffffff style="border-top:1px #666666 solid">
<p style="line-height:150%"> <strong>反馈客户信息</strong><br>
公司名称:<%=rs("coname")%><br>
联 系 人:<%=rs("colxr")%><br>
联系方式:<%=rs("colx")%>
</td>
</tr>
<tr>
<td bgcolor=#efefef height=30 align=center style="border-top:1px #666666 solid"><a href="javascript:window.close()" class=red>[关闭]</a></td>
</tr>
</table>
<%rs.close
end if%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -