| 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/radvre/admin/ |
Upload File : |
<!DOCTYPE html>
<!--
**************************************
Project: LogDogPlan
File :
Version: 2021-10-25
Author : M. Kukic
Note : PHP + MySQL v5/7 + Apache
**************************************
//http://net-tim/www/logdog/find3_dog.php?datm=251021
-->
<html>
<link rel="stylesheet" href="lgdgstil.css">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel='shortcut icon' type='image/png' href='favicon.ico'/>
<title>LogDogPlan</title>
</head>
<body>
<?php
include "config.php";
//
//echo $u_ime." - ".$u_sts." - ".$u_dbp." - ".$u_pass;
$tabela=$u_dbp."_logdog";
//
echo"<div style='width:800px; word-wrap:break-word;'>";
echo "<fieldset>";
echo "<legend><h3>LogDogPlan - Dogadjaji po statusima</h3></legend>";
echo "<table border=\"0\">";
echo "</fieldset>";
//
echo "<br>User: <b>".$u_ime."</b> - ".$u_sts."<br><br>";
//
// Kasa + Vreme
for ($k = 1; $k<($nstsi+1); $k++) {
//echo $stsi[$k]." = ";
//db
$sql = "SELECT * FROM $tabela WHERE sts='".$stsi[$k]."' ORDER BY datum, vreme";
if ($ver==4) {
$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);
}
// Tbela
if ($nuz>0){
echo "Status ".$stsi[$k].": No=".$nuz;
include "tab_hdr.php";
include "tab_bdi.php";
}
}
include "close_db.php";
echo "<hr>";
echo "<a href='index_adm.php'><img src='img/hom.png'>";
echo "</div>";
?>
</body>
</html>