Ignore:
Timestamp:
Jul 18, 2009, 10:33:45 PM (15 years ago)
Author:
george
Message:
  • Opraveno: Zobrazení seznamu síťových zařízení u uživatele.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/network/user_hosts.php

    r210 r234  
    1212    $Output = '<div align="center" style="font-size: small;"><table class="WideTable">';
    1313    $Output .= '<tr><th>Jméno počítače</th><th>Místní adresa</th><th>Veřejná adresa</th><th>CZFree adresa</th><th>Fyzická adresa</th><th>Typ</th><th>Naposledy online</th></tr>';
    14     $DbResult = $this->Database->query('SELECT NetworkDevice.*, NetworkDeviceType.Name AS HostType FROM NetworkDevice LEFT JOIN NetworkDeviceType ON NetworkDeviceType.Id = NetworkDevice.Type WHERE NetworkDevice.Used = 1 AND NetworkDevice.Member = (SELECT Id FROM Member WHERE Member.ResponsibleUser = '.$this->System->Modules['User']->User['Member'].') ORDER BY NetworkDevice.Name');
     14    $DbResult = $this->Database->query('SELECT NetworkDevice.*, NetworkDeviceType.Name AS HostType FROM NetworkDevice LEFT JOIN NetworkDeviceType ON NetworkDeviceType.Id = NetworkDevice.Type WHERE NetworkDevice.Used = 1 AND NetworkDevice.Member = '.$this->System->Modules['User']->User['Member'].' ORDER BY NetworkDevice.Name');
    1515    while($Device = $DbResult->fetch_assoc())
    1616    {
Note: See TracChangeset for help on using the changeset viewer.