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

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<script type="text/javascript" src="/js/utils.js"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="iblock detail">
    <div class="tit">
       <div class="left"><a href="/blog/<%= _Mry_personphotoDetails.puid %>/">首页</a> > <a href="/personalbum/<%= _Mry_personalbumDetails.albumid %>/<%= Request.QueryString["uid"] %>/"><%= _Mry_personalbumDetails.albumname %></a> > 图片</div>
       <div class="right"></div>
    </div>
    <div class="cnt">
        <div class="top">
            <div class="name"><%= _Mry_personphotoDetails.descr %></div>
            <div class="opts">
                <a href="javascript:fav();">收藏此照片</a> | <a href="javascript:copyurl();">复制图片地址</a>  | 浏览:<%= _Mry_personphotoDetails.browsecount %> 
            </div>
        </div>
        <div class="clear"></div>
        <div class="pic">
            <a <%= nextImgID == null ? "" : "href='/blog/photo/" + nextImgID + "/" + Request.QueryString["uid"] + "/'" %>><img src="/uploadfiles/<%= _Mry_personphotoDetails.photourl %>_640x480.jpg" alt="<%= _Mry_personphotoDetails.descr %>" /></a>
            <div class="detailname"><%= _Mry_personphotoDetails.descr == "" ? "未命名" : _Mry_personphotoDetails.descr%></div>
        </div>
        <div class="clear"></div>
        <div class="other">
            <% if (PrevImgID != null)
               { %>
            <div>
                <a href="/blog/photo/<%= PrevImgID %>/<%= Request.QueryString["uid"] %>/" class="img"><img onload="setImg(this, 80, 80);" src="/uploadfiles/<%= PrevImg %>_200x200.jpg" alt="<%= PrevName %>" /></a>
                <a href="/blog/photo/<%= PrevImgID %>/<%= Request.QueryString["uid"] %>/">上一张</a>
            </div>
            <%} %>
            
            <% if (nextImgID != null)
               { %>
            <div>
                <a href="/blog/photo/<%= nextImgID %>/<%= Request.QueryString["uid"] %>/" class="img"><img onload="setImg(this, 80, 80);" src="/uploadfiles/<%= nextImg %>_200x200.jpg" alt="<%= nextName %>" /></a>
                <a href="/blog/photo/<%= nextImgID %>/<%= Request.QueryString["uid"] %>/">下一张</a>
            </div>
            <%} %>
            <div class="clear"></div>
        </div>
    </div>
</div>

<div class="iblock rphotos">
    <div class="tit">
       <div class="left">最新专辑</div>
       <div class="right"></div>
    </div>
    <div class="cnt">
        <asp:Repeater ID="rptMain" runat="server">
        <HeaderTemplate>
        <ul>
        </HeaderTemplate>
        <ItemTemplate>
        <li>
            <div class="img"><a href="/personalbum/<%# DataBinder.Eval(Container.DataItem, "albumid")%>/<%= Request.QueryString["uid"] %>/"><img onload="setImg(this, 80, 80);" src="/uploadfiles/<%# DataBinder.Eval(Container.DataItem, "picurl") %>_100x100.jpg" /></a></div>
            <div class="name"><a href="/personalbum/<%# DataBinder.Eval(Container.DataItem, "albumid")%>/<%= Request.QueryString["uid"] %>/"><%# DataBinder.Eval(Container.DataItem, "albumname")%></a></div>
        </li>
        </ItemTemplate>
        <FooterTemplate>
        </ul>
        </FooterTemplate>
        </asp:Repeater>
    </div>
</div>
</asp:Content>

