<%@ Page PathInChannel="index{Ext}" %>
<!doctype html>
<html lang="<%=PageLang%>">
<head>
<meta charset="utf-8">
<meta name="keywords" content="<%=MetaKeywords%>">
<meta name="description" content="<%=MetaDescription%>">
<title><%=Channel[Name]%> - <%=Site[Name]%></title>
<ali:Comment><link rel="stylesheet" href="../S01/CHS/css/common.css"></ali:Comment>
<link rel="stylesheet" href="<%=CommonPath%>aliui/skin/default/common.css">
<link rel="stylesheet" href="<%=CssPath%>common.css">
<script>
var _page = 'index',
	_lang_keyword_empty = '请输入关键字！';
</script>
</head>
<body>
<!-- start="顶部菜单" -->
<div class="top-menu">
	<div class="wrap">
		<!-- start="登陆状态" -->
		<div> <span> 亲，欢迎您的光临本站，赶快淘喜欢的宝贝吧！ <a href="<%=BuildUrl("User", "login")%>?Referer=<%=Request.RawUrl%>">[请登录]</a> <a href="<%=BuildUrl("User", "register")%>">[免费注册]</a> </span> <span style="display:none">你好！<a href="<%=BuildUrl("User", "index")%>" id="user"></a>，<a href="<%=BuildUrl("User", "logout")%>?Referer=<%=Request.RawUrl%>">安全退出</a></span> </div>
		<!-- end="登陆状态" -->
		
		<!-- start="语言导航"-->
		<ali:Menu Condition="CategoryID={7dfb1283-df5c-4c2a-a94e-61d8dd38df5d}">
			<ul>
				<ali:Record>
					<li><a href="<%=URL%>"<%=Style%>><%=Name%></a></li>
				</ali:Record>
			</ul>
		</ali:Menu>
		<!-- end="语言导航" -->
	</div>
</div>
<!-- end="顶部菜单" -->

<div class="header">
	<div class="header-left"> <a href="<%=BuildUrl("index")%>"><img src="<%=Logo%>" alt="<%=Site[Name]%>"></a> </div>
	<div class="header-mid">
	  	<!-- start="搜索"-->
		<form action="<%=BuildUrl(null, "goods_category", "CategoryID=_&BrandID=_&List=_&Order=_&OrderMore=_&q=_{q}")%>">
			<dl>
				<dd>
					<input type="text" name="q" class="keyword <%=PageLang%>Font">
				</dd>
				<dt>
					<input type="submit" value="搜索">
				</dt>
			</dl>
		</form>
		<!-- end="搜索" -->
		
		<!-- start="热门搜索"-->
		<ul>
			<li>热门搜索：</li>
			<ali:List Object="Goods" Page="1" PageSize="3" Condition="IsDeleted=false and IsReleased=true" Sort="HitCount DESC">
				<ali:Record>
					<li><a href="<%=BuildUrl()%>" target="_blank"><%=Name%></a></li>
				</ali:Record>
			</ali:List>
		</ul>
	    <!-- end="热门搜索" -->
	</div>
	<div class="header-right">
		<dl>
			<dt><a href="<%=BuildUrl("User", "index")%>">我的账号</a></dt>
			<dd style="display:none">
				<!-- start="我的账号"-->
				<ali:Menu Condition="CategoryID={1155117e-8090-4978-8359-b3719f325d34}">
					<ali:Record>
						 <a href="<%=URL%>" target="<%=Target%>"><%=Name%></a> 
					 </ali:Record> 	
				</ali:Menu>
				<!-- end="我的账号"-->
			</dd>
		</dl>
		<div><a href="<%=BuildUrl("cart")%>">购物车(<b id="cart-count">0</b>)</a></div>
	</div>
</div>

<div class="menu">
	<dl>
		<dt>
			<h1>全部商品分类</h1>
			<!-- start="商品分类" -->
			<ali:List Object="GoodsCategory" Condition="IsDisplay=true and ParentID IS NULL">
				<ul>
					<ali:Record>
						<li>
							<a href="<%=BuildUrl(null, "goods_category", "CategoryID=_" + PageID + "&BrandID=_&List=_&Order=_&OrderMore=_&q=_")%>" target="_blank"><%=Name%></a>
							<div>
								<ali:List Object="GoodsCategory" Condition="IsDisplay=true and ParentID=ID">
									<ali:Record>
										<ol>
											<li><h2><a href="<%=BuildUrl(null, "goods_category", "CategoryID=_" + PageID + "&BrandID=_&List=_&Order=_&OrderMore=_&q=_")%>" target="_blank"><%=Name%></a></h2></li>
											<ali:List Object="GoodsCategory" Condition="IsDisplay=true and ParentID=ID">
												<ali:Record>
													<li><a href="<%=BuildUrl(null, "goods_category", "CategoryID=_" + PageID + "&BrandID=_&List=_&Order=_&OrderMore=_&q=_")%>" target="_blank"><%=Name%></a></li>
												</ali:Record>
											</ali:List>
										</ol>
									</ali:Record>
								</ali:List>
							</div>
						</li>
					</ali:Record>
				</ul>
			</ali:List>
			<!-- end="商品分类" -->
		</dt>
		<!-- start="主菜单" -->
		<ali:Menu Condition="IsDisplay=true and CategoryID IS NULL" >
			<ali:Record>
				<dd><a href="<%=URL%>" target="<%=Target%>"><%=Name%></a></dd>
			</ali:Record>
		</ali:Menu>
		<!-- end="主菜单" -->
	</dl>
</div>

<div class="frame3">
	<div class="frame4">
		<div class="frame4-main">
			<!-- start="首页 - 轮换广告 isAd="true" -->
			<ali:Ad Guid="{D327CB7F-8475-4A3D-8D93-1C3C5AC5BEDE}">
				<a href="http://www.alicms.cn" target="_blank"><img src="<%=ImagePath%>ad/1.jpg" style="width:760px;height:220px"></a>
			</ali:Ad>
			<!-- end="首页 - 轮换广告" -->
		</div>
	</div>
</div>	

<div class="frame1">
	<div class="frame1-main">
		<!-- start="tab 产品" -->
		<div class="tab-menu1">
			<h1>
				<a class="active border1">热门商品</a>
				<a>推荐商品</a>
				<a>人气商品</a>
				<a>促销商品</a>
				<a>最新商品</a>
			</h1>
			
			<!-- start="热门产品" -->
			<ul>
				<ali:List Object="Goods" Page="1" PageSize="4" Condition="IsDeleted=false and IsReleased=true" Sort="HitCount DESC">
					<ali:Record>
						<li>
							<a href="<%=BuildUrl()%>"><img src="<%=Thumbnail%>" alt="<%=Name%>"></a>
							<p><a href="<%=BuildUrl()%>"><%=Name%></a></p>
							<p>市场价格 : <em> <%=Convert.ToDecimal(MarketPrice).ToString("0.00")%> 元</em></p>
							<p>销售价格 : <strong> <%=Convert.ToDecimal(SalePrice).ToString("0.00")%> 元</strong></p>
						</li>
					</ali:Record>	
				</ali:List>
			</ul>
			<!-- end="热门产品" -->
			<!-- start="推荐产品" -->
			<ul style="display:none">
				<ali:List Object="Goods" Page="1" PageSize="4" Condition="IsDeleted=false and IsReleased=true and IsRecommended=true" Sort="UpdateTime DESC">
					<ali:Record>
						<li>
							<a href="<%=BuildUrl()%>"><img src="<%=Thumbnail%>" alt="<%=Name%>"></a>
							<p><a href="<%=BuildUrl()%>"><%=Name%></a></p>
							<p>市场价格 : <em> <%=Convert.ToDecimal(MarketPrice).ToString("0.00")%> 元</em></p>
							<p>销售价格 : <strong> <%=Convert.ToDecimal(SalePrice).ToString("0.00")%> 元</strong></p>
						</li>
					</ali:Record>	
				</ali:List>
			</ul>
			<!-- end="推荐产品" -->
			<!-- start="人气产品" -->
			<ul style="display:none">
				<ali:List Object="Goods" Page="1" PageSize="4" Condition="IsDeleted=false and IsReleased=true" Sort="HitCount DESC">
					<ali:Record>
						<li>
							<a href="<%=BuildUrl()%>"><img src="<%=Thumbnail%>" alt="<%=Name%>"></a>
							<p><a href="<%=BuildUrl()%>"><%=Name%></a></p>
							<p>市场价格 : <em> <%=Convert.ToDecimal(MarketPrice).ToString("0.00")%> 元</em></p>
							<p>销售价格 : <strong> <%=Convert.ToDecimal(SalePrice).ToString("0.00")%> 元</strong></p>
						</li>
					</ali:Record>	
				</ali:List>
			</ul>
			<!-- end="人气产品" -->
			<!-- start="促销产品" -->
			<ul style="display:none">
				<ali:List Object="Goods" Page="1" PageSize="4" Condition="IsDeleted=false and Promote=true" Sort="UpdateTime DESC">
					<ali:Record>
						<li>
							<a href="<%=BuildUrl()%>" target="_blank"><img src="<%=Thumbnail%>" alt="<%=Name%>"></a>
							<p><a href="<%=BuildUrl()%>" target="_blank"><%=Name%></a></p>
							<p>市场价格 : <em> <%=Convert.ToDecimal(MarketPrice).ToString("0.00")%> 元</em></p>
							<p>销售价格 : <strong> <%=Convert.ToDecimal(SalePrice).ToString("0.00")%> 元</strong></p>
						</li>
					</ali:Record>	
				</ali:List>
			</ul>
			<!-- end="促销产品" -->
			<!-- start="最新产品" -->
			<ul style="display:none">
				<ali:List Object="Goods" Page="1" PageSize="4" Condition="IsDeleted=false" Sort="UpdateTime DESC">
					<ali:Record>
						<li>
							<a href="<%=BuildUrl()%>" target="_blank"><img src="<%=Thumbnail%>" alt="<%=Name%>"></a>
							<p><a href="<%=BuildUrl()%>" target="_blank"><%=Name%></a></p>
							<p>市场价格 : <em> <%=Convert.ToDecimal(MarketPrice).ToString("0.00")%> 元</em></p>
							<p>销售价格 : <strong> <%=Convert.ToDecimal(SalePrice).ToString("0.00")%> 元</strong></p>
						</li>
					</ali:Record>	
				</ali:List>
			</ul>
			<!-- end="最新产品" -->
		</div>
		<!-- end="tab 产品" -->
	</div>
	<div class="frame1-side">
		<!-- start="推荐品牌" -->
		<ali:List Object="Brand" Page="1" PageSize="8">	
			<dl class="list4">
				<dt>推荐品牌</dt>
				<ali:Record>
					<dd><a href="<%=BuildUrl()%>" title="<%=Name%>"><img src="<%=Logo%>" alt="<%=Name%>"></a></dd>
				 </ali:Record>
			</dl>
		</ali:List>	
		<!-- end="推荐品牌" -->
	</div>
</div>

<!-- start="父类商品"-->
<ali:List Object="GoodsCategory" Condition="IsDisplay=true and ParentID IS NULL">
	<ali:Record>
		<div class="frame2">
			<div class="frame2-side">
				<!-- start="子分类"-->
				<dl class="list5">
					<dt><%=Name%></dt>
					<ali:List Object="GoodsCategory" Page="1" PageSize="20" Condition="IsDisplay=true and ParentID=ID">
						<ali:Record>
							<dd><a href="<%=BuildUrl(null, "goods_category", "CategoryID=_" + PageID + "&BrandID=_&List=_&Order=_&OrderMore=_&q=_")%>" target="_blank"><%=Name%></a></dd>
						</ali:Record>
					</ali:List>
				</dl>
				<!-- end="子分类-->
				
				<div class="block1">
					<a href="<%=BuildUrl(null, "goods_category", "CategoryID=_" + PageID + "&BrandID=_&List=_&Order=_&OrderMore=_&q=_")%>" target="_blank"><img src="<%=Picture%>" alt="<%=Name%>" width="200" height="150"></a>
				</div>
			</div>
			<div class="frame2-main">
				<div class="tab-menu2">
					<!-- start="此子分类的tab 产品"-->
					<h1>
						<a class="active border1">热门商品</a>
						<a>推荐商品</a>
						<a>人气商品</a>
						<a>促销商品</a>
						<a>最新商品</a>
					</h1>
					<!-- end="此子分类的tab 产品"-->
					<!-- start="此分类的热门产品"-->
					<ul>
						<ali:List Object="Goods" Page="1" PageSize="8" Condition="IsDeleted=false and IsReleased=true and IncludeSubCategory=ID" Sort="HitCount DESC" >
							<ali:Record>
								<li>
									<a href="<%=BuildUrl()%>" target="_blank"><img src="<%=Thumbnail%>" alt="<%=Name%>"></a>
									<p><a href="<%=BuildUrl()%>" target="_blank"><%=Name%></a></p>
									<p>市场价格 : <em> <%=Convert.ToDecimal(MarketPrice).ToString("0.00")%>  元</em></p>
									<p>销售价格 : <strong>  <%=Convert.ToDecimal(SalePrice).ToString("0.00")%>  元</strong></p>
								</li>
							</ali:Record>
						</ali:List>
					</ul>
					<!-- end="此分类的热门产品"-->

					<!-- start="此分类的推荐产品"-->
					<ul style="display:none">
						<ali:List Object="Goods" Page="1" PageSize="8" Condition="IsDeleted=false and IsReleased=true and IncludeSubCategory=ID and IsRecommended=true" Sort="UpdateTime DESC" >
							<ali:Record>
								<li>
									<a href="<%=BuildUrl()%>"><img src="<%=Thumbnail%>" alt="<%=Name%>"></a>
									<p><a href="<%=BuildUrl()%>"><%=Name%></a></p>
									<p>市场价格 : <em> <%=Convert.ToDecimal(MarketPrice).ToString("0.00")%>  元</em></p>
									<p>销售价格 : <strong>  <%=Convert.ToDecimal(SalePrice).ToString("0.00")%>  元</strong></p>
								</li>
							</ali:Record>
						</ali:List>
					</ul>
					<!-- end="此分类的推荐产品"-->

					<!-- start="此分类的人气产品"-->
					<ul style="display:none">
						<ali:List Object="Goods" Page="1" PageSize="8" Condition="IsDeleted=false and IsReleased=true and IncludeSubCategory=ID" Sort="HitCount DESC" >
							<ali:Record>
								<li>
									<a href="<%=BuildUrl()%>"><img src="<%=Thumbnail%>" alt="<%=Name%>"></a>
									<p><a href="<%=BuildUrl()%>"><%=Name%></a></p>
									<p>市场价格 : <em> <%=Convert.ToDecimal(MarketPrice).ToString("0.00")%>  元</em></p>
									<p>销售价格 : <strong>  <%=Convert.ToDecimal(SalePrice).ToString("0.00")%>  元</strong></p>
								</li>
							</ali:Record>
						</ali:List>
					</ul>
					<!-- end="人气产品"-->

					<!-- start="此分类的促销产品"-->
					<ul style="display:none">
						<ali:List Object="Goods" Page="1" PageSize="8" Condition="IsDeleted=false and IsReleased=true and Promote=true and IncludeSubCategory=ID" Sort="HitCount DESC" >
							<ali:Record>
								<li>
									<a href="<%=BuildUrl()%>"><img src="<%=Thumbnail%>" alt="<%=Name%>"></a>
									<p><a href="<%=BuildUrl()%>"><%=Name%></a></p>
									<p>市场价格 : <em> <%=Convert.ToDecimal(MarketPrice).ToString("0.00")%>  元</em></p>
									<p>销售价格 : <strong>  <%=Convert.ToDecimal(SalePrice).ToString("0.00")%>  元</strong></p>
								</li>
							</ali:Record>
						</ali:List>
					</ul>
					<!-- end="此分类的促销产品"-->

					<!-- start="此分类的最新产品"-->
					<ul style="display:none">
						<ali:List Object="Goods" Page="1" PageSize="8" Condition="IsDeleted=false and IsReleased=true and IncludeSubCategory=ID" Sort="HitCount DESC" >
							<ali:Record>
								<li>
									<a href="<%=BuildUrl()%>"><img src="<%=Thumbnail%>" alt="<%=Name%>"></a>
									<p><a href="<%=BuildUrl()%>"><%=Name%></a></p>
									<p>市场价格 : <em> <%=Convert.ToDecimal(MarketPrice).ToString("0.00")%>  元</em></p>
									<p>销售价格 : <strong>  <%=Convert.ToDecimal(SalePrice).ToString("0.00")%>  元</strong></p>
								</li>
							</ali:Record>
						</ali:List>
					</ul>
					<!-- end="此分类的最新产品"-->
				</div>
			</div>
		</div>
	
		<!-- start="广告位:横排 isAd="true"-->
		<div class="ad1">
			<%If Index == 0%>
				<ali:Ad Guid="{9368D56B-A9B7-42ca-B528-A1797DC58D8C}">
					<a href="http://www.alicms.cn" target="_blank"><img src="<%=ImagePath%>ad/5.gif" alt="ad" style="width:980px;height:50px"></a>
				</ali:Ad>
			<%ElseIf Index == 1%>
				<ali:Ad Guid="{6F8B8BA8-AD0A-4777-8B46-6F899056F2E0}">
					<a href="http://www.alicms.cn" target="_blank"><img src="<%=ImagePath%>ad/5.gif" alt="ad" style="width:980px;height:50px"></a>
				</ali:Ad>
			<%ElseIf Index == 2%>
				<ali:Ad Guid="{37CC329E-49B9-4E3E-A61D-913092EA84B8}">
					<a href="http://www.alicms.cn" target="_blank"><img src="<%=ImagePath%>ad/5.gif" alt="ad" style="width:980px;height:50px"></a>
				</ali:Ad>
			<%EndIf%>
		</div>
		<!-- end="广告位:横排"-->
	</ali:Record>
</ali:List>
<!-- end="父类商品"-->

<!-- start="页脚帮助导航" -->
<ali:Menu Condition="IsDisplay=true and CategoryID={43933a81-064a-4f2c-b32e-5e5f7f319f8e} and ParentID IS NULL">
	<div class="block2 margin1">
		<div class="block2-wrap">
			<ali:Record>
				<dl>
					<dt><a href="<%=URL%>" target="<%=Target%>"><%=Name%></a></dt>
					<ali:Menu Condition="IsDisplay=true and ParentID=ID">
						<ali:Record>
							<dd><a href="<%=URL%>" target="<%=Target%>"><%=Name%></a></dd>
						</ali:Record>
					</ali:Menu>
				</dl>
			</ali:Record>
		</div>
	</div>
</ali:Menu>
<!-- end="页脚帮助导航" -->

<!-- start="友情链接" -->
<div class="link">
	<ul>
		<ali:List Mark="System" Object="Link" Condition="IsChecked=true and Logo IS NOT NULL">
			<ali:Record>
				<li><a href="<%=URL%>" target="_blank" ><img src="<%=Logo%>" alt="<%=Name%>"></a></li>
			</ali:Record>
		</ali:List>
	</ul>
</div>
<!-- end="友情链接" -->

<!-- start="脚注菜单" -->
<div class="footer-menu">
	<ali:Menu Condition="IsDisplay=true and CategoryID={BAC035A8-F6BB-4772-8D51-A7F4F3AB7AD3}">
		<ali:Record>
			<a href="<%=URL%>" target="<%=Target%>"><%=Name%></a>
			<ali:Separator>|</ali:Separator>
		</ali:Record>
	</ali:Menu>
</div>
<!--end="脚注菜单" -->
	
<!-- start="脚注" -->
<div class="footer">
	<%=Footer%>
</div>
<!-- end="脚注" -->

<script src="<%=CommonPath%>jquery/core.js"></script> 
<script src="<%=CommonPath%>json2.js"></script>
<script src="<%=CommonPath%>aliui/ali.min.js"></script>
<%If PageLang == "UYG" || PageLang == "KZA" || PageLang == "KGA"%>
	<script src="<%=CommonPath%>IlgharIme.js"></script>
<%EndIf%>
<script src="<%=JsPath("global.js")%>"></script>
<script src="<%=JsPath%>common.js"></script>
<%=StatCode%>
</body>
</html>
