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/cart_info_top.lbi
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<a class="cart-mini" href="flow.php">
	<i class="iconfont">&#xe601;</i>
    购物车
    <span class="mini-cart-num J_cartNum" id="hd_cartnum">({$number})</span>
</a>
<div id="J_miniCartList" class="cart-menu">
	<!--{if $cart_list}-->
    <ul>
    	<!--{foreach from=$cart_list item=goods name=ioo}-->
    	<li class="clearfix <!-- {if $smarty.foreach.ioo.first} -->first<!-- {/if} -->">
        	<div class="cart-item">
              <a class="thumb" target="_blank" href="{$goods.url}">
                  <img src="{if $goods.goods_thumb eq 'package_img'}themes/<?php echo $GLOBALS['_CFG']['template']; ?>/images/ico_cart_package.gif{else}{$goods.goods_thumb}{/if}">
              </a>
              <a class="name" target="_blank" href="{$goods.url}">{$goods.short_name}</a>
              <span class="price">{$goods.shop_price}元 x {$goods.goods_number}</span>
              <a class="btn-del delItem" href="javascript:deleteCartGoods({$goods.rec_id});">
                  <i class="iconfont">&#xe60e;</i>
              </a>
            </div>
        </li>
        <!--{/foreach}-->
    </ul>
    <div class="count clearfix">
    	<span class="total">
            <strong>合计:<em id="hd_cart_total">{$amount}元</em></strong>
        </span>
        <a class="btnprimary" href="flow.php">去购物车结算</a>
    </div>
    <!--{else}-->
    <p class="loading_top">购物车中还没有商品,赶紧选购吧!</p>
    <!--{/if}--> 
</div>
<script type="text/javascript">
function deleteCartGoods(rec_id)
{
	Ajax.call('delete_cart_goods.php', 'id='+rec_id, deleteCartGoodsResponse_top, 'POST', 'JSON');
}

/**
 * 接收返回的信息
 */
function deleteCartGoodsResponse_top(res)
{
  if (res.error)
  {
    alert(res.err_msg);
  }
  else
  {
      $('.ECS_CARTINFO').html(res.content);
      $('.cart-panel-content').height($(window).height()-90);
      $("#ECS_CARTINFO_TOP").html(res.content_top);
  }
}
</script>