Излом Хаоса доступен через телепорт. #54.

This commit is contained in:
2023-07-31 18:01:52 +03:00
parent a412d334ae
commit fff3de0a98
3 changed files with 251 additions and 309 deletions
+62 -79
View File
@@ -1,91 +1,74 @@
<?php
if(!defined('GAME'))
{
die();
}
$tattack = '';
if($u->room['file']=='ab/izlom16')
{
if(date("H")>=6 && date("H")<22) {
$now = 'day';
} else { $now = 'night'; }
if($u->info['level'] >= 4)
{
if(date("H")>=6 && date("H")<22)
{
$tattack = '<span onMouseMove="this.runtimeStyle.color = \'white\';" onMouseOut="this.runtimeStyle.color = this.parentElement.style.color;" onclick="">Нападение доступно с 22 до 6 ч.</span>';
} else {
if(isset($_POST['attack']))
{
$magic->magicCentralAttack();
}
$tattack = '<span onMouseMove="this.runtimeStyle.color = \'white\';" onMouseOut="this.runtimeStyle.color = this.parentElement.style.color;" onclick="findlogin(\'Напасть\',\'attack\',\'\',\'\');">Напасть</span>';
}
}
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 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">
<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>
<div style="position:relative; cursor: pointer;" id="ione">
<img src="//img.new-combats.tech/i/images/300x225/ap_bg_iz_npc100500.jpg" alt="" name="img_ione" width="500" height="268" border="1" id="img_ione"/>
<div id="buttons_on_image" style="cursor:pointer; font-weight:bold; color:#D8D8D8; font-size:10px;">&nbsp;
<span onMouseMove="this.runtimeStyle.color = 'white';" onMouseOut="this.runtimeStyle.color = this.parentElement.style.color;" onclick="window.open('/forum', 'forum', 'location=yes,menubar=yes,status=yes,resizable=yes,toolbar=yes,scrollbars=yes,scrollbars=yes')">Форум</span> &nbsp;
</div>
<script language="javascript" type="text/javascript">
<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'))
{
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{
} else {
document.getElementById('buttons_on_image').style.display = 'none';
}
-->
</script>
<div style="position: absolute; left: 430px; top: 196px; width: 48px; height: 33px; z-index: 94;"><img <?php thisInfRm('1.180.0.323'); ?> src="//img.new-combats.tech/i/images/300x225/ab_iz_exit.gif" width="48" height="33" class="aFilter" /></div>
<div style="position: absolute; left: 278px; top: 53px; width: 167px; height: 94px; z-index: 94;"><img <?php thisInfRm('3.180.0.269'); ?> src="//img.new-combats.tech/i/images/300x225/ab_iz_gate.gif" width="167" height="94" class="aFilter" /></div>
<div style="position: absolute; left: 22px; top: 161px; width: 75px; height: 68px; z-index: 94;"><img <?php thisInfRm('3.180.0.??'); ?> src="//img.new-combats.tech/i/images/300x225/ab_iz_shop.gif" width="75" height="68" class="aFilter" /></div>
<div style="position: absolute; left: 112px; top: 13px; width: 75px; height: 68px; z-index: 94;"><img onclick="location.href='main.php?talk=4'" src="//img.new-combats.tech/i/images/300x225/ab_iz_npc.gif" width="110" height="177" class="aFilter" title="Диалог с Шейла" /></div>
<div id="snow"></div>
<?= $goline; ?>
</div>
</td>
</tr>
</table>
<div style="display:none; height:0px " id="moveto"></div>
</td>
<td>
<!-- <br /><span class="menutop"><nobr>Комната для новичков</nobr></span>-->
</td>
</tr>
</table>
<small>
<HR>
<INPUT class="btn" onclick="window.open('/forum/', 'help', 'height=500,width=1024,location=no,menubar=no,status=no,toolbar=no,scrollbars=yes')" value="Подсказка" style="color:red;" type="button">
<?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>Внимание!</strong> Никогда и никому не говорите пароль от своего персонажа. Не вводите пароль на других сайтах, типа "новый город", "лотерея", "там, где все дают на халяву". Пароль не нужен ни паладинам, ни кланам, ни администрации, <U>только взломщикам</U> для кражи вашего героя.<BR>
<em>Администрация.</em></small> <BR>
<?= $rowonmax; ?><BR>
</div></td>
</tr>
</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>
<?php
}
?>