<div class="wrapper purple-content">
    	<div class="container">
        	<div class="content-heading white whmcsportal">
    			<h2>{$pagetitle}</h2>
                <small>{$LANG.headertext}</small>
            </div>
            <div class="search-wiki">
            <form method="post" action="knowledgebase.php?action=search">
   				<input type="text" name="search"/> <input type="submit" value="{$LANG.knowledgebasesearch}" />
			</form>	
            </div>
		</div>
    </div>
    <div class="wrapper purple optionbar">
    	<div class="container">
                 <ul><li><a href="contact.php"><i class="fa fa-envelope"></i>{$LANG.contacttitle}</a><span></span></li><li><a href="knowledgebase.php"><i class="fa fa-info-circle"></i>{$LANG.knowledgebasetitle}</a><span></span></li><li class="active"><a href="submitticket.php"><i class="fa fa-ticket"></i>{$LANG.supportticketssubmitticket}</a><span></span></li></ul>
        </div>
    </div>
<div class="wrapper" id="maincontent">
	<div class="container">
			
            <div class="dropdown-box active section-knowledgebase" id="knowledgebase">
<p style="margin-bottom:30px">{$LANG.supportticketsheader}</p>

{if $departments}
<div class="row padbottom30">
{foreach key=num item=department from=$departments}
                	<div class="col-sm-4">
                    	<h3> <a href="{$smarty.server.PHP_SELF}?step=2&amp;deptid={$department.id}"><i class="fa fa-ticket"></i>{$department.name}</a></h3>
                        <p>{$department.description}</p>
                    </div>
{/foreach}
</div>
{else}
<br />
<div class="errorbox">{$LANG.nosupportdepartments}</div>
{/if}
</div>



</div>
</div>
