Please complete the tutorial to unlock Challenge mode!";
// htmlFooter();
// return;
//}
?>
//Display the actual challenge list
$challengeListResultset = loadChallengeListing($userID);
//displayChallengeList($challengeListResultset);
ChallengeList($challengeListResultset);
?>
$map) {
echo "TIER $tier";
foreach ($map as $mapid => $challenge) {
echo "MAP $mapid";
$mapCode = getMapCode($mapid);
$map = new map($mapCode);
$thumbnail = DisplayMapThumbnail($map);
echo "
";
echo "$map->name";
echo $thumbnail;
foreach ($challenge as $challengeID => $content) {
//Each challenge gets its own star
if($content["dateSolved"] !== NULL)
$cssClass = "challengelist_complete";
else
$cssClass = "challengelist_incomplete";
echo "";
}
echo "
";
echo "END MAP";
}
echo "END TIER";
}
}
// TODO: !! Depreciate
/**
* Outputs the list of all challenges to the page
*/
function displayChallengeList($challengeListResultset)
{
echo '