<%@ Page Language="C#" AutoEventWireup="true" Codebehind="PhotoEdit.aspx.cs" Inherits="JuSNS.Web.user.Album.PhotoEdit" %>
<!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>
<title id="ptitle" runat="server">设置照片</title>
<link href="../../template/<% Response.Write(JuSNS.Config.UiConfig.SkinStyle); %>/css/base.css" id="skinpath" type="text/css" rel="stylesheet" />
<script language="javascript" type="text/javascript" src="../../js/ajax.js"></script>
<script language="javascript" type="text/javascript" src="../../js/public.js"></script>

</head>
<body>
 <!--头部-->
<%=this.GetHtmlShort()%> 
<div id="divhead">
    <%=this.GetHtmlHead()%>
</div>

<div id="divbody">
    <div id="body_first">
        <div class="body_menu"> 
        <%=this.GetHtmlLeft()%>
        </div>
    </div>
    <div id="body_sec">
            <div id="body_mid"> 
                <div class="body_frame"> 
                    <div class="body_frame_otherinfo">
	                        <div class="title">
                                <div class="l"><img src="../../template/<%Response.Write(JuSNS.Config.UiConfig.SkinStyle); %>/images/site/album.gif" align="absmiddle" /> <span class="shenlan bold font14 ocolor">上传照片</span></div>
                                <div class="r"><a href="javascript:window.history.back();" title="返回上一页">返回上一页</a></div>
                                <div class="c"></div>
                            </div>
            		       
                            <div class="nav-menu">
                                <ul>
                                 <li><a href="../album/photos.aspx">好友最新照片</a></li>
                                 <li><a href="../album/?a=all">好友最新相册</a></li>
                                  <li><a href="../album/?r[0]=<%=UserID %>">我的相册</a></li>
                                  <li ><a href="../album/quan.aspx?a=all">最近被圈好友</a></li>
                                  <li><a href="../album/?a=userall" title="所有人的相册">随便看看</a></li>
                                  <li class="current"><a href="/home/album/albumadd.aspx" title="上传照片">上传照片</a></li>
                                </ul>
                            </div>        
                     </div>
                     
                     <div class="body_sec_all">
                     <div class="msg-succ" id="isSuc" runat="server">保存相册成功！</div>
                     <form id="form1" runat="server">                      
                        <div class="content" id="header">
                                    <ul style="margin:0;padding:0">
                                        <li class="inline bold font14 reshow"  id="title"><%= AbInf.Title%></li> 
                                        <% if (AbInf.AlbumID != 0)
                                           { %><li class="inline">&nbsp;&nbsp;<a href="AlbumEdit.aspx?r=<%=R%>">编辑相册信息</a></li><%} %>
                                        <li  class="inline">&nbsp;&nbsp;<a href="PhotoEdit.aspx?r=<%=R%>"">编辑照片</a></li>
                                        <% if (AbInf.AlbumID != 0)
                                           { %><li class="inline">&nbsp;&nbsp;<a href="PhotoAdd.aspx?r=<%=R%>&u=<%=this.UserID%>">上传更多照片</a>&nbsp;</li><%} %>
                                        <% if (AbInf.AlbumID != 0)
                                           { %><li  class="inline"> &nbsp;&nbsp;<a href="index.aspx?r[0]=<%=this.UserID%>&r[1]=<%=R%>"">返回相册</a></li>
                                        <%}else{%><li  class="inline">&nbsp;&nbsp; <a href="HeadAlbum.aspx?r[0]=<%=this.UserID%>&r[1]=0"">返回相册</a></li><%} %>
                                        <li class="inline">&nbsp;&nbsp; <%=PhotoCount%> 张照片</li> 
                                    </ul>
                                    
                        </div>
                        
                        <div id="wrap" runat="server" class="content nl">
                            <div id="photo-edit">
                                <asp:Repeater runat="server" ID="formrpt">
                                    <HeaderTemplate>
                                        <ul>
                                    </HeaderTemplate>
                                    <ItemTemplate>
                                        <%# DataBinder.Eval(Container.DataItem, "d1")%>
                                    </ItemTemplate>
                                    <FooterTemplate>
                                        </ul>
                                    </FooterTemplate>
                                </asp:Repeater>
                                <div class="pstr">
                                    <input type="hidden" name="formphotoids" value="<%=PhotoIDS %>" />
                                    <input type="submit" class="f-button" value="保存编辑" />
                                    <input type="button" class="f-reset" value="返回相册" onclick="window.location='Albumview.aspx?r[0]=<%=this.UserID %>&r[1]=<%=R %>'" />
                                </div>
                                <div class="pagination" runat="server" id="DivPage"></div>
                            </div>
                        </div>
                      </form>  
                     </div>
                     
                     </div>
                   <!--底部-->
                 <div class="divbottom">
                  <%=this.GetHtmlFoot()%>
                  </div>                       
            </div>
     </div>
</div>
</body>
</html>
