📄 viewcount.asp
字号:
<%
if session("username")="" or session("password")="" then
session.timeout=5
response.write "<script language='javascript'>"
response.write "alert('账号或密码错误!');"
response.write "history.go(-1);"
response.write "</script>"
response.end
else
username=session("username")
end if
%>
<!--#include file="../conn.asp"-->
<%
Set rs = Server.CreateObject("ADODB.recordset")
sql = "select * from user where username = '"&username&"'"
rs.Open sql,conn,1,3
if not(rs.BOF or rs.EOF) then
count = rs("count")
end if
rs.Close
set rs = nothing
%>
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" type="text/css" href="../css.css">
<title><%=homename%></title>
<style type="text/css">
<!--
td, input, select {font-size:12px;}
.L13 {line-height:130%}
.F12 {font-size:12px;}
.F12L13 {font-size:12px;line-height:130%}
.F14 {font-size:14px;}
.F14L13 {font-size:14px;line-height:130%}
.dot {font-size:1px;}
a:link { font-size: 9pt; font-family: 宋体; color: #56662D; text-decoration:
none }
a:active { font-size: 9pt; font-family: 宋体; text-decoration: none }
a:visited { font-size: 9pt; font-family: 宋体; color: #56662D; text-decoration:
none }
a:hover { font-size: 9pt; font-family: 宋体; text-decoration: underline overline blink; color: #000000 }
a:link.a01 {text-decoration:none;color:#ffffff}
a:visited.a01 {text-decoration:none;color:#ffffff}
a:active.a01 {text-decoration:none;color:#ff0000}
a:hover.a01 {text-decoration:underline;color:#ff0000}
-->
</style>
<SCRIPT lanuage="Javascript">
var tt='start';
var ii='start';
function turnit(ss,bb) {
if (ss.style.display=="none") {
if(tt!='start') tt.style.display="none";
if(ii!='start') ii.src="dian.gif";
ss.style.display="";
tt=ss;
ii=bb;
bb.src="ball.gif";
}
else {
ss.style.display="none";
bb.src="dian.gif";
}
}
function openWindow(url) {
popupWin = window.open(url, 'new_page', 'width=400,height=410,scrollbars')
}
</SCRIPT>
</head>
<body leftmargin="0" topmargin="0" bgcolor="#7bb5de">
<p> </p>
<p> </p>
<div align="center">
<center>
<table border="0" width="461" height="186" id="AutoNumber1" cellspacing="0" style="border-collapse: collapse; border: 1px solid #C9D8AD" bordercolor="#111111" cellpadding="0">
<tr>
<td width="461" height="28" align="center"> <font style="font-size: 14px; font-weight: 700">从我注册日开始到今
曾访问过我的成员站的人数为</font></td>
</tr>
<tr>
<td width="461" height="147" align="center"><b>
<font size="7" face="Arial Black"><%=count%></font></b></td>
</tr>
</table>
</center>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -