<%@ Page PathInChannel="index.htm" %>
<!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" />
<title><%=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>
<script type="text/javascript" src="/common/marquee.js"></script>
<script type="text/javascript" src="/common/swfobject.js"></script>
<script type="text/javascript" src="/common/utility.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="MovieCategory" 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="广告位2" -->
<div class="Block2">
	<ilghar:Ad InnerID="13" />
</div>
<!-- TemplateEndEditable -->

<div class="Wrap">
	<div class="Block10">
		<!-- TemplateBeginEditable name="推荐电影" -->
		<h1>推荐电影</h1>
		<ilghar:List Object="Movie" Page="1" PageSize="8" Condition="IsDeleted=false and IsChecked=true and IsRecommended=true" Sort="Recommend DESC">
			<ul>
				<ilghar:Record>
					<li><a href="<%=BuildUrl()%>" target="_blank" title="<%=Name%>"><%=Name%></a></li>
				</ilghar:Record>
			</ul>
		</ilghar:List>
		<!-- TemplateEndEditable -->
	</div>
	<div class="Block3">
		<!-- TemplateBeginEditable name="广告位3" -->
		<ilghar:Ad InnerID="20" />
		<!-- TemplateEndEditable -->	
	</div>
	<div class="Block10">
		<!-- TemplateBeginEditable name="最新电影" -->
		<h1>最新电影</h1>
		<ilghar:List Object="Movie" Page="1" PageSize="8" Condition="IsDeleted=false and IsChecked=true" Sort="UpdateTime DESC">
			<ul>
				<ilghar:Record>
					<li><a href="<%=BuildUrl()%>" target="_blank" title="<%=Name%>"><%=Name%></a></li>
				</ilghar:Record>
			</ul>
		</ilghar:List>
		<!-- TemplateEndEditable -->	
	</div>
</div>

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

<ilghar:List Object="MovieCategory" Page="1" PageSize="1" Condition="IsRecommended=true" Sort="Recommend DESC">
	<div class="Wrap">
		<div class="Block14">
			<ilghar:Record>
				<h3><%=Name%><a href="<%=BuildUrl()%>"><img src="<%=ImagePath%>arrow2_flipCHS.gif" /></a></h3>
				<div class="Block6">
					<ilghar:List Object="Movie" Page="1" PageSize="1" Condition="IsRecommended=true and IncludeSubCategory=ID" Sort="Recommend DESC">
						<ilghar:Record>
							<a href="<%=BuildUrl()%>" target="_blank" title="<%=Name%>"><img src="<%=Picture%>" alt="<%=Name%>" /></a><br />
							<a href="<%=BuildUrl()%>" target="_blank" title="<%=Name%>"><%=Name%></a>
						</ilghar:Record>
					</ilghar:List>
				</div>
				<div class="Block7">
					<ilghar:List Object="Movie" Page="1" PageSize="12" Condition="IsDeleted=false and IsChecked=true and IncludeSubCategory=ID" Sort="UpdateTime DESC">
						<ilghar:Row MaxCol="1">
							<ul>
								<ilghar:Col MaxRecord="6">
									<ilghar:Record>
										<li>
											<a href="<%=BuildUrl()%>" target="_blank" title="<%=Name%>"><img src="<%=Thumbnail%>" alt="<%=Name%>" /></a><br />
											<a href="<%=BuildUrl()%>" target="_blank" title="<%=Name%>"><%=Name%></a>
										</li>
									</ilghar:Record>
								</ilghar:Col>
							</ul>
						</ilghar:Row>
					</ilghar:List>
				</div>
			</ilghar:Record>
		</div>
	</div>
	
	<!-- TemplateBeginEditable name="广告位5" -->
	<div class="Block2">
		<ilghar:Ad InnerID="13" />
	</div>
	<!-- TemplateEndEditable -->
</ilghar:List>

<ilghar:List Object="MovieCategory" Page="2" PageSize="1" Condition="IsRecommended=true" Sort="Recommend DESC">
	<div class="Wrap">
		<div class="Block14">
			<ilghar:Record>
				<h3><%=Name%><a href="<%=BuildUrl()%>"><img src="<%=ImagePath%>arrow2_flipCHS.gif" /></a></h3>
				<div class="Block6">
					<ilghar:List Object="Movie" Page="1" PageSize="1" Condition="IsRecommended=true and IncludeSubCategory=ID" Sort="Recommend DESC">
						<ilghar:Record>
							<a href="<%=BuildUrl()%>" target="_blank" title="<%=Name%>"><img src="<%=Picture%>" alt="<%=Name%>" /></a><br />
							<a href="<%=BuildUrl()%>" target="_blank" title="<%=Name%>"><%=Name%></a>
						</ilghar:Record>
					</ilghar:List>
				</div>
				<div class="Block7">
					<ilghar:List Object="Movie" Page="1" PageSize="12" Condition="IsDeleted=false and IsChecked=true and IncludeSubCategory=ID" Sort="UpdateTime DESC">
						<ilghar:Row MaxCol="1">
							<ul>
								<ilghar:Col MaxRecord="6">
									<ilghar:Record>
										<li>
											<a href="<%=BuildUrl()%>" target="_blank" title="<%=Name%>"><img src="<%=Picture%>" alt="<%=Name%>" /></a><br />
											<a href="<%=BuildUrl()%>" target="_blank" title="<%=Name%>"><%=Name%></a>
										</li>
									</ilghar:Record>
								</ilghar:Col>
							</ul>
						</ilghar:Row>
					</ilghar:List>
				</div>
			</ilghar:Record>
		</div>
	</div>
	
	<!-- TemplateBeginEditable name="广告位6" -->
	<div class="Block2">
		<ilghar:Ad InnerID="13" />
	</div>
	<!-- TemplateEndEditable -->
</ilghar:List>

<ilghar:List Object="MovieCategory" Page="3" PageSize="1" Condition="IsRecommended=true" Sort="Recommend DESC">
	<div class="Wrap">
		<div class="Block14">
			<ilghar:Record>
				<h3><%=Name%><a href="<%=BuildUrl()%>"><img src="<%=ImagePath%>arrow2_flipCHS.gif" /></a></h3>
				<div class="Block6">
					<ilghar:List Object="Movie" Page="1" PageSize="1" Condition="IsRecommended=true and IncludeSubCategory=ID" Sort="Recommend DESC">
						<ilghar:Record>
							<a href="<%=BuildUrl()%>" target="_blank" title="<%=Name%>"><img src="<%=Picture%>" alt="<%=Name%>" /></a><br />
							<a href="<%=BuildUrl()%>" target="_blank" title="<%=Name%>"><%=Name%></a>
						</ilghar:Record>
					</ilghar:List>
				</div>
				<div class="Block7">
					<ilghar:List Object="Movie" Page="1" PageSize="12" Condition="IsDeleted=false and IsChecked=true and IncludeSubCategory=ID" Sort="UpdateTime DESC">
						<ilghar:Row MaxCol="1">
							<ul>
								<ilghar:Col MaxRecord="6">
									<ilghar:Record>
										<li>
											<a href="<%=BuildUrl()%>" target="_blank" title="<%=Name%>"><img src="<%=Thumbnail%>" alt="<%=Name%>" /></a><br />
											<a href="<%=BuildUrl()%>" target="_blank" title="<%=Name%>"><%=Name%></a>
										</li>
									</ilghar:Record>
								</ilghar:Col>
							</ul>
						</ilghar:Row>
					</ilghar:List>
				</div>
			</ilghar:Record>
		</div>
	</div>
	
	<!-- TemplateBeginEditable name="广告位7" -->
	<div class="Block2">
		<ilghar:Ad InnerID="13" />
	</div>
	<!-- TemplateEndEditable -->
</ilghar:List>

<ilghar:List Object="MovieCategory" Page="4" PageSize="1" Condition="IsRecommended=true" Sort="Recommend DESC">
	<div class="Wrap">
		<div class="Block14">
			<ilghar:Record>
				<h3><%=Name%><a href="<%=BuildUrl()%>"><img src="<%=ImagePath%>arrow2_flipCHS.gif" /></a></h3>
				<div class="Block6">
					<ilghar:List Object="Movie" Page="1" PageSize="1" Condition="IsRecommended=true and IncludeSubCategory=ID" Sort="Recommend DESC">
						<ilghar:Record>
							<a href="<%=BuildUrl()%>" target="_blank" title="<%=Name%>"><img src="<%=Picture%>" alt="<%=Name%>" /></a><br />
							<a href="<%=BuildUrl()%>" target="_blank" title="<%=Name%>"><%=Name%></a>
						</ilghar:Record>
					</ilghar:List>
				</div>
				<div class="Block7">
					<ilghar:List Object="Movie" Page="1" PageSize="12" Condition="IsDeleted=false and IsChecked=true and IncludeSubCategory=ID" Sort="UpdateTime DESC">
						<ilghar:Row MaxCol="1">
							<ul>
								<ilghar:Col MaxRecord="6">
									<ilghar:Record>
										<li>
											<a href="<%=BuildUrl()%>" target="_blank" title="<%=Name%>"><img src="<%=Thumbnail%>" alt="<%=Name%>" /></a><br />
											<a href="<%=BuildUrl()%>" target="_blank" title="<%=Name%>"><%=Name%></a>
										</li>
									</ilghar:Record>
								</ilghar:Col>
							</ul>
						</ilghar:Row>
					</ilghar:List>
				</div>
			</ilghar:Record>
		</div>
	</div>
	
	<!-- TemplateBeginEditable name="广告位8" -->
	<div class="Block2">
		<ilghar:Ad InnerID="13" />
	</div>
	<!-- TemplateEndEditable -->
</ilghar:List>

<ilghar:List Object="MovieCategory" Page="5" PageSize="1" Condition="IsRecommended=true" Sort="Recommend DESC">
	<div class="Wrap">
		<div class="Block14">
			<ilghar:Record>
				<h3><%=Name%><a href="<%=BuildUrl()%>"><img src="<%=ImagePath%>arrow2_flipCHS.gif" /></a></h3>
				<div class="Block6">
					<ilghar:List Object="Movie" Page="1" PageSize="1" Condition="IsRecommended=true and IncludeSubCategory=ID" Sort="Recommend DESC">
						<ilghar:Record>
							<a href="<%=BuildUrl()%>" target="_blank" title="<%=Name%>"><img src="<%=Picture%>" alt="<%=Name%>" /></a><br />
							<a href="<%=BuildUrl()%>" target="_blank" title="<%=Name%>"><%=Name%></a>
						</ilghar:Record>
					</ilghar:List>
				</div>
				<div class="Block7">
					<ilghar:List Object="Movie" Page="1" PageSize="12" Condition="IsDeleted=false and IsChecked=true and IncludeSubCategory=ID" Sort="UpdateTime DESC">
						<ilghar:Row MaxCol="1">
							<ul>
								<ilghar:Col MaxRecord="6">
									<ilghar:Record>
										<li>
											<a href="<%=BuildUrl()%>" target="_blank" title="<%=Name%>"><img src="<%=Thumbnail%>" alt="<%=Name%>" /></a><br />
											<a href="<%=BuildUrl()%>" target="_blank" title="<%=Name%>"><%=Name%></a>
										</li>
									</ilghar:Record>
								</ilghar:Col>
							</ul>
						</ilghar:Row>
					</ilghar:List>
				</div>
			</ilghar:Record>
		</div>
	</div>
	
	<!-- TemplateBeginEditable name="广告位9" -->
	<div class="Block2">
		<ilghar:Ad InnerID="13" />
	</div>
	<!-- TemplateEndEditable -->
</ilghar:List>

<!-- TemplateBeginEditable name="友情链接" -->
<ilghar:List Mark="Link" Object="Link" Condition="IsDeleted=false and IsChecked=true">
	<div id="Link" class="Link">
		<ilghar:Record>
			<a href="<%=URL%>" title="<%=Name%>"><img src="<%=Logo%>" title="<%=Name%>" /></a>
		</ilghar:Record>
	</div>
	<script type="text/javascript">
	var linkMarquee = new Marquee("Link");
	linkMarquee.Direction="left";
	linkMarquee.Step = 1;
	linkMarquee.Width = document.getElementById("Link").clientWidth;
	linkMarquee.Height = document.getElementById("Link").clientHeight;
	linkMarquee.Timer = 20;
	linkMarquee.ScrollStep = 1;
	linkMarquee.Start();
	</script>
</ilghar:List>
<!-- TemplateEndEditable -->

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

<script type="text/javascript">
_ajax.Post("/generator.aspx?Type=Auto", null, null);
</script>

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