Esempio n. 1
0
<?php

include_once "/var/www/web_classes/DUser.php";
include_once "/var/www/php/sql_connect.php";
$user = new DUser($_COOKIE["token"]);
error_log($user->Email());
if ($user->Perms() == 1) {
    $string = $_POST["query"];
    if (isset($_POST["query"])) {
        $query = $_POST["query"];
        $string = db_find($query);
    }
    ?>
<!DOCTYPE html>


<html lang="en">
    <head>
     <meta name="theme-color" content="#FF8800">
        <meta charset="utf-8">
            <meta http-equiv="X-UA-Compatible" content="IE=edge">
                <meta name="viewport" content="width=device-width, initial-scale=1">
                    <meta name="description" content="The Official Oregon Tech Gaming Community Website. The place to find event times, locations, and announcements.">
                        <meta name="author" content="Ian Murphy">
                            <link rel="icon" href="/assets/media/cog128.png">
                                
                                <title>Administration - oitgaming.com</title>
                                
                                <!-- Bootstrap core CSS -->
                                <link href="/assets/stylesheets/bootstrap.min.css" rel="stylesheet">
                                <link href="/assets/stylesheets/add.css" rel="stylesheet">