<%@ Page Language="C#" MasterPageFile="../Blogger.master" AutoEventWireup="true" CodeBehind="AlbumView_Default.aspx.cs" Inherits="Y10.WebSite.Blog.Blogger.Album.AlbumView_Default" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="phHead" runat="server">
<link href="<%=AppUrl %>/Skins/<%=SkinInfo.SkinPath%>/Album/Album.css" rel="stylesheet" type="text/css" />

<script type="text/javascript" src="<%=AppUrl %>/Common/Plugins/lightbox2/js/prototype.js"></script>
<script type="text/javascript" src="<%=AppUrl %>/Common/Plugins/lightbox2/js/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="<%=AppUrl %>/Common/Plugins/lightbox2/js/lightbox.js"></script>
<link rel="stylesheet" href="<%=AppUrl %>/Common/Plugins/lightbox2/css/lightbox.css" type="text/css" media="screen" />

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphMain" runat="server">

<!--主体容器-->
<div id="BodyContainer">

    <!--主要内容部分-->
    <div id="ContentContainer">
    <div id="innerContentContainer">
    
    <!--主表单-->
    <form id='MainForm' runat="server">
    
        <!--相片列表-->
        <div id="PhotoList" class="ListBox_Normal">
            <div class="BoxTitle">
                <div class="BoxTitle_Left"><a><span>相片列表</span></a></div>
                <div class="BoxTitle_Right">
                    <a id="MVMode" href="<%=MyBloggerUrl %>/Album/<%=AlbumData.ID %>/MV.aspx"><span>MV模式</span></a>
                </div>
            </div>
            <div class="BoxBody">
    
                <div id="PhotoListTopPager" class="Pager">
                <webdiyer:AspNetPager ID="TopPager" runat="server" OnPageChanged="TopPager_PageChanged" AlwaysShow="True" UrlPaging="True" />
                </div>
                
                <ol id="PhotoItemList">
                <asp:Repeater ID="rpPhoto" runat="server" OnItemCreated="rpPhoto_ItemCreated">
                <ItemTemplate>
                <li class="PhotoItem">
                <div class="PhotoItem_Top"></div>
                <div class="PhotoItem_Body">
                <div class="PhotoItem_Title" title="<%# DataBinder.Eval(Container, "DataItem.Title")%>"><%# DataBinder.Eval(Container, "DataItem.Title")%></div>
                <div class="PhotoItem_Photo"><table><tr><td><a href="<%# PhotoUrl%>" rel="lightbox[photo]"><img alt="<%# DataBinder.Eval(Container, "DataItem.Title")%>" src="<%# SmallPhotoUrl%>" /></a></td></tr></table></div>
                <div class="PhotoItem_Open" title="打开查看该图片的详细信息" onclick="location='<%=MyBloggerUrl %>/Album/<%=AlbumID%>/<%# DataBinder.Eval(Container, "DataItem.ID")%><%=ExtensionName %>'">查看详细信息</div>
                <div class="PhotoItem_Description" title="<%#PhotoDescription%>"><%#PhotoDescription%></div>
                </div>
                </li>
                </ItemTemplate>
                <SeparatorTemplate><li class="PhotoItem_Separator"><div></div></li></SeparatorTemplate>
                </asp:Repeater>
                </ol>
                
                <div id="PhotoListBottomPager" class="Pager">
                <webdiyer:AspNetPager ID="BottomPager" runat="server" OnPageChanged="BottomPager_PageChanged" AlwaysShow="True" UrlPaging="True" />
                </div>

			</div>
			<div class="BoxBottom"></div>
        </div>
        
    </form>
    
    </div>
    </div>
    
    
    <!--侧边栏-->
    <div id="Sidebar">
        <div id="Sidebar_Top"></div>
        <div id="Sidebar_Body"><asp:PlaceHolder ID="phSidebar" runat="server"></asp:PlaceHolder></div>
        <div id="Sidebar_Bottom"></div>
    </div>
    
</div>
</asp:Content>