Замена short_tags и <?php echo.
This commit is contained in:
@@ -208,7 +208,7 @@ function seetext(id) {
|
||||
</script>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td width="250" valign="top" align="right"><div 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 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();
|
||||
@@ -221,16 +221,16 @@ function seetext(id) {
|
||||
|
||||
?>
|
||||
</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">
|
||||
<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-left:0px;"><font color="#FF0000"><b><? echo $u->error; ?></b></font></div>
|
||||
<div style="min-height:18px;padding-left:0px;"><font color="#FF0000"><b><?= $u->error; ?></b></font></div>
|
||||
</td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
<tr>
|
||||
<td width="60%" height="45" align="right" valign="top">
|
||||
<?
|
||||
@@ -239,31 +239,31 @@ function seetext(id) {
|
||||
echo ' <input class="btnnew" type="button" onclick="top.frames[\'main\'].location=\'main.php?pet=1&rnd='.$code.'\'" value="Зверь" />';
|
||||
}
|
||||
?>
|
||||
<? if ($u->info['inTurnir'] == 0) { ?>
|
||||
<input class="btnnew" type="button" onclick="top.frames['main'].location='main.php?obraz&rnd=<? echo $code; ?>'" value="Образ" />
|
||||
<? } ?>
|
||||
<?
|
||||
<?php if ($u->info['inTurnir'] == 0) { ?>
|
||||
<input class="btnnew" type="button" onclick="top.frames['main'].location='main.php?obraz&rnd=<?= $code; ?>'" value="Образ" />
|
||||
<?php } ?>
|
||||
<?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); ?>
|
||||
<input class="btnnew" type="button" onclick="top.frames['main'].location='main.php?skills&side=1&rn=<? echo $code; ?>'" value="Умения" />
|
||||
<input class="btnnew" type="button" onclick="top.frames['main'].location='main.php?anketa&rn=<? echo $code; ?>'" value="Анкета" />
|
||||
<? if ($u->info['inTurnir'] == 0) { ?>
|
||||
<input class="btnnew" type="button" onclick="top.frames['main'].location='main.php?galery&rnd=<?= $code; ?>'" value="Галерея" />
|
||||
<?php } unset($gl); ?>
|
||||
<input class="btnnew" type="button" onclick="top.frames['main'].location='main.php?skills&side=1&rn=<?= $code; ?>'" value="Умения" />
|
||||
<input class="btnnew" type="button" onclick="top.frames['main'].location='main.php?anketa&rn=<?= $code; ?>'" value="Анкета" />
|
||||
<?php if ($u->info['inTurnir'] == 0) { ?>
|
||||
<input class="btnnew2" style="background-color:#A9AFC0" type="button" onclick="location.href='main.php?referals'" 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; ?>'" />
|
||||
<?php } ?>
|
||||
<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="Подсказки" />
|
||||
|
||||
<input class="btnnew" type="button" onclick="top.frames['main'].location='main.php'" value="Вернуться" /> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id="ShowInventory"><?php echo $showItems; ?></td>
|
||||
<td id="ShowInventory"><?= $showItems; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div align="right"><?php echo $c['counters']; ?></div>
|
||||
<div align="right"><?= $c['counters']; ?></div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
Reference in New Issue
Block a user