$code = $vbulletin->db->query_first(" SELECT * FROM " . TABLE_PREFIX . "vbinvitationcode WHERE codedbID = " . intval($_GET['id']) . " LIMIT 1");