<?php if ($this->_var['best_goods']): ?>
<div class="i_boxcontent">
			<div class="i_title2">
				<img src="themes/yijun/images/pushtitle.jpg" class="left">
				<ul>
					<li id="p_title01" class="i_tbtn"><a href="category.php?id=3" target="_blank">红葡萄酒</a></li>
					<li id="p_title02" class="i_tbtna"><a href="category.php?id=4" target="_blank">白葡萄酒</a></li>
					<li id="p_title03" class="i_tbtna"><a href="category.php?id=2" target="_blank">桃红葡萄酒</a></li>
					<li id="p_title04" class="i_tbtna"><a href="category.php?id=5" target="_blank">起泡酒</a></li>
				</ul>
			</div>
			<div id="p_box01">
			<?php
				$children3best = get_children(3);
              
				$this->assign('cat3_best_goods',   get_category_recommend_goods('best',$children3best,8)); 
			?>
               <?php $_from = $this->_var['cat3_best_goods']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'goods_0_30306400_1370371082');if (count($_from)):
    foreach ($_from AS $this->_var['goods_0_30306400_1370371082']):
?>
				<dl class="product">
					<dt><a href="<?php echo $this->_var['goods_0_30306400_1370371082']['url']; ?>" target="_blank"><img src="<?php echo $this->_var['goods_0_30306400_1370371082']['thumb']; ?>" alt="<?php echo htmlspecialchars($this->_var['goods_0_30306400_1370371082']['name']); ?>" /></a></dt>
					<dd><a href="<?php echo $this->_var['goods_0_30306400_1370371082']['url']; ?>" target="_blank"><?php echo sub_str($this->_var['goods_0_30306400_1370371082']['short_style_name'],8); ?></a></dd>
					<dd class="delline snf8"><?php echo $this->_var['lang']['market_price']; ?><?php echo $this->_var['goods_0_30306400_1370371082']['market_price']; ?></dd>
					<dd><?php if ($this->_var['goods_0_30306400_1370371082']['promote_price'] != ""): ?>
         <?php echo $this->_var['lang']['promote_price']; ?><span class="snf4"><?php echo $this->_var['goods_0_30306400_1370371082']['promote_price']; ?></span>
          <?php else: ?>
          <?php echo $this->_var['lang']['shop_price']; ?><span class="snf4"><?php echo $this->_var['goods_0_30306400_1370371082']['shop_price']; ?></span>
          <?php endif; ?></dd>
				</dl>
				<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
		  </div>
			<div id="p_box02">
			<?php
				$children4best = get_children(4);
	            $this->assign('cat4_best_goods',   get_category_recommend_goods('best',$children4best,8)); 
			?>
               <?php $_from = $this->_var['cat4_best_goods']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'goods_0_30347200_1370371082');if (count($_from)):
    foreach ($_from AS $this->_var['goods_0_30347200_1370371082']):
?>
				<dl class="product">
					<dt><a href="<?php echo $this->_var['goods_0_30347200_1370371082']['url']; ?>" target="_blank"><img src="<?php echo $this->_var['goods_0_30347200_1370371082']['thumb']; ?>" alt="<?php echo htmlspecialchars($this->_var['goods_0_30347200_1370371082']['name']); ?>" /></a></dt>
					<dd><a href="<?php echo $this->_var['goods_0_30347200_1370371082']['url']; ?>" target="_blank"><?php echo sub_str($this->_var['goods_0_30347200_1370371082']['short_style_name'],8); ?></a></dd>
					<dd class="delline snf8"><?php echo $this->_var['lang']['market_price']; ?><?php echo $this->_var['goods_0_30347200_1370371082']['market_price']; ?></dd>
					<dd><?php if ($this->_var['goods_0_30347200_1370371082']['promote_price'] != ""): ?>
         <?php echo $this->_var['lang']['promote_price']; ?><span class="snf4"><?php echo $this->_var['goods_0_30347200_1370371082']['promote_price']; ?></span>
          <?php else: ?>
          <?php echo $this->_var['lang']['shop_price']; ?><span class="snf4"><?php echo $this->_var['goods_0_30347200_1370371082']['shop_price']; ?></span>
          <?php endif; ?></dd>
				</dl>
				<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
		  </div>
			<div id="p_box03">

			<?php
				$children3best = get_children(2);
				$this->assign('cat3_best_goods',   get_category_recommend_goods('best',$children3best,8)); 
			?>
               <?php $_from = $this->_var['cat3_best_goods']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'goods_0_30416800_1370371082');if (count($_from)):
    foreach ($_from AS $this->_var['goods_0_30416800_1370371082']):
