Remove unused

This commit is contained in:
Igor Barkov (iwork) 2020-07-03 16:52:19 +03:00
parent 3af2758b3c
commit dcc5a2b482

View File

@ -1,6 +1,6 @@
<?php <?php
session_start(); session_start();
require_once 'functions.php'; //require_once 'functions.php';
$login = urldecode(filter_input(INPUT_SERVER, 'QUERY_STRING')); $login = urldecode(filter_input(INPUT_SERVER, 'QUERY_STRING'));
$uid = $_SESSION['uid'] ?? null; $uid = $_SESSION['uid'] ?? null;
@ -32,7 +32,7 @@ if (empty($user->id)): ?>
<meta charset=UTF-8"/> <meta charset=UTF-8"/>
<link href="css/main.css" rel="stylesheet"> <link href="css/main.css" rel="stylesheet">
</head> </head>
<BODY onload="<?= topsethp() ?>"> <body>
<?php if ($user->admin === 1 && $own['admin'] != 1 && file_exists('customuserdata/' . $user['id'])) {die(file_get_contents('customuserdata/' . $user['id']));} ?> <?php if ($user->admin === 1 && $own['admin'] != 1 && file_exists('customuserdata/' . $user['id'])) {die(file_get_contents('customuserdata/' . $user['id']));} ?>
<table width=100%> <table width=100%>
<tr> <tr>