<!-- Block manufacturers module -->

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

	<h4><a href="{$base_dir}manufacturer.php" title="{l s='Manufacturers' mod='blockmanufacturer'}">{l s='Manufacturers' mod='blockmanufacturer'}</a></h4>

	<div class="block_content">

{if $manufacturers}

	{if $text_list}

	<ul class="bullet">

	{foreach from=$manufacturers item=manufacturer name=manufacturer_list}

		{if $smarty.foreach.manufacturer_list.iteration <= $text_list_nb}

		<li class="{if $smarty.foreach.manufacturer_list.last}last_item{elseif $smarty.foreach.manufacturer_list.first}first_item{else}item{/if}"><a href="{$link->getmanufacturerLink($manufacturer.id_manufacturer, $manufacturer.link_rewrite)}" title="{l s='More about' mod='blockmanufacturer'} {$manufacturer.name}">{$manufacturer.name}</a></li>

		{/if}

	{/foreach}

	</ul>

	{/if}

	{if $form_list}

		<form action="{$smarty.server.SCRIPT_NAME}" method="get">

			<p>

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

					<option value="0">{l s='All manufacturers' mod='blockmanufacturer'}</option>

				{foreach from=$manufacturers item=manufacturer}

					<option value="{$link->getmanufacturerLink($manufacturer.id_manufacturer, $manufacturer.link_rewrite)}">{$manufacturer.name}</option>

				{/foreach}

				</select>

			</p>

		</form>

	{/if}

{else}

	<p>{l s='No manufacturer' mod='blockmanufacturer'}</p>

{/if}

	</div>

</div>

<!-- /Block manufacturers module -->

