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

@@ -27,21 +27,21 @@ if($u->room['file']=='ab/cp')
<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">
<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/i/images/300x225/ap_bg1_1.jpg" alt="" name="img_ione" width="500" height="268" 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 onMouseMove="this.runtimeStyle.color = 'white';" onMouseOut="this.runtimeStyle.color = this.parentElement.style.color;" onclick="window.open('https://new-combats.com/forum', 'forum', 'location=yes,menubar=yes,status=yes,resizable=yes,toolbar=yes,scrollbars=yes,scrollbars=yes')">Форум</span> &nbsp;
</div>
@@ -58,20 +58,20 @@ if($u->room['file']=='ab/cp')
}
-->
</script>
<div style="position:absolute; left:50px; top:70px; width:48px; height:68px; z-index:94;"><img <? thisInfRm('3.180.0.275'); ?> src="https://img.new-combats.com/i/images/300x225/dungeon/ap_tower1.gif" width="48" height="68" class="aFilter" /></div>
<!--<div style="position:absolute; left:74px; top:142px; width:128px; height:49px; z-index:94;"><img <? thisInfRm('3.180.0.421'); ?> src="https://img.new-combats.com/i/images/300x225/dungeon/abp_tradehouse.gif" width="128" height="49" class="aFilter" /></div>-->
<div style="position:absolute; left:10px; top:200px; width:21px; height:30px; z-index:94;"><img <? thisInfRm('3.180.0.277'); ?> src="https://img.new-combats.com/i/images/300x225/dungeon/dm_left1.gif" width="21" height="30" class="aFilter" /></div>
<div style="position:absolute; left:218px; top:134px; width:84px; height:87px; z-index:94;"><img <? thisInfRm('3.180.0.266'); ?> src="https://img.new-combats.com/i/images/300x225/ap_port.gif" width="84" height="87" class="aFilter" /></div>
<div style="position:absolute; left:338px; top:47px; width:122px; height:140px; z-index:94;"><img <? thisInfRm('3.180.0.271'); ?> src="https://img.new-combats.com/i/images/300x225/ap_tower3.gif" width="122" height="140" class="aFilter" /></div>
<div style="position:absolute; left:466px; top:198px; width:21px; height:30px; z-index:94;"><img <? thisInfRm('3.180.0.268'); ?> src="https://img.new-combats.com/i/images/300x225/dm_right.gif" width="21" height="30" class="aFilter" /></div>
<div style="position:absolute; left:50px; top:70px; width:48px; height:68px; z-index:94;"><img <?php thisInfRm('3.180.0.275'); ?> src="https://img.new-combats.com/i/images/300x225/dungeon/ap_tower1.gif" width="48" height="68" class="aFilter" /></div>
<!--<div style="position:absolute; left:74px; top:142px; width:128px; height:49px; z-index:94;"><img <?php thisInfRm('3.180.0.421'); ?> src="https://img.new-combats.com/i/images/300x225/dungeon/abp_tradehouse.gif" width="128" height="49" class="aFilter" /></div>-->
<div style="position:absolute; left:10px; top:200px; width:21px; height:30px; z-index:94;"><img <?php thisInfRm('3.180.0.277'); ?> src="https://img.new-combats.com/i/images/300x225/dungeon/dm_left1.gif" width="21" height="30" class="aFilter" /></div>
<div style="position:absolute; left:218px; top:134px; width:84px; height:87px; z-index:94;"><img <?php thisInfRm('3.180.0.266'); ?> src="https://img.new-combats.com/i/images/300x225/ap_port.gif" width="84" height="87" class="aFilter" /></div>
<div style="position:absolute; left:338px; top:47px; width:122px; height:140px; z-index:94;"><img <?php thisInfRm('3.180.0.271'); ?> src="https://img.new-combats.com/i/images/300x225/ap_tower3.gif" width="122" height="140" class="aFilter" /></div>
<div style="position:absolute; left:466px; top:198px; width:21px; height:30px; z-index:94;"><img <?php thisInfRm('3.180.0.268'); ?> src="https://img.new-combats.com/i/images/300x225/dm_right.gif" width="21" height="30" class="aFilter" /></div>
<div id="snow"></div>
<? echo $goline; ?>
<?= $goline; ?>
</div>
</td>
</tr>
</table>
<div style="display:none; height:0px " id="moveto"></div>
<div align="right" style="padding: 3px;"><small>&laquo;<? echo $c['title3']; ?>&raquo; приветствует Вас, <b><? echo $u->info['login']; ?></b>. Вы находить на центральной площади Abandoned Plain.<br />
<div align="right" style="padding: 3px;"><small>&laquo;<?= $c['title3']; ?>&raquo; приветствует Вас, <b><?= $u->info['login']; ?></b>. Вы находить на центральной площади Abandoned Plain.<br />
</small></div></td>
<td>
<!-- <br /><span class="menutop"><nobr>Комната для новичков</nobr></span>-->
@@ -80,14 +80,14 @@ if($u->room['file']=='ab/cp')
</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); ?>
<?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 id="forum" class="btn" onclick="window.open('https://new-combats.com/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>Внимание!</strong> Никогда и никому не говорите пароль от своего персонажа. Не вводите пароль на других сайтах, типа "новый город", "лотерея", "там, где все дают на халяву". Пароль не нужен ни паладинам, ни кланам, ни администрации, <U>только взломщикам</U> для кражи вашего героя.<BR>
<em>Администрация.</em></small> <BR>
<? echo $rowonmax; ?><BR>
<?= $rowonmax; ?><BR>
</div></td>
</tr>

View File

