<p>{$LANG.downloadsintrotext}</p>

{if $dlcats}

		<div class="bigheader">
			<h2>{$LANG.downloadscategories}</h2>
		</div><!-- .bigheader -->

<div class="paddinggrid">

{foreach key=num item=dlcat from=$dlcats}
	<div class="box box{$num}">
    <img src="/clients/images/folder.gif" border="0" class="absmiddle" alt="folder" />&nbsp;<strong><a href="{if $seofriendlyurls}downloads/{$dlcat.id}/{$dlcat.urlfriendlyname}{else}downloads.php?action=displaycat&amp;catid={$dlcat.id}{/if}">{$dlcat.name}</a></strong> ({$dlcat.numarticles})<br />
      {$dlcat.description}
      </div>
    {/foreach}
    
</div>  


<div class="clear">&nbsp;</div> 

{/if}

{if $downloads}

		<div class="bigheader">
			<h2>{$LANG.downloadsfiles}</h2>
		</div><!-- .bigheader -->

<div class="paddinggrid">


  {foreach key=num item=download from=$downloads}
  <div class="box box{$num}">
  
	{$download.type} <strong><a href="{$download.link}" title="{$download.title}">{$download.title}</a></strong><br />
        {if $download.clientsonly}<em>Login Required</em><br />
        {/if}{$download.description}<br />
        <span>{$LANG.downloadsfilesize}: {$download.filesize}</span>
        
        </div>
  {/foreach}
  
  </div>
  
  
  <div class="clear">&nbsp;</div>
 

{else}

	<div class="notice notice-error">
		<div class="inside">
			<p>{$LANG.downloadsnone}</p>
		</div>
	</div>


{/if}