Legend:
- Unmodified
- Added
- Removed
-
index.php
r6 r13 174 174 175 175 $Output .= '<table border="1" cellspacing="0" cellpadding="2" style="font-size: small;">'; 176 $Output .= '<tr><th>Mìøená velièina</th><th> Èas posledního mìøení</th><th>Poslední hodnota</th><th>Interpolace</th><th>Poznámky</th>';176 $Output .= '<tr><th>Mìøená velièina</th><th>Poslední hodnota</th><th>Èas posledního mìøení</th><th>Interpolace</th><th>Poznámky</th>'; 177 177 if(array_key_exists('Debug', $_GET)) $Output .= '<th>Poèet polo¾ek</th><th>Èas vykonání</th>'; 178 178 $Output .= '</tr>'; … … 195 195 $Row = $Result2->fetch_array(); 196 196 $LastMeasureTime = date('j.n.Y G:i:s', MysqlDateTimeToTime($Row['time'])); 197 $LastMeasureValue = round($Row['avg'] / $Measure['Divider']);197 $LastMeasureValue = AddPrefixMultipliers($Row['avg'], $Measure['Unit']); 198 198 } else { 199 199 $LastMeasureTime = ' '; … … 203 203 if($Measure['Info'] == '') $Measure['Info'] = ' '; 204 204 $GenerationTime = floor((GetMicrotime() - $StopWatchStart) * 1000 ) / 1000; 205 $Output .= '<tr><td><a href="?Measure='.$Measure['Id'].'">'.$Measure['Description'].'</a></td><td align="center">'.$LastMeasureValue.' '.$Measure['Unit'].'</td><td align="center">'.$LastMeasureTime.'</td><td align="center">'.$Interpolate.'</td><td>'.$Measure['Info'].'</td>';205 $Output .= '<tr><td><a href="?Measure='.$Measure['Id'].'">'.$Measure['Description'].'</a></td><td align="center">'.$LastMeasureValue.'</td><td align="center">'.$LastMeasureTime.'</td><td align="center">'.$Interpolate.'</td><td>'.$Measure['Info'].'</td>'; 206 206 if(array_key_exists('Debug', $_GET)) $Output .= '<td>'.$RowCount.'</td><td>'.$GenerationTime.'</td>'; 207 207 $Output .= '</tr>';
Note:
See TracChangeset
for help on using the changeset viewer.