Зачем-то инкапсулирем.
This commit is contained in:
+1
-1
@@ -60,7 +60,7 @@ if (!empty($q->error)) {
|
||||
Template::header('Памятник');
|
||||
?>
|
||||
<div style="float: right;">
|
||||
<?php if (($user->getLevel() < 5 || $user->admin) && $user->health < $user->maxHealth): ?>
|
||||
<?php if (($user->getLevel() < 5 || $user->getAdmin()) && $user->getHealth() < $user->getMaxHealth()): ?>
|
||||
<button onclick="location.href='?hps'">Восстановить здоровье</button>
|
||||
<? endif ?>
|
||||
<button onclick="location.href='?'">Обновить</button>
|
||||
|
||||
Reference in New Issue
Block a user