403Webshell
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/isvtgtim/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/projects/isvtgtim/isvtgtim_graphpres.php
<!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>
	<table>
		<tr>
			<td><img src="img/vtg.png" alt="Vetroing" style="width:100px;hight:120px"></td>
			<td style = "text-align: center; font-family: Verdana; font-size: 24px; color: green"><b>VETROINŽENJERING<br>Čačak</br></b></td>
		</tr>
	</table>



	<h1 style="color: green; font-family: Verdana; font-size: 24px; text-align: center">INFORMATION SYSTEM FOR MONITORING<br>IN THE GREEN ENERGY SYSTEMS</br></h1>
	<h1 style="color: green; font-family: Verdana; font-size: 36px; text-align: center">ATMOSPHERIC & LIGHT PARAMETERS</h1>
	<h1 style="color: green; font-family: Verdana; font-size: 24px; text-align: center">AIR PRESSURE - Graphic view</h1>

<?php
include "config.php";
	$pn = $amspn[$st];
include "graph-header.php";

echo "<text x='225' y='320' font='Verdana' font-size='24'>".$tekst."</text>";

echo "<svg xmlns='http://www.w3.org/2000/svg' version='1.1' width='1200' height='430'>";
echo "<rect x = '225' width = '800' height = '419' fill = 'rgb(234,250,241)' stroke-width = '3' stroke = 'rgb(25,111,61)' />";
echo "<g stroke='gray'>";


        $k=0;
        for ($x = 225; $x < 1025; $x=$x+12) {
          $k++;
          $x1=$x;
      $x2=$x;
          if ($k==2){
          $y1=424;
          $y2=406;
          echo "<line x1=".$x1." y1=".$y1." x2=".$x2." y2='0' />";
      $k=0;
          }else{
                $y1=424;
                $y2=414;
      echo "<line x1=".$x1." y1=".$y1." x2=".$x2." y2=".$y2." />";
          }
     }
echo "</g>";
//
$dy=875;
$h=1.75;
$dty=-5;
$dtx=5;
$s1=875.0;
$s2=1075.0;
$pn=984.2;
$dp0=420-(1013-$dy)*$h;
$dpn=420-($pn-$dy)*$h;
$ds1=420-($s1-$dy)*$h;
$ds2=420-($s2-$dy)*$h;
$dz=($p0-$nap)*$h;
//
echo "<g stroke='red'>";
echo 	"<line x1='225' y1='".$dpn."' x2='1025' y2='".$dpn."' />";
echo "</g>";
echo "<g stroke='green'>";
echo 	"<line x1='225' y1='".$dp0."' x2='1025' y2='".$dp0."' />";
echo "</g>";
echo "<g stroke='gray'>";
echo 	"<line x1='225' y1='".$ds1."' x2='1025' y2='".$ds1."' />";
echo 	"<line x1='225' y1='".$ds2."' x2='1025' y2='".$ds2."' />";
echo "</g>";
//
$dp0=$dp0+$dty;
$dpn=$dpn+$dty;
$ds1=$ds1+$dty;
$ds2=$ds2+$dty;
//
echo "<text x='150' y='16' font-size='24' font-weight='bold' fill='green'>P [mb]</text>";
echo "<text x='162' y='".$dp0."' font-size='20' font-weight='bold' fill='green'>1013.3</text>";
echo "<text x='172' y='".$dpn."' font-size='20' font-weight='bold' fill='red'>984.2</text>";
echo "<text x='172' y='".$ds1."' font-size='20' font-weight='bold' fill='green'>875.0</text>";
echo "<text x='162' y='".$ds2."' font-size='20' font-weight='bold' fill='green'>1075.0</text>";
echo "<text x='1035' y='410' font-size='24' font-weight='bold' fill='green'>t</text>";
//
// P
echo"<g stroke='red'>";
echo "<line x1='800' y1='15' x2='840' y2='15' />";
echo "</g>";
echo "<text x='860' y='20' font-size='20' font-weight='bold'>Normal pressure</text>";

 		$k=0;
		$row = mysqli_fetch_array($result);
		$y1=420-($row['Pressure']-$dy)*$h;
		$z1=$y1-$dz;
		for ($x = 225; $x < 1025; $x=$x+$xst) {
			$k++;
			$row = mysqli_fetch_array($result);
			$x1=$x;
			$x2=$x+$xst;
			$y2=420-($row['Pressure']-$dy)*$h;
			$z2=$y1-$dz;
			if ($k<$numofrows){
				echo "<g stroke='blue'>";
				echo "<line x1=".$x1." y1=".$y1." x2=".$x2." y2=".$y2." />";
				echo "</g>";
				if ($plus==1){
					echo "<g stroke='green'>";
					echo "<line x1=".$x1." y1=".$z1." x2=".$x2." y2=".$z2." />";
					echo "</g>";
				}
			}
			$y1=$y2;
			$z1=$z2;
		}
echo "</g></g>";

echo  "</svg>";
include "graph-foother.php";
//MIN - MAX
$par_db="Pressure";

include "graph-minmax.php";

        mysqli_close($dbh);


?>
	<table>
                <tr>
                        <td width = "50px"></td>
                        <td style = "font-size: 48px; color: blue" ><a href = "http://rasin.ddns.net/projects/isvtgtim/isvtgtim_air.php">&#129092</a></td>
                </tr>
        </table>



<?php include 'foother.php'; ?>

</body>
</html>


Youez - 2016 - github.com/yon3zu
LinuXploit