<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="HeadAlbum.aspx.cs" Inherits="JuSNS.Web.user.Album.HeadAlbum" %>

<!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>
<script src="../../js/friend.js" charset="gb2312" type="text/javascript" language="javascript"></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" id="HeadAlbumName"><%=Whos%>的头像相册</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 class="current"><a href="../album/?r[0]=<%=r[0] %>"><%=Whos%>的相册</a></li>
                                    <li><a href="../album/?a=all">好友最新相册</a></li>
                                    <li><a href="../album/quan.aspx?a=all">最近被圈好友</a></li>
                                    <li><a href="../album/?a=userall" title="所有人的相册">随便看看</a></li>
                                    <li><a href="PhotoAdd.aspx?r=<%=r[1]%>&u=<%=this.UserID%>" title="上传照片"><span class="lanbai">上传照片</span></a></li>
                                 </ul>
                            </div>        
                     </div>  	
                     
                     <div class="body_sec_all">
                            <div  class="recordnumber"  id="toc" runat="server">
                                <%if (PhotoCount > 0){ %><%=PhotoCount%>张照片<%}else{ %>没有照片<%} %> <span class="pipe">|</span> <a href="photoedit.aspx?r=0">编辑照片</a> <span class="pipe">|</span> <a href="../space/UserHeadPhoto.aspx">更换头像</a> <span class="pipe">|</span> <a href="../album/?r[0]=<%=this.UserID %>">去我的所有相册</a>
                             </div>
                              <div class="msg-succ" id="SuccessMSG" runat="server">修改成功</div>
                             <div id="wrap">
                                <%if (PhotoCount > 0)
                                  { %>
                                <table class="photo-list">
                                    <%=AlbumContent %>
                                </table>
                                
                                <%}
                                  else
                                  { %>
                                <div class="pstr">
                                        头像相册还没有照片，现在就<a href="PhotoAdd.aspx?r=<%=r[1]%>&u=<%=this.UserID%>">上传照片</a>。
                                    <%} %>
                                </div>
                            </div>
                     </div>
                     </div>
                    <!--底部-->
                    <div class="divbottom">
                    <%=this.GetHtmlFoot()%>
                    </div>                       
                     
                 </div>
         </div>
</div>
</body>
</html>
