Changeset 153 for www/network/user_hosts.php
- Timestamp:
- Feb 16, 2009, 6:16:00 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
www/network/user_hosts.php
r148 r153 11 11 { 12 12 13 $Output = '<br /><table border="1" cellspacing="0" cellpadding="3" style="font-size: small; text-align: center;">13 $Output = '<br /><table class="WideTable"> 14 14 <tr><th>Jméno počítače</th><th>Místní IP adresa</th><th>Veřejná IP adresa</th><th>CZFree IP adresa</th><th>Naposledy online</th><th>Fyzická adresa</th></tr>'; 15 15 … … 24 24 if($Host['online'] == 1) $Style = 'font-weight: bold; color: blue;'; else $Style = ''; 25 25 if($Host['IP'] == '') $Host['IP'] = ' '; 26 if($Host['name'] == '') $Host['name'] = ' '; 27 if($Host['czfree_ip'] == '') $Host['czfree_ip'] = ' '; 28 if($Host['external_ip'] == '') $Host['external_ip'] = ' '; 29 if($Host['MAC'] == '') $Host['MAC'] = ' '; 26 30 $Output .= '<tr><td style="text-align: left; '.$Style.'">'.$Host['name'].'</td><td>'.$Host['IP'].'</td><td>'.$Host['external_ip'].'</td><td>'.$Host['czfree_ip'].'</td><td >'.HumanDate($Host['last_online']).'</td><td>'.$Host['MAC'].'</td></tr>'; 27 31 } … … 29 33 return($Output); 30 34 } 31 32 35 } 33 36
Note:
See TracChangeset
for help on using the changeset viewer.