array ( "Judith Good", "sussex", "http://www.informatics.sussex.ac.uk/users/judithg/index.html" ), "andi" => array ( "Andreas Harrer", "duisberg", "http://harrer.collide.info/index.html.en" ), "darren" => array ( "Darren Pearce", "lkl", "http://www.informatics.susx.ac.uk/users/darrenp/" ), "vladan" => array ( "Vladan Devedzic", "belgrade", "http://galeb.etf.bg.ac.yu/~devedzic/" ), "rose" => array ( "Rose Luckin", "lkl", "http://www.lkl.ac.uk/cms/index.php?option=com_comprofiler&task=userProfile&user=128" ), "symeon" => array ( "Symeon Retalis", "piraeus", "http://www.softlab.ntua.gr/~retal/" ), "judy" => array ( "Judy Robertson", "heriot", "http://judy.robertson1.googlepages.com/" ) ); $institutions = array ( "sussex" => array ( "University of Sussex", "http://www.sussex.ac.uk" ), "duisberg" => array ( "University of Duisburg-Essen", "http://www.uni-duisburg-essen.de/" ), "lkl" => array ( "London Knowledge Lab", "http://www.lkl.ac.uk" ), "belgrade" => array ( "University of Belgrade", "http://www.bg.ac.yu/en_index.php" ), "piraeus" => array ( "University of Piraeus", "http://www.unipi.gr/eng_site/default.php" ), "heriot" => array ( "Heriot-Watt University", "http://www.hw.ac.uk/home/" ) ); function format_committee($committee_name, $committee) { echo "

$committee_name

"; echo ""; $numPhotosPerRow = 2; $people = array_keys($committee); $personIndex = 0; for ($row = 0; $row < 3; $row++) { echo ""; echo ""; echo ""; $numPhotosPerRow = 5 - $numPhotosPerRow; } echo "
"; echo ""; echo ""; for ($i = 0; $i < $numPhotosPerRow; $i++) { $person = $committee[$people[$personIndex]]; echo ""; } echo ""; echo "
"; format_person($person); $personIndex++; echo "
"; echo "
"; } function format_person($person) { global $institutions; list($name, $institution_key, $personal_homepage) = $person; list($institution_name, $institution_homepage) = $institutions[$institution_key]; $dirname = ereg_replace(" ", "_", $name); echo "\n"; echo ""; echo "
"; echo ""; echo "
\n"; echo ""; echo "$name"; echo ""; echo "
\n"; echo "\n"; echo $institution_name; echo ""; echo "
"; } ?>