Course
if($oneunit == 1){ $oneunitword = "mile"; }
if($oneunit == 2){ $oneunitword = "meter"; }
if($oneunit == 3){ $oneunitword = "yard"; }
if($oneunit == 4){ $oneunitword = "kilometers"; }
if($twounit == 1){ $twounitword = "mile"; }
if($twounit == 2){ $twounitword = "meter"; }
if($twounit == 3){ $twounitword = "yard"; }
if($twounit == 4){ $twounitword = "kilometers"; }
if($threeunit == 1){ $threeunitword = "mile"; }
if($threeunit == 2){ $threeunitword = "meter"; }
if($threeunit == 3){ $threeunitword = "yard"; }
if($threeunit == 4){ $threeunitword = "kilometers"; }
if($onetype == 1){ $onetypeword = "swim"; }
if($onetype == 2){ $onetypeword = "bike"; }
if($onetype == 3){ $onetypeword = "run"; }
if($onetype == 4){ $onetypeword = "paddle"; }
if($onetype == 5){ $onetypeword = "ski"; }
if($twotype == 1){ $twotypeword = "swim"; }
if($twotype == 2){ $twotypeword = "bike"; }
if($twotype == 3){ $twotypeword = "run"; }
if($twotype == 4){ $twotypeword = "paddle"; }
if($twotype == 5){ $twotypeword = "paddle"; }
if($threetype == 1){ $threetypeword = "swim"; }
if($threetype == 2){ $threetypeword = "bike"; }
if($threetype == 3){ $threetypeword = "run"; }
if($threetype == 4){ $threetypeword = "paddle"; }
if($threetype == 5){ $threetypeword = "ski"; }
?>
echo "$swim $oneunitword $onetypeword, $bike $twounitword $twotypeword";
if ($run != 0) { echo ", $run $threeunitword $threetypeword"; }
?>
Registration/convenience fees included?
//Determine draft rules
if ($registration == 1) { $registration_name = "ALL registration/convenience fees ARE included in price."; }
else { $registration_name = "Not specified whether any/all registration fees are included in price."; }
?>
echo $registration_name; ?>