Замена 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
+29 -29
View File
@@ -89,9 +89,9 @@ function AtackNoWindow()
<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 width="230" valign="top" style="padding-top:19px;">
<span style="font-size:12px;">
@@ -149,14 +149,14 @@ function AtackNoWindow()
<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;" id="ione">
<img src="https://img.new-combats.com/city/capitalcity/<? echo $now; ?>/city_capres1.jpg" alt="" name="img_ione" width="580" height="312" border="1" id="img_ione"/>
<img src="https://img.new-combats.com/city/capitalcity/<?= $now; ?>/city_capres1.jpg" alt="" name="img_ione" width="580" height="312" border="1" id="img_ione"/>
<div id="buttons_on_image" style="cursor:pointer; font-weight:bold; color:#D8D8D8; font-size:10px;">
<? echo $tattack; ?>
<?= $tattack; ?>
&nbsp;
<span onclick="window.open('https://new-combats.com/forum', 'location=yes,menubar=yes,status=yes,resizable=yes,toolbar=yes,scrollbars=yes,scrollbars=yes')">Форум проекта</span> &nbsp;
</div>
@@ -173,19 +173,19 @@ function AtackNoWindow()
}
-->
</script>
<div style="position:absolute; left:150px; top:40px; width:236px; height:157px; z-index:90;"><img <? thisInfRm('1.180.0.3'); ?> src="https://img.new-combats.com/i/images/300x225/capital/2klub.gif" width="236" height="157" class="aFilter" /></div>
<div style="position:absolute; left:150px; top:40px; width:236px; height:157px; z-index:90;"><img <?php thisInfRm('1.180.0.3'); ?> src="https://img.new-combats.com/i/images/300x225/capital/2klub.gif" width="236" height="157" class="aFilter" /></div>
<div style="position: absolute; left: 459px; top: 155px; width: 79px; height: 88px; z-index: 91;"><img <? thisInfRm('1.180.0.371'); ?> src="https://img.new-combats.com/city/capitalcity/day/loto.gif" class="aFilter" width="86" height="63" /></div>
<div style="position: absolute; left: 459px; top: 155px; width: 79px; height: 88px; z-index: 91;"><img <?php thisInfRm('1.180.0.371'); ?> src="https://img.new-combats.com/city/capitalcity/day/loto.gif" class="aFilter" width="86" height="63" /></div>
<div style="position: absolute; left: 125px; top: 165px; width: 73px; height: 47px; z-index: 91;"><img <? thisInfRm('1.180.0.10'); ?> src="https://img.new-combats.com/i/images/300x225/capital/2shop.gif" width="73" height="47" class="aFilter" /></div>
<div style="position: absolute; left: 125px; top: 165px; width: 73px; height: 47px; z-index: 91;"><img <?php thisInfRm('1.180.0.10'); ?> src="https://img.new-combats.com/i/images/300x225/capital/2shop.gif" width="73" height="47" class="aFilter" /></div>
<!-- <div style="position: absolute; left: 32px; top: 177px; width: 48px; height: 36px; z-index: 91;"><img <? thisInfRm('1.180.0.272'); ?> src="https://img.new-combats.com/city/capitalcity/day/2comission.gif" width="48" height="36" class="aFilter" /></div>-->
<!-- <div style="position: absolute; left: 32px; top: 177px; width: 48px; height: 36px; z-index: 91;"><img <?php thisInfRm('1.180.0.272'); ?> src="https://img.new-combats.com/city/capitalcity/day/2comission.gif" width="48" height="36" class="aFilter" /></div>-->
<div style="position: absolute; left: 270px; top: 158px; width: 71px; height: 45px; z-index: 91;"><img <? thisInfRm('1.180.0.210'); ?> src="https://img.new-combats.com/i/images/300x225/capital/2remont.gif" width="71" height="45" class="aFilter" /></div>
<div style="position: absolute; left: 270px; top: 158px; width: 71px; height: 45px; z-index: 91;"><img <?php thisInfRm('1.180.0.210'); ?> src="https://img.new-combats.com/i/images/300x225/capital/2remont.gif" width="71" height="45" class="aFilter" /></div>
<!-- <div style="position: absolute; left: 371px; top: 173px; width: 60px; height: 41px; z-index: 93;"><img <? thisInfRm('1.180.0.404'); ?> src="https://img.new-combats.com/city/priz2shop.gif" width="60" class="aFilter" height="40" /></div> -->
<!-- <div style="position: absolute; left: 371px; top: 173px; width: 60px; height: 41px; z-index: 93;"><img <?php thisInfRm('1.180.0.404'); ?> src="https://img.new-combats.com/city/priz2shop.gif" width="60" class="aFilter" height="40" /></div> -->
<!-- <div style="position: absolute; left: 167px; top: 147px; width: 27px; height: 55px; z-index: 93;"><img <? thisInfRm('1.180.0.x'); ?> src="https://img.new-combats.com/city/capitalcity/day/2pm.gif" class="aFilter" width="27" height="55" /></div> -->
<!-- <div style="position: absolute; left: 167px; top: 147px; width: 27px; height: 55px; z-index: 93;"><img <?php thisInfRm('1.180.0.x'); ?> src="https://img.new-combats.com/city/capitalcity/day/2pm.gif" class="aFilter" width="27" height="55" /></div> -->
<?
$btc = mysql_fetch_array(mysql_query('SELECT * FROM `stats` WHERE `id` = "89489" LIMIT 1'));
@@ -204,24 +204,24 @@ function AtackNoWindow()
<?}}?>
<? if( date('d.m') == '31.10' || (date('m') == 11 && date('d') < 7) ) { /* Хэллоуин */ ?>
<?php if( date('d.m') == '31.10' || (date('m') == 11 && date('d') < 7) ) { /* Хэллоуин */ ?>
<div style="position: absolute; left: 219px; top: 171px; width: 32px; height: 43px; z-index: 91;"><img onclick="location.href='main.php?talk=5'" title="Диалог с Тыквоголовым" src="https://img.new-combats.com/loca/cp11/sun_pmd.gif" width="32" height="43" class="aFilter" /></div>
<? }
<?php }
if(date('m') == 12 || date('m') == 1 ){/*Ёлка*/ ?>
<div style="position: absolute; left: 212px; top: 133px; width: 32px; height: 43px; z-index: 91;"><img <? thisInfRm('1.180.0.208'); ?> src="https://img.new-combats.com/newyear2014.png" width="60" height="90" title="" class="aFilter" /></div>
<? } ?>
<div style="position:absolute; left:360px; top:142px; width:111px; height:72px; z-index:92;"><img <? thisInfRm('1.180.0.226'); ?> src="https://img.new-combats.com/city/capitalcity/day/2pochta.gif" width="111" height="72" class="aFilter" /></div>
<div style="position: absolute; left: 212px; top: 133px; width: 32px; height: 43px; z-index: 91;"><img <?php thisInfRm('1.180.0.208'); ?> src="https://img.new-combats.com/newyear2014.png" width="60" height="90" title="" class="aFilter" /></div>
<?php } ?>
<div style="position:absolute; left:360px; top:142px; width:111px; height:72px; z-index:92;"><img <?php thisInfRm('1.180.0.226'); ?> src="https://img.new-combats.com/city/capitalcity/day/2pochta.gif" width="111" height="72" class="aFilter" /></div>
<div style="position:absolute; left:33px; top:180px; width:92px; height:62px; z-index:92;"><img <? thisInfRm('1.180.0.14'); ?> onclick="alert('Не работает. Находится на реконструкции.')" onMouseOver="this.className='aFilterhover';" onMouseOut="this.className='aFilter';" src="https://img.new-combats.com/city/capitalcity/day/2vokzal.gif" width="92" height="62" class="aFilter" /></div>
<div style="position:absolute; left:33px; top:180px; width:92px; height:62px; z-index:92;"><img <?php thisInfRm('1.180.0.14'); ?> onclick="alert('Не работает. Находится на реконструкции.')" onMouseOver="this.className='aFilterhover';" onMouseOut="this.className='aFilter';" src="https://img.new-combats.com/city/capitalcity/day/2vokzal.gif" width="92" height="62" class="aFilter" /></div>
<!-- <div style="position:absolute; left:166px; top:149px; width:27px; height:55px; z-index:99;"><img src="https://img.new-combats.com/i/images/300x225/capital/2pm.gif" width="27" height="55" title="Памятник Мироздателю" /></div> -->
<!-- <div style="position:absolute; left:100px; top:146px; width:75px; height:90px; z-index:99;"><img src="https://img.new-combats.com/i/images/300x225/capital/stellav.gif" width="75" height="90" title="Стела выбора" class="aFilter" /></div> -->
<div style="position:absolute; left:535px; top:225px; width:30px; height:54px; z-index:94;"><img <? thisInfRm('1.180.0.11'); ?> src="https://img.new-combats.com/i/images/300x225/capital/2strelka.gif" width="30" height="54" class="aFilter" /></div>
<div style="position:absolute; left:14px; top:225px; width:30px; height:54px; z-index:910;"><img src="https://img.new-combats.com/i/images/300x225/capital/3strelka.gif" width="30" height="53" <? thisInfRm('1.180.0.323'); ?> class="aFilter" /></div>
<div style="position:absolute; left:535px; top:225px; width:30px; height:54px; z-index:94;"><img <?php thisInfRm('1.180.0.11'); ?> src="https://img.new-combats.com/i/images/300x225/capital/2strelka.gif" width="30" height="54" class="aFilter" /></div>
<div style="position:absolute; left:14px; top:225px; width:30px; height:54px; z-index:910;"><img src="https://img.new-combats.com/i/images/300x225/capital/3strelka.gif" width="30" height="53" <?php thisInfRm('1.180.0.323'); ?> class="aFilter" /></div>
<div id="snow"></div>
<? echo $goline; ?>
<?= $goline; ?>
</div>
</td>
</tr>
@@ -247,13 +247,13 @@ if(date("H")<6 || date("H")>=22)
?>
<!-- -->
<div style="width:580px; text-align:left; background-color:#D3D3D3;">
<span style="white-space:nowrap; padding-left:3px; padding-right:3px; height:10px"><img src="https://img.new-combats.com/i/move/links.gif" width="9" height="7" />&nbsp;<a href="#" class="menutop" id="greyText" class="menutop" onclick="location='main.php?loc=1.180.0.3&rnd=<? echo $code; ?>';" title="<? thisInfRm('1.180.0.3',1); ?>">Бойцовский Клуб</a></span>
<span style="white-space:nowrap; padding-left:3px; padding-right:3px; height:10px"><img src="https://img.new-combats.com/i/move/links.gif" width="9" height="7" />&nbsp;<a href="#" id="greyText" class="menutop" onclick="location='main.php?loc=1.180.0.323&rnd=<? echo $code; ?>';" title="<? thisInfRm('1.180.0.323',1); ?>">Парковая Улица</a></span>
<span style="white-space:nowrap; padding-left:3px; padding-right:3px; height:10px"><img src="https://img.new-combats.com/i/move/links.gif" width="9" height="7" />&nbsp;<a href="#" id="greyText" class="menutop" onclick="location='main.php?loc=1.180.0.10&rnd=<? echo $code; ?>';" title="<? thisInfRm('1.180.0.10',1); ?>">Магазин</a></span>
<span style="white-space:nowrap; padding-left:3px; padding-right:3px; height:10px"><img src="https://img.new-combats.com/i/move/links.gif" width="9" height="7" />&nbsp;<a href="#" id="greyText" class="menutop" onclick="location='main.php?loc=1.180.0.210&rnd=<? echo $code; ?>';" title="<? thisInfRm('1.180.0.210',1); ?>">Ремонтная Мастерская</a></span>
<span style="white-space:nowrap; padding-left:3px; padding-right:3px; height:10px"><img src="https://img.new-combats.com/i/move/links.gif" width="9" height="7" />&nbsp;<a href="#" id="greyText" class="menutop" onclick="location='main.php?loc=1.180.0.11&rnd=<? echo $code; ?>';" title="<? thisInfRm('1.180.0.11',1); ?>">Страшилкина Улица</a></span>
<span style="white-space:nowrap; padding-left:3px; padding-right:3px; height:10px"><img src="https://img.new-combats.com/i/move/links.gif" width="9" height="7" />&nbsp;<a href="#" id="greyText" class="menutop" onclick="location='main.php?loc=1.180.0.14&rnd=<? echo $code; ?>';" title="<? thisInfRm('1.180.0.14',1); ?>">Вокзал</a></span>
<span style="white-space:nowrap; padding-left:3px; padding-right:3px; height:10px"><img src="https://img.new-combats.com/i/move/links.gif" width="9" height="7" />&nbsp;<a href="#" id="greyText" class="menutop" onclick="location='main.php?loc=1.180.0.226&rnd=<? echo $code; ?>';" title="<? thisInfRm('1.180.0.226',1); ?>">Почта</a></span>
<span style="white-space:nowrap; padding-left:3px; padding-right:3px; height:10px"><img src="https://img.new-combats.com/i/move/links.gif" width="9" height="7" />&nbsp;<a href="#" class="menutop" id="greyText" class="menutop" onclick="location='main.php?loc=1.180.0.3&rnd=<?= $code; ?>';" title="<?php thisInfRm('1.180.0.3',1); ?>">Бойцовский Клуб</a></span>
<span style="white-space:nowrap; padding-left:3px; padding-right:3px; height:10px"><img src="https://img.new-combats.com/i/move/links.gif" width="9" height="7" />&nbsp;<a href="#" id="greyText" class="menutop" onclick="location='main.php?loc=1.180.0.323&rnd=<?= $code; ?>';" title="<?php thisInfRm('1.180.0.323',1); ?>">Парковая Улица</a></span>
<span style="white-space:nowrap; padding-left:3px; padding-right:3px; height:10px"><img src="https://img.new-combats.com/i/move/links.gif" width="9" height="7" />&nbsp;<a href="#" id="greyText" class="menutop" onclick="location='main.php?loc=1.180.0.10&rnd=<?= $code; ?>';" title="<?php thisInfRm('1.180.0.10',1); ?>">Магазин</a></span>
<span style="white-space:nowrap; padding-left:3px; padding-right:3px; height:10px"><img src="https://img.new-combats.com/i/move/links.gif" width="9" height="7" />&nbsp;<a href="#" id="greyText" class="menutop" onclick="location='main.php?loc=1.180.0.210&rnd=<?= $code; ?>';" title="<?php thisInfRm('1.180.0.210',1); ?>">Ремонтная Мастерская</a></span>
<span style="white-space:nowrap; padding-left:3px; padding-right:3px; height:10px"><img src="https://img.new-combats.com/i/move/links.gif" width="9" height="7" />&nbsp;<a href="#" id="greyText" class="menutop" onclick="location='main.php?loc=1.180.0.11&rnd=<?= $code; ?>';" title="<?php thisInfRm('1.180.0.11',1); ?>">Страшилкина Улица</a></span>
<span style="white-space:nowrap; padding-left:3px; padding-right:3px; height:10px"><img src="https://img.new-combats.com/i/move/links.gif" width="9" height="7" />&nbsp;<a href="#" id="greyText" class="menutop" onclick="location='main.php?loc=1.180.0.14&rnd=<?= $code; ?>';" title="<?php thisInfRm('1.180.0.14',1); ?>">Вокзал</a></span>
<span style="white-space:nowrap; padding-left:3px; padding-right:3px; height:10px"><img src="https://img.new-combats.com/i/move/links.gif" width="9" height="7" />&nbsp;<a href="#" id="greyText" class="menutop" onclick="location='main.php?loc=1.180.0.226&rnd=<?= $code; ?>';" title="<?php thisInfRm('1.180.0.226',1); ?>">Почта</a></span>
</div>
<!-- -->
<div style="display:none; height:0px " id="moveto"></div>
@@ -267,7 +267,7 @@ if(date("H")<6 || date("H")>=22)
<HR>
<strong>Внимание!Смените пароль на уникальный,который не использовался ранее в подобных проектах,это обезопасит вашего персонажа от взлома.<BR>
<em>Администрация.</strong> </em></small> <BR>
<? echo $rowonmax; ?><BR>
<?= $rowonmax; ?><BR>
</div></td>
</tr>