Полный отказ от $u->testAction() целиком.
This commit is contained in:
@@ -1,82 +1,105 @@
|
||||
<?php
|
||||
if(!defined('GAME'))
|
||||
{
|
||||
die();
|
||||
if (!defined('GAME')) {
|
||||
die();
|
||||
}
|
||||
|
||||
if($u->room['file']=='zv_svet')
|
||||
{
|
||||
$u->abilsRoom('test');
|
||||
?>
|
||||
<link rel="stylesheet" type="text/css" href="/css/loc_bk.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.'; }
|
||||
echo '<br><center>'.$u->abilsRoom('look').'</center>';
|
||||
?>
|
||||
</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>
|
||||
<?php if( $u->error != '' ) { ?>
|
||||
<font color=red><b>
|
||||
<?= $u->error; ?></font></b>
|
||||
<?php } ?>
|
||||
<div style="position:relative; cursor: pointer; width: 500;" id="ione"><img src="//img.new-combats.tech/i/images/loc_bk/bg.jpg" id="img_ione" width="500" height="240" border="1"/>
|
||||
<img class="zv1" onClick="alert('Проход через Бойцовский Клуб!');" src="//img.new-combats.tech/i/images/loc_bk/1x1.gif" style="left: 50px; top: 169px; z-index:90;">
|
||||
<img class="cp" onClick="alert('Проход через Бойцовский Клуб!');" src="//img.new-combats.tech/i/images/loc_bk/1x1.gif" style="left: 190px; top: 175px; z-index:90;">
|
||||
<img class="dark_zv" onClick="alert('Проход через Бойцовский Клуб');" src="//img.new-combats.tech/i/images/loc_bk/1x1.gif" style="left: 350px; top: 169px; z-index:90;">
|
||||
<img class="neut_zv" onClick="alert('Проход через Бойцовский Клуб');" src="//img.new-combats.tech/i/images/loc_bk/1x1.gif" style="left: 355px; top: 105px; z-index:90;">
|
||||
<img class="light_zv" onClick="alert('Вы уже находитесь в этой комнате!');" src="//img.new-combats.tech/i/images/loc_bk/1x1.gif" style="left: 340px; top: 40px; z-index:90;">
|
||||
<img class="zn" onClick="alert('Проход через Бойцовский Клуб!');" src="//img.new-combats.tech/i/images/loc_bk/1x1.gif" style="left: 190px; top: 30px; z-index:90;">
|
||||
<img class="trade_zv" onClick="alert('Проход через Бойцовский Клуб!');" src="//img.new-combats.tech/i/images/loc_bk/1x1.gif" style="left: 43px; top: 50px; z-index:90;">
|
||||
<img class="ric_zv" onClick="alert('Проход через Бойцовский Клуб!');" src="//img.new-combats.tech/i/images/loc_bk/1x1.gif" style="left: 25px; top: 105px; z-index:90;">
|
||||
<img class="bk" src="//img.new-combats.tech/i/images/loc_bk/1x1.gif" style="left: 185px; top: 110px; z-index:90;" onClick="location='main.php?loc=1.180.0.3';">
|
||||
<?php
|
||||
if($u->room['id']==220) {
|
||||
?><div style="position:absolute; left:340px; top:40px; width:119px; height:34px; z-index:90;"><img onClick="alert('Вы уже находитесь в этой комнате!');" onMouseOver="this.className='aFilterhover';" onMouseOut="this.className='aFilter';" src="//img.new-combats.tech/i/images/loc_bk/light_a.png" width="119" height="34" title="Вы уже находитесь в этой комнате!" class="aFilter" /></div>
|
||||
<?}?>
|
||||
<div id="snow"></div>
|
||||
<?= $goline; ?>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div style="display:none; height:0px " id="moveto"></div>
|
||||
<?php
|
||||
if($u->info['level']<6)
|
||||
{
|
||||
echo '
|
||||
if ($u->room['file'] == 'zv_svet') {
|
||||
$u->abilsRoom('test');
|
||||
?>
|
||||
<link rel="stylesheet" type="text/css" href="/css/loc_bk.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.';
|
||||
}
|
||||
echo '<br><center>' . $u->abilsRoom('look') . '</center>';
|
||||
?>
|
||||
</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>
|
||||
<?php if ($u->error != '') { ?>
|
||||
<font color=red><b>
|
||||
<?= $u->error; ?></font></b>
|
||||
<?php } ?>
|
||||
<div style="position:relative; cursor: pointer; width: 500;" id="ione"><img src="//img.new-combats.tech/i/images/loc_bk/bg.jpg" id="img_ione" width="500"
|
||||
height="240" border="1"/>
|
||||
<img class="zv1" onClick="alert('Проход через Бойцовский Клуб!');" src="//img.new-combats.tech/i/images/loc_bk/1x1.gif"
|
||||
style="left: 50px; top: 169px; z-index:90;">
|
||||
<img class="cp" onClick="alert('Проход через Бойцовский Клуб!');" src="//img.new-combats.tech/i/images/loc_bk/1x1.gif"
|
||||
style="left: 190px; top: 175px; z-index:90;">
|
||||
<img class="dark_zv" onClick="alert('Проход через Бойцовский Клуб');" src="//img.new-combats.tech/i/images/loc_bk/1x1.gif"
|
||||
style="left: 350px; top: 169px; z-index:90;">
|
||||
<img class="neut_zv" onClick="alert('Проход через Бойцовский Клуб');" src="//img.new-combats.tech/i/images/loc_bk/1x1.gif"
|
||||
style="left: 355px; top: 105px; z-index:90;">
|
||||
<img class="light_zv" onClick="alert('Вы уже находитесь в этой комнате!');" src="//img.new-combats.tech/i/images/loc_bk/1x1.gif"
|
||||
style="left: 340px; top: 40px; z-index:90;">
|
||||
<img class="zn" onClick="alert('Проход через Бойцовский Клуб!');" src="//img.new-combats.tech/i/images/loc_bk/1x1.gif"
|
||||
style="left: 190px; top: 30px; z-index:90;">
|
||||
<img class="trade_zv" onClick="alert('Проход через Бойцовский Клуб!');" src="//img.new-combats.tech/i/images/loc_bk/1x1.gif"
|
||||
style="left: 43px; top: 50px; z-index:90;">
|
||||
<img class="ric_zv" onClick="alert('Проход через Бойцовский Клуб!');" src="//img.new-combats.tech/i/images/loc_bk/1x1.gif"
|
||||
style="left: 25px; top: 105px; z-index:90;">
|
||||
<img class="bk" src="//img.new-combats.tech/i/images/loc_bk/1x1.gif" style="left: 185px; top: 110px; z-index:90;"
|
||||
onClick="location='main.php?loc=1.180.0.3';">
|
||||
<?php
|
||||
if ($u->room['id'] == 220) {
|
||||
?>
|
||||
<div style="position:absolute; left:340px; top:40px; width:119px; height:34px; z-index:90;"><img
|
||||
onClick="alert('Вы уже находитесь в этой комнате!');" onMouseOver="this.className='aFilterhover';"
|
||||
onMouseOut="this.className='aFilter';" src="//img.new-combats.tech/i/images/loc_bk/light_a.png" width="119" height="34"
|
||||
title="Вы уже находитесь в этой комнате!" class="aFilter"/></div>
|
||||
<?
|
||||
} ?>
|
||||
<div id="snow"></div>
|
||||
<?= $goline; ?>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div style="display:none; height:0px " id="moveto"></div>
|
||||
<?php
|
||||
if ($u->info['level'] < 6) {
|
||||
echo '
|
||||
Вам все время кажется что за вами следят? Чудится, что случайный попутчик мечтает всадить вам топор в спину? При совершении очередной покупки в гос. магазине мучает ощущение, что вас обманули? Кажется, что симпатичная девушка напротив смотрит на вас как на пищу? Успокойтесь, это не паранойя. Это реалии Capital city. Города Тьмы.
|
||||
';
|
||||
} ?>
|
||||
</small></div></td>
|
||||
<td>
|
||||
<!-- <br /><span class="menutop"><nobr>Комната для новичков</nobr></span>-->
|
||||
</td>
|
||||
} ?>
|
||||
</small>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<!-- <br /><span class="menutop"><nobr>Комната для новичков</nobr></span>-->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<small>
|
||||
</table>
|
||||
<small>
|
||||
<HR>
|
||||
<INPUT id="forum" class="btn btn-inverse" onclick="window.open('/news/', 'news', 'location=yes,menubar=yes,status=yes,resizable=yes,toolbar=yes,scrollbars=yes,scrollbars=yes')" value="Новости" type="button" name="forum">
|
||||
<INPUT onclick="location.href='main.php?zayvka=<?= $code; ?>';" class="btn btn-inverse" value="Поединки" type="button" name="combats">
|
||||
<?php $hgo = $u->testHome(); if(!isset($hgo['id'])){ ?><INPUT onclick="location.href='main.php?homeworld=<?= $code; ?>';" class="btn btn-inverse" value="Возврат" type="button" name="combats2"><?php } unset($hgo); ?>
|
||||
<br />
|
||||
<INPUT id="forum" class="btn btn-inverse" onclick="window.open('/news/', 'news', 'location=yes,menubar=yes,status=yes,resizable=yes,toolbar=yes,scrollbars=yes,scrollbars=yes')" value="Новости"
|
||||
type="button" name="forum">
|
||||
<INPUT onclick="location.href='main.php?zayvka=<?= $code; ?>';" class="btn btn-inverse" value="Поединки" type="button" name="combats">
|
||||
<?php if ($u->testHome()) { ?><INPUT onclick="location.href='main.php?homeworld=<?= $code; ?>';" class="btn btn-inverse" value="Возврат" type="button" name="combats2"><?php } ?>
|
||||
<br/>
|
||||
<strong>Внимание!Смените пароль на уникальный,который не использовался ранее в подобных проектах,это обезопасит вашего персонажа от взлома.<BR>
|
||||
<em>Администрация.</strong> </em></small> <BR>
|
||||
<?= $rowonmax; ?><BR>
|
||||
|
||||
</div></td>
|
||||
</tr>
|
||||
</table>
|
||||
<?php
|
||||
<em>Администрация.</strong> </em></small> <BR>
|
||||
<?= $rowonmax; ?><BR>
|
||||
|
||||
</div></td>
|
||||
</tr>
|
||||
</table>
|
||||
<?php
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user