<?php

if (!defined('GAME')) {
    die();
}
?>
<script type="text/javascript" src="/js/jquery.locations.js"></script>
<link href="/css/fightclub.css" rel="stylesheet" type="text/css">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
        <td width="250" valign="top"><?php
            $usee = $u->getInfoPers($u->info['id'], 0);
            if ($usee) {
                echo $usee[0];
            } else {
                echo 'information is lost.';
            }
            ?></td>
        <td width="230" valign="top" style="padding-top:19px;"><?php require_once('modules/stats_loc.php'); ?></td>
        <td valign="top">
            <div align="right"><?php
                if ($u->error != '') {
                    echo '<font color="red"><b>' . $u->error . '</b></font>';
                }
                ?>
                <table border="0" cellpadding="0" cellspacing="0">
                    <tr align="right" valign="top">
                        <td><?php
                            if ($re != '') {
                                echo '<font color="red"><b>' . $re . '</b></font>';
                            }
                            ?>
                            <table width="500" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td id="ViewLocation">
                                        <script type="text/javascript">
                                            var json = <?= LocationResponse::init($tmGo, $tmGol, $u->room['file'], $u->room['name']) ?>;
                                            var tgo = <?= $tmGo * 10 ?>;
                                            var tgol = <?= $tmGol * 10 ?>;
                                            ViewLocation(json);
                                        </script>
                                    </td>
                                </tr>
                            </table>
                            <div style="display:none; height:0px " id="moveto"></div>
                            ?></small>
            </div>
        </td>
    </tr>
</table>
<small>
    <HR>
    <div id="ajaxButtons"<?php
    $hgo = $u->testHome();
    if (!isset($hgo['id'])) {
        echo '<INPUT onclick="location.href=\'main.php?homeworld=' . $code . '\';" class="btn" value="Возврат" type="button" name="combats2">';
    }
    unset($hgo);
    ?>
    <INPUT onclick="location.href='main.php?clubmap=<?= $code; ?>';" class="btn" value="Карта клуба" type="button" name="combats2">
    <INPUT id="forum" class="btn" onclick="window.open('<?= $c['forum']; ?>', 'forum', 'location=yes,menubar=yes,status=yes,resizable=yes,toolbar=yes,scrollbars=yes,scrollbars=yes')" value="Форум" type="button" name="forum">
    <INPUT class="btn" onclick="window.open('/encicl/help/top1.html', 'help', 'height=300,width=500,location=no,menubar=no,status=no,toolbar=no,scrollbars=yes')" value="Подсказка" type="button">
    <INPUT class="btn" value="Объекты" type="button">
    </div><br/>
    <strong>Внимание!Смените пароль на уникальный,который не использовался ранее в подобных проектах,это обезопасит вашего персонажа от взлома.<BR>
        <em>Администрация.</strong> </em></small> <BR>
<?= $rowonmax; ?><BR>
</div></td>
</tr>
</table>