You do not have access to this page.

"; die(); } $admin = new Admin(); $admin->UpdateAdminInfo($_COOKIE['steamID']); if (!$admin->DoesHaveFullAccess()) { echo "

You do not have access to this page.

"; die(); } if (isset($_GET['page'])) { $currentPage = ($_GET['page'] <= 0) ? 1 : $_GET['page']; } else { $currentPage = 1; } $resultsPerPage = 20; $resultsStart = (($currentPage - 1) * $resultsPerPage); $sql = "SELECT * FROM "; $sql .= "`web_logs`"; if (isset($_GET['s'])) { $input = $_GET['s']; $method = formatMethod(intval($_GET['m'])); $sql .= " WHERE `$method`=$input "; } $sql_query = $GLOBALS['DB']->query($sql); $resultsCount = $sql_query->num_rows; $totalPages = ceil(($resultsCount / $resultsPerPage)); $sql_query->free(); if ($totalPages != 0 && $currentPage > $totalPages) { $currentPage = $totalPages; } echo ""; ?> query($sql . "ORDER BY time_stamp DESC LIMIT $resultsStart, $resultsPerPage"); $results1 = $query->fetch_all(MYSQLI_ASSOC); $resultsRealCount = $query->num_rows; $query->free(); $url = $_SERVER['REQUEST_URI']; if (str_contains($url, '&page')) { $url = substr($url, 0, strpos($url, '&page')); } ?>

Web Logs

  Total Logs:

displaying of results | 0) { $href = $url . "&page=$previousPage"; echo " previous |"; } if ($nextPage > 0 && $nextPage <= $totalPages) { $href = $url . "&page=$nextPage"; echo " next "; } echo " "; ?>

GetAdminNameFromSteamID($adminSteamID); $date->setTimestamp($time_stamp); $dateFormated = $date->format(DATE_TIME_FORMAT); echo ""; echo ""; if (empty($clientName)) { echo ""; } else { echo ""; } echo ""; echo ""; echo ""; } ?>
Date Player Admin Action
$dateFormatedNo nickname present ($clientSteamID)$clientName ($clientSteamID)$adminName$message