<%@ page title="" language="C#" masterpagefile="~/personalbum/MasterPage.master" autoeventwireup="true" inherits="personalbum_Default, App_Web_wo8iw3-l" enableEventValidation="false" %>

<%@ Register src="LeftInfos.ascx" tagname="LeftInfos" tagprefix="uc1" %>

<%@ Register src="../inc/ParamPageNavigator.ascx" tagname="ParamPageNavigator" tagprefix="uc2" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<uc1:LeftInfos ID="LeftInfos1" runat="server" />
<div class="rmain">
    <div class="iblock albumlist">
        <div class="tit">
           <div class="left">图片列表 <span>浏览方式：<a href="#">专辑</a> <a href="#">按最新照片</a></span></div>
           <div class="right"><a href="/lovecenter/PhotoUpload.aspx" class="hbtn">上传图片</a></div>
        </div>
        <div class="cnt">
            <asp:Repeater ID="rptMain" runat="server">
            <HeaderTemplate>
            <ul class="as">
            </HeaderTemplate>
            <ItemTemplate>
            <li>
                <div class="img"><div><a href="/personalbum/<%# DataBinder.Eval(Container.DataItem, "albumid")%>/<%= uid %>/"><img alt="<%# DataBinder.Eval(Container.DataItem, "albumname")%>" src="<%# DataBinder.Eval(Container.DataItem, "picurl").ToString() != "" ? string.Format("/UploadFiles/{0}_200x200.jpg",DataBinder.Eval(Container.DataItem, "picurl").ToString()) : "/images/nopic.gif" %>" align="absmiddle" /></a></div></div>
                <div class="name"><a href="/personalbum/<%# DataBinder.Eval(Container.DataItem, "albumid")%>/<%= uid %>/"><%# DataBinder.Eval(Container.DataItem, "albumname")%></a></div>
                <div class="total">照片数(<%# DataBinder.Eval(Container.DataItem, "photocount")%>) | 点击数(<%# DataBinder.Eval(Container.DataItem, "clicks")%>)</div>
            </li>
            </ItemTemplate>
            <FooterTemplate>
            </ul>
            </FooterTemplate>
            </asp:Repeater>
            
            <% if(rptMain.Items.Count == 0) { %><div class="nodata">没有找到任何数据</div><%} %>
            <div class="pagebottom"><uc2:ParamPageNavigator ID="ParamPageNavigator1" runat="server" RewriteExpression="/blog/" /></div>
            <div class="clear"></div>
        </div>
    </div>
</div>
</asp:Content>

