$menuids = '5,10,3,1,4,7';$menus = $vbulletin->db->query_read(" SELECT id, shortdescription FROM " . TABLE_PREFIX . "menus WHERE id IN ($menuids)");$menus_array = array();while ($menu = $vbulletin->db->fetch_array($menus)){ $menus_array[$menu[$id]] = $menu;}
$menus_array[$menuid]['shortdescription']