{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.use_affiliates} {/if} {if $aff} {/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
    Newsletter threads
    this will subscribe customer to
    newsletter messages
    Is Affiliate?
    Affiliate Payout Type
    Signup Info: Time: {$u.added|date_format:"%m/%d/%Y %H:%M:%S"} IP: {$u.remote_addr}
    Affiliate #{$aff.member_id} {$aff.login} {$aff.name_f} {$aff.name_l}
    {$aff.email}
    {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}  {$pp}
    {/if} {include file="js.country_state.js"} {include file="admin/footer.inc.html"}