$vbulletin->input->clean_gpc('r', 'u', TYPE_UINT); $user = $db->query_first(" SELECT username FROM " . TABLE_PREFIX . "user WHERE userid = " . $vbulletin->GPC['u'] );