<? if (defined('USER')) { $finance = db_output($DB, 'users', 'money', array('id' => USER['id'])); $static = db_output($DB, 'statistic', 'points', array('id' => USER['id'])); $level = $USER->level($static['points']); } ?> <? if (defined('USER')) : ?><p><img alt="" class="icos" src="/design/icons/<?=$USER->sex(USER['sex'])?>.png"> <?=USER['nick']?><img alt="" class="aside icos" src="/design/icons/heart.png"><?=$level?> ур. <img alt="" class="aside icos" src="/design/icons/money.png"><?=$GAME->number($finance['money'])?></p> <? else : ?><p class="center">Ошибка при обновлении данных.</p><? endif; ?>