<!--#include file="Inc/conn.asp"-->
<!--#include file="Inc.asp"-->
<%
page = ReplaceBadWord(Request.QueryString("page"))
If page ="" Then
page = 1
Else
page = Cint(ReplaceBadWord(Request.QueryString("page")))
End If
%>
<html xmlns=" http://www.w3.org/1999/xhtml">
<head>
<title><%=SiteTitle%></title>
<meta http-equiv="Content-Type" content="text/html; charset=gbk" />
<meta name="keywords" content="<%=Sitekeywords%>" />
<meta name="description" content="<%=Sitedescription%>" />
<link href="css.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<%=SitePath%>inc/main.asp"></script>
<script type="text/javascript" src="<%=SitePath%>Dig.asp"></script>
<link href="css.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table width="1004" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><!--#include file="top1.Asp"--></td>
</tr>
<tr>
<td><!--#include file="top.Asp"--></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="9"> </td>
<td width="988"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="center"><table width="100%" border="0" cellspacing="3" cellpadding="0">
<%
Set Rs1 = Conn.Execute("Select * From [FYBlog_photo] Where [class_id] = 0 Order By [num] Asc")
Set Rs = Conn.Execute("Select Count([id]) From [FYBlog_photo] Where [class_id] = 0")
If Not Rs1.Eof Then
For i = 1 to 4
Response.Write("<tr>")
For a = 1 to 5
If Rs1.Eof Then
Response.Write("<td width=""25%"" ></td>")
Else
If Rs1("img") <> "" Then
img = Rs1("img")
Else
img = "Image/nophoto.gif"
End If
If Rs1("lock") <> True Then
action = "<img src=""Image/open.gif"" width=""14"" height=""14"" title=""公开访问"" align=""absbottom""/>"
Else
action = "<img src=""Image/close.gif"" width=""14"" height=""14"" title=""需要访问密码"" align=""absbottom""/>"
img = "Image/keyphoto.gif"
End If
Response.Write("<td width=""140"" height=""170"" background=""Image/bg_2.gif"" background-repeat: no-repeat;""><table width=""100%"" border=""0"" align=""center"" cellpadding=""0"" cellspacing=""0"" border:1px solid #ccc;padding:0px; padding-top:5px; padding-bottom:5px;""><tr><td align=""center""><a href=""Album.Asp?id="& Rs1("id") &""" title="""& Rs1("name") &"""><img src="""& img &""" width=""120"" height=""120"" /></a></td></tr><tr><td height=""25"" align=""center"" valign=""bottom""><a href=""Album.Asp?id="& Rs1("id") &""" title="""& Rs1("name") &""" class=""font_class_3""> "& Title_String(Rs1("name"),8,True) &"</a></td></tr></table></td>")
Rs1.Movenext
End If
Next
Response.Write("<tr><td colspan=""4"" height=""30""></td></tr>")
Next
Rs.Close
Set Rs = Nothing
Else
%>
<tr>
<td height="20" align="center" bgcolor="#2C012E"><font size="2">- 暂无相册分类 -</font></td>
</tr>
<%
End If
Rs1.Close
Set Rs1 = Nothing
%>
</table></td>
</tr>
</table></td>
<td width="17"> </td>
</tr>
</table></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td><!--#include file="foot.asp"--></td>
</tr>
</table>
</body>
</html>