Changeset 209 for trunk/index.php


Ignore:
Timestamp:
May 6, 2009, 7:37:16 PM (15 years ago)
Author:
george
Message:
  • Přidáno: Zobrazení zařízení a spojů pomocí google maps API.
  • Smazáno: Staré nepoužité soubory.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/index.php

    r208 r209  
    121121    $TotalUser = $DbRow[0];
    122122
    123     $DbResult = $this->Database->query('SELECT COUNT(DISTINCT(Member)) FROM NetworkDevice LEFT JOIN HostType ON HostType.Id = NetworkDevice.Type WHERE HostType.ShowOnline = 1 AND NetworkDevice.Online = 1');
     123    $DbResult = $this->Database->query('SELECT COUNT(DISTINCT(Member)) FROM NetworkDevice LEFT JOIN NetworkDeviceType ON NetworkDeviceType.Id = NetworkDevice.Type WHERE NetworkDeviceType.ShowOnline = 1 AND NetworkDevice.Online = 1');
    124124    $DbRow = $DbResult->fetch_array();
    125125    $OnlineUser = $DbRow[0];
Note: See TracChangeset for help on using the changeset viewer.