Замена 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

@@ -10,31 +10,31 @@ if($u->room['file']=='bk2')
<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/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><?php require_once('modules/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>
<div style="position:relative; cursor: pointer; width: 500;" id="ione"><img src="https://img.new-combats.com/i/images/300x225/club/navig3.jpg" id="img_ione" width="500" height="240" border="1"/>
<div style="position:absolute; left:162px; top:125px; 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:281px; top:173px; width:122px; height:31px; z-index:90;"><img <? thisInfRm('1.180.0.221'); ?> onclick="location='main.php?loc=1.180.0.221';" onmouseover="this.className='aFilterhover';" onmouseout="this.className='aFilter';" src="https://img.new-combats.com/i/images/300x225/map_sec5.gif" width="122" height="31" class="aFilter" /></div>
<div style="position:absolute; left:162px; top:125px; 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:281px; top:173px; width:122px; height:31px; z-index:90;"><img <?php thisInfRm('1.180.0.221'); ?> onclick="location='main.php?loc=1.180.0.221';" onmouseover="this.className='aFilterhover';" onmouseout="this.className='aFilter';" src="https://img.new-combats.com/i/images/300x225/map_sec5.gif" width="122" height="31" class="aFilter" /></div>
<div style="position:absolute; left:23px; top:116px; width:120px; height:35px; z-index:90;"><img onmouseover="this.className='aFilterhover';" onmouseout="this.className='aFilter';" src="https://img.new-combats.com/i/images/300x225/map_2stair.gif" width="120" height="35" class="aFilter" /></div>
<div style="position:absolute; left:36px; top:41px; width:63px; height:40px; z-index:90;"><img <? thisInfRm('1.180.0.XX'); ?> onclick="location='main.php?loc=1.180.0.XX';" onmouseover="this.className='aFilterhover';" onmouseout="this.className='aFilter';" src="https://img.new-combats.com/i/images/300x225/map_sec2.gif" width="63" height="40" class="aFilter" /></div>
<div style="position:absolute; left:36px; top:41px; width:63px; height:40px; z-index:90;"><img <?php thisInfRm('1.180.0.XX'); ?> onclick="location='main.php?loc=1.180.0.XX';" onmouseover="this.className='aFilterhover';" onmouseout="this.className='aFilter';" src="https://img.new-combats.com/i/images/300x225/map_sec2.gif" width="63" height="40" class="aFilter" /></div>
<div style="position:absolute; left:24px; top:180px; width:91px; height:43px; z-index:90;"><img <? thisInfRm('1.180.0.3'); ?> onclick="location='main.php?loc=1.180.0.3';" onmouseover="this.className='aFilterhover';" onmouseout="this.className='aFilter';" src="https://img.new-combats.com/i/images/300x225/map_sec1.gif" width="91" height="43" class="aFilter" /></div>
<div style="position:absolute; left:24px; top:180px; width:91px; height:43px; z-index:90;"><img <?php thisInfRm('1.180.0.3'); ?> onclick="location='main.php?loc=1.180.0.3';" onmouseover="this.className='aFilterhover';" onmouseout="this.className='aFilter';" src="https://img.new-combats.com/i/images/300x225/map_sec1.gif" width="91" height="43" class="aFilter" /></div>
<div style="position:absolute; left:122px; top:52px; width:123px; height:39px; z-index:90;"><img onmouseover="this.className='aFilterhover';" onmouseout="this.className='aFilter';" src="https://img.new-combats.com/i/images/300x225/map_sec7.gif" width="123" height="39" class="aFilter" /></div>
<div style="position:absolute; left:305px; top:51px; width:123px; height:30px; z-index:90;"><img <? thisInfRm('1.180.0.224'); ?> onclick="location='main.php?loc=1.180.0.224';" onmouseover="this.className='aFilterhover';" onmouseout="this.className='aFilter';" src="https://img.new-combats.com/i/images/300x225/map_sec6.gif" width="123" height="30" class="aFilter" /></div>
<div style="position:absolute; left:305px; top:51px; width:123px; height:30px; z-index:90;"><img <?php thisInfRm('1.180.0.224'); ?> onclick="location='main.php?loc=1.180.0.224';" onmouseover="this.className='aFilterhover';" onmouseout="this.className='aFilter';" src="https://img.new-combats.com/i/images/300x225/map_sec6.gif" width="123" height="30" class="aFilter" /></div>
<div style="position:absolute; left:391px; top:120px; width:89px; height:32px; z-index:90;"><img onmouseover="this.className='aFilterhover';" onmouseout="this.className='aFilter';" src="https://img.new-combats.com/i/images/300x225/map_sec4.gif" width="89" height="32" class="aFilter" /></div>
<div id="snow"></div>
<? echo $goline; ?>
<?= $goline; ?>
</div>
</td>
</tr>
@@ -57,15 +57,15 @@ if($u->room['file']=='bk2')
</table>
<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 onclick="location.href='main.php?clubmap=<? echo $code; ?>';" class="btn" value="Карта клуба" type="button" name="combats2">
<INPUT id="forum" class="btn" onclick="window.open('https://<? echo $c['forum']; ?>/', 'forum', 'location=yes,menubar=yes,status=yes,resizable=yes,toolbar=yes,scrollbars=yes,scrollbars=yes')" value="Форум" type="button" name="forum">
<?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('https://<?= $c['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>
<? echo $rowonmax; ?><BR>
<?= $rowonmax; ?><BR>
</div></td>
</tr>