<div class="wrapper purple-content" style="text-align:center">
    	<div class="container">
        	<div class="content-heading white whmcsportal">
    			<h2>{$pagetitle}</h2>
                <small>{$LANG.clientregisterheadertext}</small>
                <span></span>
            </div>
            <div class="loginbox">

<div class="alert alert-block alert-warn textcenter">
    <p>{$message}</p>
</div>

<p class="textcenter"><img src="images/loading.gif" alt="Loading" border="0" /></p>

<br />

<div id="submitfrm">

    <div align="center" class="textcenter">{$code}</div>

    <form method="post" action="{if $invoiceid}viewinvoice.php?id={$invoiceid}{else}clientarea.php{/if}">
    </form>

</div>


{literal}
<script language="javascript">
setTimeout("autoForward()", 5000);
function autoForward() {
    var submitForm = $("#submitfrm").find("form:first");
    submitForm.submit();
}
</script>
{/literal}
</div>
</div>
</div>
