Будь проклят тот день, когда я решил ввести неймспейсы...

This commit is contained in:
lopar
2020-10-28 22:21:08 +02:00
parent f1b9ce6a45
commit d38d62c5b5
159 changed files with 339 additions and 304 deletions
+2 -2
View File
@@ -17,7 +17,7 @@ session_start();
if ($_SESSION['uid'] != 2) header("Location: index.php");
require_once 'config.php';
$user = new User($_SESSION['uid']);
$user = new \Battles\User($_SESSION['uid']);
$status = '';
$dirname = "i/presents/";
$images = glob($dirname . "*.png");
@@ -62,7 +62,7 @@ if (!empty($_POST['sendAction'])) {
db::c()->query('INSERT INTO `telegraph` (receiver, text) VALUES (?i,"?s")', $receiver['id'], $telegraphText);
$status = "Подарок удачно доставлен к {$_POST['receiver']}! Вы потратили <b>{$cost}</b> кр.";
}
Template::header('Дарильня');
\Battles\Template::header('Дарильня');
?>
<script src="js/main.js"></script>
<style>