Ignore:
Timestamp:
Feb 16, 2009, 6:16:00 PM (15 years ago)
Author:
george
Message:
  • Přidáno: Zobrazování chyb v SQL povelech. Nastavení v konfigureaci.
  • Upraveno: Zpřístupnění stavu financí dle ip i dle přihlášení.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • www/network/user_hosts.php

    r148 r153  
    1111  {
    1212
    13     $Output = '<br /><table border="1" cellspacing="0" cellpadding="3" style="font-size: small; text-align: center;">
     13    $Output = '<br /><table class="WideTable">
    1414<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>';
    1515
     
    2424      if($Host['online'] == 1) $Style = 'font-weight: bold; color: blue;'; else $Style = '';
    2525      if($Host['IP'] == '') $Host['IP'] = '&nbsp;';
     26      if($Host['name'] == '') $Host['name'] = '&nbsp;';
     27      if($Host['czfree_ip'] == '') $Host['czfree_ip'] = '&nbsp;';
     28      if($Host['external_ip'] == '') $Host['external_ip'] = '&nbsp;';
     29      if($Host['MAC'] == '') $Host['MAC'] = '&nbsp;';
    2630      $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>';
    2731    }
     
    2933    return($Output);
    3034  }
    31 
    3235}
    3336
Note: See TracChangeset for help on using the changeset viewer.