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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/projects/meteoca//tab.php
<!DOCTYPE html>
<!--
******************************
 Project: MeteoCA, 2017-2020
 Version: PHP-7
 Author : M. Kukic
 Note   :  
******************************
-->
<html>

<style>
table, th, td {
    border: 1px solid black;
}
th, td {
    padding: 4px;
    text-align: center;
}
</style>
<head>
<link rel='shortcut icon' type='image/png' href='favicon.png'/>
<title>AMS METEOCA</title>
<script>var dan = new Date();
document.write('CET '+dan.getDate()+'.'+(dan.getMonth()+1)+'.'+dan.getFullYear()+'. - '+dan.getHours()+':'+dan.getMinutes()+':'+dan.getSeconds());
</script>
</head>
<div style="width:720px; word-wrap:break-word;">

<?php

include "config.php";

// GET metod prenosa
//
$st = $_GET["st"];

//Listanje i prebrojavanje
    $sql = "SELECT * FROM ".$data[$st]." ORDER BY tim ASC";
    $result=mysqli_query($dbh,$sql) or die(mysqli_error());
	$numofrows=mysqli_num_rows($result);

echo "
<hr>
<fieldset>
    <legend><h3>Mreza AMS - &#268;a&#269;ak</h3></legend>
<table border=\"0\"></fieldset>";

echo $ts." # ".$te;

echo "<br><br>";

echo "Stanica: ".$amsnam[$st]." Kod: ".$ams[$st]." Data: ".$data[$st]." Sm: ".$numofrows;

			echo "<table border='1'>";
			echo "<tr>";
			    echo "<th>id</th>";
				echo "<th>Stanica</th>";
				echo "<th>Time</th>";
	for ($i = 0; $i < $nparam; $i++) { 	
	            echo "<th>".$paramnam[$i]."</th>";
	}
				/*
				echo "<th>Baro</th>";
				echo "<th>Temp</th>";
				echo "<th>Humi</th>";
				echo "<th>Sun</th>";
				echo "<th>Wind</th>";
				*/
			echo "</tr>";

			for ($i = 0; $i < $numofrows; $i++) {
            $row = mysqli_fetch_array($result);
						
				echo "<tr>";
				echo "<td>".$row['id']."</td>";
				echo "<td>".$row['amsid']."</td>";
				echo "<td>".$row['tim']."</td>";
				echo "<td>".round($row['baro'],1)."</td>";
				echo "<td>".round($row['temp'],1)."</td>";
				echo "<td>".round($row['humi'],0)."</td>";
				echo "<td>".$row['sun']."</td>";
				echo "<td>".$row['wind']."</td>";
				if ($nparam>5) echo "<td>".$row['p6']."</td>";
				if ($nparam>6)echo "<td>".$row['p7']."</td>";
				if ($nparam>7)echo "<td>".$row['p8']."</td>";
				echo "</tr>";
				}
			echo "</table>";
            echo "<br>";

//	

$st++;
echo "<hr>";
mysqli_close($dbh);
echo "<a href='javascript:history.go(-1)'><img src='img/back.png'></a><a href='ams.php'><img src='img/hom.png'><a href='wemos-d1.htm'><img src='img/info.png'></a> <a href='graf".$st.".htm'><img src='img/bar.png'></a>";
?>
</div>
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit