<div id="form-section" class="container-fluid signup">
    <div class="website-logo">
        <a href="https://www.achahost.com">
            <div class="logo" style="width:225px;height:45px"></div>
        </a>
    </div>
    <div class="row">
        <div class="info-slider-holder">
            <div class="bg-animation"></div>
            <div class="info-holder">
                <h6>Promote Your Business Online with a Website</h6><br>
                <div class="bold-title">We are #1 Hosting choice for Indians to do Business Online. <span>Loved by Users.</span></div>
                <br><br>
            <div class="info-holder">
                <div class="bold-title">Call Us Now <br><span>08879621622</span></div>
                <p><a href="https://achahost.com" style="text-decoration: none" ; font-weight: 700">
<font color="#FFFFFF"><h6>Home</h6></font></a></p>
                </div>
            </div>
        </div>
    </div>
        <div class="form-holder">
            <div class="menu-holder">
                <ul class="main-links">
                    <li><a class="normal-link" href="{$WEB_ROOT}/login.php">You have an account?</a></li>
                    <li><a class="sign-button" href="{$WEB_ROOT}/login.php">Sign in</a></li>
                </ul>
            </div>
            <div class="signin-signup-form">
                <div class="form-items">
                    <div class="form-title">{include file="$template/includes/pageheader.tpl" title=$LANG.register}</div>
                    {if in_array('state', $optionalFields)}
                        <script>
                            var stateNotRequired = true;
                        </script>
                    {/if}

                    <script type="text/javascript" src="{$BASE_PATH_JS}/StatesDropdown.js"></script>

                    {if $registrationDisabled}
                        {include file="$template/includes/alert.tpl" type="error" msg=$LANG.registerCreateAccount|cat:' <strong><a href="https://achahost.com" class="alert-link">'|cat:$LANG.registerCreateAccountOrder|cat:'</a></strong>'}
                    {/if}

                    {if $errormessage}
                        {include file="$template/includes/alert.tpl" type="error" errorshtml=$errormessage}
                    {/if}

                    {if !$registrationDisabled}
                    <form id="signupform" method="post" class="using-password-strength" action="{$smarty.server.PHP_SELF}" role="form">
                        <input type="hidden" name="register" value="true"/>
                        <div class="row">
                            <div class="col-md-6 form-text">
                                <input type="text" name="firstname" id="firstname" value="{$clientfirstname}" placeholder="{$LANG.clientareafirstname}" {if !in_array('firstname', $optionalFields)}required{/if} />
                            </div>
                            <div class="col-md-6 form-text">
                                <input type="text" name="lastname" id="lastname" value="{$clientlastname}" placeholder="{$LANG.clientarealastname}" {if !in_array('lastname', $optionalFields)}required{/if} />
                            </div>
                        </div>
                        <div class="form-text">
                            <input type="text" name="companyname" id="companyname" value="{$clientcompanyname}" placeholder="{$LANG.clientareacompanyname}" />
                        </div>
                        <div class="form-text">
                            <input type="email" name="email" id="email" value="{$clientemail}" placeholder="{$LANG.clientareaemail}" />
                        </div>

                        <div id="newPassword1" class="form-group has-feedback form-text">
                            <input type="password" placeholder="{$LANG.clientareapassword}" id="inputNewPassword1" name="password" autocomplete="off" />
                            <span class="form-control-feedback glyphicon glyphicon-password"></span>
                            {include file="$template/includes/pwstrength.tpl"}
                        </div>
                        <div id="newPassword2" class="form-group has-feedback form-text">
                            <input type="password" placeholder="{$LANG.clientareaconfirmpassword}" id="inputNewPassword2" name="password2" autocomplete="off" />
                            <span class="form-control-feedback glyphicon glyphicon-password"></span>
                            <div id="inputNewPassword2Msg">
                            </div>
                        </div>

                        <div class="form-text">
                            <input type="text" name="address1" id="address1" value="{$clientaddress1}" placeholder="{$LANG.clientareaaddress1}" {if !in_array('address1', $optionalFields)}required{/if} />
                        </div>
                        <div class="form-text">
                            <input type="text" name="address2" id="address2" value="{$clientaddress2}" placeholder="{$LANG.clientareaaddress2}" />
                        </div>
                        <div class="form-text">
                            <input type="text" name="city" id="city" class="selectpicker" value="{$clientcity}" placeholder="{$LANG.clientareacity}" {if !in_array('city', $optionalFields)}required{/if} />
                        </div>
                        <div class="form-text">
                            <input type="text" name="state" id="state" value="{$clientstate}" placeholder="{$LANG.clientareastate}" {if !in_array('state', $optionalFields)}required{/if} />
                        </div>
                        <div class="form-text">
                            <input type="text" name="postcode" id="postcode" value="{$clientpostcode}" placeholder="{$LANG.clientareapostcode}" {if !in_array('postcode', $optionalFields)}required{/if} />
                        </div>

                        <div class="form-text">
                            <label for="country" class="control-label">{$LANG.clientareacountry}</label>
                            <select id="country" name="country" class="selectpicker">
                                {foreach $clientcountries as $countryCode => $countryName}
                                    <option value="{$countryCode}"{if (!$clientcountry && $countryCode eq $defaultCountry) || ($countryCode eq $clientcountry)} selected="selected"{/if}>
                                        {$countryName}
                                    </option>
                                {/foreach}
                            </select>
                        </div>

                        <div class="form-text">
                            <input type="tel" name="phonenumber" id="phonenumber" value="{$clientphonenumber}" placeholder="{$LANG.clientareaphonenumber}" {if !in_array('phonenumber', $optionalFields)}required{/if} />
                        </div>

                        {if $customfields}
                            {foreach from=$customfields key=num item=customfield}
                                <div class="form-text">
                                    <label class="control-label" for="customfield{$customfield.id}">{$customfield.name}</label>
                                    <div class="control">
                                        {$customfield.input} {$customfield.description}
                                    </div>
                                </div>
                            {/foreach}
                        {/if}

                        {if $currencies}
                            <div class="form-group">
                                <label for="currency" class="control-label">{$LANG.choosecurrency}</label>
                                <select id="currency" name="currency" class="selectpicker">
                                    {foreach from=$currencies item=curr}
                                    <option value="{$curr.id}"{if !$smarty.post.currency && $curr.default || $smarty.post.currency eq $curr.id } selected{/if}>{$curr.code}</option>
                                    {/foreach}
                                </select>
                            </div>
                        {/if}
                        {if $securityquestions}
                            <div class="panel panel-default">
                                <div class="panel-heading">
                                    <h3 class="panel-title">{$LANG.clientareasecurityquestion}:</h3>
                                </div>
                                <div class="panel-body">
                                    <div class="form-group col-sm-12">
                                        <select name="securityqid" id="securityqid" class="form-control">
                                            {foreach key=num item=question from=$securityquestions}
                                                <option value={$question.id}>{$question.question}</option>
                                            {/foreach}
                                        </select>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-4 control-label" for="securityqans">{$LANG.clientareasecurityanswer}</label>
                                        <div class="col-sm-6">
                                            <input type="password" name="securityqans" id="securityqans" class="form-control" autocomplete="off" />
                                        </div>
                                    </div>
                                </div>
                            </div>
                        {/if}

                        {include file="$template/includes/captcha.tpl"}

                        {if $accepttos}
                            <div class="panel panel-danger tospanel">
                                <div class="panel-heading">
                                    <h3 class="panel-title"><span class="fa fa-exclamation-triangle tosicon"></span> &nbsp; {$LANG.ordertos}</h3>
                                </div>
                                <div class="panel-body">
                                        <div class="col-md-12">
                                            <label class="checkbox">
                                            <input type="checkbox" name="accepttos" class="accepttos">
                                            {$LANG.ordertosagreement} <a href="{$tosurl}" target="_blank">{$LANG.ordertos}</a>
                                            </label>
                                        </div>
                                </div>
                            </div>
                        {/if}
                        <div class="form-button">
                            <button id="submit" type="submit" class="ybtn ybtn-purple">{$LANG.clientregistertitle}</button>
                        </div>
                    </form>
                    {/if}
                </div>
            </div>
        </div>
    </div>
</div>