Замена short_tags.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
session_start();
|
||||
if(!defined('GAME')) {
|
||||
die();
|
||||
@@ -314,11 +314,11 @@ function seetext(id) {
|
||||
<div style="z-index: 2; position: relative; width:100%; display:table; box-sizing: border-box; margin: 0px; padding: 0px 5px 3px 5px; -webkit-box-shadow: 0px 4px 6px -3px rgba(0, 0, 0, 0.6); -moz-box-shadow: 0px 4px 6px -3px rgba(0, 0, 0, 0.6); box-shadow: 0px 4px 6px -4px rgba(0, 0, 0, 0.6);">
|
||||
<div style="display:table-cell;"><!-- Кнопки возврата и другие--></div>
|
||||
<div style="display:table-cell; text-align: right;">
|
||||
<?
|
||||
<?php
|
||||
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=<?= $code; ?>'" value="Умения" /><?
|
||||
?><input class="btnnew" type="button" onclick="top.frames['main'].location='main.php?skills&side=1&rn=<?= $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 }
|
||||
$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=<?= $code; ?>'" value="Галерея" /><?php } unset($gl);
|
||||
|
||||
Reference in New Issue
Block a user