{if $add} {assign var=title value="Add User"} {else} {assign var=title value="Edit User"} {/if} {include file="admin/header.inc.html"} {include file="admin/user_nb.inc.html" selected="user"}

{$title}

{if $errors}{foreach from=$errors item=e}
  • {$e} {/foreach}{/if}
  • {if $u.pass ne ""} {else} {/if} {if $config.use_address_info} {/if} {$additional_fields_html} {if $config.verify_email} {/if} {if $config.use_affiliates} {/if} {if $config.use_affiliates && $u.member_id} {/if}
    Member ID# {$u.member_id}
    Username {if $u.login eq ""} generate {/if}
    Change Password
    {if $config.hide_password_cp}enter new password here,
    or just leave this field blank
    {/if}
    Password {if $u.pass eq ""} generate {elseif $config.hide_password_cp }
    current password is not displayed
    {/if}
    Email
    Real Name
    Country
    Street Address
    City
    State
    ZIP Code
    Unsubscribe
    this will unsubscribe customer from:
    - messages that you send from aMember Cp;
    - autoresponder messages;
    - subscription expiration notices;
    check this box to unsubscribe
    Email Verified
    0}checked{/if}> check this box to mark account as verified
    Newsletter threads
    this will subscribe customer to
    newsletter messages
    Is Affiliate?
    Affiliate Payout Type
    Signup Info: Time: {$u.added|date_format:$config.time_format} IP: {$u.remote_addr}
    Affiliate {if $aff} #{$aff.member_id|escape} {$aff.login|escape} {$aff.name_f|escape} {$aff.name_l|escape}
    {$aff.email|escape}
    Change affiliate
    Unassign Affiliate {else} Assign to affiliate {/if}
    {php} global $member_additional_fields; foreach ((array)$member_additional_fields as $f){ if ($f['name'] == 'cc-hidden'){ {/php} {* DISPLAY CREDIT CARD INPUT *}
    ADD/REPLACE CREDIT CARD INFO
    Credit Card Number
    Credit Card Expiration {html_select_date prefix="cc_expire_" end_year="+10" display_days=0 year_empty="[Select]" month_empty="[Select]" time="0000-00-00"}
    {* END DISPLAY CREDIT CARD INPUT *} {php} } } {/php}
                                   


    {if is_array($u.data.status) } {foreach from=$u.data.status item=pp key=kk} {/foreach}
    ACTIVE {$u.data.is_active}
    {$kk|escape}  {$pp|escape}
    {/if} {php} print ""; {/php} {include file="js.country_state.js"} {include file="admin/footer.inc.html"}