Location: PHPKode > projects > @1 File Store > templates/control/user_list.tpl
<h1>{$lang.users}</h1><p>
{if $PAGES && count($PAGES.pages)>0}
<p>{$lang.pages}:{include file="pages.tpl" pages="`$PAGES`"}</p>
{/if}
<table class="data">
<tr><td><b>{$lang.real_name}</b></td><td><b>{$lang.login}</b></td><td><b>{$lang.email}</b></td><td><b>{$lang.group}</b></td><td><b>{$lang.confirm}</b></td><td><b>{$lang.upload2}</b></td><td><b>{$lang.subscription}</b></td><td colspan="2"><b>{$lang.action}</b></td></tr>
{foreach item="user" from=$list}
<tr>
<td>{$user.real_name}</td>
<td>{$user.login}</td>
<td>{$user.email}</td>
<td align="center">
{if $user.level == '-1'}
<img src="../../css/b_admin.gif" boder=0 title="{$lang.admin}">
{/if}
{if $user.level == '0'}
<img src="../../css/b_subadmin.gif" border=0 title="{$lang.sub_admin}">
{/if}
{if $user.level > '0'}
{$user.grp_name}
{/if}
</td>
<td align="center">{$user.confirm}</td>
<td align="center">{$user.allow_upload}</td>
<td align="center">{$user.subscription}</td>
<td><a href="edit.php?id={$user.id}" title="{$lang.edit_user}"><img src="../../css/b_edit.gif" border=0></a></td>
<td><a href="delete.php?id={$user.id}" title="{$lang.delete_user}"><img src="../../css/b_delete.gif" border=0></a></td>
</tr>
{/foreach}
</table>
<p><form method="POST" action="search.php">{$lang.search}: <input type="text" name="q"> {$lang.by} 
<select name="p">
  <option value="login">{$lang.username}</option>
  <option value="real_name">{$lang.real_name}</option>
  <option value="level">{$lang.group}</option>
  <option value="email">{$lang.email_address}</option>
</select>
<input type="submit" value="{$lang.search}"></form></p>
Return current item: @1 File Store