refactor and errors
This commit is contained in:
@@ -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{
|
||||
|
||||
Reference in New Issue
Block a user