@@ -27,21 +27,21 @@ if($u->room['file']=='ab/cp2')
<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">
<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/i/images/300x225/ab_bg107_1.jpg" alt="" name="img_ione" width="500" height="268" 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 onMouseMove="this.runtimeStyle.color = 'white';" onMouseOut="this.runtimeStyle.color = this.parentElement.style.color;" onclick="window.open('https://new-combats.com/forum', 'forum', 'location=yes,menubar=yes,status=yes,resizable=yes,toolbar=yes,scrollbars=yes,scrollbars=yes')">Форум</span> &nbsp;
</div>
@@ -58,17 +58,17 @@ if($u->room['file']=='ab/cp2')
}
-->
</script>
<div style="position:absolute; left:24px; top:52px; width:29px; height:25px; z-index:94;"><img <? thisInfRm('3.180.0.267'); ?> src="https://img.new-combats.com/i/images/300x225/dm_left.gif" width="29" height="25" class="aFilter" /></div>
<div style="position:absolute; left:86px; top:59px; width:45px; height:63px; z-index:94;"><img <? thisInfRm('3.180.0.353'); ?> src="https://img.new-combats.com/i/images/300x225/ab_107_tower1.gif" width="45" height="63" class="aFilter" /></div>
<div style="position:absolute; left:320px; top:55px; width:34px; height:63px; z-index:94;"><img <? thisInfRm('3.180.0.278'); ?> src="https://img.new-combats.com/i/images/300x225/dungeon/ab_107_tower2.gif" width="34" height="63" class="aFilter" /></div>
<div style="position:absolute; left:24px; top:52px; width:29px; height:25px; z-index:94;"><img <?php thisInfRm('3.180.0.267'); ?> src="https://img.new-combats.com/i/images/300x225/dm_left.gif" width="29" height="25" class="aFilter" /></div>
<div style="position:absolute; left:86px; top:59px; width:45px; height:63px; z-index:94;"><img <?php thisInfRm('3.180.0.353'); ?> src="https://img.new-combats.com/i/images/300x225/ab_107_tower1.gif" width="45" height="63" class="aFilter" /></div>
<div style="position:absolute; left:320px; top:55px; width:34px; height:63px; z-index:94;"><img <?php thisInfRm('3.180.0.278'); ?> src="https://img.new-combats.com/i/images/300x225/dungeon/ab_107_tower2.gif" width="34" height="63" class="aFilter" /></div>
<div id="snow"></div>
<? echo $goline; ?>
<?= $goline; ?>
</div>
</td>
</tr>
</table>
<div style="display:none; height:0px " id="moveto"></div>
<div align="right" style="padding: 3px;"><small>&laquo;<? echo $c['title3']; ?>&raquo; приветствует Вас, <b><? echo $u->info['login']; ?></b>. Вы находить на центральной площади Abandoned Plain.<br />
<div align="right" style="padding: 3px;"><small>&laquo;<?= $c['title3']; ?>&raquo; приветствует Вас, <b><?= $u->info['login']; ?></b>. Вы находить на центральной площади Abandoned Plain.<br />
</small></div></td>
<td>
<!-- <br /><span class="menutop"><nobr>Комната для новичков</nobr></span>-->
@@ -77,14 +77,14 @@ if($u->room['file']=='ab/cp2')
</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); ?>
<?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 id="forum" class="btn" onclick="window.open('https://new-combats.com/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>Внимание!</strong> Никогда и никому не говорите пароль от своего персонажа. Не вводите пароль на других сайтах, типа "новый город", "лотерея", "там, где все дают на халяву". Пароль не нужен ни паладинам, ни кланам, ни администрации, <U>только взломщикам</U> для кражи вашего героя.<BR>
<em>Администрация.</em></small> <BR>
<? echo $rowonmax; ?><BR>
<?= $rowonmax; ?><BR>
</div></td>
</tr>

View File

@@ -274,7 +274,7 @@ body
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><div style="padding-left:0px;" align="center">
<h3><? echo $u->room['name']; ?></h3>
<h3><?= $u->room['name']; ?></h3>
</div></td>
<td width="200"><div align="right">
<table cellspacing="0" cellpadding="0">
@@ -283,14 +283,14 @@ body
<td><table border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">
<td><!-- -->
<? echo $goLis; ?>
<?= $goLis; ?>
<!-- -->
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td nowrap="nowrap"><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#DEDEDE">
<tr>
<td bgcolor="#D3D3D3"><img src="https://img.new-combats.com/i/move/links.gif" width="9" height="7" /></td>
<td bgcolor="#D3D3D3" nowrap="nowrap"><a href="#" id="greyText" class="menutop" onclick="location='main.php?loc=3.180.0.267&rnd=<? echo $code; ?>';" title="<? thisInfRm('3.180.0.267',1); ?>">Вход в подземелье</a></td>
<td bgcolor="#D3D3D3" nowrap="nowrap"><a href="#" id="greyText" class="menutop" onclick="location='main.php?loc=3.180.0.267&rnd=<?= $code; ?>';" title="<?php thisInfRm('3.180.0.267',1); ?>">Вход в подземелье</a></td>
</tr>
</table></td>
</tr>
@@ -333,7 +333,7 @@ if($u->info['dn']==0)
<table width="350" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top">
<form id="from" name="from" action="main.php?pz1=<? echo $code; ?>" method="post">
<form id="from" name="from" action="main.php?pz1=<?= $code; ?>" method="post">
<fieldset style='padding-left: 5; width=50%'>
<legend><b> Группа </b> </legend>
Комментарий

View File

