{if $registration == 'pending'}

<#User Registration Form#>

In order to login you must register a username and link it with your player. The unique ID given for your player must already exist in the stats or registration will fail. This means you must have logged into the game server at least once before attempting to register.


{if $conf.registration == 'open'} We have an "open" registration policy. Once registered you will have instant access to your account and will be logged in automatically. {elseif $conf.registration == 'closed'} We are not currently allowing any new registrations at this time. {elseif $conf.registration == 'confirm'} We have a strict registration policy. An administrator will receive your registration and will need to approve it before you may login to your account. {elseif $conf.registration == 'autoconfirm'} We have a strict registration policy that requires you to confirm your account from the game server. Once registered you will need to login to the game server and confirm your registration with the following registration command using the game console: ps_confirm {/if}

{$form.uniqueid.label} {if $form.uniqueid.error}

{$form.uniqueid.error}

{/if}
{$form.username.label} {if $form.username.error}

{$form.username.error}

{/if}
{$form.password.label} {if $form.password.error}

{$form.password.error}

{/if}
{$form.password2.label} {if $form.password2.error}

{$form.password2.error}

{/if}
{$form.email.label} (<#optional#>) {if $form.email.error}

{$form.email.error}

{else} {if $conf.registration != 'open'}

<#Enter your email address if you want to receive an email when your registration is confirmed#>

{/if} {/if}
{include file='block_form_footer.html'}
{elseif $registration == 'ok'}

<#User Registration Successful#>

<#Thank you for registering#>

{if $conf.registration == 'open'} You are now logged in under your new user and can update your player profile by clicking on the "Your Profile" link above {elseif $conf.registration == 'confirm'} Your account is now pending and must be accepted by an administrator before you can login {elseif $conf.registration == 'autoconfirm'} Your account is now pending and must be confirmed by logging into the game server and issuing the following command from the game console: ps_confirm {/if}

<#Return to the index#>

{else}

<#User Registration Failed#>

There was a fatal error with your user registration. Please try again later.
{/if}