📄 photoview.asp
字号:
<%
Dim URL
If DateDiff("s",Request.Cookies("oesun")("vitistime"),Now())<5 Then
URL=Request.ServerVariables("Http_REFERER")
Response.Write("<meta http-equiv=""refresh"" content=""2;URL="&URL&""">")
Response.Write("这个网页采用了防刷新机制,请勿尝试非法刷新...")
Response.End
End IF
Response.Cookies("oesun")("vitistime")=Now()
%>
<!--#include file="conn.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../css.css" rel="stylesheet" type="text/css">
<title></title>
<style type="text/css">
<!--
.style3 {font-size: 1pt;
color: #FFFFFF;
}
.ziti {font-family: "宋体";
font-size: 12px;
font-weight: bold;
color: #FFFFFF;
}
.ziti1 {font-size: 12px;
font-weight: normal;
color: #000000;
}
.ziti2 {font-family: "宋体";
font-size: 12px;
font-weight: bold;
color: #FFFFFF;
}
.ziti2 { font-family: "宋体";
font-size: 12px;
font-weight: normal;
color: #000000;
}
.style5 {
color: #000000;
font-size: 12px;
}
-->
</style>
<%
id=Request("id")
set rs=server.createobject("adodb.recordset")
rs.Open "Select * from photo where id="&id,conn,3,3
name=rs("name")
url=rs("url")
say=rs("say")
rs("time")=rs("time")+1
t=rs("time")
rs.update
rs.Close
Set rs=nothing
%>
</head>
<body>
<table width="775" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<th scope="col"><table width="775" border="0" cellspacing="0" cellpadding="0">
<tr>
</tr>
</table></th>
</tr>
<tr>
<td height="180" align="center" valign="top"><table width="775" height="219" border="0" cellpadding="0" cellspacing="0">
<tr>
<th width="626" scope="col">
<table width="735" height="215" border="1" cellpadding="0" cellspacing="0" class=ziti1 bordercolor="#FFFFFF" style="border-collapse: collapse">
<tr>
<th scope="col" height="76" width="735" colspan="2" bgcolor="#D0E8FF">
<img border="0" src="uploadimg/<%=url%>"></th>
</tr>
<tr>
<th scope="col" width="118" align="right" bgcolor="#D0E8FF">
<span style="font-weight: 400">标 题:</span></th>
<th scope="col" width="617" align="left" bgcolor="#D0E8FF">
<p align="left"><font color=#000000><%=name%></font><span style="font-weight: 400"><font color="#FF0000"> </font></span></th>
</tr>
<tr>
<th scope="col" width="118" align="right" bgcolor="#D0E8FF">
<span style="font-weight: 400">点 击:</span></th>
<th scope="col" width="617" align="left" bgcolor="#D0E8FF">
<%=t%> </th>
</tr>
<tr>
<th scope="col" width="118" align="right" bgcolor="#D0E8FF">
<span style="font-weight: 400">说 明:</span></th>
<th scope="col" width="617" align="left" bgcolor="#D0E8FF">
<%=say%> </th>
</tr>
<tr>
<td height="6" width="735" colspan="2" bgcolor="#D0E8FF"><div align="center" class="style5">
<a href="/" onClick="javascript:window.close(); return false;">
<font color="#000000">[关闭窗口]</font></a><b> </b> </div></td>
</tr>
</table></th>
</tr>
</table></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -