Замена short_tags и <?php echo.
This commit is contained in:
@@ -318,16 +318,16 @@ function seetext(id) {
|
||||
if($u->info['animal'] != 0) {
|
||||
echo '<input class="btnnew" type="button" onclick="top.frames[\'main\'].location=\'main.php?pet=1&rnd='.$code.'\'" value="Зверь" />';
|
||||
}
|
||||
?><input class="btnnew" type="button" onclick="top.frames['main'].location='main.php?skills&side=1&rn=<? echo $code; ?>'" value="Умения" /><?
|
||||
if ($u->info['inTurnir'] == 0) { ?><input class="btnnew" type="button" onclick="top.frames['main'].location='main.php?obraz&rnd=<? echo $code; ?>'" value="Образ" /><? }
|
||||
?><input class="btnnew" type="button" onclick="top.frames['main'].location='main.php?skills&side=1&rn=<?= $code; ?>'" value="Умения" /><?
|
||||
if ($u->info['inTurnir'] == 0) { ?><input class="btnnew" type="button" onclick="top.frames['main'].location='main.php?obraz&rnd=<?= $code; ?>'" value="Образ" /><?php }
|
||||
$gl = mysql_fetch_array(mysql_query('SELECT COUNT(*) FROM `reimage` WHERE ((`uid` = "'.$u->info['id'].'" AND `clan` = "0") OR `clan` = "'.$u->info['clan'].'") AND `good` > 0 AND `bad` = "0" LIMIT 1'));
|
||||
if($gl[0] > 0) { ?><input class="btnnew" type="button" onclick="top.frames['main'].location='main.php?galery&rnd=<? echo $code; ?>'" value="Галерея" /><? } unset($gl);
|
||||
if ($u->info['inTurnir'] == 0) { ?><input class="btnnew2" type="button" onclick="location.href='main.php?referals'" value="Наставничество" /><? }
|
||||
if($gl[0] > 0) { ?><input class="btnnew" type="button" onclick="top.frames['main'].location='main.php?galery&rnd=<?= $code; ?>'" value="Галерея" /><?php } unset($gl);
|
||||
if ($u->info['inTurnir'] == 0) { ?><input class="btnnew2" type="button" onclick="location.href='main.php?referals'" value="Наставничество" /><?php }
|
||||
?><input class="btnnew" type="button" onclick="top.frames['main'].location='main.php'" value="Вернуться" />
|
||||
<!--
|
||||
<input class="btnnew" type="button" onclick="top.frames['main'].location='main.php?anketa&rn=<? echo $code; ?>'" value="Анкета" />
|
||||
<input class="btnnew" type="button" onclick="top.frames['main'].location='main.php?act_trf=1&rn=<? echo $code; ?>'" value="Отчет о переводах" />
|
||||
<input class="btnnew" type="button" style="font-weight:bold;" value="Безопасность" onclick="top.frames['main'].location='main.php?security&rn=<? echo $code; ?>'" />
|
||||
<input class="btnnew" type="button" onclick="top.frames['main'].location='main.php?anketa&rn=<?= $code; ?>'" value="Анкета" />
|
||||
<input class="btnnew" type="button" onclick="top.frames['main'].location='main.php?act_trf=1&rn=<?= $code; ?>'" value="Отчет о переводах" />
|
||||
<input class="btnnew" type="button" style="font-weight:bold;" value="Безопасность" onclick="top.frames['main'].location='main.php?security&rn=<?= $code; ?>'" />
|
||||
<input class="btnnew" type="button" style="background-color:#A9AFC0" onClick="alert('Раздел отсутствует');" value="Подсказки" />
|
||||
-->
|
||||
</div>
|
||||
@@ -335,7 +335,7 @@ function seetext(id) {
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="250" valign="top" align="right"><div style="padding-top: 6px;" align="center"><? $usee = $u->getInfoPers($u->info['id'],0,0,1); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; }
|
||||
<td width="250" valign="top" align="right"><div style="padding-top: 6px;" align="center"><?php $usee = $u->getInfoPers($u->info['id'],0,0,1); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; }
|
||||
if($u->info['level']>1 && $u->info['inTurnir'] == 0) {
|
||||
$priem = new Priems();
|
||||
$priem->seeMy(1);
|
||||
@@ -373,20 +373,20 @@ function seetext(id) {
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
<div align="left"><?php echo $c['counters']; ?></div>
|
||||
<div align="left"><?= $c['counters']; ?></div>
|
||||
</td>
|
||||
<td width="242" valign="top" align="left"><? if( $u->info['inTurnir'] == 0) { include('stats_inv.php'); } else { include('stats_inv2.php'); } ?></td>
|
||||
<td width="242" valign="top" align="left"><?php if( $u->info['inTurnir'] == 0) { include('stats_inv.php'); } else { include('stats_inv2.php'); } ?></td>
|
||||
<td valign="top" id="itmAll">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" noresize="noresize">
|
||||
<? if( $u->error != '' ) { ?>
|
||||
<?php if( $u->error != '' ) { ?>
|
||||
<tr>
|
||||
<td>
|
||||
<div style="min-height:18px;padding:2px 4px; border: 1px solid #A5A5A5; border-top:0px;"><font color="#FF0000"><b><? echo $u->error; ?></b></font></div>
|
||||
<div style="min-height:18px;padding:2px 4px; border: 1px solid #A5A5A5; border-top:0px;"><font color="#FF0000"><b><?= $u->error; ?></b></font></div>
|
||||
</td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
<tr>
|
||||
<td id="ShowInventory"><?php echo $showItems; ?></td>
|
||||
<td id="ShowInventory"><?= $showItems; ?></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user