{if file_exists("templates/$template/includes/login/overwrites/register-form.tpl")} {include file="{$template}/includes/login/overwrites/register-form.tpl"} {else} {if in_array('state', $optionalFields)} {/if} {if $registrationDisabled} {include file="$template/includes/alert.tpl" type="error" msg=$LANG.registerCreateAccount|cat:' '|cat:$LANG.registerCreateAccountOrder|cat:''} {/if} {if !$registrationDisabled} {if $errormessage} {include file="$template/includes/alert.tpl" type="error" errorshtml=$errormessage} {/if}
{if $linkableProviders}
{if $RSThemes['pages'][$templatefile]['config']['socialButtons'] == '1'} {include file="$template/includes/linkedaccounts.tpl" linkContext="registration"} {else} {include file="$template/includes/linkedaccounts.tpl" linkContext="registration" circleButtons="true"} {/if}
{/if}

{$LANG.orderForm.personalInformation}

{if $customfields || $currencies}

{$LANG.orderadditionalrequiredinfo}
{lang key='orderForm.requiredField'}

{if $customfields} {foreach from=$customfields key=num item=customfield }
{if $customfield.type eq 'tickbox'} {if $customfield.description}{$customfield.description}{/if} {else} {if $customfield.type == "link"}
{$customfield.input|replace:""}
{else} {$customfield.input} {/if} {if $customfield.description}{$customfield.description}{/if} {/if}
{if $customfield@iteration % 2 == 0}
{/if} {/foreach} {/if} {if $currencies}
{/if}
{/if}
{$LANG.orderForm.accountSecurity}
{$rslang->trans('login.at_least_pass')}
{include file="$template/includes/pwstrength.tpl"}
{if $securityquestions}
{/if}
{if $showMarketingEmailOptIn}

{lang key='emailMarketing.joinOurMailingList'}

{$marketingEmailOptInMessage}

{$rslang->trans('generals.receive_emails')}:
{/if} {if $accepttos}
{/if} {include file="$template/includes/captcha.tpl"}
{/if} {/if}