{include file="$gentemplates/$header_tpl"}
<div class="profile_general_table">
<div>
	<div style="display:table;width:100%;">
		<h2 class="float_left">{$lang.section.news}</h2>
		
		<!-- AddThis Button BEGIN -->
		<div class="addthis_toolbox addthis_default_style float_right" style="margin-top: 9px;">
			<a href="http://www.addthis.com/bookmark.php?v=250&amp;username=xa-4b69d5eb1f2c8cb0" class="addthis_button_compact">Share</a>
			<span class="addthis_separator">|</span>
			<a class="addthis_button_facebook"></a>
			<a class="addthis_button_myspace"></a>
			<a class="addthis_button_google"></a>
			<a class="addthis_button_twitter"></a>
		</div>
		<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#username=xa-4b69d5eb1f2c8cb0"></script>
		<!-- AddThis Button END -->
	</div>
	
        {*if $form.err}
		<p class="error_msg">*&nbsp;{$form.err}</p>
	{/if*}
        
	{if !$news}
		<p class="error_msg">*&nbsp;{$header_n.empty_news}</p>
	{/if}


	{if $news}
	
		<div style="display:table;width:100%;padding: 15px 0;">		
			{include file="$gentemplates/pagination_top.tpl"}
		</div>
		
		{section name=s loop=$news}
		<div class="mailbox_send">
			<h3 class="p-b5">
				{if $news[s].channel_name}<a href="{$news[s].channel_link}">{$news[s].channel_name}&nbsp;-&nbsp;{/if}
				{if $news[s].channel_news_link && $single}
					<a href="{$news[s].channel_news_link}">{$news[s].title}</a>
				{else}
					{if $news[s].title}
						{if $single}
							{$news[s].title}
						{else}
						<a href="{$news[s].news_link}">
							{$news[s].title}
						</a>
						{/if}
					{/if}
				{/if}
			</h3>
			<p class="text_hidden">
				<a name="{$news[s].id}"></a>{$news[s].date_add}
			</p>
			<p class="news_body">
				{if $news[s].image}<img src="{$news[s].image}" alt="">{/if}
				{$news[s].news_text}&nbsp;
			</p>
		</div>
		{/section}
		<div style="clear:both"></div>
		
		{include file="$gentemplates/pagination_bottom.tpl"}
		
		</p>
	{/if}
</div>	
{* {if $banner.right}<div style="float: left;">{$banner.right}</div>{/if}	*}					  	
	
{include file="$gentemplates/$footer_tpl"}