$noticeinfo = $vbulletin->db->query_first("SELECT * FROM " . TABLE_PREFIX . "notice WHERE noticeid = 1");