{* $Id: register.tpl,v 1.50 2002/11/18 13:17:24 alfiya Exp $ *} {include file="check_email_script.tpl"} {if $smarty.get.mode eq "update" or $smarty.post.mode eq "update"} {assign var="last_location" value=$lng.lbl_modify_profile} {elseif $smarty.get.mode eq "delete" or $smarty.post.mode eq "delete"} {assign var="last_location" value=$lng.lbl_delete_profile} {elseif $last_location eq ""} {assign var="last_location" value=$lng.lbl_new_member} {/if} {include file="location.tpl" last_location=$last_location} {if $newbie eq "Y"} {if $registered eq ""} {if $smarty.get.mode eq "update"} {$lng.txt_modify_profile_msg} {else} {if $usertype eq "B"} {$lng.txt_create_profile_msg_partner} {else} {$lng.txt_create_profile_msg} {/if} {/if} {/if}

{/if} {capture name=dialog} {if $registered eq ""} {if $reg_error eq "F" } {$lng.txt_registration_error}
{elseif $reg_error eq "E" } {$lng.txt_email_already_exists}
{elseif $reg_error eq "U" } {$lng.txt_user_already_exists}
{/if} {if $error ne ""} {$error}
{/if} {include file="check_cc_number_script.tpl"} {* *} {* *} {* *} {* *} {* *} {if $usertype eq "A" or $usertype eq "P"} {/if} {if $usertype eq "C" or $smarty.get.usertype eq "C"} {if $config.General.disable_cc ne "Y"} {include file="main/register_ccinfo.tpl"} {/if} {/if} {if $userinfo.membership eq "Fulfillment staff" and $userinfo.login eq $login} {else} {if $config.General.membership_signup eq "Y" and ($usertype eq "C" or ($active_modules.Simple_Mode ne "" and $usertype eq "P") or $usertype eq "A")} {include file="admin/main/membership_signup.tpl"} {/if} {if $usertype eq "A" or ($usertype eq "P" and $active_modules.Simple_Mode ne "")} {include file="admin/main/membership.tpl"} {/if} {/if} {if $anonymous ne ""} {* Anonymous account *} {else} {* NOT anonymous account *} {/if} {* ========================= *} {if $usertype eq "A" or $usertype eq "P"} {/if} {* ======================== *}
{$lng.lbl_personal_information}
{$lng.lbl_title} *
{$lng.lbl_first_name} * {if $reg_error ne "" and $userinfo.firstname eq ""}<<{/if}
{$lng.lbl_last_name} * {if $reg_error ne "" and $userinfo.lastname eq ""}<<{/if}
{$lng.lbl_company}  
{$lng.lbl_ssn}  *} {* *} {*
Refered by: {$userinfo.referer}
{$lng.lbl_billing_address}
{$lng.lbl_address} * {if $reg_error ne "" and $userinfo.b_address eq ""}<<{/if}
{$lng.lbl_city} * {if $reg_error ne "" and $userinfo.b_city eq ""}<<{/if}
{$lng.lbl_state} {if $states ne ""}*{/if} {if $states ne ""} {else} {/if}
{$lng.lbl_country} *
{$lng.lbl_zip_code} * {if $reg_error ne "" and $userinfo.b_zipcode eq ""}<<{/if}
{$lng.lbl_shipping_address_registration}
{$lng.lbl_address}  
{$lng.lbl_city}  
{$lng.lbl_state}   {if $states ne ""} {else} {/if}
{$lng.lbl_country}  
{$lng.lbl_zip_code}  
{$lng.lbl_contact_information}
{$lng.lbl_phone} * {if $reg_error ne "" and $userinfo.phone eq ""}<<{/if}
{$lng.lbl_email} * {if $reg_error ne "" and $userinfo.email eq ""}<<{/if}
{$lng.lbl_fax}  
{$lng.lbl_web_site}  
{$lng.lbl_username_n_password}
{$lng.txt_anonymous_account_msg}
{$lng.lbl_username}
{$lng.lbl_password}
{$lng.lbl_confirm_password}
{$lng.lbl_username} * {if $smarty.get.mode eq "update" or $smarty.post.mode eq "update"} {$userinfo.login} {else} {if $reg_error ne "" and $userinfo.login eq ""}<<{/if} {/if}
{$lng.lbl_password} * {if $reg_error ne "" and $userinfo.passwd1 eq ""}<<{/if}
{$lng.lbl_confirm_password} * {if $reg_error ne "" and $userinfo.passwd2 eq ""}<<{/if}
{$lng.lbl_password_hint}  
{$lng.lbl_password_hint_answer}  
{$lng.lbl_newsletter}
    {$lng.txt_newsletter_msg}
Approving
Approved:  
    {if $newbie eq "Y"}

{$lng.txt_you_are_agree} {$lng.lbl_terms_n_conditions}. {/if}

{if $smarty.get.mode eq "update"} {/if} {include file="buttons/submit.tpl"}

{if $newbie eq "Y"} {$lng.txt_newbie_registration_bottom}
{$lng.lbl_terms_n_conditions} {include file="buttons/go.tpl"} {/if} {else} {if $smarty.post.mode eq "update" or $smarty.get.mode eq "update"} {$lng.txt_profile_modified} {elseif $smarty.get.usertype eq "B" or $usertype eq "B"} {$lng.txt_partner_created} {else} {$lng.txt_profile_created} {/if} {/if} {/capture} {if $smarty.post.mode eq "update" or $smarty.get.mode eq "update"} {include file="dialog.tpl" title=$lng.lbl_modify_profile content=$smarty.capture.dialog extra="width=100%"} {else} {include file="dialog.tpl" title=$lng.lbl_new_member content=$smarty.capture.dialog extra="width=100%"} {/if}