<%@ Page PathInChannel="ac{#ID#}{#Page#}.htm" Object="AlbumCategory" Pagination="List,Pagination" PageSize="30" %>
<!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>
<!-- TemplateInfo codeOutsideHTMLIsLocked="true" -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<ilghar:Get ID="AlbumCategory" Object="AlbumCategory" InnerID="Request.QueryString['ID']" />
<title><%=AlbumCategory[Name]%> - <%=ChannelName%> - <%=SiteName%></title>
<ilghar:Comment><link rel="stylesheet" type="text/css" href="S01/CHS/css/common.css" /></ilghar:Comment>
<link rel="stylesheet" type="text/css" href="<%=CssPath%>common.css" />
<script type="text/javascript" src="/common/ajax.js"></script>
</head>
<body>
<div class="Header">
	<div class="Block5">
		<div class="Left"><a href="http://www.ilghar.cn"><img src="<%=SiteLogo%>" /></a></div>
		<div class="Center">
			<div class="SubMenu">
				<ul>
					<li><a href="javascript:" onclick="AddFavorite()">加入收藏</a></li>
					<li><a href="javascript:" onclick="SetHome()">设为主页</a></li>
				</ul>
			</div>
			<!-- TemplateBeginEditable name="菜单" -->
			<ilghar:Menu Object="WebMenuBar" Condition="CategoryID={CC636E36-E49A-4A20-98C9-31A582DAF115} and ParentID IS NULL">
				<div class="TabMenu">
					<ul>
						<ilghar:Record>
							<ilghar:Select>
								<ilghar:Yes>
									<li class="Current"><a href="<%=URL%>"><span><%=Name%></span></a></li>
								</ilghar:Yes>
								<ilghar:No>
									<li><a href="<%=URL%>"><span><%=Name%></span></a></li>
								</ilghar:No>
							</ilghar:Select>
						</ilghar:Record>
					</ul>
				</div>
			</ilghar:Menu>
			<!-- TemplateEndEditable -->
		</div>
		<div class="Right">
			<!-- TemplateBeginEditable name="广告位1" -->
			<ilghar:Ad InnerID="7" />
			<!-- TemplateEndEditable -->
		</div>
	</div>
</div>

<!-- TemplateBeginEditable name="影集类别" -->
<ilghar:List Object="AlbumCategory" Condition="ParentID IS NULL">
	<div class="Menu">
		<ilghar:Record>
			<a href="<%=BuildUrl()%>"><%=Name%></a>
		</ilghar:Record>
	</div>
</ilghar:List>
<!-- TemplateEndEditable -->

<!-- TemplateBeginEditable name="搜索" -->
<div class="Block1">
	<form action="<%=BuildUrl('search.dwt')%>" method="get">
		<input type="text" name="q" size="40" class="<%=PageLang%>Font" />
		<input type="submit" value="搜索" />
	</form>
</div>
<!-- TemplateEndEditable -->

<!-- TemplateBeginEditable name="广告位8" -->
<div class="Block2">
	<ilghar:Ad InnerID="13" />
</div>
<!-- TemplateEndEditable -->

<div class="Wrap">
	<!-- TemplateBeginEditable name="路径" -->
    <div class="Block15">
		<span>当前位置：</span>
		<ilghar:Path Object="AlbumCategory" Guid="AlbumCategory[ParentID]">
			<ilghar:Record>
				<a href="<%=URL%>"><%=Name%></a> &gt;
			</ilghar:Record>
		</ilghar:Path>
		<%=AlbumCategory[Name]%>
	</div>
	<!-- TemplateEndEditable -->
	<div class="Block4">
		<!-- TemplateBeginEditable name="影集排行" -->
		<ilghar:List Object="Album" Page="1" PageSize="15" Condition="IsDeleted=false and IsChecked=true" Sort="HitCount DESC">
			<h1>影集排行</h1>
			<ul>
				<ilghar:Record>
					<li><label class="CHSFont"><%=Index + 1%></label><a href="<%=BuildUrl()%>" target="_blank" title="<%=Name%>"><%=Name%></a></li>
				</ilghar:Record>
			</ul>
		</ilghar:List>
		<!-- TemplateEndEditable -->
		
		<!-- TemplateBeginEditable name="最新影集" -->
		<ilghar:List Object="Album" Page="1" PageSize="15" Condition="IsDeleted=false and IsChecked=true" Sort="UpdateTime DESC">
			<h1>最新影集</h1>
			<ul>
				<ilghar:Record>
					<li><label class="CHSFont"><%=Index + 1%></label><a href="<%=BuildUrl()%>" target="_blank" title="<%=Name%>"><%=Name%></a></li>
				</ilghar:Record>
			</ul>
		</ilghar:List>
		<!-- TemplateEndEditable -->
	</div>
	<div class="Block18">
		<h3><%=AlbumCategory[Name]%></h3>
		<!-- TemplateBeginEditable name="列表" -->
		<ilghar:List ID="List" Object="Album" Condition="IsDeleted=false and IsChecked=true and IncludeSubCategory=AlbumCategory[ID]">
			<ilghar:Row MaxCol="1">
				<ul>
					<ilghar:Col MaxRecord="5">
						<ilghar:Record>
							<li>
								<a href="<%=BuildUrl()%>" target="_blank" title="<%=Name%>"><img src="<%=Thumbnail%>" /></a><br />
								<a href="<%=BuildUrl()%>" target="_blank" title="<%=Name%>"><%=Name%></a>
							</li>
						</ilghar:Record>
					</ilghar:Col>
				</ul>
			</ilghar:Row>
		</ilghar:List>
		<!-- TemplateEndEditable -->
	</div>
	<!-- TemplateBeginEditable name="分页" -->
	<ilghar:Pagination ID="Pagination">
		<div class="Block17">
			&nbsp;&nbsp;&nbsp;&nbsp;共<span><%=RecordCount%></span>页
			&nbsp;&nbsp;&nbsp;&nbsp;每页共<span><%=PageSize%></span>首
			<ilghar:FirstPage>
				<ilghar:No>
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="<%=FirstPage%>">首页</a>
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="<%=PreviousPage%>">上一页</a>
				</ilghar:No>
			</ilghar:FirstPage>
			<ilghar:LastPage>
				<ilghar:No>
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="<%=NextPage%>">下一页</a>
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="<%=LastPage%>">尾页</a>
				</ilghar:No>
			</ilghar:LastPage>
		</div>
	</ilghar:Pagination>
	<!-- TemplateEndEditable -->
</div>

<!-- TemplateBeginEditable name="广告位9" -->
<div class="Block2">
	<ilghar:Ad InnerID="15" />
</div>
<!-- TemplateEndEditable -->

<!-- TemplateBeginEditable name="脚注" -->
<div class="Footer"><%=Footer%></div>
<!-- TemplateEndEditable -->

<%If Convert.ToString(PageLang) == "UYG"%>
	<script type="text/javascript" src="/common/IlgharIme.js"></script>
	<script type="text/javascript">SetupIme()</script>
<%EndIf%>
</body>
</html>
