<?php if ($this->_var['recommended_logo_brand'] || $this->_var['recommended_no_logo_brand'] || $this->_var['editing']): ?>
<div id="recommended_brand" class="colbox">
  <h3>ÍÆ¼öÆ·ÅÆ</h3>
  <div class="colboxcontent">
    <ul>
      <?php $_from = $this->_var['recommended_logo_brand']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'rbrand');$this->_foreach['recommended_logo_brand'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['recommended_logo_brand']['total'] > 0):
    foreach ($_from AS $this->_var['rbrand']):
        $this->_foreach['recommended_logo_brand']['iteration']++;
?>
      <?php if ($this->_foreach['recommended_logo_brand']['iteration'] <= 10): ?>
      <li><a href="<?php echo $this->url_rewrite(array('app'=>'search','brand_id'=>$this->_var['rbrand']['brand_id'])); ?>"><img src="<?php echo $this->_var['rbrand']['brand_logo']; ?>" alt="<?php echo htmlspecialchars($this->_var['rbrand']['brand_name']); ?>" /></a></li>
      <?php endif; ?>
      <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
    </ul>
  </div>
  <div class="colboxcontent">
    <ul class="popuplist">
      <?php $_from = $this->_var['recommended_no_logo_brand']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'rbrand');$this->_foreach['recommended_no_logo_brand'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['recommended_no_logo_brand']['total'] > 0):
    foreach ($_from AS $this->_var['rbrand']):
        $this->_foreach['recommended_no_logo_brand']['iteration']++;
?>
      <?php if ($this->_foreach['recommended_no_logo_brand']['iteration'] <= 10): ?>
      <li><a href="<?php echo $this->url_rewrite(array('app'=>'search','brand_id'=>$this->_var['rbrand']['brand_id'])); ?>"><?php echo htmlspecialchars($this->_var['rbrand']['brand_name']); ?></a></li>
      <?php endif; ?>
      <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
    </ul>
  </div>
  <div class="colbtm"></div>
</div>
<?php endif; ?>