Замена short_tags и <?php echo.

This commit is contained in:
2023-03-31 19:54:33 +03:00
parent fdf063d527
commit 1b5bf26294
214 changed files with 3978 additions and 4014 deletions

View File

@@ -9,15 +9,15 @@ if($u->room['file']=='bk'){
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="250" valign="top">
<? $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?>
<?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;"><? require_once('modules_data/stats_loc.php'); ?></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">
<? if($u->error!=''){ echo '<font color="red"><b>'.$u->error.'</b></font>'; } ?>
<?php if($u->error!=''){ echo '<font color="red"><b>'.$u->error.'</b></font>'; } ?>
<table border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">
<td>
<? if($re!=''){ echo '<font color="red"><b>'.$re.'</b></font>'; } ?>
<?php if($re!=''){ echo '<font color="red"><b>'.$re.'</b></font>'; } ?>
<table width="500" border="0" cellspacing="0" cellpadding="0">
<tr>
<td id="ViewLocation"><?php
@@ -25,30 +25,30 @@ if($u->room['file']=='bk'){
?><script><?php
require_once('modules/location/fight-club.database.php');
?>
var json = <?php echo json_encode($Response); ?>;
var tgo = <?php echo ($tmGo*10); ?>;
var tgol = <?php echo ($tmGol*10); ?>;
var json = <?= json_encode($Response); ?>;
var tgo = <?= ($tmGo*10); ?>;
var tgol = <?= ($tmGol*10); ?>;
ViewLocation(json);
</script><?php
}else{
?>
<div style="position:relative; cursor: pointer; width: 500;" id="ione"><img src="https://img.new-combats.com/i/images/300x225/club/navig.jpg" id="img_ione" width="500" height="240" border="1"/>
<div style="position:absolute; left:241px; top:128px; width:16px; height:18px; z-index:90;"><img src="https://img.new-combats.com/i/images/300x225/fl1.gif" width="16" height="18" title="Вы находитесь в '<? echo $u->room['name']; ?>'" /></div>
<div style="position:absolute; left:241px; top:128px; width:16px; height:18px; z-index:90;"><img src="https://img.new-combats.com/i/images/300x225/fl1.gif" width="16" height="18" title="Вы находитесь в '<?= $u->room['name']; ?>'" /></div>
<div style="position:absolute; left:184px; top:94px; width:120px; height:35px; z-index:90;"><img src="https://img.new-combats.com/i/images/300x225/map_bk.gif" width="120" height="35" title="" class="aFilter" /></div>
<div style="position:absolute; left:329px; top:111px; width:107px; height:15px; z-index:90;"><img <? thisInfRm('1.180.0.xx'); ?> onClick="location='main.php?loc=1.180.0.xx';" src="https://img.new-combats.com/i/images/300x225/map_demon2.gif" width="107" height="15" class="aFilter" /></div>
<div style="position:absolute; left:329px; top:111px; width:107px; height:15px; z-index:90;"><img <?php thisInfRm('1.180.0.xx'); ?> onClick="location='main.php?loc=1.180.0.xx';" src="https://img.new-combats.com/i/images/300x225/map_demon2.gif" width="107" height="15" class="aFilter" /></div>
<div style="position:absolute; left:66px; top:114px; width:56px; height:13px; z-index:90;"><img <? thisInfRm('1.180.0.xx'); ?> onClick="location='main.php?loc=1.180.0.xx';" src="https://img.new-combats.com/i/images/300x225/map_klub1.gif" width="56" height="13" class="aFilter" /></div>
<div style="position:absolute; left:216px; top:41px; width:58px; height:49px; z-index:90;"><img <? thisInfRm('1.180.0.222'); ?> onClick="location='main.php?loc=1.180.0.222';" src="https://img.new-combats.com/i/images/300x225/map_klub2.gif" width="58" height="49" class="aFilter" /></div>
<div style="position:absolute; left:312px; top:168px; width:123px; height:31px; z-index:90;"><img <? thisInfRm('1.180.0.2'); ?> onClick="location='main.php?loc=1.180.0.2';" src="https://img.new-combats.com/i/images/300x225/map_zalu1.gif" width="123" height="31" title="" class="aFilter" /></div>
<div style="position:absolute; left:59px; top:169px; width:123px; height:31px; z-index:90;"><img <? thisInfRm('1.180.0.4'); ?> onClick="location='main.php?loc=1.180.0.4';" src="https://img.new-combats.com/i/images/300x225/map_klub4.gif" width="123" height="31" class="aFilter" /></div>
<div style="position:absolute; left:312px; top:48px; width:123px; height:30px; z-index:90;"><img <? thisInfRm('1.180.0.5'); ?> onClick="location='main.php?loc=1.180.0.5';" src="https://img.new-combats.com/i/images/300x225/map_zalu2.gif" width="123" height="30" class="aFilter" /></div>
<div style="position:absolute; left:52px; top:47px; width:123px; height:30px; z-index:90;"><img <? thisInfRm('1.180.0.16'); ?> onClick="location='main.php?loc=1.180.0.16';" src="https://img.new-combats.com/i/images/300x225/map_klub5-1.gif" width="123" height="30" class="aFilter" /></div>
<div style="position:absolute; left:196px; top:148px; width:103px; height:47px; z-index:90;"><img <? thisInfRm('1.180.0.9'); ?> onClick="location='main.php?loc=1.180.0.9';" src="https://img.new-combats.com/i/images/300x225/map_klub7.gif" width="103" height="47" class="aFilter" /></div>
<div style="position:absolute; left:66px; top:114px; width:56px; height:13px; z-index:90;"><img <?php thisInfRm('1.180.0.xx'); ?> onClick="location='main.php?loc=1.180.0.xx';" src="https://img.new-combats.com/i/images/300x225/map_klub1.gif" width="56" height="13" class="aFilter" /></div>
<div style="position:absolute; left:216px; top:41px; width:58px; height:49px; z-index:90;"><img <?php thisInfRm('1.180.0.222'); ?> onClick="location='main.php?loc=1.180.0.222';" src="https://img.new-combats.com/i/images/300x225/map_klub2.gif" width="58" height="49" class="aFilter" /></div>
<div style="position:absolute; left:312px; top:168px; width:123px; height:31px; z-index:90;"><img <?php thisInfRm('1.180.0.2'); ?> onClick="location='main.php?loc=1.180.0.2';" src="https://img.new-combats.com/i/images/300x225/map_zalu1.gif" width="123" height="31" title="" class="aFilter" /></div>
<div style="position:absolute; left:59px; top:169px; width:123px; height:31px; z-index:90;"><img <?php thisInfRm('1.180.0.4'); ?> onClick="location='main.php?loc=1.180.0.4';" src="https://img.new-combats.com/i/images/300x225/map_klub4.gif" width="123" height="31" class="aFilter" /></div>
<div style="position:absolute; left:312px; top:48px; width:123px; height:30px; z-index:90;"><img <?php thisInfRm('1.180.0.5'); ?> onClick="location='main.php?loc=1.180.0.5';" src="https://img.new-combats.com/i/images/300x225/map_zalu2.gif" width="123" height="30" class="aFilter" /></div>
<div style="position:absolute; left:52px; top:47px; width:123px; height:30px; z-index:90;"><img <?php thisInfRm('1.180.0.16'); ?> onClick="location='main.php?loc=1.180.0.16';" src="https://img.new-combats.com/i/images/300x225/map_klub5-1.gif" width="123" height="30" class="aFilter" /></div>
<div style="position:absolute; left:196px; top:148px; width:103px; height:47px; z-index:90;"><img <?php thisInfRm('1.180.0.9'); ?> onClick="location='main.php?loc=1.180.0.9';" src="https://img.new-combats.com/i/images/300x225/map_klub7.gif" width="103" height="47" class="aFilter" /></div>
<div id="snow"></div>
<? echo $goline; ?>
<?= $goline; ?>
</div>
<?php } ?>
</td>
@@ -66,12 +66,12 @@ if($u->room['file']=='bk'){
<small>
<HR>
<? $hgo = $u->testHome(); if(!isset($hgo['id'])){ ?><INPUT onclick="location.href='main.php?homeworld=<? echo $code; ?>';" class="btn" value="Возврат" type="button" name="combats2"><? } unset($hgo); ?>
<input <? thisInfRm('1.180.0.225'); ?> onClick="location='main.php?loc=1.180.0.225';" class="btn" value="Казино" type="button" name="combats" />
<?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 <?php thisInfRm('1.180.0.225'); ?> onClick="location='main.php?loc=1.180.0.225';" class="btn" value="Казино" type="button" name="combats" />
<br />
<strong>Внимание!Смените пароль на уникальный,который не использовался ранее в подобных проектах,это обезопасит вашего персонажа от взлома.<BR>
<em>Администрация.</strong> </em></small> <BR>
<? echo $rowonmax; ?><BR>
<?= $rowonmax; ?><BR>
</div></td>
</tr>