{if !empty($ID)}
	<h3>{$SET_TITLE}</h3>
	<table align="center" border="0" width="80%">
   		<tbody>
   		<tr>
      		<td class="smallDesc"><h3>{$TITLE|escape|trim}</h3></td>
   		</tr>
		<tr>
      		<td class="smallDesc">{l}Date Added{/l}: {$DATE_ADDED|escape|trim}</td>
   		</tr>
   		<tr>
      		<td class="smallDesc">{l}Author{/l}: {$NAME|trim}</td>
   		</tr>
    	<tr>
 			<td class="smallDesc">{l}Category{/l}: <a href="{$CATEGORY_URL|escape|trim}" title="{$CATEGORY_TITLE|escape|trim}">{$CACHE_TITLE|escape|trim}</a></td>
 		</tr>
   		<tr>
      		<td class="smallDesc" style="text-align:justify;" id="article_content_{$ID}">{$ARTICLE|trim}</td>
   		</tr>
		<tr>
		    <td>
		        <div style="float: right;">
		        {if $rights.editArt eq 1}
		        <a href="{$smarty.const.DOC_ROOT}/inplace_editart.php?ID={$ID}&detail=1&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 $rights.delArt eq 1}  
		        <a href="{$smarty.const.DOC_ROOT}/inplace_editart.php?ID={$ID}&detail=1&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}">
		        <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 $STATUS<2 && $rights.editArt eq 1}
		        <a href="{$smarty.const.DOC_ROOT}/inplace_editart.php?ID={$ID}&detail=1&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}">
		            <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 $rights.editArt eq 1 || $rights.delArt eq 1}
		        {if $has_payment > 0}
		            <div class="float_tiny" style="color: green; font-weight: bold;">$</div>
		        {/if}
		        {/if}
		        </div>
		    </td>
		</tr>
		{if $ratings_on == 1}
		<tr>
   			<td>
				{l}Average rating{/l}:</b> {$RATING} ({if !$VOTES}0{else}{$VOTES}{/if} {l}votes{/l})
			</td>
		</tr>
		{/if}
	</tbody>
</table>
<br/><br/>
{/if}