You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
311 B
PHP
11 lines
311 B
PHP
<?php
|
|
|
|
require_once './required.php';
|
|
|
|
if (!isAdmin()) {
|
|
die("Unauthorized.");
|
|
}
|
|
|
|
$database->update("players", ["level" => $_POST['level'], "energy" => $_POST['life'], "credits" => $_POST['credits'], "teamid" => $_POST['team']], ["uuid" => $_POST['uuid']]);
|
|
|
|
header('Location: ./?page=players&msg=success'); |