<!--#include file="_header.html" -->
<link rel="stylesheet" href="templates/<%=CurrentTemplateName%>/scripts/thickbox.css" type="text/css" media="screen" />
<script type="text/javascript" src="templates/<%=CurrentTemplateName%>/scripts/jquery.js"></script>
<script type="text/javascript" src="templates/<%=CurrentTemplateName%>/scripts/thickbox.js"></script>
<div class="mainbox">
    <div class="notice">
		<span> <!--#include file="_nav.html"--></span>&nbsp;
	</div>
	<div style="clear:both"></div>
	<div class="notice font14"><span>
		 <a href="album_index.aspx">相册首页</a> |   
		 <a href="album_list.aspx">相册分类</a> |   
		 <a href="album_self.aspx">我的相册</a>  |   
		 <a href ="album_bbs.aspx?albumid=<%=AlbumId.ToString()%>">我的评论</a></span>&nbsp;
	</div>
		<!--- 右边样式部分 --->
		<div class="page_right">
			<div class="usersigned border" style="padding:10px">
				<span>
					<img src="<%=Server.UrlDecode(Owner.UserFace)%>" style="margin:8px auto" onerror="ImageOnError(this,'files/uploadfaces/userface/noface.gif')"  width = "40%"  /></span><br />
				<span class="username">
					<a href = "album_list.aspx?userid=<%=user.UserID%>">
						<%=user.Name%>
					</a><font style="color:#999; font-size:12px; padding-left:5px; font-weight:100;">
						<%=(Owner.IsFade ? "隐身" : "在线")%>
					</font>
				</span><br />
				<span>
					<img src="templates/<%=CurrentTemplateName%>/images/level/<%=Owner.GroupPic%>" /></span><br />
				<!--{if(user.UserID!=Album.userid)}--><span><img src="templates/<%=CurrentTemplateName%>/images/freund.gif" alt="" />
					<a onclick="AddFrend('additem.aspx','item=friend&uid=<%=Album.userid.ToString()%>&name=<%=Album.username%>&style=new_style')" style="cursor:hand">
						加为好友</a> <img src="templates/<%=CurrentTemplateName%>/images/mail.gif" /> <a id="msgsend1" class="thickbox" title="发短消息" href="message_send.aspx?recipient=<%=Album.username%>&uid=<%=Album.userid.ToString()%>&TB_iframe=true&height=335&width=530">
						发短消息</a></span><br /><!--{endif}-->
				<span>等级：<%=Owner.RoleName%></span><br />
				<span>发贴：<%=Owner.UserPost.ToString()%></span><br />
				<span>积分：<%=Owner.Experience<0?"0":Owner.Experience.ToString()%></span><br />
				<span>金钱：<%=Owner.Money.ToString()%></span><br />
				<span>注册：<%=Owner.JoinTime%></span><br />
				<span>拥有相册：<%=Owner.AlbumTotal.ToString()%>本</a></span><br />
				<span>收藏相册：<%=Owner.FavAlbumTotal.ToString()%>本</span><br />
				<span>收藏相片：<%=Owner.FavPhotoTotal.ToString()%>张</span>
				<br />
			</div>
			<div style="clear:both;"></div>
			<br />
			<ul>
			<br />
				<h2 class="titlebig">
					<img src="<%=CurrentSkinPath%>images/title_right.gif" alt="" />收藏相册的会员</h2>
				<li>
					<!--{for(int i = 0; i < MyFavLen; i++)}-->
					<a href="album_list.aspx?userid=<%=MyFavArr[i].userid.ToString()%>">
							<%=Text.Left(MyFavArr[i].username,10,false)%>
						</a>
					<!--{endfor}-->
				</li>
			</ul>
		</div>
		<!---- End 右边样式部分 ---->
		<!---- 左边样式部分 ---->
		<div class="page_left border">
		     <h3 class="titlebig">
					<div style="float:right;padding-top:3px;"><a href="album_photoedit.aspx?type=0&albumid=<%=AlbumId.ToString()%>" class="page">添加相片</a><a href="#" onclick="if(!confirm('您确定要删除所有相片吗？删除的相片将无法恢复！'))return false;window.location='album_photoself.aspx?albumid=<%=AlbumId.ToString()%>&delall=true';" class="page">全部删除</a></div>
					<div style="clear:left;"></div>
					<a title="<%=Album.albumtitle%>"><%=Text.Left(Album.albumtitle,50,false)%></a>
					&nbsp;
					<small class="green">(共 <%=((Dvbbs.bbs.UI.Forum.ALBUM)Album).photonum.ToString()%>张相片&nbsp;
								<!--{if(Album.topimgid == 0)}-->
								<%=Text.Left(TopImgTitle,10,false)%>
								<!--{else}-->
								<a href="album_photo.aspx?photoid=<%=Album.topimgid.ToString()%>">
									<%=Text.Left(TopImgTitle,10,false)%>
								</a>
								<!--{endif}-->)</small>
				</h3>
			<table width="99%" border="0" cellpadding="0" cellspacing="0">
				<!--{for (int i = 0; i < Album.PhotosLen && i < PerOfPage; i++)}-->
				<!--{if(i%4 == 0)}-->			
			<tr>
			<!--{endif}-->
				<td>
					<div>
						<a href="album_photo.aspx?photoid=<%=Album.photos[i].id.ToString()%>"><img src="<%=Album.photos[i].ZoomFile%>" alt="<%=Album.photos[i].imgtext + Album.photos[i].uploaddate%>" onerror="ImageOnError(this,'templates/<%=CurrentTemplateName%>/images/album/<%=Album.photos[i].ZoomFile%>')" /></a>
					</div><br />
					<a href="album_photo.aspx?photoid=<%=Album.photos[i].id.ToString()%>">
						<%=Text.Left(Album.photos[i].imgtitle,10,false)%>
					</a>
					<br />
					浏览:<%=Album.photos[i].clickcount.ToString()%>
					评论:<%=Album.photos[i].bbscount.ToString()%>
					收藏:<%=Album.photos[i].favcount.ToString()%><br />
					<input type="button" class="button_off" onMousemove="this.className='button_on';"	onMouseout="this.className='button_off'" value="设为封面" onclick="window.location='album_photoself.aspx?albumid=<%=AlbumId.ToString()%>&topimgid=<%=Album.photos[i].id.ToString()%>'" ID="Button1" name="Button1" style="width:60px;" />
					<input type="button" class="button_off" onMousemove="this.className='button_on';"	onMouseout="this.className='button_off'" value="编辑" onclick="window.location='album_photoedit.aspx?type=1&photoid=<%=Album.photos[i].id.ToString()%>&albumid=<%=AlbumId.ToString()%>';" ID="Button2" name="Button1"/>
					<input type="button" class="button_off" onMousemove="this.className='button_on';"	onMouseout="this.className='button_off'" value="删除" onclick="if(!confirm('您确定要删除相片吗？删除的相片将无法恢复！'))return false;window.location='album_photoself.aspx?albumid=<%=AlbumId.ToString()%>&delphotoid=<%=Album.photos[i].id.ToString()%>';" ID="Button3" name="Button2"/><br/><br/>
				</td>
					<!--{if(i%4 == 4)}-->
			</tr>
			<!--{endif}-->
				<!--{endfor}-->
			</table><br/>
		</div><br/>
		<!---- End 左边样式部分 ---->
		<div><!--#include file="_temppager.htm"--></div>
	<div style="clear:both"></div>
	</div>
<!--#include file="_footer.html" -->