is_registered) utils::raise(1, 'Non-existent user.'); if ($_GET['type'] == "skin") { echo $user->getBinaryTexture('skin'); } else if ($_GET['type'] == "cape") { echo $user->getBinaryTexture('cape'); } else if ($_GET['type'] == "json") { echo $user->getJsonProfile(); } else { utils::raise(1, 'Illegal parameters.'); } } else { utils::raise(1, 'Illegal parameters.'); }