<!--#include file="_header.html" -->
<style>
.photo_right  { border:1px solid #9CC3D9; background:#F7FDFF; text-align:left;padding:2px; }
.photo_title { background: url("images/photo_title.gif") no-repeat; color:#008000; height:28px; line-height:24px; width:auto; margin-bottom:5px; padding-left:10px; font-weight:bold; font-size:14px; }
.photo_title a { background: url("images/photo_title.gif") no-repeat; color:#008000; }

.photo_box { border:0px solid #9CC3D9;width:98%; height:100%;margin-top:10px;}
.photo_box  h1 { margin:0px; margin-bottom:10px; padding:0px; width:100%; float:left;}
.photo_box li {float:left;width:160px; height:auto; background: url("images/lock_bg.gif") center top no-repeat; text-align:center; margin:3px 5px; color:#858d92; }
.photo_box li span { display:block; width:160px; height:160px; line-height:160px; }
.photo_box .img {display:block; text-align:center; margin:auto; padding-top:10px; }
.photo_box h1 .txt { font-weight:normal; color:Gray; font-size:12px;}
</style>
<div class="mainbox">
	<div class="notice">
		<span> <!--#include file="_nav.html"--></span>
	</div>
	<div style="clear:both"></div>
	<div class="menu">
		<a href="album_index.aspx">相册首页</a> | <a href="album_list.aspx">相册分类</a> | <a href="album_self.aspx">
			我的相册</a>
	</div>
	<br />
	<div class="page_right">				
		<ul class="photo_right">
		<li class="photo_title"><img src="<%=CurrentSkinPath%>images/title_right.gif" alt="" class="title_right"/>相册分类</li>
		<li style="height:100%;">
			<!--{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,false)%></a>&nbsp;&nbsp;</font>						
					<!--{endfor}-->
					<div style="clear:both;"></div>		
				</div>
				</div>
			<!--{endfor}-->
			<div style="clear:both;"></div>
		</li>	
		</ul>		
	</div>
<!---########################## end 右边样式部分##########################--->
<!---##########################左边样式部分##########################--->

	<div class="page_left border">
	    <h3 class="titlebig"><%=PageTitle%> -- TOP</h3>
		<ul class="photo_box">		
			<!--{for (int i = 0; i < CommendPhotoCount && i < 4; i++)}-->
				<li>
					<span><a href="album_photo.aspx?photoid=<%=CommendPhotoArr[i].id.ToString()%>">
					<img class="img" src="<%=CommendPhotoArr[i].ZoomFile%>" alt="标题：<%=CommendPhotoArr[i].imgtitle%>" onerror="ImageOnError(this,'templates/<%=CurrentTemplateName%>/images/album/<%=CommendPhotoArr[i].ZoomFile%>')" /></a></span>
					评论:<%=CommendPhotoArr[i].bbscount.ToString()%> 收藏:<%=CommendPhotoArr[i].favcount.ToString()%> 浏览:<%=CommendPhotoArr[i].clickcount.ToString()%>次
					<br />
					by <a href ="album_list.aspx?userid=<%=CommendPhotoArr[i].userid.ToString()%>"><%=Text.Left(CommendPhotoArr[i].username,10,false)%></a>					
				</li>
			<!--{endfor}-->				
		</ul>		
	</div>
	<br/>
		
	<div class="page_left border">
		<h3 class="titlebig">相片列表</h3>
		<ul class="photo_box">
		<!--{for(int i=0; i < PhotoCount && i < PerOfPage; i++)}-->
				<li class="photo_box">
					<span><a href="album_photo.aspx?photoid=<%=PhotoArr[i].id.ToString()%>"><img class="img" src="<%=PhotoArr[i].ZoomFile%>" alt="标题：<%=PhotoArr[i].imgtitle%>" onerror="ImageOnError(this,'templates/<%=CurrentTemplateName%>/images/album/<%=PhotoArr[i].ZoomFile%>')" /></a></span>
					评论:<%=PhotoArr[i].bbscount.ToString()%> 收藏:<%=PhotoArr[i].favcount.ToString()%> 浏览:<%=PhotoArr[i].clickcount.ToString()%>次
					<br />
					by <a href ="album_list.aspx?userid=<%=PhotoArr[i].userid.ToString()%>"><%=Text.Left(PhotoArr[i].username,10,false)%></a>											
				</li>
			<!--{endfor}-->	
		</ul>	
	</div>	
	<br />
	<!--#include file="_temppager.htm"-->	
	<div style="clear:both"></div>
</div>
<!--#include file="_footer.html" -->