<form name="frmquery" method="post" action="{?$jieqi_url?}/admin/online.php">
<table class="grid" width="100%" align="center">
    <tr>
        <td class="odd"><table width="100%"  border="0" cellspacing="0" cellpadding="0" class="hide">
          <tr>
            <td width="30%" valign="middle">在线人数：{?$rowcount?}</td>
            <td width="70%" align="right" valign="middle">用户名称：
            <input name="username" type="text" class="text" id="username" size="20" maxlength="30">
            <input type="submit" name="Submit" value="搜 索" class="button">&nbsp;&nbsp;</td>
          </tr>
        </table></td>
    </tr>
</table>
</form>
<br />
<table class="grid" width="100%" align="center">
<caption>用户列表</caption>
  <tr align="center" class="head">
    <td width="20%" valign="middle">用户名</td>
    <td width="10%" valign="middle">登陆时间</td>
    <td width="15%" valign="middle">等级</td>
    <td width="15%" valign="middle">IP</td>
    <td width="25%" valign="middle">来路</td>
    <td width="15%" valign="middle">操作</td>
  </tr>
  {?section name=i loop=$userrows?}
  <tr valign="middle">
    <td class="even"><a href="{?function jieqi_geturl:'system':'user':$userrows[i].userid?}" target="_blank">{?$userrows[i].name?}</a></td>
    <td align="center" class="odd">{?$userrows[i].logintime?}</td>
    <td align="center" class="odd">{?$userrows[i].group?}</td>
    <td align="center" class="even">{?$userrows[i].ip?}</td>
    <td align="left" class="odd">{?$userrows[i].location?}</td>
    <td align="center" class="even"><a href="{?$jieqi_url?}/admin/online.php?action=del&sid={?$userrows[i].sid?}">强制下线</a></td>
  </tr>
  {?/section?}
</table>
<table width="100%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td align="right">{?$url_jumppage?}</td>
  </tr>
</table>

