| Server IP : 93.86.61.54 / Your IP : 216.73.216.60 Web Server : Apache/2.4.62 (Ubuntu) System : Linux rasin.ddns.net 6.8.0-124-generic #124~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 21:05:19 UTC x86_64 User : www-data ( 33) PHP Version : 8.4.22 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/html/projects/isvtgo/ |
Upload File : |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="refresh" content="15" />
<title>Untitled Document</title>
</head>
<body style = "text-align: ceneter; background-color: beige;"></body>
<body>
<?php
include "config.php";
include "isvtg_header-sr.php";
$par_sr = "Brzina vetra";
$par_en = "Wind Speed";
include "isvtg_par.php";
include "graph-header-sr.php";
include "graph-ord.php";
$t0 =0;
//
$ymin = 0;
$h = 5;
echo"<g stroke='gray'>";
echo "<line x1='225' y1='350' x2='1025' y2='350' />";
echo "<line x1='225' y1='300' x2='1025' y2='300' />";
echo "<line x1='225' y1='250' x2='1025' y2='250' />";
echo "<line x1='225' y1='200' x2='1025' y2='200' />";
echo "<line x1='225' y1='150' x2='1025' y2='150' />";
echo "<line x1='225' y1='100' x2='1025' y2='100' />";
echo "<line x1='225' y1='50' x2='1025' y2='50' />";
echo "</g>";
echo "<text x='130' y='20' font-size='24' font-weight='bold' fill='green'>v[m/s]</text>";
echo "<text x='208' y='400' font-size='20' font-weight='bold' fill='green'>0</text>";
echo "<text x='200' y='354' font-size='20' font-weight='bold' fill='green'>10</text>";
echo "<text x='200' y='304' font-size='20' font-weight='bold' fill='green'>20</text>";
echo "<text x='200' y='254' font-size='20' font-weight='bold' fill='green'>30</text>";
echo "<text x='200' y='204' font-size='20' font-weight='bold' fill='green'>40</text>";
echo "<text x='200' y='154' font-size='20' font-weight='bold' fill='green'>50</text>";
echo "<text x='200' y='104' font-size='20' font-weight='bold' fill='green'>60</text>";
echo "<text x='200' y='54' font-size='20' font-weight='bold' fill='green'>70</text>";
echo "<text x='200' y='20' font-size='20' font-weight='bold' fill='green'>80</text>";
echo "<text x='1030'y='400' font-size='24' font-weight='bold' fill='green'>t</text>";
//
echo "<g stroke='red'>";
$k=0;
$row = mysqli_fetch_array($result);
$y1=400-($row['wind']-$ymin)*$h;
for ($x = 225; $x < 1025; $x=$x+$xst) {
$k++;
$row = mysqli_fetch_array($result);
$x1=$x;
$x2=$x+$xst;
$y2=400-($row['wind']-$ymin)*$h;
if ($k<$numofrows){
echo "<line x1=".$x1." y1=".$y1." x2=".$x2." y2=".$y2." />";
}
$y1=$y2;
}
echo "</g></g>";
echo "</svg>";
echo "</table>";
echo "<br>";
// FOOTHER
include "graph-foother-sr.php";
//MIN - MAX
$par_db="wind";
$parameter = "Wind Speed";
include "graph-minmax-sr.php";
mysqli_close($dbh);
?>
<table>
<tr>
<td style = "width: 100px; text-align: center"><a href = "isvtg.php"><img src = "img/r_ret.png" width = "" height = "48"></a></td>
<td style = "width: 200px; font-size: 12px; text-align: justify; color: blue"><i>Povratak na početnu stranicu</i></td>
<td style = "width: 400px"></td>
<td style = "width: 100px; text-align: center"><a href = "isvtg_is.php"><img src = "img/r_hlp.png" width = "" height = "48"></a></td>
<td style = "width: 200px; font-size: 12px; text-align: justify; color: blue"><i>Ukratko o informacionom sistemu za praćenje rada prototipa vterogeneratora VTG1</i/</td>
</tr>
</table>
<?php include 'foother.php'; ?>
</body>
</html>