<?php $this->assign('brand_nav', get_cat_brands(0));?>
<?php $_from = $this->_var['brand_nav']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'brandnav_0_77223800_1374120677');$this->_foreach['brand_foreach'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['brand_foreach']['total'] > 0):
    foreach ($_from AS $this->_var['brandnav_0_77223800_1374120677']):
        $this->_foreach['brand_foreach']['iteration']++;
?>
<?php if (($this->_foreach['brand_foreach']['iteration'] - 1) < 13): ?>  
<li>
<a title="<?php echo htmlspecialchars($this->_var['brandnav_0_77223800_1374120677']['brand_name']); ?>" href="<?php echo $this->_var['brandnav_0_77223800_1374120677']['url']; ?>"><img src="data/brandlogo/<?php echo $this->_var['brandnav_0_77223800_1374120677']['brand_logo']; ?>" /></a>
</li>
<?php endif; ?>
<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>	     