<? if (defined('USER')) { $cash = db_output($DB, 'users', 'money', array('id' => USER['id'])); $static = db_output($DB, 'statistic', 'points', array('id' => USER['id'])); $level = $USER->level($static['points']); } ?> <header><h2>Онлайн - игра "<span class="color"><?=SERV['name']?></span>"</h2></header> <? if (defined('USER')) : ?><aside><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($cash['money'])?></p></aside><? endif; ?>