📄 photo_view.asp
字号:
<!--#include file="../config.asp"-->
<!--#include file="../../dns/dns.asp"-->
<%
call photodel()
'----------------------------------------------------------------------------------------------
set rsb=server.createobject("adodb.recordset")
sql="select * from "&WebSqlType&"_photo where "&WebSqlType&"_id="&clng(request("photoid"))
rsb.open sql,conn,1,1
conn.execute("update "&WebSqlType&"_photo set "&WebSqlType&"_htc="&WebSqlType&"_htc+1 where "&WebSqlType&"_id="&clng(request("photoid"))&"")
%>
<!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" />
<title><%=trim(rsb(""&WebSqlType&"_title"))%> <%=title%> <%=usertwourl%></title>
<meta name="robots" content="follow,index" />
<link href="images/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
function copyurl(url){
window.clipboardData.setData('text',url);
document.getElementById("copyUrl").innerHTML="<font class='redtext2'>地址已复制</font>";
}
</script>
</head>
<body>
<div id="wrap">
<!--#include file="top.asp"-->
<DIV class=nav><SPAN class="right button"><A
href="photo_add.asp?id=<%=id%>">发相片</A>
</SPAN>我的位置:<A href="index.asp?id=<%=id%>">首页</A> » <A
id=classList href="photo.asp?id=<%=id%>&action=photo">相册</A> »
<STRONG><%=trim(rsb(""&WebSqlType&"_title"))%></STRONG></DIV>
<DIV id=wrap2>
<H2><SPAN class=right>浏览:<%=trim(rsb(""&WebSqlType&"_htc"))%></SPAN><%=trim(rsb(""&WebSqlType&"_title"))%></H2>
<DIV class=box>
<TABLE cellSpacing=0>
<TBODY>
<TR>
<TH></TH></TR></TBODY></TABLE>
<TABLE cellSpacing=0>
<TBODY>
<TR>
<TD class=td vAlign=top align=center><SPAN class=right>发表于:<%=trim(rsb(""&WebSqlType&"_date"))%>
<%call phototitle()%>
<DIV class="title bigtext"><STRONG>标题:<%=trim(rsb(""&WebSqlType&"_title"))%></STRONG></div>
<BR> <DIV class=bbs-content id=content_0><PRE><img src="/<%=trim(rsb(""&WebSqlType&"_pic"))%>"></PRE></DIV></TD></TR></TBODY></TABLE>
<%call Cbook(6)%>
</DIV>
<%call Vbookadd(rsb(""&WebSqlType&"_title"),rsb(""&WebSqlType&"_id"),6,"photo")%>
<DIV class=cl></DIV></DIV>
<%call bottom()%>
</div>
</body>
</html>
<%
rsb.close
set rsb=nothing
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -