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

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
+3 -3
View File
@@ -21,7 +21,7 @@ if (isset($user['id'])) {
include('./classes/battle_new.class.php');
$fbattle = new fbattle($user['battle']);
Template::header('fbattle');
\Battles\Template::header('fbattle');
?>
<script type="text/javascript" src="js/sl2.js"></script>
<script type="text/javascript" src="js/ch.js"></script>
@@ -139,7 +139,7 @@ Template::header('fbattle');
<tr>
<td valign=top width=250 nowrap>
<?php
$myinfo = new User($_SESSION['uid']);
$myinfo = new \Battles\User($_SESSION['uid']);
$myinfo->showUserDoll(1);
?>
</td>
@@ -476,7 +476,7 @@ Template::header('fbattle');
<?php
if ($fbattle->return == 1) {
$enemyInfo = new User($fbattle->enemy);
$enemyInfo = new \Battles\User($fbattle->enemy);
$enemyInfo->showUserDoll(1);
} else {
if ($fbattle->battle_data['type'] == 4 || $fbattle->battle_data['type'] == 5) {