<!--#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>
<script type="text/javascript" language="javascript" src="templates/scripts/dvajax.js"></script>
<script language="javascript">
<!--
function verifyaccpwd(ishowdo, albumid)
{
  
	if(ishowdo == 2)
	{
		var t = prompt('请输入相册访问密码', '');
		if(t == '' || t == null)
		{
			alert("没有输入相册访问密码！");
			return false;
		}
		else
		{
			window.location='album_show.aspx?albumid=' + albumid.toString() + '&accpwd=' + t.toString();
		}
	}
	else
	{
		window.location='album_show.aspx?albumid=' + albumid.toString();				
	}	
}
-->
</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></span>&nbsp;
	</div>
	<div class="notice font14">
		<!--{if(AlbumTypeId > 0 && AlbumType != null)}-->
		<div>
			<ul style="text-align:left;">
				<h1 class="title"><%=PageTitle%>
					- (TAG):</h1>
				<!--<span style="float:right;height:60px;"><a href="album_list.aspx?albumtypeid=<%=AlbumTypeId.ToString()%>">上一页</a> | <a href="album_list.aspx?albumtypeid=<%=AlbumTypeId.ToString()%>">下一页</a></span>-->
				<!--{for(int j=0; j < AlbumType.tagcount && j < 30; j++)}-->
				<font class="tagfont"><a href="album_list.aspx?albumtag=<%=Server.UrlEncode(AlbumType.tags[j].ToString())%>">
				<%=Text.Left(AlbumType.tags[j].ToString(),10,false)%>
					</a></font>
				<!--{endfor}-->
			</ul>
		</div>
		<!--{endif}-->
	</div>	
	<!---##########################右边样式部分##########################--->
	<div class="page_right">
		<!--{if(AlbumOwner != null)}-->
		<div class="usersigned border">
			<li>
				<img src="<%=Server.UrlDecode(AlbumOwner.UserFace)%>" onerror="ImageOnError(this,'files/uploadfaces/userface/noface.gif')" style="margin:8px auto"  width = "40%"  /></li>
			<li class="username">
				<a href = "album_list.aspx?userid=<%=AlbumOwner.UserID.ToString()%>">
					<%=Text.Left(AlbumOwner.UserName,10,false)%>
				</a><font style="color:#999; font-size:12px; padding-left:5px; font-weight:100;">
					<%=(AlbumOwner.IsFade ? "隐身" : "在线")%>
				</font>
			</li>
			<li>
				<img src="templates/<%=CurrentTemplateName%>/images/level/<%=AlbumOwner.GroupPic%>" /></li>
			<!--{if(user.UserID!=AlbumOwner.UserID)}--><li><img src="templates/<%=CurrentTemplateName%>/images/freund.gif" alt="" />
				<a onclick="AddFrend('additem.aspx','item=friend&uid=<%=AlbumOwner.UserID.ToString()%>&name=<%=AlbumOwner.UserName,10,false%>&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=<%=AlbumOwner.UserName%>&uid=<%=AlbumOwner.UserID.ToString()%>&TB_iframe=true&height=335&width=530">
					给他(她)留言</a></li><!--{endif}-->
			<li>
				等级：<%=AlbumOwner.RoleName%></li>
			<li>
				发帖：<%=AlbumOwner.UserPost.ToString()%></li>
			<li>
				积分：<%=AlbumOwner.Experience<0?"0":AlbumOwner.Experience.ToString()%></li>
			<li>
				金钱：<%=AlbumOwner.Money.ToString()%></li>
			<li>
				注册：<%=AlbumOwner.JoinTime%></li>
			<li>
				<a href="album_list.aspx?userid=<%=AlbumOwner.UserID.ToString()%>" class="button" title="浏览该用户所有相册">
					拥有相册：<b class="fon1"><%=AlbumOwner.AlbumTotal.ToString()%></b>本</a></li>
			<li style="clear:both;">
			</li>
			<br />
		</div>
		<br />
		<div class="usersigned border">
			<h3 class="titlebig"><em><a href="album_list.aspx?userid=<%=AlbumOwner.UserID.ToString()%>">更多</a></em>最新相册</h3>
			<div>
				<li style="padding:5px;">
					<!--{if(OtherAlbum != null)}-->
					<b class="fon1">
						相册：<%=Text.Left(OtherAlbum.albumtitle,10,true)%>
					</b>
					<br />
					<a href="album_show.aspx?albumid=<%=OtherAlbum.id.ToString()%>" title="看一看"><img src="<%=OtherAlbum.TopZoomFile%>" style="MARGIN:8px auto; WIDTH:80px; HEIGHT:80px"></a>
					<br />
					相片：<%=OtherAlbum.photonum.ToString()%>
					<br />
					收藏：<%=OtherAlbum.favcount.ToString()%>
					<br />
					时间：<%=System.DateTime.Parse(OtherAlbum.createdate.ToString()).ToString("yyyy-MM-dd")%>
					<!--{else}-->
					暂时没有最新相册！ 
					<!--{endif}-->
				</li>
			</div>
			<div style="clear:both;"></div>
		</div>
		<br />
		<!--{endif}-->
		<div class="usersigned border">
			<h3 class="titlebig">相册分类</h3>
				<!--{for(int i = 0; i < AlbumTypeCount; i++)}-->
				<div style="line-height:2;padding:4px;"><b><a href="album_list.aspx?albumtypeid=<%=AlbumTypeArr[i].id.ToString()%>"><%=AlbumTypeArr[i].albumtype%></a></b>
					<div>
						<!--{for(int j=0; j < AlbumTypeArr[i].tagcount && j < 10; j++)}-->
						<font class="tagfont"><a href="album_list.aspx?albumtag=<%=Server.UrlEncode(AlbumTypeArr[i].tags[j].ToString())%>">
								<%=Text.Left(AlbumTypeArr[i].tags[j].ToString(),10,true)%>
							</a>&nbsp;&nbsp;</font> 
						<!--{endfor}-->
						<div style="clear:both;"></div>
					</div>
				</div>
				<!--{endfor}-->
				<div style="clear:both;"></div>
		</div>
	</div>
	<!---########################## end 右边样式部分##########################--->
	<!---##########################左边样式部分##########################--->
	<div class="page_left border">
		<h3 class="titlebig">推荐相册</h3>
		<table width="96%" align="center">
			<tr>
				<!--{for (int i = 0; i < CommendAlbumCount && i < 4; i++)}-->
				<td align="center" width="20%">
					<a onclick="verifyaccpwd(<%=CommendAlbumArr[i].ishowdo%>, <%=CommendAlbumArr[i].id.ToString()%>);">
						<img class="img" style="cursor:pointer;" src="<%=CommendAlbumArr[i].TopZoomFile%>" alt="属于：<%=CommendAlbumArr[i].albumtype%>" onerror="ImageOnError(this,'templates/<%=CurrentTemplateName%>/images/album/<%=CommendAlbumArr[i].TopZoomFile%>')" onclick="location='album_list.aspx?userid=<%=CommendAlbumArr[i].userid.ToString()%>'"/></a>
				</td>
				<!--{endfor}-->
			</tr>
			<tr>
				<!--{for (int i = 0; i < CommendAlbumCount && i < 4; i++)}-->
				<td align="center">
					<a onclick="verifyaccpwd(<%=CommendAlbumArr[i].ishowdo%>, <%=CommendAlbumArr[i].id.ToString()%>);">
						<%=Text.Left(CommendAlbumArr[i].albumtitle,10,true)%>
					</a>(<%=CommendAlbumArr[i].photonum.ToString()%>张)
					<br />
					by <a href ="album_list.aspx?userid=<%=CommendAlbumArr[i].userid.ToString()%>">
						<%=Text.Left(CommendAlbumArr[i].username,10,false)%>
					</a>
				</td>
				<!--{endfor}-->
			</tr>
		</table>
	</div>
	<br />
	<div class="page_left border">
		<h3 class="titlebig"><%=Text.Left(PageTitle,50,false)%>	- 相册</h3>			
		<table width="98%" border="0">
			<!--{for(int i=0; i < AlbumCount && i < PerOfPage; i++)}-->
			<!--{if(i%5 == 0)}-->			
			<tr>
			<!--{endif}-->
			<td align="left">
				<span>
					<a style="cursor:hand;" onclick="verifyaccpwd(<%=AlbumArr[i].ishowdo%>, <%=AlbumArr[i].id.ToString()%>)">
						<img class="img" src="<%=AlbumArr[i].TopZoomFile%>" alt="<%=AlbumArr[i].albumtype%>" onerror1="ImageOnError(this,'templates/<%=CurrentTemplateName%>/images/album/<%=AlbumArr[i].TopZoomFile%>')" onerror="ImageOnError(this,'files/uploadfaces/userface/noface.gif')" /></a></span>
				<br />
				<a style="cursor:hand;" onclick="verifyaccpwd(<%=AlbumArr[i].ishowdo%>, <%=AlbumArr[i].id.ToString()%>)">
					<%=Text.Left(AlbumArr[i].albumtitle,10,true)%>
				</a>(<%=AlbumArr[i].photonum.ToString()%>)
				<br />
				by <a href ="album_list.aspx?userid=<%=AlbumArr[i].userid.ToString()%>">
					<%=Text.Left(AlbumArr[i].username,10,false)%>
				</a>
				<!--{if(AlbumArr[i].albumclass==2)}-->
				<img src="templates/<%=CurrentTemplateName%>/images/album/photo_3.gif" alt="个人精华相册"/>
				<!--{else if(AlbumArr[i].albumclass==1)}-->
				<img src="templates/<%=CurrentTemplateName%>/images/album/photo_2.gif" alt="个人推荐相册"/>
				<!--{else}-->
				<img src="templates/<%=CurrentTemplateName%>/images/album/photo_1.gif" alt="普通相册"/>
				<!--{endif}-->
				<!--{if(AlbumArr[i].ishowdo==2)}-->
				<img src="templates/<%=CurrentTemplateName%>/images/album/key.gif" alt="保密，需要密码访问"/>
				<!--{else if(AlbumArr[i].ishowdo==0)}-->
				<img src="templates/<%=CurrentTemplateName%>/images/album/close.gif" alt="关闭，只允许私人访问"/>
				<!--{else}-->
				<img src="templates/<%=CurrentTemplateName%>/images/album/open.gif" alt="公开允许访问"/>
				<!--{endif}-->
			</td>
			<!--{if(i%5 == 5)}-->
			</tr>
			<!--{endif}-->
			<!--{endfor}-->
			</table>
	</div>
	<br />
	<!--#include file="_temppager.htm"-->
	<div style="clear:both"></div>
	<!---########################## end 左边样式部分##########################--->
</div>
<!--#include file="_footer.html" -->