game/modules_data/location/izlom16.php

75 lines
3.2 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
use Core\Config;
if (!defined('GAME')) {
die();
}
/** @var User $u */
/** @var string $code */
/** @var string $goline */
/** @var string $rowonmax */
if ($u->room['file'] != 'izlom16') {
return;
}
if (!empty($re)) {
$re = '<b style="color: red">' . $re . '</b>';
}
$now = date("H") >= 6 && date("H") < 22 ? 'day' : 'night';
?>
<table style="border: 0; width: 100%;" cellspacing="0" cellpadding="0">
<tr>
<td style="width: 250px; vertical-align: top;">
<?php $usee = $u->getInfoPers($u->info['id'], 0);
if ($usee) {
echo $usee[0];
} else {
echo 'information is lost.';
} ?>
</td>
<td style="padding-top:19px; width: 230px; vertical-align: top;">
<?php require_once('modules_data/stats_loc.php'); ?>
</td>
<td style="vertical-align: top;">
<?= $re ?>
<div style="text-align: right;">
<div style="position:relative; cursor: pointer;" id="ione">
<img src="<?= Config::img() ?>/i/images/300x225/ap_bg_iz_npc100500.jpg" alt="" id="img_ione" style="border: 1px solid black;">
<script>
<!--
if (document.getElementById('ione')) {
document.getElementById('ione').appendChild(document.getElementById('buttons_on_image'));
document.getElementById('buttons_on_image').style.position = 'absolute';
document.getElementById('buttons_on_image').style.bottom = '8px';
document.getElementById('buttons_on_image').style.right = '23px';
} else {
document.getElementById('buttons_on_image').style.display = 'none';
}
-->
</script>
<div style="position: relative; left: -10px; top: -90px; z-index: 94;">
<img <?php thisInfRm('1.180.0.321'); ?> src="<?= Config::img() ?>/i/images/300x225/ab_iz_exit.gif" class="aFilter" alt="">
</div>
<div style="position: relative; left: -58px; top: -252px; z-index: 94;">
<img <?php thisInfRm('1.180.0.269'); ?> src="<?= Config::img() ?>/i/images/300x225/ab_iz_gate.gif" class="aFilter" alt="">
</div>
<div style="position: relative; left: -400px; top: -220px; z-index: 94;">
<img <?php thisInfRm('3.180.0.??'); ?> src="<?= Config::img() ?>/i/images/300x225/ab_iz_shop.gif" class="aFilter" alt="">
</div>
<div style="position: relative; left: -250px; top: -440px; z-index: 94;">
<img onclick="location.href='main.php?talk=4'" src="<?= Config::img() ?>/i/images/300x225/ab_iz_npc.gif" class="aFilter" title="Диалог с Шейла" alt="">
</div>
<div id="snow"></div>
<?= $goline; ?>
</div>
<div style="display:none; height:0;" id="moveto"></div>
</div>
</td>
</tr>
</table>