<?php /* Smarty version 2.6.18, created on 2009-11-10 13:38:35
         compiled from /homez.47/arboreth/www/arborethic_boutique_old/modules/blockmanufacturer/blockmanufacturer.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'l', '/homez.47/arboreth/www/arborethic_boutique_old/modules/blockmanufacturer/blockmanufacturer.tpl', 3, false),)), $this); ?>
<!-- Block manufacturers module -->

<div id="manufacturers_block_left" class="block blockmanufacturer">

	<h4><a href="<?php echo $this->_tpl_vars['base_dir']; ?>
manufacturer.php" title="<?php echo smartyTranslate(array('s' => 'Manufacturers','mod' => 'blockmanufacturer'), $this);?>
"><?php echo smartyTranslate(array('s' => 'Manufacturers','mod' => 'blockmanufacturer'), $this);?>
</a></h4>

	<div class="block_content">

<?php if ($this->_tpl_vars['manufacturers']): ?>

	<?php if ($this->_tpl_vars['text_list']): ?>

	<ul class="bullet">

	<?php $_from = $this->_tpl_vars['manufacturers']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['manufacturer_list'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['manufacturer_list']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['manufacturer']):
        $this->_foreach['manufacturer_list']['iteration']++;
?>

		<?php if ($this->_foreach['manufacturer_list']['iteration'] <= $this->_tpl_vars['text_list_nb']): ?>

		<li class="<?php if (($this->_foreach['manufacturer_list']['iteration'] == $this->_foreach['manufacturer_list']['total'])): ?>last_item<?php elseif (($this->_foreach['manufacturer_list']['iteration'] <= 1)): ?>first_item<?php else: ?>item<?php endif; ?>"><a href="<?php echo $this->_tpl_vars['link']->getmanufacturerLink($this->_tpl_vars['manufacturer']['id_manufacturer'],$this->_tpl_vars['manufacturer']['link_rewrite']); ?>
" title="<?php echo smartyTranslate(array('s' => 'More about','mod' => 'blockmanufacturer'), $this);?>
 <?php echo $this->_tpl_vars['manufacturer']['name']; ?>
"><?php echo $this->_tpl_vars['manufacturer']['name']; ?>
</a></li>

		<?php endif; ?>

	<?php endforeach; endif; unset($_from); ?>

	</ul>

	<?php endif; ?>

	<?php if ($this->_tpl_vars['form_list']): ?>

		<form action="<?php echo $_SERVER['SCRIPT_NAME']; ?>
" method="get">

			<p>

				<select id="manufacturer_list" onclick="autoUrl('manufacturer_list', '');">

					<option value="0"><?php echo smartyTranslate(array('s' => 'All manufacturers','mod' => 'blockmanufacturer'), $this);?>
</option>

				<?php $_from = $this->_tpl_vars['manufacturers']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['manufacturer']):
?>

					<option value="<?php echo $this->_tpl_vars['link']->getmanufacturerLink($this->_tpl_vars['manufacturer']['id_manufacturer'],$this->_tpl_vars['manufacturer']['link_rewrite']); ?>
"><?php echo $this->_tpl_vars['manufacturer']['name']; ?>
</option>

				<?php endforeach; endif; unset($_from); ?>

				</select>

			</p>

		</form>

	<?php endif; ?>

<?php else: ?>

	<p><?php echo smartyTranslate(array('s' => 'No manufacturer','mod' => 'blockmanufacturer'), $this);?>
</p>

<?php endif; ?>

	</div>

</div>

<!-- /Block manufacturers module -->
