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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/projects/isvtgme/mlista.php
<!DOCTYPE html>
<!--
******************************
 Project: IS VetroIng, 2023.
 Version: 23-04-08
 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";
include "hed.php";
$loc = $_GET["loc"];
//echo $aws[$loc];
//
 		$sql = "SELECT * FROM meteovtg WHERE IdVtg='".$aws[$loc]."' ORDER BY TimeDate DESC LIMIT 1024";

if ($vap==5) {
		$result = mysql_query($sql, $dbh) or die (mysql_error($dbh));
		$nuz = mysql_num_rows($result);
}else{
		$result = mysqli_query($dbh, $sql) or die(mysqli_error($dbh));
		$nuz = mysqli_num_rows($result);
}	
		echo "AWS: <b>".$aws[$loc]." - ".$awsnam[$loc]."</b> / Uzoraka ".$nuz;
		echo "<br>";
				
			echo "<table style='background-color:#F0F8FF; width:720px; margin:0 auto;'>";
			echo "<tr>";
				echo "<th>Br.</th>";
				echo "<th>TimeDate</th>";
				echo "<th>Press</th>";
				echo "<th>Temp</th>";
				echo "<th>Humi</th>";
				echo "<th>Wind</th>";
				echo "<th>Light</th>";
			echo "</tr>";
			
			for ($i = 1; $i<($nuz+1); $i++) {	
			
	if ($vap==5) {				
			$row = mysql_fetch_array($result);
	}else{
			$row = mysqli_fetch_array($result);
	}				
				//
				echo "<tr>";
				echo "<td>".$i."</td>";
				$dt=$row['TimeDate'];
				$go=substr($dt,0,4);
				$me=substr($dt,5,2);
				$da=substr($dt,8,2);
				$vr=substr($dt,11,5);
				echo "<td>".$da."/".$me."/".$go." - ".$vr."</td>";
				
				echo "<td>".$row['Pressure']."</td>";
				echo "<td>".$row['Temperature']."</td>";
				echo "<td>".$row['Humidity']."</td>";
				echo "<td>".$row['WindSpeed']."</td>";
				echo "<td>".$row['Light']."</td>";
				echo "</tr>";
			}
			echo "</table>";
            echo "<br>";
//
if ($vap==5) {
	mysql_close($dbh);
}else{
	mysqli_close($dbh);
}
?>
<hr>
<img src="img/b_white-2.png">
<a href="javascript:history.go(-1)"><img src="img/r_ret.png" width="" height="48"></a>
</div>
<?php include "fut.php";?>
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit