array("source"=>"txt/home.html", "text"=>"Home"), "results" => array("source"=>"txt/winner.html","text"=>"Results"), "problem"=>array("source"=>"txt/problem.html", "text"=>"Problem Definition"), "download"=>array("source"=>"txt/download.html", "text"=>"Downloads"), "submit"=>array("source"=>"txt/submit.html", "text"=>"Submission and Evaluation"), // "news"=>array("source"=>"txt/news.html", "text"=>"News & FAQ"), "organizer"=>array("source"=>"txt/organizer.html", "text"=>"Organizing Committee") /* "problem"=>"txt/problem.html", "download"=>"txt/download.html", "submit"=>"txt/submit.html", "news"=>"txt/news.html", "organizer"=>"txt/organizer.html"*/ ); $sitePage = $page;//portfolio if (array_key_exists($sitePage,$site)) { $pageTitle = $site[$sitePage]["text"]; }else{ $pageTitle = ""; } function renderMenu($page) { global $site; if (array_key_exists($page,$site)) { $highlight=$page; }else{ $highlight=$home; } $len = count($site); $i==0; foreach($site as $key=>$value) { if ($key == $highlight){ ?> ACM SIGSPATIAL GIS Cup 2018