Ignore:
Timestamp:
Jan 5, 2009, 7:31:45 AM (16 years ago)
Author:
george
Message:
  • Odstraněno: Openwebmail. * Odstraněno: phpMyAdmin. * Upraveno: Mnoho malých úprav a oprav.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • www/statistic/graf2.php

    r4 r129  
    6868  $Krok = $Sirka/$Pocet;
    6969}
    70 
    7170//echo('Maximum...<br>');
    7271//flush();
     
    8786$Max = 0;
    8887$Min = 10000000000000000;
    89  
     88
    9089for($I=0; $I<$Pocet; $I++)
    9190{
     
    9493  //echo('SELECT AVG('.$type.'),MAX('.$type.') FROM traffic WHERE time>FROM_UNIXTIME('.$StartTime.') AND time<FROM_UNIXTIME('.$EndTime.')');
    9594  $DbResult = $Database->query('SELECT AVG('.$type.'),MAX('.$type.') FROM traffic WHERE time>FROM_UNIXTIME('.$StartTime.') AND time<FROM_UNIXTIME('.$EndTime.')');
     95//  echo($Database->error);
    9696  //if($DbResult->num_rows > 0)
    9797  //{
     
    132132// Ramecek
    133133imagerectangle($im,0,0,$Sirka-1,$Vyska-1,$black);
    134 
    135134foreach($BodyMAX as $Index => $Item)
    136135{
Note: See TracChangeset for help on using the changeset viewer.