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/library/
Upload File :
Current Directory [ Writeable ] Root Directory [ Writeable ]


Current File : /www/wwwroot/saimikebio.com/themes/lingshi/library/cat_goods.lbi
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<?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>