<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Index_Photo.aspx.cs" Inherits="Index_Photo" %>

<%@ Register Src="SiteSkins/Search.ascx" TagName="Search" TagPrefix="uc3" %>

<%@ Register Src="SiteSkins/SiteLogin.ascx" TagName="SiteLogin" TagPrefix="uc2" %>

<%@ Register Src="SiteSkins/SiteRights.ascx" TagName="SiteRights" TagPrefix="uc1" %>
<%@ Import Namespace="Spaces" %>
<!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=utf-8" />
<title><%=Globals.GetSiteSettings().SiteName %></title>
<link href="img/style.css" rel="stylesheet" type="text/css" />
<script src="<%=Globals.ApplicationPath %>/include/js/base.js" type="text/javascript" ></script>
</head>

<body>
<div id="Topbanner">
<div class="Logo"><div class="Toplink"> <a href="Register.aspx">免费注册</a> | <a href="/bbs">支持论坛</a> | <a href="javascript:;" onclick="setHome()">加入收藏</a> | <a href="http://www.i-favourite.com" target="_blank">购买指南</a></div><img src="img/logo.gif" style="margin-left:20px;" />
</div>
<div class="clear"></div>
<div class="Menu">
<div><a href="default.aspx"><span class="Index_but"></span>首页</a></div>
<div><a href="index_Topic.aspx"><span class="bowen_but"></span>博文</a></div>
<div><a href="index_File.aspx"><span class="wenjian_but"></span>文件</a></div>
<div class="front"><span class="xiangce_but"></span>相册</div>
<div><a href="index_Top.aspx"><span class="paihang_but"></span>排行</a></div>
<div><a href="index_Help.aspx"><span class="bangzhu_but"></span>帮助</a></div>
</div>
</div>



<div class="zs1"></div>
<div class="zs2"></div>
<div class="zs3"></div>
<div id="Contact">
<div class="Barright">
	<div class="Wholeright">		
        <uc2:SiteLogin ID="SiteLogin1" runat="server" />
		<div class="block"><img src="img/ad02.jpg" width="200" /></div>
		<div class="block">
		<h2>最近更新相册的空间</h2>
		<ul>
	
    <asp:Repeater ID="rprUpdated" runat="server">
                    <ItemTemplate>
                     	<li><div class="xml"><a href="Rss.aspx?Account=<%#Eval("Account") %>" target="_blank">XML</a></div>
                     	      <a href='<%#Globals.GetSiteUrls().Album(Eval("Account").ToString()) %>' target="_blank"
                                title='<%#Eval("Title")%>'>
                                <%#Utils.FormatLength(Eval("Title"),10)%>
                            </a></li>
                    </ItemTemplate>
                </asp:Repeater>
                
		</ul>
		</div>
		<div class="block" style="display:none">
		<h2>最近登录的用户</h2>
		<ul>
		<li><div class="xml"><a href="#">XML</a></div><a href="#">21334123的空间 </a></li>
		</ul>
		</div>
	</div>
</div>
<div class="Contactleft">
    <uc3:Search ID="Search1" runat="server" />

<div class="Barleft">
<div class="block">
		<h2>相册风向标</h2>
		<ul>
		   <asp:Repeater ID="rprTagList" runat="server">
                    <ItemTemplate>
                    

              <li><div class="xml">[<asp:Literal ID="RefCount" runat="server"></asp:Literal>]</div><asp:HyperLink ID="lnkTag" runat="server"></asp:HyperLink></li>
                    </ItemTemplate>
                </asp:Repeater>
		
		</ul>
	  </div></div>
		<div class="Center">
		 <div class="block">
		<h2>最新图片</h2>
		<ul>
		<asp:DataList RepeatDirection=Horizontal runat="server" RepeatColumns="4" ID="dlstNewPhotos">
            <ItemTemplate>
            <div>
             <table width="10" height="10" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#CCCCCC">
                      <tr> 
                        <td bgcolor="#FFFFFF">
                        <a href="<%=Config.GetConfig().PhotosUrl %>/<%#Eval("Account")%>/<%#Eval("CategoryID")%>/<%#Eval("Image")%>" target=_blank>
                        <img src="<%=Config.GetConfig().PhotosUrl %>/<%#Eval("Account")%>/<%#Eval("CategoryID")%>/small/<%#Eval("SmallPic")%>" width="105" height="78" /></a></td>
                      </tr>
                    </table>
                    <table width="118" height="20" border="0" align="center" cellpadding="0" cellspacing="0">
                      <tr> 
                        <td><div align="center"><a href="<%#Globals.GetSiteUrls().Album(Eval("Account").ToString())%>" target="_blank"><%#Utils.FormatLength(Eval("title"),6)%></a></div></td>
                      </tr>
                    </table>
            </div>
            </ItemTemplate>
            </asp:DataList>
		  </ul>
		</div>		 
		<div class="block">
		<h2>热门图片</h2>
		<ul>
		 
		    <asp:DataList RepeatDirection=Horizontal runat="server" RepeatColumns="4" ID="dlstHitPhotos">
             <ItemTemplate>
            <div>
             <table width="10" height="10" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#CCCCCC">
                      <tr> 
                        <td bgcolor="#FFFFFF">
                        <a href="<%=Config.GetConfig().PhotosUrl %>/<%#Eval("Account")%>/<%#Eval("CategoryID")%>/<%#Eval("Image")%>" target=_blank>
                        <img src="<%=Config.GetConfig().PhotosUrl %>/<%#Eval("Account")%>/<%#Eval("CategoryID")%>/small/<%#Eval("SmallPic")%>" width="105" height="78" /></a></td>
                      </tr>
                    </table>
                    <table width="118" height="20" border="0" align="center" cellpadding="0" cellspacing="0">
                      <tr> 
                        <td><div align="center"><a href="<%#Globals.GetSiteUrls().Album(Eval("Account").ToString())%>" target="_blank"><%#Utils.FormatLength(Eval("title"),6)%></a></div></td>
                      </tr>
                    </table>
            </div>
            </ItemTemplate>
            </asp:DataList>
		</ul>
		</div>
		
		
		</div>
</div>
</div>
    <uc1:SiteRights ID="SiteRights1" runat="server" />
</body>
</html>

