
<!--#include file="../conn/conn2.asp" -->
<!--#include file="config.asp" -->
<%
id=Server.HTMLEncode(request.QueryString("id"))
from=Server.HTMLEncode(request.QueryString("from"))
Set rs= Server.CreateObject("ADODB.RecordSet")
sql="select * from Psort where S_id="&id
rs.open sql,conn,1,1
if not rs.eof then
S_title=rs("S_title")
end if
rs.close
set rs=nothing	
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title><%=S_title%>-<%=title%></title>
<meta name="keywords" content="<%=keywords%>" />
<meta name="description" content="<%=content%>" />
<style type="text/css">
			html {
				overflow:auto;
			}
			body { 
				background-color: transparent; 
				font-size:12px;
				line-height:150%;
				font-family:"微软雅黑";
			}
			a img {
	border:none;
}
			a{ font-size:12px; color:#000000; text-decoration:none;}
			a:hover {color:#0066ff;}
			.link{margin:10px 10px 10px 10px;padding:5px 5px 5px 15px;background-color: #aaaaaa;color:#ffffff; font-size:15px;}
			.link2{margin:10px 10px 10px 30px;padding:5px 5px 5px 15px;background-color: #bbbbbb;color:#ffffff; font-size:15px;}

</style>
</head>

<body>
<b>位置</b>：<a href="index.asp?from=<%=from%>"><%=title%></a> → <a href="photo.asp?id=<%=id%>&from=<%=from%>"><%=S_title%></a>
<%
Set rs= Server.CreateObject("ADODB.RecordSet")
sql="select * from photo where P_sort="&id&" order by P_id desc"
rs.open sql,conn,1,1
if not rs.eof then
Do while Not rs.eof
response.Write "<a href='photoinfo.asp?id="&rs("P_id")&"&from="&from&"'><div class='link'><img src='../"&rs("P_thumb")&"' height='15'> "&rs("P_title")&"</div></a>"
rs.movenext
		loop
	end if
set rs=nothing	
%>

<hr>
<%if from="so" then%>
<div align="center" style="color:#999999">html版仅供SEO优化和搜索功能使用，如需查看Flash版请关闭层窗口。<a href="../zj/search.asp">返回搜索页</a></div>
<%else%>
<div align="center" style="color:#999999">html版仅供SEO优化和搜索功能使用，<a href="../">点击查看Flash版</a>。</div>
<%end if%>
</body>
</html>
