{strip}
			{* Pagination *}
			{if !empty($MainPaging) and $MainPaging.page_total > 1}
			   <div class="navig">
			      <div class="mainPaging">
			         {* Display Paging Links *}
			         <div class="pagingLinks">
			            {paginate_prev id="MainPaging"} {paginate_middle id="MainPaging" format="page" prefix="" suffix="" link_prefix=" " link_suffix=" " current_page_prefix="[" current_page_suffix="]"} {paginate_next id="MainPaging"}
			         </div>
			      </div>
			
			      {l}Total records:{/l} {$MainPaging.total}
			   </div>
			{/if}

			<div style="clear: both"></div>
			
			{if !$uid & !$search & empty($category.ID) & !$list & $scriptname == "index"}
			
			{foreach from=$widgets.MAIN_ON_HOMEPAGE.BOT item=v}
				{if $v.SETTINGS.DISPLAY_IN_BOX eq 'Yes'}
				{include file="widget_central_top.tpl"}
				{/if}
				{$v.CONTENT}
				{if $v.SETTINGS.DISPLAY_IN_BOX eq 'Yes'}
				{include file="widget_central_bot.tpl"}
				{/if}
			{/foreach}
			{else}
			{foreach from=$widgets.MAIN_NOT_ON_HOMEPAGE.BOT item=v}
				{if $v.SETTINGS.DISPLAY_IN_BOX eq 'Yes'}
				{include file="widget_central_top.tpl"}
				{/if}
				{$v.CONTENT}
				{if $v.SETTINGS.DISPLAY_IN_BOX eq 'Yes'}
				{include file="widget_central_bot.tpl"}
				{/if}
			{/foreach}
			{/if}
		</div>
		<div class="centerContainerB"></div>
	</div>
	
	{include file="right_side.tpl"}
	
	<div style="clear: both; height: 30px;"></div>
</div>

<div class="footer">
	<a href="http://www.phplinkdirectory.com" title="Directory Script by PHP Link Directory">Directory Script by PHP Link Directory</a>
</div>
</body>
</html>
{/strip}