<%@ page title="商家相册" language="C#" masterpagefile="~/shopdetail/MasterPage.master" autoeventwireup="true" inherits="shopdetail_Albums, App_Web_w7a7wpou" enableviewstate="false" enableEventValidation="false" %>

<%@ 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">
<div class="sblock mg_top albumlist">
    <div class="tit">相册列表</div>
    <div class="cnt">
        <asp:Repeater ID="rptAlbums" runat="server">
        <HeaderTemplate>
        <ul>
        </HeaderTemplate>
        <ItemTemplate>
        <li>
            <div class="img"><a href="/vip/<%= buid %>/photos_<%# DataBinder.Eval(Container.DataItem, "albumid")%>.html"><img onload="middleimage(this);" src="<%# DataBinder.Eval(Container.DataItem, "picurl").ToString() == "" ? "/images/nopic.gif" : "/uploadfiles/" + DataBinder.Eval(Container.DataItem, "picurl").ToString() + "_200x200.jpg" %>" /></a></div>
            <div class="name"><a href="/vip/<%= buid %>/photos_<%# DataBinder.Eval(Container.DataItem, "albumid")%>.html"><%# DataBinder.Eval(Container.DataItem, "albumname")%></a></div></li>
        </ItemTemplate>
        <FooterTemplate>
        </ul>
        </FooterTemplate>
        </asp:Repeater>
        <%if (rptAlbums.Items.Count == 0)
          { %>
            <div class="nodata">暂无相册</div>
            <%} %>
        
    </div>
    <div class="clear"></div>
</div>

    <div class="clear"></div>
    <div class="mg_top right">
        <uc2:ParamPageNavigator ID="ParamPageNavigator1" runat="server" RewriteExpression="/vip/album/*.html" />
     </div>
    <div class="clear"></div>
</asp:Content>

