<div id="bar">
<div class="sort">({$CategoryPaging.first}-{$CategoryPaging.last} of {$CategoryPaging.total})</div>
<h1>{l}Categories:{/l}</h1></div>  
  
  <table width="98%" border="0" align="center">
  <tr><td>
   {foreach from=$list_cat item=val key=key name=list}
      <table width="100%" border="0" cellspacing="4" cellpadding="0">
      <tr>
         <td>
            <div class="cat"><a href="{if $smarty.const.ENABLE_REWRITE}{$val.CACHE_URL|escape}{else}index.php?c={$val.ID}{/if}" title="{l}Browse{/l}: {$val.TITLE|escape}">{$val.CACHE_TITLE|escape}</a></div>
         </td>
      </tr>
      </table>
   {/foreach}
	 </td>
  </tr>
</table>
{if !empty($CategoryPaging) and $CategoryPaging.total > 1}
<table width="98%" border="0" cellpadding="6" cellspacing="6" align="center">
<tr>
   <td class="navbar">
      {paginate_prev id="CategoryPaging"} {paginate_middle id="CategoryPaging" prefix="" suffix="" link_prefix=" [ " link_suffix=" ] " current_page_prefix="" current_page_suffix=""} {paginate_next id="CategoryPaging"}
   </td>
</tr>
</table>
{/if}