Changeset 214 for trunk/userlist.php


Ignore:
Timestamp:
May 11, 2009, 9:28:16 PM (16 years ago)
Author:
george
Message:
  • Opraveno: Nezobrazovat nepoužité počítač v seznamu uživatelů.
  • Opraveno: Aktualizovat online stav zařízení dle stavu rozhraní.
  • Opraveno: Nepoužívané zařízení nezařazovat do systému omezování rychlosti.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/userlist.php

    r208 r214  
    1717      if($User['PhoneNumber'] > 0) $Phone = $User['PhoneNumber']; else $Phone = ' ';
    1818
    19       $DbResult2 = $this->Database->query('SELECT Name, Id FROM NetworkDevice WHERE Member = (SELECT Id FROM Member WHERE Member.ResponsibleUser = '.$User['Id'].') ORDER BY Name');
     19      $DbResult2 = $this->Database->query('SELECT Name, Id FROM NetworkDevice WHERE Member = (SELECT Id FROM Member WHERE Member.ResponsibleUser = '.$User['Id'].') AND Used=1 ORDER BY Name');
    2020      $Devices = array();
    2121      while($Device = $DbResult2->fetch_assoc())
Note: See TracChangeset for help on using the changeset viewer.