Полный отказ от $u->testAction() целиком.
This commit is contained in:
@@ -1,76 +1,99 @@
|
||||
<?php
|
||||
if(!defined('GAME'))
|
||||
{
|
||||
die();
|
||||
if (!defined('GAME')) {
|
||||
die();
|
||||
}
|
||||
|
||||
if($u->room['file']=='zalu')
|
||||
{
|
||||
?>
|
||||
<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/club/navig1.jpg" alt="" name="img_ione" width="500" height="240" border="1" id="img_ione"/>
|
||||
<div style="position:absolute; left:337px; top:117px; width:16px; height:18px; z-index:90;"><img src="//img.new-combats.tech/i/images/300x225/fl1.gif" width="16" height="18" title="Вы находитесь в '<?= $u->room['name']; ?>'" /></div>
|
||||
<div style="position:absolute; left:354px; top:115px; width:120px; height:35px; z-index:90;"><img src="//img.new-combats.tech/i/images/300x225/map_halls.gif" width="120" height="35" /></div>
|
||||
<div style="position: absolute; left: 53px; top: 47px; width: 122px; height: 31px; z-index: 90;"><img <?php thisInfRm('1.180.0.16'); ?> onClick="location='main.php?loc=1.180.0.16';" src="//img.new-combats.tech/i/images/300x225/map_klub5-1.gif" width="123" height="30" class="aFilter" /></div>
|
||||
|
||||
<div style="position: absolute; left: 202px; top: 167px; width: 122px; height: 31px; z-index: 90;"><img <?php thisInfRm('1.180.0.376'); ?> onClick="location='main.php?loc=1.180.0.376';" src="//img.new-combats.tech/i/images/300x225/map_zalu2.gif" width="122" height="31" class="aFilter" /></div>
|
||||
<div style="position: absolute; left: 264px; top: 44px; width: 122px; height: 31px; z-index: 90;"><img <?php thisInfRm('1.180.0.375'); ?> onClick="location='main.php?loc=1.180.0.375';" src="//img.new-combats.tech/i/images/300x225/map_zalu1.gif" width="122" height="31" class="aFilter" /></div>
|
||||
|
||||
<div style="position:absolute; left:78px; top:24px; width:76px; height:18px; z-index:90;"><img src="//img.new-combats.tech/i/images/300x225/map_zalu6.gif" onclick="alert('Проход через зал паладинов');" width="76" height="18" class="aFilter" /></div>
|
||||
<div style="position:absolute; left:17px; top:122px; width:79px; height:32px; z-index:90;"><img src="//img.new-combats.tech/i/images/300x225/map_zalu3.gif" width="78" height="33" onclick="alert('Проход через зал паладинов');" /></div>
|
||||
<div style="position:absolute; left:393px; top:170px; width:100px; height:35px; z-index:90;"><img <?php thisInfRm('1.180.0.3'); ?> onClick="location='main.php?loc=1.180.0.3';" src="//img.new-combats.tech/i/images/300x225/map_zalu7.gif" width="100" height="35" class="aFilter" /></div>
|
||||
<?= $goline; ?>
|
||||
<div id="snow"></div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div style="display:none; height:0px " id="moveto"></div>
|
||||
<?php
|
||||
if($u->info['level']<6)
|
||||
{
|
||||
echo '
|
||||
if ($u->room['file'] == 'zalu') {
|
||||
?>
|
||||
<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/club/navig1.jpg" alt="" name="img_ione" width="500" height="240" border="1" id="img_ione"/>
|
||||
<div style="position:absolute; left:337px; top:117px; width:16px; height:18px; z-index:90;"><img src="//img.new-combats.tech/i/images/300x225/fl1.gif"
|
||||
width="16" height="18"
|
||||
title="Вы находитесь в '<?= $u->room['name']; ?>'"/>
|
||||
</div>
|
||||
<div style="position:absolute; left:354px; top:115px; width:120px; height:35px; z-index:90;"><img
|
||||
src="//img.new-combats.tech/i/images/300x225/map_halls.gif" width="120" height="35"/></div>
|
||||
<div style="position: absolute; left: 53px; top: 47px; width: 122px; height: 31px; z-index: 90;"><img <?php thisInfRm('1.180.0.16'); ?>
|
||||
onClick="location='main.php?loc=1.180.0.16';" src="//img.new-combats.tech/i/images/300x225/map_klub5-1.gif" width="123" height="30"
|
||||
class="aFilter"/></div>
|
||||
|
||||
<div style="position: absolute; left: 202px; top: 167px; width: 122px; height: 31px; z-index: 90;"><img <?php thisInfRm('1.180.0.376'); ?>
|
||||
onClick="location='main.php?loc=1.180.0.376';" src="//img.new-combats.tech/i/images/300x225/map_zalu2.gif" width="122" height="31"
|
||||
class="aFilter"/></div>
|
||||
<div style="position: absolute; left: 264px; top: 44px; width: 122px; height: 31px; z-index: 90;"><img <?php thisInfRm('1.180.0.375'); ?>
|
||||
onClick="location='main.php?loc=1.180.0.375';" src="//img.new-combats.tech/i/images/300x225/map_zalu1.gif" width="122" height="31"
|
||||
class="aFilter"/></div>
|
||||
|
||||
<div style="position:absolute; left:78px; top:24px; width:76px; height:18px; z-index:90;"><img
|
||||
src="//img.new-combats.tech/i/images/300x225/map_zalu6.gif" onclick="alert('Проход через зал паладинов');" width="76" height="18"
|
||||
class="aFilter"/></div>
|
||||
<div style="position:absolute; left:17px; top:122px; width:79px; height:32px; z-index:90;"><img
|
||||
src="//img.new-combats.tech/i/images/300x225/map_zalu3.gif" width="78" height="33" onclick="alert('Проход через зал паладинов');"/></div>
|
||||
<div style="position:absolute; left:393px; top:170px; width:100px; height:35px; z-index:90;"><img <?php thisInfRm('1.180.0.3'); ?>
|
||||
onClick="location='main.php?loc=1.180.0.3';" src="//img.new-combats.tech/i/images/300x225/map_zalu7.gif" width="100" height="35"
|
||||
class="aFilter"/></div>
|
||||
<?= $goline; ?>
|
||||
<div id="snow"></div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div style="display:none; height:0px " id="moveto"></div>
|
||||
<?php
|
||||
if ($u->info['level'] < 6) {
|
||||
echo '
|
||||
Вам все время кажется что за вами следят? Чудится, что случайный попутчик мечтает всадить вам топор в спину? При совершении очередной покупки в гос. магазине мучает ощущение, что вас обманули? Кажется, что симпатичная девушка напротив смотрит на вас как на пищу? Успокойтесь, это не паранойя. Это реалии Capital city. Города Тьмы.
|
||||
';
|
||||
}else{
|
||||
echo 'Возможно, вы ошиблись этажом - настоящие сражения проходят этажом выше.';
|
||||
} ?>
|
||||
</small></div></td>
|
||||
<td>
|
||||
<!-- <br /><span class="menutop"><nobr>Комната для новичков</nobr></span>-->
|
||||
</td>
|
||||
} else {
|
||||
echo 'Возможно, вы ошиблись этажом - настоящие сражения проходят этажом выше.';
|
||||
} ?>
|
||||
</small>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<!-- <br /><span class="menutop"><nobr>Комната для новичков</nobr></span>-->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<small>
|
||||
</table>
|
||||
<small>
|
||||
<HR>
|
||||
<?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); ?>
|
||||
<INPUT onclick="location.href='main.php?clubmap=<?= $code; ?>';" class="btn" value="Карта клуба" type="button" name="combats2">
|
||||
<INPUT id="forum" class="btn" onclick="window.open('/forum/', 'forum', 'location=yes,menubar=yes,status=yes,resizable=yes,toolbar=yes,scrollbars=yes,scrollbars=yes')" value="Форум" type="button" name="forum">
|
||||
<INPUT class="btn" onclick="window.open('/encicl/help/top1.html', 'help', 'height=300,width=500,location=no,menubar=no,status=no,toolbar=no,scrollbars=yes')" value="Подсказка" type="button">
|
||||
<INPUT class="btn" value="Объекты" type="button">
|
||||
<br />
|
||||
<?php if ($u->testHome()) { ?><INPUT onclick="location.href='main.php?homeworld=<?= $code; ?>';" class="btn" value="Возврат" type="button" name="combats2"><?php } ?>
|
||||
<INPUT onclick="location.href='main.php?clubmap=<?= $code; ?>';" class="btn" value="Карта клуба" type="button" name="combats2">
|
||||
<INPUT id="forum" class="btn" onclick="window.open('/forum/', 'forum', 'location=yes,menubar=yes,status=yes,resizable=yes,toolbar=yes,scrollbars=yes,scrollbars=yes')" value="Форум"
|
||||
type="button" name="forum">
|
||||
<INPUT class="btn" onclick="window.open('/encicl/help/top1.html', 'help', 'height=300,width=500,location=no,menubar=no,status=no,toolbar=no,scrollbars=yes')" value="Подсказка" type="button">
|
||||
<INPUT class="btn" value="Объекты" type="button">
|
||||
<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