{if !$user_lang || $user_lang == $system_configuration.default_system_language || !$block->title_en}
	{$title=$block->title}
{else}
	{$title=$block->title_en}
{/if}

{if !$user_lang || $user_lang == $system_configuration.default_system_language || !$block->content_en}
	{$blocktxt=$block->content}
{else}
	{$blocktxt=$block->content_en}
{/if}

<div class="content_box_textbox">
	{if $block->title}
		<div class="header">
			<{$block->style}>{$title}</{$block->style}>
		</div>
	{/if}

	<div class="content">
		<table border="0" cellpadding="0" cellspacing="0" width="100%">
			<tr>
				<td>	
					{if $block->configuration.image_name}
						{if $block->configuration.image_position == 'left'}
							{$padding='padding-right:10px;'}
						{elseif $block->configuration.image_position == 'right'}
							{$padding='padding-left:10px;'}
						{/if}


						{if $block->configuration.image_link}
							<a href="{$block->configuration.image_link}">
								<img src="{$SHOP_DIR}images/site/{$block->configuration.image_name}" border="0" align="{$block->configuration.image_position}" style="border:0px solid transparent;padding-top:18px;{$padding}" />
							</a>
						{else}
							<img src="{$SHOP_DIR}images/site/{$block->configuration.image_name}" border="0" align="{$block->configuration.image_position}" style="border:0px solid transparent;padding-top:18px;{$padding}" />
						{/if}
					{/if}

					{$blocktxt}
				</td>
			</tr>
		</table>
	</div>
</div>
