<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 class="active"><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-ticket"></i>{$LANG.knowledgebasetitle}</a><span></span></li><li><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 section-contact active" id="contactbox">
<p>{$LANG.contactheader}</p>
{if $sent}
<p><strong>{$LANG.contactsent}</strong></p>
{else}
<form method="post" action="contact.php?action=send">
  {if $errormessage}
  <div class="errorbox">{$errormessage}</div>
  <br />
  {/if}
  <table width="100%" cellspacing="0" cellpadding="0" class="frame">
    <tr>
      <td><table width="100%" border="0" cellpadding="10" cellspacing="0">
          <tr>
            <td width="100" class="fieldarea">{$LANG.contactname}</td>
            <td><input type="text" name="name" size="30" value="{$name}" /></td>
          </tr>
          <tr>
            <td class="fieldarea">{$LANG.contactemail}</td>
            <td><input type="text" name="email" size="50" value="{$email}" /></td>
          </tr>
          <tr>
            <td class="fieldarea">{$LANG.contactsubject}</td>
            <td><input type="text" name="subject" size="60" value="{$subject}" /></td>
          </tr>
          <tr>
            <td class="fieldarea">{$LANG.contactmessage}</td>
            <td><textarea name="message" rows="8" style="width:95%">{$message}</textarea></td>
          </tr>
      </table></td>
    </tr>
  </table>
  {if $capatacha}
  <h2>{$LANG.captchatitle}</h2>
  <p>{$LANG.captchaverify}</p>
  {if $capatacha eq "recaptcha"}
  <div align="center">{$recapatchahtml}</div>
  {else}
  <p align="center"><img src="includes/verifyimage.php" align="middle" /> <input type="text" name="code" size="10" maxlength="5" style="max-width:160px"/></p>
  {/if}
  {/if}
  <p align="center">
    <input type="submit" class="btn-red btn-lg" value="{$LANG.contactsend}" />
  </p>
</form>
{/if}<br />
</div>


</div>
</div>