Build Progress By Category if ($_GET['c'] === 'a') echo " - Bodywork
"; if ($_GET['c'] === 'b') echo " - Brakes"; if ($_GET['c'] === 'c') echo " - Chassis"; if ($_GET['c'] === 'd') echo " - Cooling"; if ($_GET['c'] === 'e') echo " - Electrics"; if ($_GET['c'] === 'f') echo " - Electronics"; if ($_GET['c'] === 'g') echo " - Engine"; if ($_GET['c'] === 'h') echo " - Engine Diagnostics"; if ($_GET['c'] === 'i') echo " - Engine Electrics"; if ($_GET['c'] === 'j') echo " - Exhaust"; if ($_GET['c'] === 'k') echo " - Fuel System"; if ($_GET['c'] === 'l') { echo " - Instruments & Controls"; echo "More information on instruments and controls can be found in the design section."; } if ($_GET['c'] === 'm') echo " - Lighting"; if ($_GET['c'] === 'n') echo " - Roof"; if ($_GET['c'] === 'o') echo " - Safety"; if ($_GET['c'] === 'p') echo " - Seats & Harnesses"; if ($_GET['c'] === 'q') echo " - Steering"; if ($_GET['c'] === 'r') echo " - Suspension"; if ($_GET['c'] === 's') echo " - Transmission"; if ($_GET['c'] === 't') echo " - Wheels & Tyres"; ?> $entry = array( array("y"=>"2014","m"=>"04","d"=>"15","c"=>"m"), array("y"=>"2014","m"=>"04","d"=>"14","c"=>"m3"), array("y"=>"2014","m"=>"04","d"=>"12","c"=>"m3"), array("y"=>"2014","m"=>"04","d"=>"11","c"=>"bl"), array("y"=>"2014","m"=>"04","d"=>"08","c"=>"elm"), array("y"=>"2014","m"=>"04","d"=>"06","c"=>"lm"), array("y"=>"2014","m"=>"04","d"=>"05","c"=>"lm"), array("y"=>"2014","m"=>"04","d"=>"04","c"=>"l3"), array("y"=>"2014","m"=>"04","d"=>"03","c"=>"l3"), array("y"=>"2014","m"=>"04","d"=>"01","c"=>"l3"), array("y"=>"2014","m"=>"03","d"=>"29","c"=>"el3"), array("y"=>"2014","m"=>"03","d"=>"27","c"=>" "), array("y"=>"2013","m"=>"09","d"=>"23","c"=>"m"), array("y"=>"2013","m"=>"07","d"=>"03","c"=>"el"), array("y"=>"2013","m"=>"06","d"=>"03","c"=>"a"), array("y"=>"2013","m"=>"05","d"=>"31","c"=>"ls"), array("y"=>"2013","m"=>"05","d"=>"29","c"=>"clpq"), array("y"=>"2013","m"=>"05","d"=>"10","c"=>"g"), array("y"=>"2013","m"=>"02","d"=>"12","c"=>" "), array("y"=>"2012","m"=>"12","d"=>"21","c"=>"g"), array("y"=>"2012","m"=>"07","d"=>"13","c"=>"ck"), array("y"=>"2012","m"=>"07","d"=>"12","c"=>" "), array("y"=>"2012","m"=>"06","d"=>"30","c"=>"l"), array("y"=>"2012","m"=>"06","d"=>"25","c"=>"ls"), array("y"=>"2012","m"=>"06","d"=>"24","c"=>"efl") ); function eprint($x) { global $entry; /* echo "
".pmonth($entry[$x]["m"])." ".$entry[$x]["y"]."
"; $year = $entry[$x]["y"]; $month = $entry[$x]["m"]; } //if ($found == 0) echo "- ";
eprint($x);
$found++;
}
}
//if ($found != 0) echo "
Sorry, there are no entries under this category yet.
"; ?>