⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 indexlist.asp

📁 1、可设置多个管理员。 2、后台有删除
💻 ASP
字号:
<!--#include file="Conn.asp"-->
<%
Set mRs=server.createobject("adodb.recordset")
Sql="update M_msg set Msg_hit=Msg_hit+1 where Id="&request("id")
mRs.open sql,conn,1,3
Sql="Select * from M_msg where Id="&request("Id")
mRs.open sql,conn,1,1
%>
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><% =Title %></title>
<style type="text/css">
body,td,th {
	font-size: 12px;
	color: #2E2E2E;
	line-height: 20px;
	scrollbar-base-color:#CCCCCC;
	scrollbar-face-color:#FFFFFF;
	scrollbar-track-color:#FFFFFF;
	scrollbar-arrow-color:#CCCCCC;
	scrollbar-3dlight-color:#CCCCCC;
	scrollbar-highlight-color:#CCCCCC;
	scrollbar-shadow-color:#FFFFFF;
	scrollbar-darkshadow-color:#000000;
}
a:link {
	color: #2E2E2E;
	text-decoration: none;
}
a:visited {
	text-decoration: none;
	color: #2E2E2E;
}
a:hover {
	text-decoration: none;
	color: #FF6600;
	border-bottom-color: #FF6600;
}
.text{
	font-size: 12px;
	border: 1px solid #CCCCCC;
	background-color: transparent;
}
.button {
	font-size: 12px;
	border: 1px solid #CCCCCC;
	background-color: transparent;
	width: 50px;
}
.buttonb {
	font-size: 12px;
	border: 1px solid #CCCCCC;
	background-color: transparent;
	width: 20px;
}
.input {
	font-size: 12px;
	border: 1px solid #CCCCCC;
	background-color: transparent;
	width: 180px;
}
.inputb {
	font-size: 12px;
	border: 1px solid #CCCCCC;
	background-color: transparent;
	width: 30px;
}
</style>
</head>

<body>

<table border="0" cellpadding="3" cellspacing="1" style="border-collapse: collapse" width="550" bgcolor="#CCCCCC" align="center">
	<tr valign="top" bgcolor="#FFFFFF">
		<td align="center">
<table border="0" cellpadding="0" style="border-collapse: collapse" width="100%" align="center">
	<tr>
		<td width="380"></td>
		<td>作者:<font color=#FF6600><%
		If mRs("Msg_name")= "" or IsNull(mRs("Msg_name")) then
			Response.Write"管理员"
		Else
			Response.Write ""&mRs("Msg_name")&""
		End If
		%></font></td>
		<td>浏览:<% =mRs("Msg_hit") %></td>
		<td width="5"></td>
	</tr>
</table>
<br>
<table border="0" cellpadding="0" style="border-collapse: collapse" width="100%">
	<tr>
		<td>&nbsp;&nbsp;&nbsp;&nbsp;<% =mRs("Msg_info") %></td>
	</tr>
</table>
<hr noshade size="1" color="#CCCCCC">
<table border="0" cellpadding="0" style="border-collapse: collapse" width="100%">
	<tr>
		<td align="right"><a href="javascript:window.close();">关闭</a></td>
	</tr>
</table>
		</td>
	</tr>
</table>
<table border="0" cellpadding="0" style="border-collapse: collapse" width="100%">
	<tr>
		<td align="center"><% =Copyright %></td>
	</tr>
</table>

</body>

</html>
<%
mRs.close
Set mRs=nothing
conn.close
Set conn=nothing
%>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -