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


Current File : /www/wwwroot/saimikebio.com/mobile/data/compiled/cat_goods.lbi.php
<?php
$catname=$GLOBALS['smarty']->_var['goods_cat']['name'];
?>
<?php
$GLOBALS['smarty']->assign('index_image',get_advlist($catname, 1));
?>
<div class="blank2"></div>
<section class="item_show_box1 region">
    <h3><a target="_top" href="<?php echo $this->_var['goods_cat']['url']; ?>"><span><?php echo htmlspecialchars($this->_var['goods_cat']['name']); ?></span></a></h3>
    <?php $_from = $this->_var['index_image']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'ad');$this->_foreach['index_image'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['index_image']['total'] > 0):
    foreach ($_from AS $this->_var['ad']):
        $this->_foreach['index_image']['iteration']++;
?><div class="cat_ad"><a href="<?php echo $this->_var['ad']['url']; ?>" target="_blank"><img src="<?php echo $this->_var['ad']['image']; ?>" ></a></div><?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
    <div class="flex flex-f-row">
        <?php $_from = $this->_var['cat_goods']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'goods_0_71131800_1664095610');$this->_foreach['goods'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['goods']['total'] > 0):
    foreach ($_from AS $this->_var['goods_0_71131800_1664095610']):
        $this->_foreach['goods']['iteration']++;
?>
        <div class="goodsItem flex_in">
            <a href="<?php echo $this->_var['goods_0_71131800_1664095610']['url']; ?>">
                <img src="<?php echo $this->_var['site_url']; ?><?php echo $this->_var['goods_0_71131800_1664095610']['thumb']; ?>" alt="<?php echo htmlspecialchars($this->_var['goods_0_71131800_1664095610']['name']); ?>" />
            </a>
            <div class="goodsItemPrice">
				<?php if ($this->_var['goods_0_71131800_1664095610']['promote_price'] != ""): ?> 
				<span class="price_s"> <?php echo $this->_var['goods_0_71131800_1664095610']['promote_price']; ?> </span> 
				<?php else: ?> 
				<span class="price_s"> <?php echo $this->_var['goods_0_71131800_1664095610']['shop_price']; ?> </span> 
				<?php endif; ?>
            </div>
            <div class="goodsItemName"><?php echo htmlspecialchars($this->_var['goods_0_71131800_1664095610']['name']); ?></div>
        </div>
         <?php if ($this->_foreach['goods']['iteration'] % 2 == 0): ?></div><div class="flex flex-f-row"><?php endif; ?>
        <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
    </div>
    <div class="item_tags clearfix">
        <?php if ($this->_var['goods_cat']['cat_id']): ?>
        <?php $_from = $this->_var['goods_cat']['cat_id']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'rec_cat');$this->_foreach['f'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['f']['total'] > 0):
    foreach ($_from AS $this->_var['rec_cat']):
        $this->_foreach['f']['iteration']++;
?>
        <A href="<?php echo $this->_var['rec_cat']['url']; ?>">
            <?php echo htmlspecialchars($this->_var['rec_cat']['name']); ?>
        </A>
        <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
        <?php endif; ?>
    </div>
</section>