?>
				<dl class="product">
					<dt><a href="<?php echo $this->_var['goods_0_30416800_1370371082']['url']; ?>" target="_blank"><img src="<?php echo $this->_var['goods_0_30416800_1370371082']['thumb']; ?>" alt="<?php echo htmlspecialchars($this->_var['goods_0_30416800_1370371082']['name']); ?>" /></a></dt>
					<dd><a href="<?php echo $this->_var['goods_0_30416800_1370371082']['url']; ?>" target="_blank"><?php echo sub_str($this->_var['goods_0_30416800_1370371082']['short_style_name'],8); ?></a></dd>
					<dd class="delline snf8"><?php echo $this->_var['lang']['market_price']; ?><?php echo $this->_var['goods_0_30416800_1370371082']['market_price']; ?></dd>
					<dd><?php if ($this->_var['goods_0_30416800_1370371082']['promote_price'] != ""): ?>
         <?php echo $this->_var['lang']['promote_price']; ?><span class="snf4"><?php echo $this->_var['goods_0_30416800_1370371082']['promote_price']; ?></span>
          <?php else: ?>
          <?php echo $this->_var['lang']['shop_price']; ?><span class="snf4"><?php echo $this->_var['goods_0_30416800_1370371082']['shop_price']; ?></span>
          <?php endif; ?></dd>
				</dl>
				<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
		  </div>
			<div id="p_box04">
			<?php
				$children4best = get_children(5);
	            $this->assign('cat4_best_goods',   get_category_recommend_goods('best',$children4best,8)); 
			?>
			 <?php $_from = $this->_var['cat4_best_goods']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'goods_0_30545000_1370371082');if (count($_from)):
    foreach ($_from AS $this->_var['goods_0_30545000_1370371082']):
?>
				<dl class="product">
					<dt><a href="<?php echo $this->_var['goods_0_30545000_1370371082']['url']; ?>" target="_blank"><img src="<?php echo $this->_var['goods_0_30545000_1370371082']['thumb']; ?>" alt="<?php echo htmlspecialchars($this->_var['goods_0_30545000_1370371082']['name']); ?>" /></a></dt>
					<dd><a href="<?php echo $this->_var['goods_0_30545000_1370371082']['url']; ?>" target="_blank"><?php echo sub_str($this->_var['goods_0_30545000_1370371082']['short_style_name'],8); ?></a></dd>
					<dd class="delline snf8"><?php echo $this->_var['lang']['market_price']; ?><?php echo $this->_var['goods_0_30545000_1370371082']['market_price']; ?></dd>
					<dd><?php if ($this->_var['goods_0_30545000_1370371082']['promote_price'] != ""): ?>
         <?php echo $this->_var['lang']['promote_price']; ?><span class="snf4"><?php echo $this->_var['goods_0_30545000_1370371082']['promote_price']; ?></span>
          <?php else: ?>
          <?php echo $this->_var['lang']['shop_price']; ?><span class="snf4"><?php echo $this->_var['goods_0_30545000_1370371082']['shop_price']; ?></span>
          <?php endif; ?></dd>
				</dl>
				<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
		  </div>
				
</div>
<?php endif; ?>
