{* customers list *} {if !$customer_details}

{$smarty.const.ADMIN_SEARCH_OF_CUSTOMER}

{$smarty.const.ADMIN_SEARCH_OF_CUSTOMER_PROMPT}

{$smarty.const.CUSTOMER_LOGIN}
{$smarty.const.CUSTOMER_FIRST_NAME}
{$smarty.const.CUSTOMER_LAST_NAME}
{$smarty.const.CUSTOMER_EMAIL}
{$smarty.const.ADMIN_CUSTOMER_GROUP_NAME}:
{$smarty.const.STRING_MODULE_STATUS}:

{$search_result_string}

{if $customers} {if $navigator}

{$navigator} {/if}

{section name=i loop=$customers} {/section}
{$customers[i].Login} {$customers[i].first_name} {$customers[i].last_name} {if $smarty.const.CONF_BACKEND_SAFEMODE eq 0}{$customers[i].Email}{else}{$smarty.const.ADMIN_SAFEMODE_BLOCKED}{/if} {$customers[i].custgroup_name} {$customers[i].reg_datetime} {if $customers[i].ActivationCode} {$smarty.const.STR_NOTACTIVATED} {else} {$smarty.const.STR_ACTIVATED} {/if} {if $customers[i].allowToDelete} {$smarty.const.DELETE_BUTTON} {/if}

{if $customers_has_been_exported_succefully == 1} {$smarty.const.ADMIN_CUSTOMERS_HAS_BEEN_EXPORTED_SUCCESSFULLY} {$smarty.const.ADMIN_DOWN_LOAD} ( {$file_size} b ) {else} {/if}

{/if}
{else}

{if $customerID eq NULL} {$smarty.const.ADMIN_NO_RECORD_FOUND}

{if $returnUrl} {else} {/if} <<{$smarty.const.ADMIN_BACK_TO_SEARCH_FORM} {else} {if $returnUrl} {else} {/if} <<{$smarty.const.ADMIN_BACK_TO_SEARCH_FORM}

{if $customer_details == 'contact_info'} {else} {/if} {if $customer_details == 'address_book'} {else} {/if} {if $customer_details == 'order_history'} {else} {/if} {if $customer_details == 'visit_log'} {else} {/if} {if $customer_details == 'affiliate'} {else} {/if}
{$smarty.const.STRING_CONTACT_INFORMATION_DOWN_CASE} {if $customer_details == 'contact_info'}
{section name=i loop=$reg_fields_values} {/section} {if $customerInfo.ActivationCode} {/if} {if $customerInfo.allowToDelete} {/if}
{$smarty.const.CUSTOMER_LOGIN} {$customerInfo.Login}
{$smarty.const.CUSTOMER_FIRST_NAME} {$customerInfo.first_name}
{$smarty.const.CUSTOMER_LAST_NAME} {$customerInfo.last_name}
{$smarty.const.CUSTOMER_EMAIL} {if $smarty.const.CONF_BACKEND_SAFEMODE eq 0}{$customerInfo.Email}{else}{$smarty.const.ADMIN_SAFEMODE_BLOCKED}{/if}
{$reg_fields_values[i].reg_field_name}: {$reg_fields_values[i].reg_field_value}
{$smarty.const.CUSTOMER_SUBSCRIBE_FOR_NEWS}
{$smarty.const.ADMIN_CUSTOMER_GROUP_NAME}
{$smarty.const.STR_ACTSTATE} {if $customerInfo.ActivationCode} {$smarty.const.STR_NOTACTIVATED} {else} {$smarty.const.STR_ACTIVATED} {/if}
{$smarty.const.STR_ACTCODE} {$customerInfo.ActivationCode}
{/if} {if $customer_details == 'address_book'} {section name=i loop=$addresses} {/section}
{$smarty.const.CUSTOMER_ADDRESS} {$smarty.section.i.index+1} {if $addresses[i].addressID == $defaultAddressID} ({$smarty.const.STRING_DEFAULT}) {/if}
{$addresses[i].addressStr}
{/if} {if $customer_details == 'order_history'} {if $orders}
{include file='backend/admin_order_history.tpl.html'}
{else} < {$smarty.const.ADMIN_NO_RECORD_FOUND} > {/if} {/if} {if $customer_details == 'visit_log'} {if $visits} {if $navigator} {/if} {section name=i loop=$visits} {/section}
{$navigator}
{$visits[i].customer_ip} {$visits[i].customer_logtime}
{else} < {$smarty.const.ADMIN_NO_RECORD_FOUND} > {/if} {/if} {if $customer_details == 'affiliate'} {include file="backend/custord_custlist_affiliate.tpl.html"} {/if}{* {if $customer_details == 'affiliate'} *}
{$smarty.const.STRING_ADDRESS_BOOK}
{$smarty.const.STRING_ORDER_HISTORY}
{$smarty.const.STRING_VISIT_HISTORY}
{$smarty.const.STRING_AFFILIATE_PROGRAM}
{/if} {/if}