'; $proj_list = array(); shuffle($areas); foreach ($areas as $area) { $area_name = $area[0]; $projects = $area[1]; shuffle($projects); foreach ($projects as $p) { $np = null; if (array_key_exists(5, $p)) { $np->image = $p[5]; } $np->url = $p[1]; $np->web_url = $p[1]; if (array_key_exists(6, $p)) { $np->web_url = $p[6]; } $np->home = $p[2]; $np->general_area = $area_name; $np->specific_area = $p[3]; $np->description = $p[4]; $np->name = $p[0]; $proj_list[] = $np; } } foreach($proj_list as $p) { echo " $p->name $p->url $p->general_area $p->specific_area description]]> $p->home "; $platforms = get_platforms_cached($p->web_url); if ($platforms) { echo " \n"; foreach ($platforms as $platform) { if ($platform == 'Unknown') continue; echo " $platform\n"; } echo " \n"; } if (isset($p->image)) { echo " http://boinc.berkeley.edu/images/$p->image "; } echo " "; } foreach ($account_managers as $am) { $name = $am[0]; $url = $am[1]; $desc = $am[2]; $image = $am[3]; echo " $name $url $desc http://boinc.berkeley.edu/images/$image "; } echo " "; ?>