{if !$customer_details}
{if $customers_has_been_exported_succefully == 1}
{$smarty.const.ADMIN_CUSTOMERS_HAS_BEEN_EXPORTED_SUCCESSFULLY}!
{$smarty.const.ADMIN_DOWN_LOAD} ( {$file_size} b )
{/if} {assign var="admhl" value=0} {section name=i loop=$customers} {if $admhl eq 1} {else}{assign var="admhl" value=1}{/if} {sectionelse} {/section} {if $navigator}
{$smarty.const.ADMIN_CUSTOMER_LOGIN} {$smarty.const.ADMIN_CUSTOMER_FIRST_NAME} {$smarty.const.ADMIN_CUSTOMER_LAST_NAME} {$smarty.const.ADMIN_CUSTOMER_EMAIL} {$smarty.const.ADMIN_CUSTOMER_GROUP_NAME} {$smarty.const.ADMIN_REGISTRATION_TIME} {$smarty.const.STR_ACTSTATE} Del
{$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}
{$smarty.const.ACTIVATE_BUTTON}{else}{$smarty.const.STR_ACTIVATED}{/if}
{if $customers[i].allowToDelete}X{/if}
{$smarty.const.ADMIN_NO_VALUES}
{else}
{/if}
{if $customers}
{$smarty.const.ADMIN_EXPORT_USER_TO_FILE}{/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 $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}{$smarty.const.STRING_CONTACT_INFORMATION_DOWN_CASE}{$smarty.const.STRING_ADDRESS_BOOK}{$smarty.const.STRING_ADDRESS_BOOK}{$smarty.const.STRING_ORDER_HISTORY}{$smarty.const.STRING_ORDER_HISTORY}{$smarty.const.STRING_VISIT_HISTORY}{$smarty.const.STRING_VISIT_HISTORY}{$smarty.const.STRING_AFFILIATE_PROGRAM} {$smarty.const.STRING_AFFILIATE_PROGRAM}
{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|replace:"<":"<"}
{$smarty.const.CUSTOMER_FIRST_NAME} {$customerInfo.first_name|replace:"<":"<"}
{$smarty.const.CUSTOMER_LAST_NAME} {$customerInfo.last_name|replace:"<":"<"}
{$smarty.const.CUSTOMER_EMAIL} {if $smarty.const.CONF_BACKEND_SAFEMODE eq 0}{$customerInfo.Email|replace:"<":"<"}{else}{$smarty.const.ADMIN_SAFEMODE_BLOCKED}{/if}
{$reg_fields_values[i].reg_field_name}: {$reg_fields_values[i].reg_field_value|replace:"<":"<"}
{$smarty.const.CUSTOMER_SUBSCRIBE_FOR_NEWS}
{$smarty.const.ADMIN_CUSTOMER_GROUP_NAME} {if $customerInfo.custgroup_name}{$customerInfo.custgroup_name}   {/if}{$smarty.const.ADMIN_CHANGE}
{$smarty.const.STR_ACTSTATE} {if $customerInfo.ActivationCode} {$smarty.const.STR_NOTACTIVATED} {$smarty.const.ACTIVATE_BUTTON} {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|replace:"<":"<"|replace:"<br>":"
"}
{/if} {if $customer_details == 'order_history'} {if $orders}
{include file='admin/admin_order_history.tpl.html'}
{else} < {$smarty.const.ADMIN_NO_RECORD_FOUND} > {/if} {/if} {if $customer_details == 'visit_log'} {if $visits} {section name=i loop=$visits} {/section} {if $navigator} {/if}
IP {$smarty.const.ADMIN_CUSTOMER_ENTER_TIME}
{$visits[i].customer_ip} {$visits[i].customer_logtime}
{else} < {$smarty.const.ADMIN_NO_RECORD_FOUND} > {/if} {/if} {if $customer_details == 'affiliate'} {include file="admin/custord_custlist_affiliate.tpl.html"} {/if}

{if $returnUrl} {else} {/if}{$smarty.const.ADMIN_BACK_TO_SEARCH_FORM} {/if} {/if}
{$smarty.const.USEFUL_FOR_YOU}
{$smarty.const.ALERT_ADMIN2}