{if $show_title eq 1}
{$TITLE}
<br/>
{/if}
	{section name=i loop=$latest_art}
	<div {if $smarty.section.i.last}class="boxSponsoredLast"{else}class="boxSponsored"{/if} {if $latest_art[i].STATUS<2 || $latest_art[i].rights.editArt eq 1 || $latest_art[i].rights.delArt eq 1}style="clear: both;"{/if}>
		<a class="boxSponsoredA" href="{$smarty.const.DOC_ROOT}/{if $smarty.const.ENABLE_REWRITE}{$latest_art[i].SEO_URL}{else}article.php?id={$latest_art[i].ID}{/if}" title="{$latest_art[i].TITLE|escape|trim}">
			{$latest_art[i].TITLE|escape|trim}
		</a>
		<br/>
		{$latest_art[i].DESCRIPTION|escape|trim}
        <br/><br/>
        {if $latest_art[i].STATUS<2 || $latest_art[i].rights.editArt eq 1 || $latest_art[i].rights.delArt eq 1}
        <div class="frontend_actions" style="width: auto; height: auto;">
        	{if $latest_art[i].rights.editArt eq 1}
        	<a href="{$smarty.const.DOC_ROOT}/inplace_editart.php?ID={$latest_art[i].ID}&TB_iframe=true&height=400&width=600" onclick="return showThickbox(this);" class="thickbox">
            	<img src="{$smarty.const.DOC_ROOT}/templates/{$smarty.const.USE_TEMPLATE}/images/edit.gif" width="14" height="14" style="border: none;" alt="edit article"/>
            </a>
            {/if}
            {if $latest_art[i].rights.delArt eq 1}  
            	<a href="{$smarty.const.DOC_ROOT}/inplace_editart.php?ID={$latest_art[i].ID}&mode=del&TB_iframe=true&height=100&width=250"  class="thickbox" onclick="{literal}question = confirm('Are you sure you want to delete this article?');if (question !='0'){return showThickbox(this);} else return false;{/literal}" class="float_tiny">
                	<img src="{$smarty.const.DOC_ROOT}/templates/{$smarty.const.USE_TEMPLATE}/images/delete.gif" width="14" height="14" style="border: none;" alt="delete article"/>
                </a>
            {/if}
            {if $latest_art[i].STATUS<2 && $latest_art[i].rights.editArt eq 1}
            	<a href="{$smarty.const.DOC_ROOT}/inplace_editart.php?ID={$latest_art[i].ID}&mode=active&TB_iframe=true&height=100&width=250"  class="thickbox" onclick="{literal}question = confirm('Are you sure you want to make this article active?');if (question !='0'){return showThickbox(this);} else return false;{/literal}" class="float_tiny">
                	<img src="{$smarty.const.DOC_ROOT}/templates/{$smarty.const.USE_TEMPLATE}/images/active.gif" width="14" height="14" style="border: none;" alt="article is inactive" class="float_tiny"/>
                </a>
            {/if}
            {if $latest_art[i].rights.editArt eq 1 || $latest_art[i].rights.delArt eq 1}
				{if $latest_art[i].has_payment > 0}
                <div class="float_tiny" style="color: green; font-weight: bold;">
                $
                </div>
                {/if}
            {/if}
		</div>
        <div style="clear: both;"></div>
        {/if}
	</div>
	{/section}