@@ -135,16 +135,16 @@ if (isset($_GET['itm']) && $qst_hram && $_GET['itm'] > 0) {
</style>
<div id="hint3" style="visibility:hidden"></div>
<? if (isset($_GET['r'])) { ?>
<?php if (isset($_GET['r'])) { ?>
<TABLE width="100%" cellspacing="0" cellpadding="0">
<tr>
<td valign="top">
<div align="center" class="pH3">Храм Знаний <? if ($_GET['r'] == 2) {
<div align="center" class="pH3">Храм Знаний <?php if ($_GET['r'] == 2) {
echo ', Алтарь рун';
} elseif ($_GET['r'] == 1) {
echo ', Алтарь предметов';
} ?></div>
<div align="left"><? if ($re != '') {
<div align="left"><?php if ($re != '') {
echo '<font color="red"><b>' . $re . '</b></font>';
} ?></div>
<td width="280" valign="top" align="right">
@@ -155,7 +155,7 @@ if (isset($_GET['itm']) && $qst_hram && $_GET['itm'] > 0) {
<table border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">
<td><!-- -->
<? echo $goLis; ?>
<?= $goLis; ?>
<!-- -->
<table border="0" cellspacing="0" cellpadding="0">
<tr>
@@ -169,8 +169,8 @@ if (isset($_GET['itm']) && $qst_hram && $_GET['itm'] > 0) {
<td bgcolor="#D3D3D3" nowrap="nowrap"><a href="#"
id="greyText"
class="menutop"
onclick="location='main.php?loc=3.180.0.267&rnd=<? echo $code; ?>';"
title="<? thisInfRm('3.180.0.267', 1); ?>">Центральная
onclick="location='main.php?loc=3.180.0.267&rnd=<?= $code; ?>';"
title="<?php thisInfRm('3.180.0.267', 1); ?>">Центральная
площадь</a></td>
</tr>
</table>
@@ -187,12 +187,12 @@ if (isset($_GET['itm']) && $qst_hram && $_GET['itm'] > 0) {
</tr>
</table>
<br/><br/>
<input type="button" class="btn" value="Обновить" onclick="location.href = '<? if (isset($_GET['r'])) {
<input type="button" class="btn" value="Обновить" onclick="location.href = '<?php if (isset($_GET['r'])) {
echo 'main.php?r=' . floor($_GET['r']);
} else {
echo 'main.php';
} ?>';"/><? if (isset($_GET['r'])) { ?> &nbsp; <input class="btn" type="button" value="Вернуться"
onclick="location.href = 'main.php';"/><? } ?><br><br>
} ?>';"/><?php if (isset($_GET['r'])) { ?> &nbsp; <input class="btn" type="button" value="Вернуться"
onclick="location.href = 'main.php';"/><?php } ?><br><br>
</td>
</table>
<div id="textgo" style="visibility:hidden;"></div>
@@ -203,18 +203,18 @@ if (!isset($_GET['r'])) {
?>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="250" valign="top"><? $usee = $u->getInfoPers($u->info['id'], 0);
<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;"><? 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">
<table border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">
<td><? if ($re != '') {
<td><?php if ($re != '') {
echo '<font color="red"><b>' . $re . '</b></font>';
} ?>
<table width="500" border="0" cellspacing="0" cellpadding="0">
@@ -244,7 +244,7 @@ if (!isset($_GET['r'])) {
-->
</script>
<div style="position: absolute; left: 437px; top: 96px; width: 48px; height: 33px; z-index: 94;">
<img <? thisInfRm('1.180.0.323'); ?>
<img <?php thisInfRm('1.180.0.323'); ?>
src="https://img.new-combats.com/city/ap_exit.gif"
width="57" height="26" class="aFilter"/></div>
<div style="position: absolute; left: 191px; top: 12px; width: 75px; height: 68px; z-index: 94;">
@@ -253,27 +253,27 @@ if (!isset($_GET['r'])) {
width="120" height="220" class="aFilter"
title="Диалог с Арквиерро"/></div>
<div style="position: absolute; left: 30px; top: 127px; width: 48px; height: 33px; z-index: 94;">
<img <? if ($qst_hram == false) {
<img <?php if ($qst_hram == false) {
echo 'onclick="alert(\'Арквиерро: Вы не допущены к котлам! (Выполните задание)\');"';
} else { ?> onclick="location.href='main.php?r=1'" <? } ?>
} else { ?> onclick="location.href='main.php?r=1'" <?php } ?>
title="Алтарь Предметов"
src="https://img.new-combats.com/city/ap_altar1.gif"
width="147" height="93" class="aFilter"/></div>
<div style="position: absolute; left: 333px; top: 129px; width: 48px; height: 33px; z-index: 94;">
<img <? if ($qst_hram == false) {
<img <?php if ($qst_hram == false) {
echo 'onclick="alert(\'Арквиерро: Вы не допущены к котлам! (Выполните задание)\');"';
} else { ?> onclick="location.href='main.php?r=2'" <? } ?>
} else { ?> onclick="location.href='main.php?r=2'" <?php } ?>
title="Алтарь Рун"
src="https://img.new-combats.com/city/ap_altar2.gif"
width="147" height="93" class="aFilter"/></div>
<div style="position: absolute; left: 437px; top: 96px; width: 48px; height: 33px; z-index: 94;">
<img <? thisInfRm('3.180.0.267'); ?>
<img <?php thisInfRm('3.180.0.267'); ?>
src="https://img.new-combats.com/city/ap_exit.gif"
width="57" height="26" class="aFilter"/></div>
<div id="snow"></div>
<? echo $goline; ?> </div>
<?= $goline; ?> </div>
</td>
</tr>
</table>
@@ -294,7 +294,7 @@ if (!isset($_GET['r'])) {
сайтах, типа &quot;новый город&quot;, &quot;лотерея&quot;, &quot;там, где все дают на халяву&quot;. Пароль не
нужен ни паладинам, ни кланам, ни администрации, <U>только взломщикам</U> для кражи вашего героя.<br/>
<em>Администрация.</em></small> <br/>
<? echo $rowonmax; ?><br/>
<?= $rowonmax; ?><br/>
</div></td>
</tr>
</table>
@@ -340,7 +340,7 @@ if (!isset($_GET['r'])) {
</tr>
<tr>
<td width="300" valign="top">
<b>Репутация: <? echo 0 + $u->rep['rep1']; ?></b><span id="add_rep"></span>
<b>Репутация: <?= 0 + $u->rep['rep1']; ?></b><span id="add_rep"></span>
<br/><br/>
<center><span id="use_item">Предмет не выбран</span><br/><br/>
<input class="btn" type="button" value="Растворить"
@@ -353,7 +353,7 @@ if (!isset($_GET['r'])) {
<td valign="top">
<!-- -->
<table width="100%" border="0" cellspacing="1" align="center" cellpadding="0" bgcolor="#A5A5A5">
<? if ($u->info['invBlock'] == 0) {
<?php if ($u->info['invBlock'] == 0) {
echo $itmAllSee;
} else {
echo '<div align="center" style="padding:10px;background-color:#A5A5A5;"><form method="post" action="main.php?inv=1&otdel=' . $_GET['otdel'] . '&relockinvent"><b>Рюкзак закрыт.</b><br><img title="Замок для рюкзака" src="https://img.new-combats.com/i/items/box_lock.gif"> Введите пароль: <input id="relockInv" name="relockInv" type="password"><input type="submit" value="Открыть"></form></div>';
@@ -363,7 +363,7 @@ if (!isset($_GET['r'])) {
</td>
</tr>
</table>
<? } elseif ($_GET['r'] == 2) {
<?php } elseif ($_GET['r'] == 2) {
$itmAll = '';
$itmAllSee = '';
$itmAll = $u->genInv(14, '`iu`.`uid`="' . $u->info['id'] . '" AND `iu`.`delete` = "0" AND `iu`.`inOdet`="0" AND `iu`.`inShop`="0" AND (`im`.`type` = 31 OR`im`.`type` = 72) ORDER BY `lastUPD` DESC');
@@ -450,7 +450,7 @@ if (!isset($_GET['r'])) {
</tr>
<tr>
<td width="300" valign="top">
<b>Репутация: <? echo 0 + $u->rep['rep1']; ?></b><span id="add_rep"></span>
<b>Репутация: <?= 0 + $u->rep['rep1']; ?></b><span id="add_rep"></span>
<br/><br/>
<center>
@@ -474,7 +474,7 @@ if (!isset($_GET['r'])) {
<td valign="top">
<!-- -->
<table width="100%" border="0" cellspacing="1" align="center" cellpadding="0" bgcolor="#A5A5A5">
<? if ($u->info['invBlock'] == 0) {
<?php if ($u->info['invBlock'] == 0) {
echo $itmAllSee;
} else {
echo '<div align="center" style="padding:10px;background-color:#A5A5A5;"><form method="post" action="main.php?inv=1&otdel=' . $_GET['otdel'] . '&relockinvent"><b>Рюкзак закрыт.</b><br><img title="Замок для рюкзака" src="https://img.new-combats.com/i/items/box_lock.gif"> Введите пароль: <input id="relockInv" name="relockInv" type="password"><input type="submit" value="Открыть"></form></div>';
@@ -485,4 +485,4 @@ if (!isset($_GET['r'])) {
</tr>
</table>
<? } ?>
<?php } ?>

View File

@@ -128,25 +128,25 @@ if($u->room['file']=='ab/hram')
</style>
<div id="hint3" style="visibility:hidden"></div>
<? if(isset($_GET['r'])) { ?>
<?php if(isset($_GET['r'])) { ?>
<TABLE width="100%" cellspacing="0" cellpadding="0">
<tr><td valign="top">
<div align="center" class="pH3">Храм Знаний <? if($_GET['r']==2){ echo ', Алтарь рун'; }elseif($_GET['r']==1){ echo ', Алтарь предметов'; } ?></div>
<div align="left"><? if($re!=''){ echo '<font color="red"><b>'.$re.'</b></font>'; } ?></div>
<div align="center" class="pH3">Храм Знаний <?php if($_GET['r']==2){ echo ', Алтарь рун'; }elseif($_GET['r']==1){ echo ', Алтарь предметов'; } ?></div>
<div align="left"><?php if($re!=''){ echo '<font color="red"><b>'.$re.'</b></font>'; } ?></div>
<td width="280" valign="top" align="right"><table align="right" cellpadding="0" cellspacing="0">
<tr>
<td width="100%">&nbsp;</td>
<td><table border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">
<td><!-- -->
<? echo $goLis; ?>
<?= $goLis; ?>
<!-- -->
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td nowrap="nowrap"><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#DEDEDE">
<tr>
<td bgcolor="#D3D3D3"><img src="https://img.new-combats.com/i/move/links.gif" width="9" height="7" /></td>
<td bgcolor="#D3D3D3" nowrap="nowrap"><a href="#" id="greyText" class="menutop" onclick="location='main.php?loc=3.180.0.267&rnd=<? echo $code; ?>';" title="<? thisInfRm('3.180.0.267',1); ?>">Центральная площадь</a></td>
<td bgcolor="#D3D3D3" nowrap="nowrap"><a href="#" id="greyText" class="menutop" onclick="location='main.php?loc=3.180.0.267&rnd=<?= $code; ?>';" title="<?php thisInfRm('3.180.0.267',1); ?>">Центральная площадь</a></td>
</tr>
</table></td>
</tr> <tr>
@@ -158,7 +158,7 @@ if($u->room['file']=='ab/hram')
</tr>
</table>
<br /><br />
<input type="button" class="btn" value="Обновить" onclick="location.href = '<? if(isset($_GET['r'])) { echo 'main.php?r='.floor($_GET['r']); }else{ echo 'main.php'; } ?>';" /><? if(isset($_GET['r'])){ ?> &nbsp; <input class="btn" type="button" value="Вернуться" onclick="location.href = 'main.php';" /><? } ?><br><br>
<input type="button" class="btn" value="Обновить" onclick="location.href = '<?php if(isset($_GET['r'])) { echo 'main.php?r='.floor($_GET['r']); }else{ echo 'main.php'; } ?>';" /><?php if(isset($_GET['r'])){ ?> &nbsp; <input class="btn" type="button" value="Вернуться" onclick="location.href = 'main.php';" /><?php } ?><br><br>
</td>
</table>
<div id="textgo" style="visibility:hidden;"></div>
@@ -169,12 +169,12 @@ if($u->room['file']=='ab/hram')
?>
<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.'; } ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules_data/stats_loc.php'); ?></td>
<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><? if($re!=''){ echo '<font color="red"><b>'.$re.'</b></font>'; } ?>
<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="https://img.new-combats.com/city/ap_bg13_1.jpg" alt="" name="img_ione" width="500" height="268" border="1" id="img_ione"/>
@@ -192,15 +192,15 @@ if($u->room['file']=='ab/hram')
}
-->
</script>
<div style="position: absolute; left: 437px; top: 96px; width: 48px; height: 33px; z-index: 94;"><img <? thisInfRm('1.180.0.323'); ?> src="https://img.new-combats.com/city/ap_exit.gif" width="57" height="26" class="aFilter" /></div>
<div style="position: absolute; left: 437px; top: 96px; width: 48px; height: 33px; z-index: 94;"><img <?php thisInfRm('1.180.0.323'); ?> src="https://img.new-combats.com/city/ap_exit.gif" width="57" height="26" class="aFilter" /></div>
<div style="position: absolute; left: 191px; top: 12px; width: 75px; height: 68px; z-index: 94;"><img onclick="location.href='main.php?talk=11'" src="https://img.new-combats.com/city/1269_igsetee.png" width="120" height="220" class="aFilter" title="Диалог с Арквиерро" /></div>
<div style="position: absolute; left: 30px; top: 127px; width: 48px; height: 33px; z-index: 94;"><img <? if($qst_hram==false){ echo 'onclick="alert(\'Арквиерро: Вы не допущены к котлам! (Выполните задание)\');"'; }else{ ?> onclick="location.href='main.php?r=1'" <? } ?> title="Алтарь Предметов" src="https://img.new-combats.com/city/ap_altar1.gif" width="147" height="93" class="aFilter" /></div>
<div style="position: absolute; left: 333px; top: 129px; width: 48px; height: 33px; z-index: 94;"><img <? if($qst_hram==false){ echo 'onclick="alert(\'Арквиерро: Вы не допущены к котлам! (Выполните задание)\');"'; }else{ ?> onclick="location.href='main.php?r=2'" <? } ?> title="Алтарь Рун" src="https://img.new-combats.com/city/ap_altar2.gif" width="147" height="93" class="aFilter" /></div>
<div style="position: absolute; left: 437px; top: 96px; width: 48px; height: 33px; z-index: 94;"><img <? thisInfRm('3.180.0.267'); ?> src="https://img.new-combats.com/city/ap_exit.gif" width="57" height="26" class="aFilter" /></div>
<div style="position: absolute; left: 30px; top: 127px; width: 48px; height: 33px; z-index: 94;"><img <?php if($qst_hram==false){ echo 'onclick="alert(\'Арквиерро: Вы не допущены к котлам! (Выполните задание)\');"'; }else{ ?> onclick="location.href='main.php?r=1'" <?php } ?> title="Алтарь Предметов" src="https://img.new-combats.com/city/ap_altar1.gif" width="147" height="93" class="aFilter" /></div>
<div style="position: absolute; left: 333px; top: 129px; width: 48px; height: 33px; z-index: 94;"><img <?php if($qst_hram==false){ echo 'onclick="alert(\'Арквиерро: Вы не допущены к котлам! (Выполните задание)\');"'; }else{ ?> onclick="location.href='main.php?r=2'" <?php } ?> title="Алтарь Рун" src="https://img.new-combats.com/city/ap_altar2.gif" width="147" height="93" class="aFilter" /></div>
<div style="position: absolute; left: 437px; top: 96px; width: 48px; height: 33px; z-index: 94;"><img <?php thisInfRm('3.180.0.267'); ?> src="https://img.new-combats.com/city/ap_exit.gif" width="57" height="26" class="aFilter" /></div>
<div id="snow"></div>
<? echo $goline; ?> </div></td>
<?= $goline; ?> </div></td>
</tr>
</table>
<div style="display:none; height:0px " id="moveto"></div>
@@ -214,7 +214,7 @@ if($u->room['file']=='ab/hram')
<br />
<strong>Внимание!</strong> Никогда и никому не говорите пароль от своего персонажа. Не вводите пароль на других сайтах, типа &quot;новый город&quot;, &quot;лотерея&quot;, &quot;там, где все дают на халяву&quot;. Пароль не нужен ни паладинам, ни кланам, ни администрации, <U>только взломщикам</U> для кражи вашего героя.<br />
<em>Администрация.</em></small> <br />
<? echo $rowonmax; ?><br />
<?= $rowonmax; ?><br />
</div></td>
</tr>
</table>
@@ -260,7 +260,7 @@ if($u->room['file']=='ab/hram')
</tr>
<tr>
<td width="300" valign="top">
<b>Репутация: <? echo 0+$u->rep['rep1']; ?></b><span id="add_rep"></span>
<b>Репутация: <?= 0+$u->rep['rep1']; ?></b><span id="add_rep"></span>
<br /><br /><center><span id="use_item">Предмет не выбран</span><br /><br />
<input class="btn" type="button" value="Растворить" onclick="location = '?r=<?=$_GET['r'].'&rnd='.$code.'&itm=';?>'+urlras;" /></center>
<br />
@@ -271,13 +271,13 @@ if($u->room['file']=='ab/hram')
<td valign="top">
<!-- -->
<table width="100%" border="0" cellspacing="1" align="center" cellpadding="0" bgcolor="#A5A5A5">
<? if($u->info['invBlock']==0){ echo $itmAllSee; }else{ echo '<div align="center" style="padding:10px;background-color:#A5A5A5;"><form method="post" action="main.php?inv=1&otdel='.$_GET['otdel'].'&relockinvent"><b>Рюкзак закрыт.</b><br><img title="Замок для рюкзака" src="https://img.new-combats.com/i/items/box_lock.gif"> Введите пароль: <input id="relockInv" name="relockInv" type="password"><input type="submit" value="Открыть"></form></div>'; } ?>
<?php if($u->info['invBlock']==0){ echo $itmAllSee; }else{ echo '<div align="center" style="padding:10px;background-color:#A5A5A5;"><form method="post" action="main.php?inv=1&otdel='.$_GET['otdel'].'&relockinvent"><b>Рюкзак закрыт.</b><br><img title="Замок для рюкзака" src="https://img.new-combats.com/i/items/box_lock.gif"> Введите пароль: <input id="relockInv" name="relockInv" type="password"><input type="submit" value="Открыть"></form></div>'; } ?>
</table>
<!-- -->
</td>
</tr>
</table>
<? }elseif( $_GET['r'] == 2 ) {
<?php }elseif( $_GET['r'] == 2 ) {
$itmAll = ''; $itmAllSee = '';
$itmAll = $u->genInv(14,'`iu`.`uid`="'.$u->info['id'].'" AND `iu`.`delete` = "0" AND `iu`.`inOdet`="0" AND `iu`.`inShop`="0" AND `im`.`type` = 31 ORDER BY `lastUPD` DESC');
if($itmAll[0]==0){
@@ -363,7 +363,7 @@ if($u->room['file']=='ab/hram')
</tr>
<tr>
<td width="300" valign="top">
<b>Репутация: <? echo 0+$u->rep['rep1']; ?></b><span id="add_rep"></span>
<b>Репутация: <?= 0+$u->rep['rep1']; ?></b><span id="add_rep"></span>
<br /><br /><center>
<table border="0" cellspacing="0" cellpadding="0">
@@ -384,11 +384,11 @@ if($u->room['file']=='ab/hram')
<td valign="top">
<!-- -->
<table width="100%" border="0" cellspacing="1" align="center" cellpadding="0" bgcolor="#A5A5A5">
<? if($u->info['invBlock']==0){ echo $itmAllSee; }else{ echo '<div align="center" style="padding:10px;background-color:#A5A5A5;"><form method="post" action="main.php?inv=1&otdel='.$_GET['otdel'].'&relockinvent"><b>Рюкзак закрыт.</b><br><img title="Замок для рюкзака" src="https://img.new-combats.com/i/items/box_lock.gif"> Введите пароль: <input id="relockInv" name="relockInv" type="password"><input type="submit" value="Открыть"></form></div>'; } ?>
<?php if($u->info['invBlock']==0){ echo $itmAllSee; }else{ echo '<div align="center" style="padding:10px;background-color:#A5A5A5;"><form method="post" action="main.php?inv=1&otdel='.$_GET['otdel'].'&relockinvent"><b>Рюкзак закрыт.</b><br><img title="Замок для рюкзака" src="https://img.new-combats.com/i/items/box_lock.gif"> Введите пароль: <input id="relockInv" name="relockInv" type="password"><input type="submit" value="Открыть"></form></div>'; } ?>
</table>
<!-- -->
</td>
</tr>
</table>
<? } } ?>
<?php } } ?>

View File

@@ -27,14 +27,14 @@ if($u->room['file']=='ab/izlom16')
<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">
<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>
@@ -56,12 +56,12 @@ if($u->room['file']=='ab/izlom16')
}
-->
</script>
<div style="position: absolute; left: 430px; top: 196px; width: 48px; height: 33px; z-index: 94;"><img <? thisInfRm('1.180.0.323'); ?> src="https://img.new-combats.com/i/images/300x225/ab_iz_exit.gif" width="48" height="33" class="aFilter" /></div>
<div style="position: absolute; left: 278px; top: 53px; width: 167px; height: 94px; z-index: 94;"><img <? thisInfRm('3.180.0.269'); ?> src="https://img.new-combats.com/i/images/300x225/ab_iz_gate.gif" width="167" height="94" class="aFilter" /></div>
<div style="position: absolute; left: 22px; top: 161px; width: 75px; height: 68px; z-index: 94;"><img <? thisInfRm('3.180.0.??'); ?> src="https://img.new-combats.com/i/images/300x225/ab_iz_shop.gif" width="75" height="68" class="aFilter" /></div>
<div style="position: absolute; left: 430px; top: 196px; width: 48px; height: 33px; z-index: 94;"><img <?php thisInfRm('1.180.0.323'); ?> src="https://img.new-combats.com/i/images/300x225/ab_iz_exit.gif" width="48" height="33" class="aFilter" /></div>
<div style="position: absolute; left: 278px; top: 53px; width: 167px; height: 94px; z-index: 94;"><img <?php thisInfRm('3.180.0.269'); ?> src="https://img.new-combats.com/i/images/300x225/ab_iz_gate.gif" width="167" height="94" class="aFilter" /></div>
<div style="position: absolute; left: 22px; top: 161px; width: 75px; height: 68px; z-index: 94;"><img <?php thisInfRm('3.180.0.??'); ?> src="https://img.new-combats.com/i/images/300x225/ab_iz_shop.gif" width="75" height="68" class="aFilter" /></div>
<div style="position: absolute; left: 112px; top: 13px; width: 75px; height: 68px; z-index: 94;"><img onclick="location.href='main.php?talk=4'" src="https://img.new-combats.com/i/images/300x225/ab_iz_npc.gif" width="110" height="177" class="aFilter" title="Диалог с Шейла" /></div>
<div id="snow"></div>
<? echo $goline; ?>
<?= $goline; ?>
</div>
</td>
</tr>
@@ -76,11 +76,11 @@ if($u->room['file']=='ab/izlom16')
<small>
<HR>
<INPUT class="btn" onclick="window.open('/forum/', 'help', 'height=500,width=1024,location=no,menubar=no,status=no,toolbar=no,scrollbars=yes')" value="Подсказка" style="color:red;" type="button">
<? $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); ?>
<?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); ?>
<br />
<strong>Внимание!</strong> Никогда и никому не говорите пароль от своего персонажа. Не вводите пароль на других сайтах, типа "новый город", "лотерея", "там, где все дают на халяву". Пароль не нужен ни паладинам, ни кланам, ни администрации, <U>только взломщикам</U> для кражи вашего героя.<BR>
<em>Администрация.</em></small> <BR>
<? echo $rowonmax; ?><BR>
<?= $rowonmax; ?><BR>
</div></td>
</tr>

View File

@@ -132,7 +132,7 @@ if($u->room['file']=='ab/izlomshop')
<tr align="right" valign="top">
<td>
<!-- -->
<? echo $goLis; ?>
<?= $goLis; ?>
<!-- -->
<table border="0" cellspacing="0" cellpadding="0">
<tr>
@@ -140,7 +140,7 @@ if($u->room['file']=='ab/izlomshop')
<table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#DEDEDE">
<tr>
<td bgcolor="#D3D3D3"><img src="https://img.new-combats.com/i/move/links.gif" width="9" height="7" /></td>
<td bgcolor="#D3D3D3" nowrap><a href="#" id="greyText" class="menutop" onclick="location='main.php?loc=3.180.0.269&rnd=<? echo $code; ?>';" title="<? thisInfRm('3.180.0.269',1); ?>">Излом Хаоса</a></td>
<td bgcolor="#D3D3D3" nowrap><a href="#" id="greyText" class="menutop" onclick="location='main.php?loc=3.180.0.269&rnd=<?= $code; ?>';" title="<?php thisInfRm('3.180.0.269',1); ?>">Излом Хаоса</a></td>
</tr>
</table>
</td>
@@ -152,11 +152,11 @@ if($u->room['file']=='ab/izlomshop')
<div align="right"><br /><br /><br />
<small>
Масса: 0/0 &nbsp;<br />
У вас в наличии: <b style="color:#339900;"><?php echo round($u->info['money'],2); ?> кр.</b> &nbsp;
У вас в наличии: <b style="color:#339900;"><?= round($u->info['money'],2); ?> кр.</b> &nbsp;
</small>
</div>
<br />
<INPUT TYPE="button" value="Обновить" onclick="location = '<? echo $_SERVER['REQUEST_URI']; ?>';"><BR>
<INPUT TYPE="button" value="Обновить" onclick="location = '<?= $_SERVER['REQUEST_URI']; ?>';"><BR>
</div>
<div style="background-color:#A5A5A5;padding:1"><center><B>Отделы Стоянки Экспедиции</B></center></div>
<div style="line-height:17px;">

View File

@@ -126,7 +126,7 @@ if($u->room['file']=='ab/kareta')
}
</style>
<TABLE width="100%" cellspacing="0" cellpadding="0">
<tr><td valign="top"><div align="center" class="pH3"><? echo $u->room['name']; ?></div>
<tr><td valign="top"><div align="center" class="pH3"><?= $u->room['name']; ?></div>
<?php
echo '<b style="color:red">'.$error.'</b>';
?>
@@ -140,15 +140,15 @@ if($u->room['file']=='ab/kareta')
</tr>
<tr>
<td><div align="left">Место отбытия:</div></td>
<td><div align="left"><? echo $u->city_name[$c['thiscity']]; ?></div></td>
<td><div align="left"><?= $u->city_name[$c['thiscity']]; ?></div></td>
</tr>
<tr>
<td><div align="left">Место прибытия:</div></td>
<td><div align="left"><? echo $u->city_name[$car['citygo']]; ?></div></td>
<td><div align="left"><?= $u->city_name[$car['citygo']]; ?></div></td>
</tr>
<tr>
<td><div align="left">Прибытие:</div></td>
<td><div align="left"><? echo date('H:i',$car['time_start_go']+$car['time_go']*60); ?></div></td>
<td><div align="left"><?= date('H:i',$car['time_start_go']+$car['time_go']*60); ?></div></td>
</tr>
<tr>
<td><div align="left"></div></td>
@@ -193,18 +193,18 @@ if($u->room['file']=='ab/kareta')
}
?>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="220" height="175">
<param name="movie" value="https://img.new-combats.com/i/kareta<? if($outimg==''){ $outimg = 1; } echo $outimg; ?>.swf" />
<param name="movie" value="https://img.new-combats.com/i/kareta<?php if($outimg==''){ $outimg = 1; } echo $outimg; ?>.swf" />
<param name="quality" value="high" />
<param name="SCALE" value="exactfit" />
<embed src="https://img.new-combats.com/i/kareta<? echo $outimg; ?>.swf" width="220" height="175" quality="high" pluginspage="https://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" scale="exactfit"></embed>
<embed src="https://img.new-combats.com/i/kareta<?= $outimg; ?>.swf" width="220" height="175" quality="high" pluginspage="https://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" scale="exactfit"></embed>
</object>
</div></td>
<td valign="middle"><p>&nbsp;</p>
<div align="center">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="670" height="428">
<param name="movie" value="https://img.new-combats.com/flash/puzzle<? echo rand(1,13); ?>.swf" />
<param name="movie" value="https://img.new-combats.com/flash/puzzle<?= rand(1,13); ?>.swf" />
<param name="quality" value="high" /><param name="SCALE" value="exactfit" />
<embed src="https://img.new-combats.com/flash/puzzle<? echo rand(1,13); ?>.swf" width="670" height="428" quality="high" pluginspage="https://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" scale="exactfit"></embed>
<embed src="https://img.new-combats.com/flash/puzzle<?= rand(1,13); ?>.swf" width="670" height="428" quality="high" pluginspage="https://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" scale="exactfit"></embed>
</object>
</div></td>
</tr>
@@ -216,7 +216,7 @@ if($u->room['file']=='ab/kareta')
<td width="280" valign="top"><div>
<div align="right">
<input onclick="location='main.php?rnd=<? echo $code; ?>';" type="button" value="обновить" />
<input onclick="location='main.php?rnd=<?= $code; ?>';" type="button" value="обновить" />
<input type="button" value="выйти из кареты" />
<br />
</div>

View File

@@ -274,7 +274,7 @@ body
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><div style="padding-left:0px;" align="center">
<h3><? echo $u->room['name']; ?></h3>
<h3><?= $u->room['name']; ?></h3>
</div></td>
<td width="200"><div align="right">
<table cellspacing="0" cellpadding="0">
@@ -283,14 +283,14 @@ body
<td><table border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">
<td><!-- -->
<? echo $goLis; ?>
<?= $goLis; ?>
<!-- -->
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td nowrap="nowrap"><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#DEDEDE">
<tr>
<td bgcolor="#D3D3D3"><img src="https://img.new-combats.com/i/move/links.gif" width="9" height="7" /></td>
<td bgcolor="#D3D3D3" nowrap="nowrap"><a href="#" id="greyText" class="menutop" onclick="location='main.php?loc=3.180.0.267&rnd=<? echo $code; ?>';" title="<? thisInfRm('3.180.0.267',1); ?>">Вход в подземелье</a></td>
<td bgcolor="#D3D3D3" nowrap="nowrap"><a href="#" id="greyText" class="menutop" onclick="location='main.php?loc=3.180.0.267&rnd=<?= $code; ?>';" title="<?php thisInfRm('3.180.0.267',1); ?>">Вход в подземелье</a></td>
</tr>
</table></td>
</tr>
@@ -333,7 +333,7 @@ if($u->info['dn']==0)
<table width="350" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top">
<form id="from" name="from" action="main.php?pz1=<? echo $code; ?>" method="post">
<form id="from" name="from" action="main.php?pz1=<?= $code; ?>" method="post">
<fieldset style='padding-left: 5; width=50%'>
<legend><b> Группа </b> </legend>
Комментарий

View File

@@ -51,25 +51,25 @@ if($u->room['file']=='ab/quest')
</style>
<div id="hint3" style="visibility:hidden"></div>
<? if(isset($_GET['r'])) { ?>
<?php if(isset($_GET['r'])) { ?>
<TABLE width="100%" cellspacing="0" cellpadding="0">
<tr><td valign="top">
<div align="center" class="pH3">Домик Бабушки </div>
<div align="left"><? if($re!=''){ echo '<font color="red"><b>'.$re.'</b></font>'; } ?></div>
<div align="left"><?php if($re!=''){ echo '<font color="red"><b>'.$re.'</b></font>'; } ?></div>
<td width="280" valign="top" align="right"><table align="right" cellpadding="0" cellspacing="0">
<tr>
<td width="100%">&nbsp;</td>
<td><table border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">
<td><!-- -->
<? echo $goLis; ?>
<?= $goLis; ?>
<!-- -->
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td nowrap="nowrap"><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#DEDEDE">
<tr>
<td bgcolor="#D3D3D3"><img src="https://img.new-combats.com/i/move/links.gif" width="9" height="7" /></td>
<td bgcolor="#D3D3D3" nowrap="nowrap"><a href="#" id="greyText" class="menutop" onclick="location='main.php?loc=3.180.0.421&rnd=<? echo $code; ?>';" title="<? thisInfRm('3.180.0.421',1); ?>">Центральная площадь</a></td>
<td bgcolor="#D3D3D3" nowrap="nowrap"><a href="#" id="greyText" class="menutop" onclick="location='main.php?loc=3.180.0.421&rnd=<?= $code; ?>';" title="<?php thisInfRm('3.180.0.421',1); ?>">Центральная площадь</a></td>
</tr>
</table></td>
</tr> <tr>
@@ -81,7 +81,7 @@ if($u->room['file']=='ab/quest')
</tr>
</table>
<br /><br />
<input type="button" class="btn" value="Обновить" onclick="location.href = '<? if(isset($_GET['r'])) { echo 'main.php?r='.floor($_GET['r']); }else{ echo 'main.php'; } ?>';" /><? if(isset($_GET['r'])){ ?> &nbsp; <input class="btn" type="button" value="Вернуться" onclick="location.href = 'main.php';" /><? } ?><br><br>
<input type="button" class="btn" value="Обновить" onclick="location.href = '<?php if(isset($_GET['r'])) { echo 'main.php?r='.floor($_GET['r']); }else{ echo 'main.php'; } ?>';" /><?php if(isset($_GET['r'])){ ?> &nbsp; <input class="btn" type="button" value="Вернуться" onclick="location.href = 'main.php';" /><?php } ?><br><br>
</td>
</table>
<div id="textgo" style="visibility:hidden;"></div>
@@ -92,12 +92,12 @@ if($u->room['file']=='ab/quest')
?>
<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.'; } ?></td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules_data/stats_loc.php'); ?></td>
<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><? if($re!=''){ echo '<font color="red"><b>'.$re.'</b></font>'; } ?>
<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="https://img.new-combats.com/city/ap_bg13_1.jpg" alt="" name="img_ione" width="500" height="268" border="1" id="img_ione"/>
@@ -115,13 +115,13 @@ if($u->room['file']=='ab/quest')
}
-->
</script>
<div style="position: absolute; left: 437px; top: 96px; width: 48px; height: 33px; z-index: 94;"><img <? thisInfRm('1.180.0.323'); ?> src="https://img.new-combats.com/city/ap_exit.gif" width="57" height="26" class="aFilter" /></div>
<div style="position: absolute; left: 437px; top: 96px; width: 48px; height: 33px; z-index: 94;"><img <?php thisInfRm('1.180.0.323'); ?> src="https://img.new-combats.com/city/ap_exit.gif" width="57" height="26" class="aFilter" /></div>
<div style="position: absolute; left: 191px; top: 12px; width: 75px; height: 68px; z-index: 94;"><img onclick="location.href='main.php?talk=24'" src="https://img.new-combats.com/city/1270_questya.png" width="120" height="220" class="aFilter" title="Диалог с Старухой" /></div>
<div style="position: absolute; left: 437px; top: 96px; width: 48px; height: 33px; z-index: 94;"><img <? thisInfRm('1.180.0.323'); ?> src="https://img.new-combats.com/city/ap_exit.gif" width="57" height="26" class="aFilter" /></div>
<div style="position: absolute; left: 437px; top: 96px; width: 48px; height: 33px; z-index: 94;"><img <?php thisInfRm('1.180.0.323'); ?> src="https://img.new-combats.com/city/ap_exit.gif" width="57" height="26" class="aFilter" /></div>
<div id="snow"></div>
<? echo $goline; ?> </div></td>
<?= $goline; ?> </div></td>
</tr>
</table>
<div style="display:none; height:0px " id="moveto"></div>
@@ -135,7 +135,7 @@ if($u->room['file']=='ab/quest')
<br />
<strong>Внимание!</strong> Никогда и никому не говорите пароль от своего персонажа. Не вводите пароль на других сайтах, типа &quot;новый город&quot;, &quot;лотерея&quot;, &quot;там, где все дают на халяву&quot;. Пароль не нужен ни паладинам, ни кланам, ни администрации, <U>только взломщикам</U> для кражи вашего героя.<br />
<em>Администрация.</em></small> <br />
<? echo $rowonmax; ?><br />
<?= $rowonmax; ?><br />
</div></td>
</tr>
</table>

View File

@@ -250,16 +250,16 @@ if($u->room['file']=='ab/vokzal')
}
</style>
<TABLE width="100%" cellspacing="0" cellpadding="0">
<tr><td valign="top"><div align="center" class="pH3"><? echo $u->room['name'].' "'.$u->city_name[$u->info['city']].'"'; ?></div>
<tr><td valign="top"><div align="center" class="pH3"><?= $u->room['name'].' "'.$u->city_name[$u->info['city']].'"'; ?></div>
<?php
echo '<b style="color:red">'.$error.'</b>';
if($cst!='')
{
?>
<center>
<b>Телепортация в другие города<? if(isset($zd['id'])){ echo ' </b>(Возможна через '.$u->timeOut($zd['time']-time()).')<b>'; } ?></b>
<b>Телепортация в другие города<?php if(isset($zd['id'])){ echo ' </b>(Возможна через '.$u->timeOut($zd['time']-time()).')<b>'; } ?></b>
</center>
<? if(!isset($zd['id'])){ ?>
<?php if(!isset($zd['id'])){ ?>
<br />
<table width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>
@@ -268,10 +268,10 @@ if($u->room['file']=='ab/vokzal')
<td width="25%" bgcolor="#81888e"><div align="center">цена телепортации</div></td>
<td width="25%" bgcolor="#81888e"><div align="center">Телепортироваться</div></td>
</tr>
<? echo $cst; ?>
<?= $cst; ?>
</table>
<br />
<? } } unset($zd); ?>
<?php } } unset($zd); ?>
<center><b><br />Расписание движения карет на сегодня</b></center>
<br />
<table width="100%" border="0" cellspacing="1" cellpadding="0">
@@ -284,9 +284,9 @@ if($u->room['file']=='ab/vokzal')
<td width="14%" bgcolor="#81888e"><div align="center">осталось билетов</div></td>
<td width="14%" bgcolor="#81888e"><div align="center">приобрести билет</div></td>
</tr>
<? echo $cs; ?>
<?= $cs; ?>
</table>
<? if($tmref>600 && $tmref>0){ echo '<script>setTimer(\'location = location;\','.(1000*$tmref-600).');</script>'; } if($cs==''){ echo '<center><br>Сегодня нет свободных карет для перемещения в другие города</center>'; } ?>
<?php if($tmref>600 && $tmref>0){ echo '<script>setTimer(\'location = location;\','.(1000*$tmref-600).');</script>'; } if($cs==''){ echo '<center><br>Сегодня нет свободных карет для перемещения в другие города</center>'; } ?>
<br /><br />
<small style="color:#999999;">
- Для отправления в другой город Вы должны быть онлайн когда будет отправляться карета<br />
@@ -298,7 +298,7 @@ if($u->room['file']=='ab/vokzal')
<tr align="right" valign="top">
<td>
<!-- -->
<? echo $goLis; ?>
<?= $goLis; ?>
<!-- -->
<table border="0" cellspacing="0" cellpadding="0">
<tr>
@@ -306,7 +306,7 @@ if($u->room['file']=='ab/vokzal')
<table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#DEDEDE">
<tr>
<td bgcolor="#D3D3D3"><img src="https://img.new-combats.com/i/move/links.gif" width="9" height="7" /></td>
<td bgcolor="#D3D3D3" nowrap><a href="#" id="greyText" class="menutop" onclick="location='main.php?loc=3.180.0.267&rnd=<? echo $code; ?>';" title="<? thisInfRm('3.180.0.267',1); ?>">Центральная Площадь</a></td>
<td bgcolor="#D3D3D3" nowrap><a href="#" id="greyText" class="menutop" onclick="location='main.php?loc=3.180.0.267&rnd=<?= $code; ?>';" title="<?php thisInfRm('3.180.0.267',1); ?>">Центральная Площадь</a></td>
</tr>
</table>
</td>
@@ -319,7 +319,7 @@ if($u->room['file']=='ab/vokzal')
<div align="right">
<small>
Масса: <?=$u->aves['now']?>/<?=$u->aves['max']?> &nbsp;<br />
У вас в наличии: <b style="color:#339900;"><?php echo round($u->info['money'],2); ?> кр.</b> &nbsp;
У вас в наличии: <b style="color:#339900;"><?= round($u->info['money'],2); ?> кр.</b> &nbsp;
</small>
</div>
<br />