<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" placeholder="Search Knowledgebase"/> <input type="submit" value="{$LANG.knowledgebasesearch}" />
			</form>	
            </div>
		</div>
    </div>
     <div class="wrapper purple optionbar">
    	<div class="container">
                 <ul><li><a href="serverstatus.php"><i class="fa fa-info-circle"></i>{$LANG.serverstatustitle}</a><span></span></li><li class="active"><a href="clientarea.php"><i class="fa fa-home"></i>{$LANG.clientareatitle}</a><span></span></li><li><a href="knowledgebase.php"><i class="fa fa-info-circle"></i>{$LANG.knowledgebasetitle}</a><span></span></li></ul>
        </div>
    </div>
    <div class="wrapper" id="maincontent">
	<div class="container">
			
            <div id="knowledgebase">

{include file="$template/clientareadetailslinks.tpl"}

{if $successful}
<div class="alert alert-success">
    <p>{$LANG.changessavedsuccessfully}</p>
</div>
{/if}

{if $errormessage}
<div class="alert alert-error">
    <p class="bold">{$LANG.clientareaerrors}</p>
    <ul>
        {$errormessage}
    </ul>
</div>
{/if}
<div class="row clientdetsform" id="contactbox">

<form class="form-horizontal" method="post" action="{$smarty.server.PHP_SELF}?action=changepw">
<div class="col-sm-6">
  <fieldset class="onecol">

    <div class="control-group">
        <label class="control-label" for="existingpw">{$LANG.existingpassword}</label>
        <div class="controls">
            <input type="password" name="existingpw" id="existingpw" />
        </div>
    </div>

    <div class="control-group">
        <label class="control-label" for="password">{$LANG.newpassword}</label>
        <div class="controls">
            <input type="password" name="newpw" id="password" />
        </div>
    </div>

    <div class="control-group">
        <label class="control-label" for="confirmpw">{$LANG.confirmnewpassword}</label>
        <div class="controls">
            <input type="password" name="confirmpw" id="confirmpw" />
        </div>
    </div>

    <div class="control-group">
        <label class="control-label" for="passstrength">{$LANG.pwstrength}</label>
        <div class="controls" style="padding-top:7px">
            {include file="$template/pwstrength.tpl"}
        </div>
    </div>

  </fieldset>

   <div class="form-actions" style="text-align:center; margin-top:30px;">
    <input class="btn btn-blue btn-md" style="margin:0;" type="submit" name="submit" value="{$LANG.clientareasavechanges}" />
   <input class="btn btn-red btn-md" style="margin:0;" type="reset" value="{$LANG.cancel}" />
  </div>
</form>
</div>
</div>
</div>
</div>
</div>