{if $friends} {if isset($pending)} {if $askName}{/if} {foreach $friends as $friend} {if $askName}{/if} {/foreach}
{l s='Date' mod='invite'}{l s='Name' mod='invite'}{l s='Email' mod='invite'}
{$friend.date_upd}{$friend.firstname} {$friend.lastname}{$friend.email}
{else} {if $askName}{/if} {foreach $friends as $friend} {if $askName}{/if} {/foreach}
{l s='ID' mod='invite'}{l s='Name' mod='invite'}{l s='Email' mod='invite'}
{$friend.id_customer}{$friend.firstname} {$friend.lastname}{$friend.email}
{/if} {else} {if isset($pending)}

{l s='This customer has no pending friends.' mod='invite'}

{else}

{l s='This customer has no friends.' mod='invite'}

{/if} {/if}