<html>
	<head>
	</head>
	<body>
	<table id="sellsmart-mailing" align="center">
	<tr><td><table class="wrapper"><tr><td>
		<table class="header">
			<tr><td class="logo"><a href="{{$aUrl.scheme}}://{{$aUrl.host}}{{$aUrl.path}}"><img src="{{$aUrl.scheme}}://{{$aUrl.host}}{{$aUrl.path}}templates/images/mailing/logo.png" alt="{{$config.website_name}}"></a></td><td><h1>{{$config.website_name}}</h1></td></tr>
		</table>
		
		<!-- smartoffer start-->
		<table class="details">
			<tr><td colspan="2"><strong>{{$lang.Smartoffer_text}}</strong></td></tr>
		</table>
		<p class="separator">&nbsp;</p>
		<table class="details" id="offer">
			{{foreach from=$aProducts item=aProduct}}
				{{if $aProduct@iteration % 2 == 1}}<tr>{{/if}}
					<td>
						<h3><a href="{{$aUrl.scheme}}://{{$aUrl.host}}{{$aUrl.path}}{{$aProduct.sLinkName}}">{{$aProduct.sName}}</a></h3>
						{{if !empty( $aProduct.aDataImage.sFileName )}}
							<div class="photo"><a href="{{$aUrl.scheme}}://{{$aUrl.host}}{{$aUrl.path}}{{$aProduct.sLinkName}}"><img src="{{$aUrl.scheme}}://{{$aUrl.host}}{{$aUrl.path}}{{$config.dir_files}}190/{{$aProduct.aDataImage.sFileName}}" alt="{{$aProduct.sName}}" title="{{$aProduct.sName}}" /></a></div>
						{{else}}
							<div class="nophoto"></div>
						{{/if}}
						<p class="price"><span class="value">{{$aProduct.fPrice}}</span> <span class="currency">{{$config.currency_symbol}}</span></p>
					</td>
				{{if $aProduct@iteration % 2 == 0 || $aProduct@last}}</tr>{{/if}}
			{{/foreach}}
		</table>
		<!-- smartoffer end-->
		
		<p class="separator">&nbsp;</p>
		<table class="foot">
			<tr><td colspan="2">
				<a href="http://{{$aUrl['host']}}{{$aUrl['path']}}signoutform,newsletter.html">{{$lang.newsletter_signout_link_text}}</a><br/><br/>
				{{$config.email_foot_info}}
			</td></tr>
		</table>
	</td></tr></table></td></tr>
	</table></body>
</html>