<table class="outer" width="100%" cellspacing="1">
  <tr>
    <th colspan="3"><{$smarty.const._WHOSONLINE}></th>
  </tr>
  <{foreach item=obj from=$objects}>
    <tr class="<{cycle values="odd,even"}> valign="middle" align="center">
      <td>
        <{if $obj->get('uid')}>
          <a href="<{$xoops_url}>/userinfo.php?uid=<{$obj->get('uid')|escape}>"><{$obj->getVar('uname')}></a>
        <{else}>
          <{$smarty.const._GUEST}>
        <{/if}>
      </td>
      <td>
        <{if $obj->mModule}>
          <{$obj->mModule->getVar('name')}>
        <{else}>
          ---
        <{/if}>
      </td>
      <td>
        <{if $xoops_isadmin}>
          <{$obj->getVar('online_ip')}>
        <{/if}>
      </td>
    </tr>
  <{/foreach}>
</table>
<br />
<div style="text-align:center;"><{xoops_pagenavi pagenavi=$pageNavi}></div>
