Changeset 366 for trunk/Modules/Network/user_hosts.php
- Timestamp:
- Jan 19, 2012, 7:55:45 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Network/user_hosts.php
r361 r366 11 11 12 12 $Output = '<div align="center" style="font-size: small;"><table class="WideTable">'; 13 $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>';13 $Output .= '<tr><th>Jméno počítače</th><th>Místní adresa</th><th>Veřejná adresa</th><th>Fyzická adresa</th><th>Typ</th><th>Naposledy online</th></tr>'; 14 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->Models['User']->User['Member'].' ORDER BY NetworkDevice.Name'); 15 15 while($Device = $DbResult->fetch_assoc()) … … 23 23 $InterfaceName = $Device['Name']; 24 24 if($Interface['Name'] != '') $InterfaceName .= '-'.$Interface['Name']; 25 $Output .= '<tr><td style="text-align: left; '.$Style.'"> '.$InterfaceName.'</td><td>'.NotBlank($Interface['LocalIP']).'</td><td>'.NotBlank($Interface['ExternalIP']).'</td><td>'.NotBlank($Interface[' CZFreeIP']).'</td><td>'.NotBlank($Interface['MAC']).'</td><td> </td><td> </td></tr>';25 $Output .= '<tr><td style="text-align: left; '.$Style.'"> '.$InterfaceName.'</td><td>'.NotBlank($Interface['LocalIP']).'</td><td>'.NotBlank($Interface['ExternalIP']).'</td><td>'.NotBlank($Interface['MAC']).'</td><td> </td><td> </td></tr>'; 26 26 } 27 27 }
Note:
See TracChangeset
for help on using the changeset viewer.