Location: PHPKode > projects > Esvon Personals > esvon-personals/tpl/admin/lookup_user_list.htm
<html>
<head>
<title>Lookup User</title>
<meta http-equiv="Content-Type" content="text/html; charset=##CHARSET##">
<link rel="stylesheet" type="text/css" href="../img/admin/styles.css">
<script type="text/javascript">

function OpenEmail(uid){
  window.open('index.php?page=user_email&blank=yes&uid='+uid, 'emailUser', 'left=50,top=50,width=550,height=450,scrollbars=1,resizable=1')
}

function SetUID(uid){
  document.frm.uid.value = uid;
}

function GoSelect(){
  var f = document.frm;
  if(!f.uid.value){ alert('Please select user'); return; }
  var f_tg = window.opener.document.##tg##;
  if(f_tg) f_tg.value = f.uid.value;
  window.close();
}

function AdmLogin(login,pwd){
  var f = document.f_login;
  f.login.value = login;
  f.pwd.value = pwd;
  f.submit();
}

</script>

</head>

<body>

<form method=post name=frm>

<input type=hidden name=uid>

<table border=0 width="100%" cellpadding=0 cellspacing=0 align=center>
<tr>
<td>
 
  <select name="search_by" style="width:120">
<option value="">- Search by -
##search_by##
  </select>

<input type=text size=10 name=q value="##q##">

  <select name="per_row">
##per_row##
  </select>
  
  per page

</td>
</tr>
<tr>
<td height=5>
</td>
</tr>
<tr>
<td>

  Sort by 

  <select name="sort_by">
##sort_by##
  </select>
   

  <select name="a_d">
##a_d##
  </select><input type=submit value="Apply" class=button>


</td>
</tr>
</table>

<table border="0" cellPadding=3 cellSpacing="1" width="100%" align=center>

  <tr>
    <td>
    
<table border=0 cellPadding=0 cellSpacing=0 width=100%>
<tr>
<td class=txt8>

<b><font color=blue>Total: ##numrecs## &nbsp; 

</td><td>

</td><td align=right>

Display
  <select name=f_by>
##f_by##
  </select>

<input type=checkbox name=ch_hide_no_login ##ch_hide_no_login## value=1> <font class=txt8>Hide never logged in users</font>

</td>
</tr>
</table>


    </td>

  </tr>

  <tr>
    <td align=center>

<table border=1 width=100% cellpadding=1 cellspacing=0>

<tr class=ex_row>
    <td width="1%">&nbsp;</td>
    <td width="1%">&nbsp;</td>
    <td width="1%">&nbsp;</td>
    <td width="1%">&nbsp;</td>
    <td>&nbsp;ID</td>
    <td>&nbsp;E-mail</td>
    <td>&nbsp;Username</td>
</tr>

<!-- TPL_INSERT : row -->
<!-- TPL_CELL : def -->

<tr>
    <td>##num##.</td>
    <td><input type=radio name=ch_uid[] value=##id## OnClick="SetUID(##id##)"></td>
    <td><a target=_blank href="##list_url##&id=##id##"><img src=../img/admin/modify.gif border=0 alt="[M]"></a></td>
    <td><a href="javascript:AdmLogin('##login##','##pwd##')"><img src=../img/admin/login.gif border=0></a></td>
    <td><center>##id##</td>
    <td><a href="javascript:OpenEmail(##id##)">##email##</a></td>
    <td>##username##&nbsp;</td>
</tr>

<!-- /TPL_CELL : def -->
<!-- /TPL_INSERT : row -->


</table>

<p>

<input type=button value="Select" class=button OnClick="GoSelect()"><input type=button value="Close" class=button 
onClick="window.close()">



<p>
##nav##


    </td>

  </tr>

</table>

</form>

<form method=post action="##login_url##" target=_blank name=f_login>
<input type=hidden name="page" value="login">
<input type=hidden name="pg" value="login">
<input type=hidden name="login" value="">
<input type=hidden name="pwd" value=""> 
<input type=hidden name="act" value="login"> 
</form> 

</body>
</html>
Return current item: Esvon Personals