refactor and errors

This commit is contained in:
2023-11-05 04:46:07 +02:00
parent def933dca4
commit 3e753c8b93
125 changed files with 1353 additions and 1435 deletions

View File

@@ -40,12 +40,10 @@ if ($u->room['file'] != 'bk') {
<td id="ViewLocation"><?php
if ($u->info['login'] == 'mZer0ne') {
?>
<script><?php
require_once('modules/location/fight-club.database.php');
?>
var json = <?= json_encode($Response); ?>;
var tgo = <?= ($tmGo * 10); ?>;
var tgol = <?= ($tmGol * 10); ?>;
<script>
var json = <?= LocationResponse::init($tmGo, $tmGol, $u->room['file'], $u->room['name']) ?>;
var tgo = <?= $tmGo * 10 ?>;
var tgol = <?= $tmGol * 10 ?>;
ViewLocation(json);
</script><?php
}else{