📄 admin_article_content_view.asp
字号:
<%@LANGUAGE="VBSCRIPT"%>
<%
' *** Restrict Access To Page: Grant or deny access to this page
MM_authorizedUsers="999"
MM_authFailedURL="index.asp"
MM_grantAccess=false
If Session("MM_Username") <> "" Then
If (false Or CStr(Session("MM_UserAuthorization"))="") Or _
(InStr(1,MM_authorizedUsers,Session("MM_UserAuthorization"))>=1) Then
MM_grantAccess = true
End If
End If
If Not MM_grantAccess Then
MM_qsChar = "?"
If (InStr(1,MM_authFailedURL,"?") >= 1) Then MM_qsChar = "&"
MM_referrer = Request.ServerVariables("URL")
if (Len(Request.QueryString()) > 0) Then MM_referrer = MM_referrer & "?" & Request.QueryString()
MM_authFailedURL = MM_authFailedURL & MM_qsChar & "accessdenied=" & Server.URLEncode(MM_referrer)
Response.Redirect(MM_authFailedURL)
End If
%>
<!--#include file="Connections/connDB.asp" -->
<!--#include file = "editor/Include/DeCode.asp"-->
<%
Dim RsArticleContent__MMColParam
RsArticleContent__MMColParam = "1"
If (Request.QueryString("fID_ArticleContent") <> "") Then
RsArticleContent__MMColParam = Request.QueryString("fID_ArticleContent")
End If
%>
<%
Dim RsArticleContent
Dim RsArticleContent_numRows
Set RsArticleContent = Server.CreateObject("ADODB.Recordset")
RsArticleContent.ActiveConnection = MM_connDB_STRING
RsArticleContent.Source = "SELECT * FROM tArticleContent WHERE fID_ArticleContent = " + Replace(RsArticleContent__MMColParam, "'", "''") + ""
RsArticleContent.CursorType = 0
RsArticleContent.CursorLocation = 2
RsArticleContent.LockType = 1
RsArticleContent.Open()
RsArticleContent_numRows = 0
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="style.css" rel="stylesheet" type="text/css">
</head>
<body>
<p> </p>
<table width="760" border="0" cellspacing="1" cellpadding="4">
<tr bgcolor="#66CC99">
<td width="100%" height="30"><div align="center">文章管理</div></td>
</tr>
<tr bgcolor="#E8FFE8">
<td> </td>
</tr>
<tr bgcolor="#FFFFFF">
<td><div align="center"></div></td>
</tr>
<tr bgcolor="#66CC99">
<td height="30">浏览文章</td>
</tr>
<tr bgcolor="#E8FFE8">
<td><p> </p>
<table width="760">
<tr>
<td> <p>文章标题: <%=(RsArticleContent.Fields.Item("fTitle").Value)%> 作者: <%=(RsArticleContent.Fields.Item("fAuthor").Value)%> 转贴自: <%=(RsArticleContent.Fields.Item("fCopyFrom").Value)%> </p>
<p> 文章搜索关键词:<%=(RsArticleContent.Fields.Item("fKey").Value)%></p></td>
</tr>
<tr>
<td><div align="left"><br>
<%=(RsArticleContent.Fields.Item("fContent").Value)%><br>
</div></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
</table> <p> </p></td>
</tr>
</table>
<p> </p>
</body>
</html>
<%
RsArticleContent.Close()
Set RsArticleContent = Nothing
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -