<!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>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>{$title}</title>
	<meta name="Keywords" content="{$keywords}" />
	<meta name="Description" content="{$description}" /> 
    <link href="{$domain}/view/tenlongs{$style}/css/common.css" rel="stylesheet" type="text/css" />
	<link href="{$domain}/view/tenlongs{$style}/css/index.css" rel="stylesheet" type="text/css" />
	<script src="{$domain}/view/tenlongs{$style}/js/jquery.js" type="text/javascript"></script>
	<script src="{$domain}/view/tenlongs{$style}/js/focus.cycle.js" type="text/javascript"></script>
	<script src="{$domain}/view/tenlongs{$style}/js/imgResizer.js" type="text/javascript"></script>
	<script src="{$domain}/view/tenlongs{$style}/js/jselect.js" type="text/javascript"></script>
		{literal}
		<script type="text/javascript">
			$(document).ready(function(){
				$("select").sSelect();
			
				$(function(){
					$('#banner').cycle({ 
							fx:'scrollLeft',
							pager:'#btn'
					});
				})
				$(function(){
				  $(".b2cprodshow li .pic a img").zoom({height:120,width:120});
				  $(".modprod li .pic a img").zoom({height:172,width:172});				 
				})
			})
		</script>
		{/literal}
	</head>
	<body> 
	   {include file="tenlongs/page_header.tpl"}
        <div class="bodyer">
        <!-- left -->
          <div class="ibodyleft">
        <!-- cate and foucs -->
	   <!-- foucs -->	
		<div class="ifoucs">
		  <div id="banner" style="overflow:hidden;">
			    {if $imgsider}
					 {foreach from=$imgsider item=imgsider name=imgsider}		
						{if $smarty.foreach.imgsider.iteration<=6}
							<a href="{$imgsider->url}" target="_black"><img img width="705" height="300" src="{$imgsider->site_logo}" alt="{$imgsider->title}"/></a>
						{/if}
					 {/foreach}
		        {/if}
		  </div>
		  <div id="btn"></div>
		</div>
			
       
		<!--/cate and foucs -->
		</div>
		<!--/left -->
		<!-- right -->
		    <div class="ibodyright">
		<!-- today sale -->
		      <div class="prom">
		         <h2>折扣促销</h2>
		      </div>
		      <div class="todaysale">
				<ul>
				  {if $promo_cat}
					  {foreach from=$promo_cat item=value name=rec}	
						 {if $smarty.foreach.rec.iteration<=9}
						   <li><a title="{$value.title}" onClick="window.open ('{$value.seller_url}');" href="javascript:void(0)";>{$value.title}</a></li>		              	         {/if}
					  {/foreach}
			      {/if} 
				</ul>
		     </div>
		<!--/today sale -->
         </div>
<!--/right -->
</div>
<!-- b2c hot -->
		<div class="b2chot">
		    <div class="sellor_content">
			  <div class="title"><h2>购物商城</h2>
				<div class="left">正规发票 正品保障</div>
			  </div>
				<div class="b2cshow">
				  <div class="b2clogo">
					<div class="b2clogolist">
					  <ul>
						  {foreach from=$rec_seller item=recseller name=recseller}
							<li>
							{if $rewrite}
								<a title="{$recseller->name}" target="_blank" href="{$domain}/{$sellerinfo}-{$recseller->id}{$suffix}"> <img src="{$recseller->logo}" alt="京东商城" width="102" height="38" /></a>
							{else}
								<a title="{$recseller->name}" target="_blank" href="./index.php?a=sellerinfo&id={$recseller->id}"> <img src="{$recseller->logo}" alt="京东商城" width="102" height="38" /></a>
							{/if}
							</li>
						{/foreach}
					  </ul>
				   </div>
				</div>
			  </div>
			</div>  
        </div>
