<!--#include file="_header.html" -->
<script type="text/javascript" src="templates/<%=CurrentTemplateName%>/scripts/jquery.js"></script>
<script type="text/javascript" src="templates/<%=CurrentTemplateName%>/scripts/thickbox.js"></script>
<script type="text/javascript" src="templates/<%=CurrentTemplateName%>/scripts/adRotator.js"></script>
<script type="text/javascript" language="javascript" src="templates/scripts/dvajax.js"></script>
<div class="mainbox">
	<div class="notice">
		<span> <!--#include file="_nav.html"--></span>&nbsp;
	</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_self.aspx?pagetype=2">收藏的相册</a> | <a href="album_self.aspx?pagetype=3">
			收藏的相片</a> | <a href="album_bbs.aspx">我的评论</a></span>&nbsp;
	</div>
	<!---右侧部分开始--->
	<div class="page_right">
		<div class="usersigned border" style="padding:10px">
			<span>
				<img src="<%=Server.UrlDecode(Owner.UserFace)%>"  onerror="ImageOnError(this,'files/uploadfaces/userface/noface.gif')" style="margin:8px auto" width = "40%" />
			</span><br />
			<span class="username">
				<a href = "album_list.aspx?userid=<%=Owner.UserID.ToString()%>">
					<%=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!=Owner.UserID)}--><span><img src="templates/<%=CurrentTemplateName%>/images/freund.gif" alt="" />
				<a onclick="AddFrend('additem.aspx','additem.aspx?item=friend&uid=<%=Owner.UserID.ToString()%>&name=<%=user.Name%>&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=<%=user.Name%>&uid=<%=Owner.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 />
			<br />
		</div>
		<br />
		<div class="usersigned border">
			<h3 class="titlebig">收藏相册的会员</h3>
			<br />
			<div class="nav_group">
				<!--{for(int i = 0; i < MyFavLen; i++)}-->
				<li>
					<a href="album_list.aspx?userid=<%=MyFavArr[i].userid.ToString()%>">
						<%=MyFavArr[i].username%>
					</a>
				</li>
				<!--{endfor}-->
			</div>
		</div>
		<br>
		<div class="usersigned border">
			<h3 class="titlebig">最新评论</h3>
			<br />
			<div class="nav_top">
				<!--{for(int i = 0; i < NewBbsLen; i++)}-->
				<li>
					<span>
						<img src="templates/<%=CurrentTemplateName%>/images/2_<%=(i+1).ToString()%>.gif"/>
					</span>
					<a href = "album_photo.aspx?photoid=<%=NewBbsArr[i].imgid.ToString()%>" class="gray">
						<!--{if(NewBbsArr[i].bbstext.Length>8)}-->
						<font title="<%=NewBbsArr[i].bbstext%>">
							<%=NewBbsArr[i].bbstext.Substring(0,8)%>
							...</font> 
						<!--{else}-->
						<%=NewBbsArr[i].bbstext%>
						<!--{endif}--></a>&nbsp;&nbsp; <a href ="album_list.aspx?userid=<%=NewBbsArr[i].userid.ToString()%>" title="<%=NewBbsArr[i].username + " 发表于 " + NewBbsArr[i].createdate%>">
						<%=Text.Left(NewBbsArr[i].username,10,false)%>
					</a>
				</li>
				<!--{endfor}-->
			</div>
			<br>
		</div>
	</div>
	<!---右侧部分结束--->
	<!---左侧部分开始--->
	<div class="page_left border">
		<!--{if(PageType == 1)}-->
		<h3 class="titlebig">
			<em><a href="album_edit.aspx?type=0">创建相册</a></em> 我的相册
		</h3>
		<table width="98%">	
		<!--{for(int i=0;i<AlbumLen;i++)}-->	
		<!--{if(i%5==0)}-->
		<tr>	
		<!--{endif}-->		
			<td>		
				<div>
					<a href ="album_photoself.aspx?albumid=<%=AlbumArr[i].id.ToString()%>"><img class="img" src="<%=AlbumArr[i].TopZoomFile%>" alt="<%=AlbumArr[i].albumtext%>" onerror="ImageOnError(this,'templates/<%=CurrentTemplateName%>/images/album/noexist.gif')" />
					</a>
				</div>
				<br />
				<a href ="album_photoself.aspx?albumid=<%=AlbumArr[i].id.ToString()%>" alt="<%=AlbumArr[i].albumtitle%>" title="<%=AlbumArr[i].albumtitle%>">
					<%=Text.Left(AlbumArr[i].albumtitle,10,false)%>
				</a>(<%=AlbumArr[i].photonum.ToString()%>张)<br />
				收藏：<%=AlbumArr[i].favcount.ToString()%>次(<%=AlbumArr[i].AlbumClassName%>,
				<%=AlbumArr[i].AccessName%>
				)
				<br />
				创建日期：<%=DateTime.Parse(AlbumArr[i].createdate).ToString("yyyy年M月d日")%><br />
				<input class="button_off" type="button" value="添加相片" onMousemove="this.className='button_on';"	onMouseout="this.className='button_off'" onclick="window.location='album_photoedit.aspx?type=0&albumid=<%=AlbumArr[i].id.ToString()%>';" ID="Button1" NAME="Button1" />
				<input class="button_off" type="button" value="编辑" onMousemove="this.className='button_on';"  onMouseout="this.className='button_off'" onclick="window.location='album_edit.aspx?type=1&albumid=<%=AlbumArr[i].id.ToString()%>';" ID="Button3" NAME="Button1"/>
				<input class="button_off" type="button" value="删除" onMousemove="this.className='button_on';"	onMouseout="this.className='button_off'" onclick="if(!confirm('您确定要删除相册吗？删除的相册与相册内的相片将无法恢复！'))return false;window.location='album_self.aspx?delalbumid=<%=AlbumArr[i].id.ToString()%>';" ID="Button4" NAME="Button2"/>

			</td>	
		<!--{if(i%5==5)}-->			
		</tr>
		<!--{endif}-->
		<!--{endfor}-->
		
		</table>
		<br />
		<!--{endif}-->
		<!--{if(PageType == 2)}-->
		<h3 class="titlebig">
			<em><a href="album_edit.aspx?type=0">创建相册</a></em>收藏的相册
		</h3>
		<table width="98%" ID="Table1">
			<!--{if(AlbumLen > 0)}-->
			<!--{for (int i = 0; i < AlbumLen; i++)}-->
			<!--{if(i%5 == 0)}-->			
			<tr>
			<!--{endif}-->
			<td align="center">
				<div>
					<a href="album_show.aspx?albumid=<%=AlbumArr[i].id.ToString()%>"><img class="img" src="<%=AlbumArr[i].TopZoomFile%>" alt="<%=AlbumArr[i].albumtext%>" onerror="ImageOnError(this,'templates/<%=CurrentTemplateName%>/images/album/<%=AlbumArr[i].TopZoomFile%>')" />
					</a>
				</div>
				<br />
				<a href="album_show.aspx?albumid=<%=AlbumArr[i].id.ToString()%>">
					<%=Text.Left(AlbumArr[i].albumtitle,10,false)%>
					(<span class="green"><%=AlbumArr[i].photonum.ToString()%></span>张)</a><br />
				<a href ="album_list.aspx?userid=<%=AlbumArr[i].userid.ToString()%>">
					<%=Text.Left(AlbumArr[i].username,10,false)%>
				</a>的相册<br />
				收藏日期:<span class="grey"><%=AlbumArr[i].createdate%></span><br />
				<input type="button" value="删 除" onclick="if(!confirm('您确定要删除收藏相册吗？'))return false;window.location='album_self.aspx?pagetype=2&page=<%=PageNum%>&delfavalbumid=<%=AlbumArr[i].id.ToString()%>';" ID="Button2" NAME="Button2" class="button_off" onFocus="IEvent('focus',this)"	onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" />
			</td>
			<!--{if(i%5 == 5)}-->
			</tr>
			<!--{endif}-->
			<!--{endfor}-->
			
			<!--{else}-->
			<tr>
			<td align="center">
				<span>没有收藏!</span></td>
				</tr>
			<!--{endif}-->
		</table>
		<!--{endif}-->
		<!--{if(PageType == 3)}-->
		<h3 class="titlebig">
			<em><a href="album_edit.aspx?type=0" class="button2 fon1">创建相册</a></em> 收藏的相片
		</h3>
		<table width="98%" border="0" ID="Table2">
		
			<!--{if(FavPhotoLen > 0)}-->
			<!--{for (int i = 0; i < FavPhotoLen; i++)}-->
			<!--{if(i%5 == 0)}-->			
			<tr>
			<!--{endif}-->
			 <td align="center">
				<div>
					<a href="album_photo.aspx?photoid=<%=FavPhotoArr[i].id.ToString()%>"><img class="img" src="<%=FavPhotoArr[i].ZoomFile%>" alt="<%=FavPhotoArr[i].imgtext%>" onerror="ImageOnError(this,'templates/<%=CurrentTemplateName%>/images/album/<%=FavPhotoArr[i].ZoomFile%>')" />
					</a>
				</div>
				<a href="album_photo.aspx?photoid=<%=FavPhotoArr[i].id.ToString()%>">
					<%=Text.Left(FavPhotoArr[i].imgtitle,10,false)%>
				</a>
				<br />
				浏览:<%=FavPhotoArr[i].clickcount.ToString()%>次&nbsp;&nbsp;
				评论:<%=FavPhotoArr[i].bbscount.ToString()%>次&nbsp;&nbsp;
				收藏:<%=FavPhotoArr[i].favcount.ToString()%>次&nbsp;&nbsp;<br />
				收藏日期:<span class="grey"><%=FavPhotoArr[i].uploaddate%></span><br />
				<input type="button" value="删 除" onclick="if(!confirm('您确定要删除收藏相册吗？'))return false;window.location='album_self.aspx?pagetype=3&page=<%=PageNum%>&delfavphotoid=<%=FavPhotoArr[i].id.ToString()%>';" ID="Button5" NAME="Button2" class="button_off" onFocus="IEvent('focus',this)"	onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" /><br />
				<br />
			</td>
			<!--{if(i%5 == 5)}-->
			</tr>
			<!--{endif}-->
			<!--{endfor}-->
			<!--{else}-->
			<tr>
			<td align="center">
				<span>没有收藏!</span>
			</td>
			</tr>
			<!--{endif}-->
		
		</table>
		<!--{endif}-->
		
	</div>
	<br/>
	<div >
			<!--#include file="_temppager.htm"-->
	</div>
	<!---左侧部分结束--->
	<div style="clear:both"></div>
</div>
<!--#include file="_footer.html" -->