game/modules_data/location/ab/izlom2.php

150 lines
6.4 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
if (!defined('GAME')) {
die();
}
if ($u->room['file'] != 'ab/izlom2') {
return;
}
if (isset($_POST['level'])) {
$dop_lvl = 8; //максимально допустимый лвл
if ((int)$_POST['level'] > $u->info['level'] || (int)$_POST['level'] > $dop_lvl) {
echo '<b style="color: red">Вы не можете начать поход... Выполните больше заданий у Шейлы!</b>';
} else {
$eff1 = mysql_fetch_array(mysql_query('SELECT * FROM `eff_users` WHERE `uid` = "' . $u->info['id'] . '" AND `id_eff` = "31" AND `delete` = "0" LIMIT 1'));
if (isset($eff1['id'])) {
echo '<b style="color: red">Вы не можете начать новый поход пока действует эффект &quot;Касание Хаоса&quot;</b>';
} elseif (!isset($zv)) {
$zv = new FightRequest();
}
}
}
?>
<style type="text/css">
body {
background-image: url(//img.new-combats.tech/p_portal23.jpg);
background-repeat: no-repeat;
background-position: top right;
}
.pH3 {
COLOR: #8f0000;
FONT-FAMILY: Arial, serif;
FONT-SIZE: 12pt;
FONT-WEIGHT: bold;
}
.class_ {
font-weight: bold;
color: #C5C5C5;
cursor: pointer;
}
.class_st {
font-weight: bold;
color: #659BA3;
cursor: pointer;
}
.class__ {
font-weight: bold;
color: #FFFFFF;
cursor: pointer;
background-color: #659BA3;
}
.class__st {
font-weight: bold;
color: #FFFFFF;
cursor: pointer;
background-color: #659BA3;
font-size: 10px;
}
.class_old {
font-weight: bold;
color: #919191;
cursor: pointer;
}
.class__old {
font-weight: bold;
color: #FFFFFF;
cursor: pointer;
background-color: #838383;
font-size: 10px;
}
</style>
<div style="text-align: right"><?php if (!empty($re)) {
echo '<b style="color: red">' . $re . '</b>';
} ?></div>
<div id="hint3" style="visibility:hidden"></div>
<TABLE style="" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td valign="top">
<div align="center" class="pH3">Излом Хаоса</div>
<td width="280" valign="top">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="100%">&nbsp;</td>
<td>
<table border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">
<td><!-- -->
<?= $goLis; ?>
<!-- -->
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td nowrap="nowrap">
<table width="100%" border="0" cellpadding="0" cellspacing="1"
bgcolor="#DEDEDE">
<tr>
<td bgcolor="#D3D3D3"><img
src="//img.new-combats.tech/i/move/links.gif"
width="9" height="7"/></td>
<td bgcolor="#D3D3D3" nowrap="nowrap"><a href="#"
id="greyText"
class="menutop"
onclick="location='main.php?loc=3.180.0.353&rnd=<?= $code; ?>';"
title="<?php thisInfRm('3.180.0.353', 1); ?>">Излом
Хаоса - 16</a></td>
</tr>
<tr>
<td bgcolor="#D3D3D3"><img
src="//img.new-combats.tech/i/move/links.gif"
width="9" height="7"/></td>
<td bgcolor="#D3D3D3" nowrap="nowrap"><a href="#"
id="greyText"
class="menutop"
onclick="location='main.php?loc=3.180.0.270&rnd=<?= $code; ?>';"
title="<?php thisInfRm('3.180.0.270', 1); ?>">Магазин
Излома</a></td>
</tr>
</table>
</td>
</tr>
<tr>
<td nowrap="nowrap">&nbsp;</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br/>
</td>
</table>
<div id="textgo" style="visibility:hidden;"></div>
<FORM method="post">
<label>
<input checked="checked" type="radio" name="level" value="8" <?php if ($u->info['level'] < 7) {
echo 'disabled';
} ?>>
Проход в Излом Хаоса (<a href="breakchaos.php?level=8" target="_blank">посмотреть рейтинг</a>)
</label>
<p><INPUT type='submit' value='Начать поход'></p>
</FORM>