game/modules_data/location/bk.php

119 lines
8.1 KiB
PHP

<?php
use Core\Config;
if (!defined('GAME')) {
die();
}
if ($u->room['file'] != 'bk') {
return;
} ?>
<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 != false) {
echo $usee[0];
} else {
echo 'information is lost.';
} ?>
</td>
<td width="230" valign="top" style="padding-top:19px;">
<?php require_once('modules_data/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"><?php
if ($u->info['login'] == 'mZer0ne') {
?>
<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{
?>
<div style="position:relative; cursor: pointer; width: 500;" id="ione">
<img src="<?= Config::img() ?>/i/images/300x225/club/navig.jpg" id="img_ione" width="500" height="240" border="1"/>
<div style="position:absolute; left:241px; top:128px; width:16px; height:18px; z-index:90;"><img
src="<?= Config::img() ?>/i/images/300x225/fl1.gif" width="16" height="18" title="Вы находитесь в '<?= $u->room['name']; ?>'"/></div>
<div style="position:absolute; left:184px; top:94px; width:120px; height:35px; z-index:90;"><img
src="<?= Config::img() ?>/i/images/300x225/map_bk.gif" width="120" height="35" title="" class="aFilter"/></div>
<div style="position:absolute; left:329px; top:111px; width:107px; height:15px; z-index:90;"><img <?php thisInfRm('1.180.0.xx'); ?>
onClick="location='main.php?loc=1.180.0.xx';" src="<?= Config::img() ?>/i/images/300x225/map_demon2.gif" width="107" height="15"
class="aFilter"/></div>
<div style="position:absolute; left:66px; top:114px; width:56px; height:13px; z-index:90;"><img <?php thisInfRm('1.180.0.xx'); ?>
onClick="location='main.php?loc=1.180.0.xx';" src="<?= Config::img() ?>/i/images/300x225/map_klub1.gif" width="56" height="13"
class="aFilter"/></div>
<div style="position:absolute; left:216px; top:41px; width:58px; height:49px; z-index:90;"><img <?php thisInfRm('1.180.0.222'); ?>
onClick="location='main.php?loc=1.180.0.222';" src="<?= Config::img() ?>/i/images/300x225/map_klub2.gif" width="58" height="49"
class="aFilter"/></div>
<div style="position:absolute; left:312px; top:168px; width:123px; height:31px; z-index:90;"><img <?php thisInfRm('1.180.0.2'); ?>
onClick="location='main.php?loc=1.180.0.2';" src="<?= Config::img() ?>/i/images/300x225/map_zalu1.gif" width="123" height="31"
title="" class="aFilter"/></div>
<div style="position:absolute; left:59px; top:169px; width:123px; height:31px; z-index:90;"><img <?php thisInfRm('1.180.0.4'); ?>
onClick="location='main.php?loc=1.180.0.4';" src="<?= Config::img() ?>/i/images/300x225/map_klub4.gif" width="123" height="31"
class="aFilter"/></div>
<div style="position:absolute; left:312px; top:48px; width:123px; height:30px; z-index:90;"><img <?php thisInfRm('1.180.0.5'); ?>
onClick="location='main.php?loc=1.180.0.5';" src="<?= Config::img() ?>/i/images/300x225/map_zalu2.gif" width="123" height="30"
class="aFilter"/></div>
<div style="position:absolute; left:52px; top:47px; width:123px; height:30px; z-index:90;"><img <?php thisInfRm('1.180.0.16'); ?>
onClick="location='main.php?loc=1.180.0.16';" src="<?= Config::img() ?>/i/images/300x225/map_klub5-1.gif" width="123" height="30"
class="aFilter"/></div>
<div style="position:absolute; left:196px; top:148px; width:103px; height:47px; z-index:90;"><img <?php thisInfRm('1.180.0.9'); ?>
onClick="location='main.php?loc=1.180.0.9';" src="<?= Config::img() ?>/i/images/300x225/map_klub7.gif" width="103" height="47"
class="aFilter"/></div>
<div id="snow"></div>
<?= $goline; ?>
</div>
<?php } ?>
</td>
</tr>
</table>
<div style="display:none; height:0px " id="moveto"></div>
<INPUT class="btn" onclick="window.open('/forum?read=863&rnd=1', 'help', 'height=500,width=1024,location=no,menubar=no,status=no,toolbar=no,scrollbars=yes')"
value="Подсказка для новичков" style="color:red;" type="button">
</small>
</div>
</td>
<td>
<!-- <br /><span class="menutop"><nobr>Комната для новичков</nobr></span>-->
</td>
</tr>
</table>
<small>
<HR>
<?php $hgo = $u->testHome();
if (!isset($hgo['id'])) { ?><INPUT onclick="location.href='main.php?homeworld=<?= $code; ?>';" class="btn" value="Возврат" type="button" name="combats2"><?php }
unset($hgo); ?>
<br/>
<strong>Внимание!Смените пароль на уникальный,который не использовался ранее в подобных проектах,это обезопасит вашего персонажа от взлома.<BR>
<em>Администрация.</strong> </em></small> <BR>
<?= $rowonmax; ?><BR>
</div></td>
</tr>
</table>