Зачем-то инкапсулирем.

This commit is contained in:
lopar
2021-02-01 21:20:23 +02:00
parent 7dd6368b84
commit 2ccb5ef128
63 changed files with 345 additions and 345 deletions
+1 -1
View File
@@ -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>