Changeset 558 for trunk/Modules/Network/HostList.php
- Timestamp:
- Jul 21, 2013, 10:55:49 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Network/HostList.php
r548 r558 15 15 $Output = '<div align="center" style="font-size: small;"><table class="WideTable">'; 16 16 $Output .= '<tr><th>Jméno počítače</th><th>IP adresa</th><th>Typ</th><th>Naposledy online</th><th>Správce</th></tr>'; 17 $DbResult = $this->Database->query('SELECT NetworkDevice.*, User.Name as UserName, NetworkDeviceType.Name AS HostType FROM NetworkDevice LEFT JOIN Member ON Member.Id = NetworkDevice.Member LEFT JOIN User ON Member.ResponsibleUser = User.Id LEFT JOIN NetworkDeviceType ON NetworkDeviceType.Id = NetworkDevice.Type WHERE NetworkDevice.Used = 1 '.$Where.'ORDER BY NetworkDevice.Name'); 17 $DbResult = $this->Database->query('SELECT NetworkDevice.*, User.Name as UserName, NetworkDeviceType.Name AS HostType FROM NetworkDevice '. 18 'LEFT JOIN Member ON Member.Id = NetworkDevice.Member '. 19 'LEFT JOIN User ON Member.ResponsibleUser = User.Id '. 20 'LEFT JOIN NetworkDeviceType ON NetworkDeviceType.Id = NetworkDevice.Type WHERE NetworkDevice.Used = 1 '.$Where.'ORDER BY NetworkDevice.Name'); 18 21 while($Device = $DbResult->fetch_assoc()) 19 22 {
Note:
See TracChangeset
for help on using the changeset viewer.