Полный отказ от $u->testAction() целиком.
This commit is contained in:
@@ -1,60 +1,75 @@
|
||||
<?php
|
||||
if(!defined('GAME'))
|
||||
{
|
||||
die();
|
||||
if (!defined('GAME')) {
|
||||
die();
|
||||
}
|
||||
|
||||
if($u->room['file']=='perehod')
|
||||
{
|
||||
?>
|
||||
<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; width: 500;" id="ione"><img src="//img.new-combats.tech/i/images/300x225/club/navig2.jpg" id="img_ione" width="500" height="240" border="1"/>
|
||||
<div style="position:absolute; left:264px; top:106px; width:175px; height:37px; z-index:90;"><img <?php thisInfRm('1.180.0.0'); ?> src="//img.new-combats.tech/i/images/subimages/map_zal2.gif" id="mo_1.180.0.0" width="175" height="37" /></div>
|
||||
<div style="position:absolute; left:47px; top:120px; width:135px; height:29px; z-index:90;"><img src="//img.new-combats.tech/i/images/subimages/map_zal3.gif" width="135" height="29" class="aFilter" id="mo_1.180.0.1" /></div>
|
||||
<div style="position:absolute; left:81px; top:102px; width:88px; height:15px; z-index:90;"><img <?php thisInfRm('1.180.0.2'); ?> src="//img.new-combats.tech/i/images/subimages/map_zal1.gif" width="88" height="15" class="aFilter" id="mo_1.180.0.2" /></div>
|
||||
<div style="position:absolute; left:167px; top:107px; width:16px; height:18px; z-index:90;"><img src="//img.new-combats.tech/i/images/subimages/fl1.gif" width="16" height="18" title="Вы находитесь в Комнате перехода" /></div>
|
||||
<div id="snow"></div>
|
||||
<?= $goline; ?>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div style="display:none; height:0px " id="moveto"></div>
|
||||
Чтобы начать играть,<b>Вам нужно прочесть подсказку ( ниже )</b>.<br />
|
||||
После прочтения,ниже,воспользуйтесь кнопкой<b>"Возврат"</b><br />
|
||||
<?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 class="btn" onclick="window.open('/forum/?read=845&rnd=1', 'help', 'height=500,width=1200,location=no,menubar=no,status=no,toolbar=no,scrollbars=yes')" value="Подсказка для новичков" style="color:red;" type="button">
|
||||
<br />
|
||||
</small></div></td>
|
||||
<td>
|
||||
<!-- <br /><span class="menutop"><nobr>Комната для новичков</nobr></span>-->
|
||||
</td>
|
||||
if ($u->room['file'] == 'perehod') {
|
||||
?>
|
||||
<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; width: 500;" id="ione"><img src="//img.new-combats.tech/i/images/300x225/club/navig2.jpg" id="img_ione"
|
||||
width="500" height="240" border="1"/>
|
||||
<div style="position:absolute; left:264px; top:106px; width:175px; height:37px; z-index:90;"><img <?php thisInfRm('1.180.0.0'); ?>
|
||||
src="//img.new-combats.tech/i/images/subimages/map_zal2.gif" id="mo_1.180.0.0" width="175" height="37"/></div>
|
||||
<div style="position:absolute; left:47px; top:120px; width:135px; height:29px; z-index:90;"><img
|
||||
src="//img.new-combats.tech/i/images/subimages/map_zal3.gif" width="135" height="29" class="aFilter" id="mo_1.180.0.1"/></div>
|
||||
<div style="position:absolute; left:81px; top:102px; width:88px; height:15px; z-index:90;"><img <?php thisInfRm('1.180.0.2'); ?>
|
||||
src="//img.new-combats.tech/i/images/subimages/map_zal1.gif" width="88" height="15" class="aFilter" id="mo_1.180.0.2"/></div>
|
||||
<div style="position:absolute; left:167px; top:107px; width:16px; height:18px; z-index:90;"><img src="//img.new-combats.tech/i/images/subimages/fl1.gif"
|
||||
width="16" height="18"
|
||||
title="Вы находитесь в Комнате перехода"/></div>
|
||||
<div id="snow"></div>
|
||||
<?= $goline; ?>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div style="display:none; height:0px " id="moveto"></div>
|
||||
Чтобы начать играть,<b>Вам нужно прочесть подсказку ( ниже )</b>.<br/>
|
||||
После прочтения,ниже,воспользуйтесь кнопкой<b>"Возврат"</b><br/>
|
||||
<?php if ($u->testHome()) { ?><INPUT onclick="location.href='main.php?homeworld=<?= $code; ?>';" class="btn" value="Возврат" type="button" name="combats2"><?php } ?>
|
||||
<INPUT class="btn" onclick="window.open('/forum/?read=845&rnd=1', 'help', 'height=500,width=1200,location=no,menubar=no,status=no,toolbar=no,scrollbars=yes')"
|
||||
value="Подсказка для новичков" style="color:red;" type="button">
|
||||
<br/>
|
||||
</small>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<!-- <br /><span class="menutop"><nobr>Комната для новичков</nobr></span>-->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<small>
|
||||
</table>
|
||||
<small>
|
||||
<HR>
|
||||
<br />
|
||||
<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