getAll(User::getInstance($_SERVER['QUERY_STRING'])->getId()); Template::header('Информация о ' . User::getInstance($_SERVER['QUERY_STRING'])->getLogin()); if (!User::getInstance($_SERVER['QUERY_STRING'])->getId()) { echo sprintf('Ошибка: персонаж %s не найден...
', urldecode($_SERVER['QUERY_STRING'])); exit; } User::getInstance($_SERVER['QUERY_STRING'])->userInfo()->showUserInfo(); include_once 'views/inf-presents.php';