/***************************************************************************
* copyright            : (C) 2001-2003 Advanced Internet Designs Inc.
* email                : forum@prohost.org
* $Id: finduser.tmpl 21069 2010-03-25 22:47:48Z Caeies $
*
* This program is free software; you can redistribute it and/or modify it 
* under the terms of the GNU General Public License as published by the 
* Free Software Foundation; either version 2 of the License, or 
* (at your option) any later version.
***************************************************************************/

{PHP_FILE: input: finduser.php.t; output: finduser.php;}
{REF: security.tmpl}
{REF: header.tmpl}
{REF: footer.tmpl}
{REF: stats.tmpl}
{REF: draw_pager.tmpl}
{REF: imsg.tmpl}
{REF: rev_fmt.tmpl}
{REF: alt_var.tmpl}

{PAGE: FINDUSER_PAGE user search form}
{TEMPLATE: header}
<form method="get" action="{TEMPLATE: FINDUSER_PAGE_lnk3}">{DEF: _hs}
<table border="0" cellspacing="1" cellpadding="2" class="ContentTable">
<tr><th colspan=2>{MSG: finduser_user_info}</th></tr>
<tr class="RowStyleA"><td class="GenText" nowrap>{MSG: finduser_by_login}</td><td class="GenText" width="100%"><input type="text" name="usr_login" value="{VAR-HTML: usr_login}"></td></tr>
<tr class="RowStyleB"><td class="GenText" nowrap>{MSG: finduser_by_email}</td><td width="100%"><input type="text" name="usr_email" value="{VAR-HTML: usr_email}"></td></tr>
<tr class="RowStyleA"><td class="GenText" align="right" colspan=2><font class="SmallText">{MSG: finduser_help}</font> <input type="submit" class="button" name="btn_submit" value="{MSG: finduser_submit}"></td></tr>
</table><input type="hidden" name="t" value="finduser"></form>
<img src="blank.gif" alt="" height=2 width=1 /><br />
<table border="0" cellspacing="1" cellpadding="2" class="ContentTable">
<tr>
<th width="100%"><a class="thLnk" href="{TEMPLATE: FINDUSER_PAGE_lnk}">{MSG: finduser_user}</a></th><th nowrap><a href="{TEMPLATE: FINDUSER_PAGE_lnk1}" class="thLnk">{MSG: finduser_postcount}</a></th><th nowrap><div align="center"><a href="{TEMPLATE: FINDUSER_PAGE_lnk2}" class="thLnk">{MSG: finduser_joindate}</a></div></th><th align="center">{MSG: finduser_action}</th>{VAR: admin_opts}
</tr>
{TEMPLATE-DATA: find_user_data}
</table>
{TEMPLATE-DATA: pager}
{TEMPLATE-DATA: page_stats}
{TEMPLATE: footer}
{PAGE: END}

{SECTION: find_user_no_results}
<tr class="RowStyleA"><td colspan="{VAR: colspan}" width="100%" class="GenText">{MSG: finduser_no_such_user}</td></tr>
{SECTION: END}

{SECTION: find_user_entry}
<tr class="{ALT-VAR: finduser_alt RowStyleA RowStyleB}"><td nowrap class="GenText"><a class="GenLink" href="{TEMPLATE: find_user_entry_lnk}">{VAR: r->alias}</a></td><td align="center" nowrap>{VAR: r->posted_msg_count}</td><td class="DateText" nowrap>{DATE: r->join_date %a, %d %B %Y}</td><td nowrap class="GenText">{TEMPLATE: action_field}</td>{VAR: admi}</tr>
{SECTION: END}

{SECTION: action_field lists things that can be done with a user}
<a href="{TEMPLATE: action_field_lnk}" class="GenLink"><img alt="" src="{THEME_IMAGE_ROOT}/show_posts.gif" /></a>
{TEMPLATE-DATA: email_link}
{TEMPLATE-DATA: pm_link}
{TEMPLATE-DATA: homepage_link}
{SECTION: END}

{SECTION: pm_link}
<a href="{TEMPLATE: pm_link_lnk}" class="GenLink"><img src="{THEME_IMAGE_ROOT}/msg_pm.gif" alt="" /></a>
{SECTION: END}

{SECTION: homepage_link}
<a class="GenLink" href="{VAR: r->home_page}" target="_blank"><img alt="" src="{THEME_IMAGE_ROOT}/homepage.gif" /></a>
{SECTION: END}

{SECTION: email_link}
<a href="{TEMPLATE: email_link_lnk}" class="GenLink"><img src="{THEME_IMAGE_ROOT}/msg_email.gif" alt="" /></a>
{SECTION: END}

{SECTION: finduser_title}
{MSG: finduser_title}
{SECTION: END}

{SECTION: finduser_update}
{MSG: finduser_update}
{SECTION: END}

{SECTION: findu_admin_opts_header}
<th>{MSG: findu_admin_opts_header}</th>
{SECTION: END}

{SECTION: findu_unban}
<a href="{GVAR: WWW_ROOT}adm/admuser.php?act=block&usr_id={VAR: r->id}&S={DEF: s}">{MSG: findu_unban}</a>
{SECTION: END}

{SECTION: findu_ban}
<a href="{GVAR: WWW_ROOT}adm/admuser.php?act=block&usr_id={VAR: r->id}&S={DEF: s}">{MSG: findu_ban}</a>
{SECTION: END}

{SECTION: findu_admin_opts}
<td class="SmallText" nowrap><a href="{GVAR: WWW_ROOT}adm/admuser.php?usr_id={VAR: r->id}&S={DEF: s}&act=1">{MSG: findu_edit}</a> || {TEMPLATE-DATA: admi}</td>
{SECTION: END}

{SECTION: find_user_entry_lnk}
{ROOT}?t=usrinfo&amp;id={VAR: r->id}&amp;{DEF: _rsid}
{SECTION: END}

{SECTION: pm_link_lnk}
{ROOT}?t=ppost&amp;{DEF: _rsid}&amp;toi={VAR: r->id}
{SECTION: END}

{SECTION: email_link_lnk}
{ROOT}?t=email&amp;toi={VAR: r->id}&amp;{DEF: _rsid}
{SECTION: END}

{SECTION: FINDUSER_PAGE_lnk}
{ROOT}?t=finduser&amp;usr_login={VAR-URL: usr_login}&amp;usr_email={VAR-URL: usr_email}&amp;us=1&amp;btn_submit=Find&amp;{DEF: _rsid}
{SECTION: END}

{SECTION: FINDUSER_PAGE_lnk1}
{ROOT}?t=finduser&amp;usr_login={VAR-URL: usr_login}&amp;{DEF: _rsid}&amp;usr_email={VAR-URL: usr_email}&amp;pc=1&amp;btn_submit=Find
{SECTION: END}

{SECTION: FINDUSER_PAGE_lnk2}
{ROOT}?t=finduser&amp;usr_login={VAR-URL: usr_login}&amp;{DEF: _rsid}&amp;usr_email={VAR-URL: usr_email}&amp;btn_submit=Find
{SECTION: END}

{SECTION: action_field_lnk}
{ROOT}?t=showposts&amp;id={VAR: r->id}&amp;{DEF: _rsid}
{SECTION: END}

{SECTION: FINDUSER_PAGE_lnk3}
{ROOT}
{SECTION: END}
