echo "<pre>"; print_r($data); echo "</pre>"; ?> </div> </div> <?php } function RandomString() { $characters = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'; $randstring = ''; for ($i = 0; $i < 10; $i++) { $randstring = $characters[rand(0, strlen($characters) - 1)]; } return $randstring; } $html = new Frontend(); $db = new Session(); if (isset($_SESSION['userid'])) { $db->update("users", "last_seen", "CURRENT_TIMESTAMP", $_SESSION['userid']); } if (is_file("update.lock") or is_file("install.lock")) { if ($current_page != "lock.php" and $current_page != "update.php") { $html->redirection("lock.php"); } } if (basename($_SERVER['PHP_SELF']) != "logon.php" and basename($_SERVER['PHP_SELF']) != "upload.php") { $html->navbar(); } $alerts = new Alerts();