isLoggedIn()) { http_response_code(403); die('You must be logged in to view this page.'); } $pUserName = (string)filter_input(INPUT_GET, 'name'); try { $pUserInfo = SeriaUser::byName($pdo, $pUserName); } catch(SeriaUserNotFoundException $ex) { http_response_code(404); die('User not found.'); } $pTransferCount = $pUserInfo->getActiveTransferCounts(); $pTransferRatio = $pUserInfo->calculateRatio(); $tPageTitle = $pUserInfo->getName(); require_once __DIR__ . '/_header.php'; echo '