{include file="search_persons.tpl.html"} {if (count($rows) == 0)}
{t}No persons matching your search criteria were found.{/t}
{if $perm_persons}[ {t}Add person{/t} ]{/if}
{else} {include file="delete_person.tpl.js"} {section name=persons loop=$rows} {/section} {if (strlen($BROWSE))} {/if}
{t}Persons{/t} [ {t}Add person{/t} ]
{t}Name{/t} {t}Address{/t} {t}City{/t} {t}Country{/t} {t}Company{/t} {t}Email{/t} {t}Actions{/t}
{$rows[persons].pe_person|wash|default:" "} {$rows[persons].pe_address|wash|default:" "} {$rows[persons].pe_city|wash|default:" "} {$rows[persons].ctr_name|wash|default: {$rows[persons].ctr_name|wash|default:" "} {$rows[persons].cpn_name|wash|default:" "} {if (isset($rows[persons].pe_email) && strlen($rows[persons].pe_email))} {$rows[persons].pe_email} {else}   {/if} {strip} {t}View{/t} {if ($perm_persons) || ($rows[persons].pe_pe_id == $smarty.session.auth_user.pe_id)} {t}Edit{/t} {t}Delete{/t} {/if} {/strip}
{$BROWSE}
{/if}