<!--/b2c hot -->
<!-- Classification Module -->
<div class="bodyer">
     <!-- loop -->
	 {if $Alldata}
		{foreach from=$Alldata item=alldata name=rec}
		    <div class="catemodtitle">
			    <div class="left">&nbsp;</div>
				
				<h2>					
					{if $rewrite}
						<a href="{$domain}/{$b2c_category}-{$alldata.category}-b2c-true{$suffix}" title="{$alldata.cat_name}">{$alldata.cat_name}</a>
					{else}
						<a href="/index.php?a=category&cid={$alldata.category}" title="{$alldata.cat_name}">{$alldata.cat_name}</a>
					{/if}
				</h2>
				 <div class="right">
					 <ul>
						{if $alldata.sonnav}
							 {foreach from=$alldata.sonnav item=sonnav name=sonnav}							
								{if $rewrite}
									<li><a href="{$domain}/{$b2c_category}-{$sonnav->category}-b2c-true{$suffix}" title="{$sonnav->name}">{$sonnav->name}</a></li>
								{else}
									<li><a href="./index.php?a=category&cid={$sonnav->category}" title="{$sonnav->name}">{$sonnav->name}</a></li>
								{/if}	
							 {/foreach} 
						{/if}
					</ul>
				 </div>
		  </div>
		
		<div class="layoutall">
		<!-- modleft -->
		<div class="ibodyleft1">
		<div class="modprod">
		<ul>
			<div class="layoutall">
					<!-- modleft -->
						<div class="ibodyleft1">
							<div class="modprod">
								<ul>
									{if $alldata.product.item}
									  {foreach from=$alldata.product.item item=product name=product}
										{if $smarty.foreach.product.iteration<=10}	
										 {if $rewrite}
										  <li>
											<div class="pic">
												<a rel="{$product.pic_url}" href="{$domain}/{$bitem}-{$product.iid}{$suffix}" title="{$product.title}" target="_black">
									              <img src="{$product.pic_url}" alt="{$product.title}"/>
								                </a>
											</div>
											<h3>
												<a href="{$domain}/{$bitem}-{$product.iid}{$suffix}" title="{$product.title}" target="_black">{$product.title}</a> </h3>
											<div class="price">
												{$product.seller_name}
												<strong>{$product.price}</strong>
												元
											</div>
										 </li> 
										 {else}
										  <li>
											<div class="pic">
												<a rel="{$product.pic_url}" href="?a=bitem&iid={$product.iid}" title="{$product.title}" target="_black">
									              <img src="{$product.pic_url}" alt="{$product.title}"/>
								                </a>
											</div>
											<h3>
												<a href="?a=bitem&iid={$product.iid}" title="{$product.title}" target="_black">{$product.title}</a> </h3>
											<div class="price">
												{$product.seller_name}
												<strong>{$product.price}</strong>
												元
											</div>
										 </li> 
										 {/if}
										{/if}		              	
									  {/foreach}
									{/if}   
								</ul>
							</div>
						</div>
		    </div>
		</ul>
		</div>
		</div>
      </div>
    <!--/loop -->

       {/foreach}
       {/if}
</div>	
<!--/Classification Module -->
<script src="{$domain}/view/tenlongs{$style}/js/global_menu.js" type="text/javascript"></script>
{literal}
<style type="text/css">
.hr {   
    height: 10px;
	clear:both;
}
.friend{
	width:960px;	
	margin:0 auto;
	padding:10px;
}
.friend h3{
	border-bottom: 2px solid #CCCCCC;
	height:30px;
	line-height:30px;
	padding-bottom:5px;
}
.friend ul{	
	width:960px;
	float:left;
}
/*兼容iE7*/
.friend ul li{
	display:inline-block;	
	float:left;
	padding:5px;
	*display:inline; 
	*zoom:1;
	*float:none;
}
.friend ul li a img{
	border:1px solid #CCC;
}
</style>
{/literal}
<div class="friend">
		<h3>友情链接</h3>
		<ul class="friend_txt">
		{foreach from=$AllTextLink item=alltext name=alltext}
			<li><a href="{$alltext->weburl}" title="{$alltext->webname}" target="_black">{$alltext->webname}</a></li>
		{/foreach}	
			
		</ul>
		<div class="hr"></div>
		<ul class="friend_img">
		{foreach from=$AllImgLink item=allimg name=alltext}
			<li><a href="{$alltext->weburl}" title="{$alltext->webname}" target="_black"><img src="{$domain}/{$allimg->site_logo}" style="width:120px; height:45px;" alt="{$alltext->webname}" /></a></li>
		{/foreach}
		</ul>
</div> 
<!-- copyright -->
{include file="tenlongs/page_bottom.tpl"}
<!--/copyright -->
</body>
</html>
