Changeset 129 for www/statistic/graf2.php
- Timestamp:
- Jan 5, 2009, 7:31:45 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
www/statistic/graf2.php
r4 r129 68 68 $Krok = $Sirka/$Pocet; 69 69 } 70 71 70 //echo('Maximum...<br>'); 72 71 //flush(); … … 87 86 $Max = 0; 88 87 $Min = 10000000000000000; 89 88 90 89 for($I=0; $I<$Pocet; $I++) 91 90 { … … 94 93 //echo('SELECT AVG('.$type.'),MAX('.$type.') FROM traffic WHERE time>FROM_UNIXTIME('.$StartTime.') AND time<FROM_UNIXTIME('.$EndTime.')'); 95 94 $DbResult = $Database->query('SELECT AVG('.$type.'),MAX('.$type.') FROM traffic WHERE time>FROM_UNIXTIME('.$StartTime.') AND time<FROM_UNIXTIME('.$EndTime.')'); 95 // echo($Database->error); 96 96 //if($DbResult->num_rows > 0) 97 97 //{ … … 132 132 // Ramecek 133 133 imagerectangle($im,0,0,$Sirka-1,$Vyska-1,$black); 134 135 134 foreach($BodyMAX as $Index => $Item) 136 135 {
Note:
See TracChangeset
for help on using the changeset viewer.