<!--#include file="Config.asp" -->
<% 
eims = "Photo"

if not TypeID>0 then 
response.write "Err:参数错误"
response.End()
end if
%>
<!DOCTYPE html><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="stylesheet" href="jmobile/jquery.mobile-1.3.0.min.css" />
<script src="jmobile/jquery.min.js"></script>
<script src="jmobile/jquery.mobile-1.3.0.min.js"></script>
<link rel="stylesheet" href="img/eims.css">

<title><% =Title %></title>
</head><body>

<div data-role="page">
	<div data-role="header" data-position="fixed" data-fullscreen="true">
		<a href="#" data-icon="back" data-rel="back">返回</a>
		<h2><% =Title %></h2>
		<a href="index.asp?TypeID=<%=TypeID%>" data-icon="home" data-direction="reverse">主页</a>
	</div>

	<div data-role="content" class="content">	
		<div align="center" class="iPic">
		<%
		Set Rs=Server.CreateObject("Adodb.RecordSet")
		Rs.Open "Select * From [eims_Photo] where TypeID="&TypeID&" order by ItemID desc",Conn,1,1
		while not Rs.eof
		%><img src="<%=rs("Photo")%>"><br><%
		Rs.Movenext
		wend
		Rs.Close:Set Rs=Nothing
		%>
		</div>
	</div>
   
	<div data-role="footer" data-position="fixed" data-fullscreen="true">
		<div data-role="navbar">
			<ul>
			<li><a href="Photo.asp?TypeID=<%=TypeID%>">相册</a></li>
			<li><a href="Bless.asp?TypeID=<%=TypeID%>">祝福</a></li>
			<li><a href="Share.asp?TypeID=<%=TypeID%>">分享</a></li>
			</ul>
		</div>
	</div>
	
</div>

</body></html>
<% Call CloseConn() %>