Changeset 224 for trunk


Ignore:
Timestamp:
May 31, 2009, 9:37:43 PM (15 years ago)
Author:
hajdam
Message:
  • Oprava: Topologie - Zobrazení online stavu zařízení
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/is/topologie-img2.php

    r222 r224  
    3737
    3838//$DbResult = $Database->query("SELECT * FROM hosts, hosts_topology WHERE host = id AND used=1");
    39 $DbResult = $Database->query("SELECT tpl.*, tpl.host AS id, dev.name AS name, dev.online AS online, dtp.iconname AS iconname, dtp.showonline AS showonline
     39$DbResult = $Database->query("SELECT tpl.*, tpl.host AS id, dev.name AS name, dev.online AS online, dtp.iconname AS iconname, 1 AS showonline
    4040  FROM hosts_topology tpl LEFT JOIN NetworkDevice dev ON dev.id = tpl.host LEFT JOIN NetworkDeviceType dtp ON dev.type = dtp.id");
    4141while($item = $DbResult->fetch_array())
Note: See TracChangeset for help on using the changeset viewer.