<?php if ($this->_var['hot_goods']): ?>
			<div class="i_title1">
			<img src="themes/yijun/images/hottitle.jpg" class="left">
			<div class="i_hottxt">
				<span class="snf4" id="hot_title01"><a href="search.php?intro=hot" target="_blank">所有热卖商品</a></span><span class="i_hotcolor">&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="snf5" id="hot_title02" >红葡萄酒</span><span class="i_hotcolor">&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="snf5"id="hot_title03" >白葡萄酒</span>
			</div>
			<a href="search.php?intro=hot" class="right" target="_blank">更多</a>
		</div>
			
            <div class="i_boxleft">
			<div id="hot_box">
            <div id="hot_box01" style="display: block;">
            <?php $_from = $this->_var['hot_goods']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'goods');if (count($_from)):
    foreach ($_from AS $this->_var['goods']):
?>
            <div class="ileft_box"><div class="ileft_img"><a href="<?php echo $this->_var['goods']['url']; ?>" target="_blank"><img src="<?php echo $this->_var['goods']['thumb']; ?>" align="absmiddle" alt="<?php echo htmlspecialchars($this->_var['goods']['name']); ?>" border="0"></a><div class="index_hotbg">售出<strong><?php $this->assign('salesum',get_buyi_sum($GLOBALS['smarty']->_var['goods']['id'])); ?><?php if ($this->_var['salesum']): ?><?php echo $this->_var['salesum']; ?><?php else: ?>0<?php endif; ?></strong> 瓶</div></div><p><a href="<?php echo $this->_var['goods']['url']; ?>" target="_blank"><?php echo sub_str($this->_var['goods']['short_style_name'],8); ?></a><br><span class="delline snf8"><?php echo $this->_var['lang']['market_price']; ?><?php echo $this->_var['goods']['market_price']; ?></span><br><?php if ($this->_var['goods']['promote_price'] != ""): ?>
         <?php echo $this->_var['lang']['promote_price']; ?><span class="snf4"><?php echo $this->_var['goods']['promote_price']; ?></span>
          <?php else: ?>
          <?php echo $this->_var['lang']['shop_price']; ?><span class="snf4"><?php echo $this->_var['goods']['shop_price']; ?></span>
          <?php endif; ?></p></div>
            <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
            </div>
            
            <div id="hot_box02" style="display: none;">
			<?php
				$children3 = get_children(3);
				$this->assign('cat3_hot_goods',   get_category_recommend_goods('hot',$children3,10)); 
			?>
            <?php $_from = $this->_var['cat3_hot_goods']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'goods');if (count($_from)):
    foreach ($_from AS $this->_var['goods']):
?>
            <div class="ileft_box"><div class="ileft_img"><a href="<?php echo $this->_var['goods']['url']; ?>" target="_blank"><img src="<?php echo $this->_var['goods']['thumb']; ?>" align="absmiddle" alt="<?php echo htmlspecialchars($this->_var['goods']['name']); ?>" border="0"></a><div class="index_hotbg">售出<strong><?php $this->assign('salesum',get_buyi_sum($GLOBALS['smarty']->_var['goods']['id'])); ?><?php if ($this->_var['salesum']): ?><?php echo $this->_var['salesum']; ?><?php else: ?>0<?php endif; ?></strong> 瓶</div></div><p><a href="<?php echo $this->_var['goods']['url']; ?>" target="_blank"><?php echo sub_str($this->_var['goods']['short_style_name'],8); ?></a><br><span class="delline snf8"><?php echo $this->_var['lang']['market_price']; ?><?php echo $this->_var['goods']['market_price']; ?></span><br><?php if ($this->_var['goods']['promote_price'] != ""): ?>
         <?php echo $this->_var['lang']['promote_price']; ?><span class="snf4"><?php echo $this->_var['goods']['promote_price']; ?></span>
          <?php else: ?>
          <?php echo $this->_var['lang']['shop_price']; ?><span class="snf4"><?php echo $this->_var['goods']['shop_price']; ?></span>
          <?php endif; ?></p></div>
            <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
            </div>
            <div id="hot_box03" style="display: none;">
			<?php
				$children4 = get_children(4);
				$this->assign('cat4_hot_goods',   get_category_recommend_goods('hot',$children4,10)); 
			?>
             <?php $_from = $this->_var['cat4_hot_goods']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'goods');if (count($_from)):
    foreach ($_from AS $this->_var['goods']):
?>
            <div class="ileft_box"><div class="ileft_img"><a href="<?php echo $this->_var['goods']['url']; ?>" target="_blank"><img src="<?php echo $this->_var['goods']['thumb']; ?>" align="absmiddle" alt="<?php echo htmlspecialchars($this->_var['goods']['name']); ?>" border="0"></a><div class="index_hotbg">售出<strong><?php $this->assign('salesum',get_buyi_sum($GLOBALS['smarty']->_var['goods']['id'])); ?><?php if ($this->_var['salesum']): ?><?php echo $this->_var['salesum']; ?><?php else: ?>0<?php endif; ?></strong> 瓶</div></div><p><a href="<?php echo $this->_var['goods']['url']; ?>" target="_blank"><?php echo sub_str($this->_var['goods']['short_style_name'],8); ?></a><br><span class="delline snf8"><?php echo $this->_var['lang']['market_price']; ?><?php echo $this->_var['goods']['market_price']; ?></span><br><?php if ($this->_var['goods']['promote_price'] != ""): ?>
         <?php echo $this->_var['lang']['promote_price']; ?><span class="snf4"><?php echo $this->_var['goods']['promote_price']; ?></span>
          <?php else: ?>
          <?php echo $this->_var['lang']['shop_price']; ?><span class="snf4"><?php echo $this->_var['goods']['shop_price']; ?></span>
          <?php endif; ?></p></div>
           <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>  
           </div>
           
            </div>
            </div>
<?php endif; ?>