Advertisement
domos123

WhosOnline User Photo Fix

Jan 12th, 2012
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.70 KB | None | 0 0
  1. <ul class="PanelInfo">
  2.                 <?php
  3.                 if ($this->_OnlineUsers->NumRows() > 0) {
  4.                     foreach($this->_OnlineUsers->Result() as $User) {
  5.                 ?>
  6.  
  7.                     <li>
  8.                         <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
  9.                         <tr>
  10.                         <strong <?php echo ($User->Invisible == 1 ? 'class="Invisible"' : '')?>>
  11.                             <td width="15">
  12.                             <?php echo UserPhoto($User); ?>
  13.                         </td><td width="5"></td><td align="left">
  14.                         <?php echo UserAnchor($User); ?>
  15.                         </td>
  16.                         </strong>
  17.                         <td width="30" align="left">
  18.                         <?php echo Gdn_Format::Date($User->Timestamp); ?>
  19.                         </td>
  20.                         </tr>
  21.                         </table>
  22.                     </li>
  23.                 <?php
  24.                     }
  25.                 }
  26.                 ?>
  27.             </ul>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement