{assign var=title value="Lookup Results"} {include file="admin/header.inc.html"}

{$title}

{if $smarty.request.q eq ''} Your query was empty. {else}
Found {php}echo count($this->get_template_vars('ur'));{/php} members matching the search string (it will show only first 20 records anyway)
{if $ur} {foreach from=$ur item=u} {/foreach}
Username Name E-Mail
{$u.login} {$u.name_f|escape} {$u.name_l|escape} <{$u.email|escape}>
{/if}
Found {php}echo count($this->get_template_vars('pr'));{/php} payments/invoices matching the search string (it will show only first 20 records anyway)
{if $pr} {foreach from=$pr item=u} {/foreach}
Username Name E-Mail Payment Receipt Rayment System
{$u.login|escape} {$u.name_f|escape} {$u.name_l|escape} <{$u.email|escape}> {$u.payment_id} {$u.receipt_id|escape} {$u.paysys_id|escape}
{/if} {/if}{* if $q == "" *}
{include file="admin/footer.inc.html"}