    <div class="imgright">
    <form method="post" action="knowledgebase.php?action=search">
    <input type="text" name="search" class="searchinput" placeholder="{$LANG.knowledgebase_search}" />
    <input type="submit" value="{$LANG.knowledgebasesearch}" class="searchinput button1 color1" />
    </form>
    </div>

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

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

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

<div class="paddinggrid">

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


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

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

<div class="paddinggrid">

    {foreach key=num item=kbarticle from=$kbmostviews}
     <div class="box box{$num}">
        <img src="images/article.gif" class="absmiddle" border="0" alt="Article" /> <strong><a href="{if $seofriendlyurls}knowledgebase/{$kbarticle.id}/{$kbarticle.urlfriendlytitle}.html{else}knowledgebase.php?action=displayarticle&amp;id={$kbarticle.id}{/if}">{$kbarticle.title}</a></strong><br />
        {$kbarticle.article|truncate:150:"..."}<br />
        <span>{$LANG.knowledgebaseviews}: {$kbarticle.views}</span>
        </div>
    {/foreach}

</div>

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