global $nukeuser contains the decoded $user cookie cookiedecode($user) decodes $user and checks if exists in database it returns the global $cookie getusrinfo($user) returns the full nuke_users db record for $user it returns the global $userinfo