[tmp page_title]__COMPANY__ -- [L]New Account[/L][/tmp]
[tmp display_class]noleft[/tmp]
@_TOP_@
[if session logged_in][bounce href="[area member/account]"][/if]
[if !scratch new]
[if session failure]
[calc] delete $Session->{failure}[/calc]
[/if]
[edisplay show_var=0]
[else]
[set new][/set]
[/else]
[/if]
[set NewAccount]
[calc]delete $Scratch->{usernick};[/calc]
[if type=explicit compare="[userdb new_account]"]
mv_nextpage=[either][cgi destination][or]member/account[/either]
[else]
mv_nextpage=new_account
[/else]
[/if]
[/set]
[set new_emailcheck]
&fatal=1
mv_username=email_only
&set=email [cgi mv_username]
[/set]
[tmp clear_errors][error all=1 comment="Clear errors"][/tmp]
@_BOTTOM_@