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


Current File : /www/wwwroot/saimikebio.com/temp/compiled/category.dwt.php
<!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 name="Keywords" content="<?php echo $this->_var['keywords']; ?>" />
<meta name="Description" content="<?php echo $this->_var['description']; ?>" />

<title><?php echo $this->_var['page_title']; ?></title>



<link rel="shortcut icon" href="favicon.ico" />
<link rel="icon" href="animated_favicon.gif" type="image/gif" />
<link href="<?php echo $this->_var['ecs_css_path']; ?>" rel="stylesheet" type="text/css" />
<link href="themes/lingshi/category.css" rel="stylesheet" type="text/css" />

<?php echo $this->smarty_insert_scripts(array('files'=>'jquery-1.9.1.min.js,jquery.json.js')); ?>
<script type="text/javascript" src="themes/lingshi/js/common.js"></script>
<?php echo $this->smarty_insert_scripts(array('files'=>'global.js,compare.js,easydialog.min.js')); ?>
</head>
<body>
<?php echo $this->fetch('library/page_header.lbi'); ?> <?php echo $this->smarty_insert_scripts(array('files'=>'lizi_category.js')); ?>
<div id="wrapper"> 
   
  <?php echo $this->fetch('library/ur_here.lbi'); ?>
  <div class="main cle"> 
    <div class="maincon"> 
<?php
$category = $GLOBALS['smarty']->_var['category'];
?>
      <?php if ($this->_var['brand_id'] || ( ( $this->_var['price_max'] > $this->_var['price_min'] ) && $this->_var['price_max'] > 0 ) || $this->_var['price_max'] || $this->_var['filter_attr_sum'] > 0): ?>
      <div class="search-selected"> <span>您已选择:</span> 
		<?php if ($this->_var['filter_attr_sum'] > 0): ?> 
            <?php $_from = $this->_var['filter_attr_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'filter_attr_0_94745100_1732528423');if (count($_from)):
    foreach ($_from AS $this->_var['filter_attr_0_94745100_1732528423']):
?> 
                <?php $_from = $this->_var['filter_attr_0_94745100_1732528423']['attr_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'attr');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['attr']):
?>
                <?php if ($this->_var['attr']['selected'] && $this->_var['key'] > 0): ?> 
                 <a href="<?php echo $this->_var['attr']['del_url']; ?>" class="item"><?php echo $this->_var['attr']['attr_value']; ?></a> 
                <?php endif; ?> 
                <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
            <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?> 
		<?php endif; ?> 
        
        <?php if ($this->_var['brands']['1']): ?>
        <?php $_from = $this->_var['brands']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'brand');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['brand']):
?> 
        <?php if ($this->_var['brand']['selected'] && $this->_var['key'] > 0): ?> 
        <a href="<?php echo $this->_var['brands']['0']['url']; ?>" class="item"><?php echo $this->_var['brand']['brand_name']; ?></a> 
        <?php endif; ?> 
        <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?> 
        <?php endif; ?> 

		<?php if (( $this->_var['price_max'] > $this->_var['price_min'] ) && $this->_var['price_max'] > 0): ?>
        <a href="<?php echo $this->_var['price_grade']['0']['url']; ?>" class="item"><?php echo $this->_var['price_min']; ?>&nbsp;-&nbsp;<?php echo $this->_var['price_max']; ?></a> 
		<?php endif; ?>
      </div>
      <?php endif; ?> 
      
       
      
      <div class="search-options" id="search-options">
        <div class="bd">
          <dl>
            <dt>分类:</dt>
            <dd>
              <div class="items cle"> 
                <?php $_from = get_children_tree($category); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'cat');if (count($_from)):
    foreach ($_from AS $this->_var['cat']):
?>
		<?php $_from = $this->_var['cat']['children']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'child');$this->_foreach['child'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['child']['total'] > 0):
    foreach ($_from AS $this->_var['key'] => $this->_var['child']):
        $this->_foreach['child']['iteration']++;
?>
                <?php if ($this->_var['key'] > 0): ?>
                <div class="link"> <a href="<?php echo $this->_var['child']['url']; ?>" class="item"><?php echo htmlspecialchars($this->_var['child']['name']); ?></a> </div>
                <?php endif; ?>
                <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?> 
                <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?> 
              </div>
            </dd>
          </dl>
          
      <?php if ($this->_var['brands']['1'] || $this->_var['price_grade']['1'] || $this->_var['filter_attr_list']): ?>
           <?php if ($this->_var['brands']['1'] && ! $this->_var['brand_id']): ?>
          <dl>
            <dt><?php echo $this->_var['lang']['brand']; ?>:</dt>
            <dd>
              <div class="items cle"> 
                <?php $_from = $this->_var['brands']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'brand');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['brand']):
?>
                <?php if ($this->_var['key'] > 0): ?>
                <div class="link"> <a href="<?php echo $this->_var['brand']['url']; ?>" class="item"><?php echo $this->_var['brand']['brand_name']; ?></a> </div>
                <?php endif; ?>
                <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?> 
              </div>
            </dd>
          </dl>
          <?php endif; ?> 
          
          <?php $_from = $this->_var['filter_attr_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'filter_attr_0_94788600_1732528423');if (count($_from)):
    foreach ($_from AS $this->_var['filter_attr_0_94788600_1732528423']):
?>

          <?php if (! $this->_var['filter_attr_0_94788600_1732528423']['selected']): ?>
          <dl>
            <dt><?php echo htmlspecialchars($this->_var['filter_attr_0_94788600_1732528423']['filter_attr_name']); ?>:</dt>
            <dd>
              <div class="items cle"> 
                <?php $_from = $this->_var['filter_attr_0_94788600_1732528423']['attr_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'attr');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['attr']):
?>
                 <?php if ($this->_var['key'] > 0): ?> 
                <div class="link"> <a href="<?php echo $this->_var['attr']['url']; ?>" class="item"><?php echo $this->_var['attr']['attr_value']; ?></a> </div>
          		 <?php endif; ?>
                <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?> 
              </div>
            </dd>
          </dl>
           <?php endif; ?>
          <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
          
          <?php if ($this->_var['price_grade']['1'] && ! $this->_var['price_min'] && ! $this->_var['price_max']): ?>
          <dl>
            <dt><?php echo $this->_var['lang']['price']; ?>:</dt>
            <dd class="dd-price">
              <div class="items cle w500"> 
                <?php $_from = $this->_var['price_grade']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'grade');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['grade']):
?>
                  <?php if ($this->_var['key'] > 0): ?>
                <div class="link"> <a href="<?php echo $this->_var['grade']['url']; ?>" class="item"><?php echo $this->_var['grade']['price_range']; ?></a> </div>
                <?php endif; ?>
                <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?> 
              </div>
              <div class="priceform" id="priceform">
                <div class="form-bg">
                  <form action="<?php echo $this->_var['price_grade']['0']['url']; ?>" method="post" id="freepriceform" >
                    <span class="rmb"></span>
                    <input type="text" value="" name="price_min" id="pricemin">
                    <span class="rmb rmb2"></span>
                    <input type="text" value="" name="price_max" id="pricemax">
                    <p>
                      <input type="submit" value="确定" onclick="return makeUri();" class="submit">
                    </p>
                  </form>
                </div>
              </div>
	      <div class="cle"></div>
            </dd>
          </dl>
          <?php endif; ?> 
      <?php endif; ?> 
        </div>
      </div>
       
      <script type="text/javascript">

    function makeUri() {
        // 开始价格 pricemin
        var v1 = document.getElementById("pricemin").value;
        // 截止价格 pricemax
        var v2 = document.getElementById("pricemax").value;
        if(v1 == '' || v2 == '' || !$.isNumeric(v1) || !$.isNumeric(v2) || parseInt(v1) > parseInt(v2)){
            alert('请输入正确的价格区间');
			return false;
        }
    }

</script> 
      <?php echo $this->fetch('library/goods_list.lbi'); ?> <?php echo $this->fetch('library/pages.lbi'); ?> </div>
  </div>
   
  
</div>
<div class="add_ok" id="cart_show">
    <div class="tip">
        <i class="iconfont">&#xe60c;</i>商品已成功加入购物车
    </div>
    <div class="go">
        <a href="javascript:easyDialog.close();" class="back">&lt;&lt;继续购物</a>
        <a href="flow.php" class="btn">去结算</a>
    </div>
</div>

<?php echo $this->fetch('library/page_footer.lbi'); ?>
</body>
</html>