148 lines
4.9 KiB
PHP
148 lines
4.9 KiB
PHP
<?php
|
|
if(!defined('GAME'))
|
|
{
|
|
die();
|
|
}
|
|
|
|
if($u->room['file']=='ab/izlom2')
|
|
{
|
|
if(isset($_POST['level']))
|
|
{
|
|
$dop_lvl = 8; //ìàêñèìàëüíî äîïóñòèìûé ëâë
|
|
if((int)$_POST['level'] <= $u->info['level'] && (int)$_POST['level'] <= $dop_lvl)
|
|
{
|
|
$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']))
|
|
{
|
|
if(file_exists('_incl_data/class/__zv.php')) {
|
|
if(!isset($zv))
|
|
{
|
|
include('_incl_data/class/__zv.php');
|
|
}
|
|
$zv->startIzlom(1,((int)$_POST['level']));
|
|
}else{
|
|
echo '...';
|
|
}
|
|
}else{
|
|
echo '<font color="red"><b>Âû íå ìîæåòå íà÷àòü íîâûé ïîõîä ïîêà äåéñòâóåò ýôôåêò "Êàñàíèå Õàîñà"</b></font>';
|
|
}
|
|
}else{
|
|
echo '<font color="red"><b>Âû íå ìîæåòå íà÷àòü ïîõîä... Âûïîëíèòå áîëüøå çàäàíèé ó Øåéëû!</b></font>';
|
|
}
|
|
}
|
|
|
|
?>
|
|
<style type="text/css">
|
|
body
|
|
{
|
|
/*background-color:#E2E2E2;*/
|
|
background-image: url(https://img.new-combats.com/p_portal23.jpg);
|
|
background-repeat:no-repeat;background-position:top right;
|
|
}
|
|
.pH3 { COLOR: #8f0000; FONT-FAMILY: Arial; 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 align="right"><? if($re!=''){ echo '<font color="red"><b>'.$re.'</b></font>'; } ?></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%"> </td>
|
|
<td><table border="0" cellpadding="0" cellspacing="0">
|
|
<tr align="right" valign="top">
|
|
<td><!-- -->
|
|
<? echo $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="https://img.new-combats.com/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=<? echo $code; ?>';" title="<? thisInfRm('3.180.0.353',1); ?>">Èçëîì Õàîñà - 16</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td bgcolor="#D3D3D3"><img src="https://img.new-combats.com/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=<? echo $code; ?>';" title="<? thisInfRm('3.180.0.270',1); ?>">Ìàãàçèí Èçëîìà</a></td>
|
|
</tr>
|
|
</table></td>
|
|
</tr> <tr>
|
|
<td nowrap="nowrap"> </td>
|
|
</tr>
|
|
</table></td>
|
|
</tr>
|
|
</table></td>
|
|
</tr>
|
|
</table>
|
|
<br />
|
|
<center></center></td>
|
|
</table>
|
|
<div id="textgo" style="visibility:hidden;"></div>
|
|
<FORM method="post">
|
|
<input checked="checked" type="radio" name="level" value="8" <? if($u->info['level']<7){ echo 'disabled'; } ?>>
|
|
Ïðîõîä â Èçëîì Õàîñà (<a href="breakchaos.php?level=8" target="_blank">ïîñìîòðåòü ðåéòèíã</a>)<br/>
|
|
<!--<input type="radio" name="level" value="9" <? if($u->info['level']<7){ echo 'disabled'; } ?>>
|
|
Ïðîõîä äëÿ áûâàëûõ (<a href="breakchaos.php?level=9" target="_blank">ïîñìîòðåòü ðåéòèíã</a>)<br/>
|
|
<input type="radio" name="level" value="10" <? if($u->info['level']<7){ echo 'disabled'; } ?>>
|
|
Ïðîõîä äëÿ ïðîôåññèîíàëîâ (<a href="breakchaos.php?level=10" target="_blank">ïîñìîòðåòü ðåéòèíã</a>)<br/>
|
|
<input type="radio" name="level" value="11" <? if($u->info['level']<7){ echo 'disabled'; } ?>>
|
|
Ïðîõîä äëÿ æèòåëåé (<a href="breakchaos.php?level=11" target="_blank">ïîñìîòðåòü ðåéòèíã</a>)--><br/><br/>
|
|
<INPUT type='submit' value='Íà÷àòü ïîõîä'>
|
|
</FORM>
|
|
<!--<p><b>Ðåéòèíã ïîõîäîâ «Èçëîì Õàîñà»:</b><br />--><?
|
|
/*- $i = 0; $sp = mysql_query('SELECT * FROM `izlom_rating` ORDER BY `voln` DESC LIMIT 50');
|
|
$uidz = array();
|
|
while($pl = mysql_fetch_array($sp))
|
|
{
|
|
if(!isset($uidz[$pl['uid']]))
|
|
{
|
|
$i++; $uidz[$pl['uid']] = $i;
|
|
$text .= $i.'. <span class="date">'.date('d.m.Y H:i',$pl['time']).'</span>, Âîëíà: <b>'.$pl['voln'].'</b>, '.$u->microLogin($pl['uid'],1).'<br>';
|
|
}
|
|
}-*/
|
|
/*if(!isset($text))
|
|
{
|
|
$text = 'Èñòîðèÿ ïóñòà, ñêîðåå âñåãî íå íàøëîñü ñìåëü÷àêîâ...';
|
|
}
|
|
echo $text;
|
|
unset($text);*/
|
|
echo '</p>';
|
|
?>
|
|
<?
|
|
}
|
|
?>
|