include("include_breadcrumb.php"); ?>
include("include_sidebar.php"); ?>
echo stripslashes($row[name]) ; echo " "; ?>
// wiki control buttons include("wiki_buttons.php") ?>
$sqlWikiFetch = "SELECT user_username FROM gforum_User WHERE user_id = ".mysql_escape_string($row[editor_user_id_fk])." LIMIT 1";
$arrUser = mysql_fetch_array(mysql_query($sqlWikiFetch));
$strEditor = $arrUser[user_username];
?>
Editor: echo "".$strEditor.""; ?>
Edit Date: echo date("F j, Y", $row[edit_timestamp]); ?>
Date: echo date("F j, Y", $row[foo]); ?>
Race Type: $arrRaceType = array(1 => "Triathlon", 2 => "Duathlon", 3 => "Other"); echo $arrRaceType[$row[type]]; ?>
//Determine bike surface if ($row[bike_surface] == 1) { $bike_surface = "Offroad"; } else { $bike_surface = "Road"; } ?> Bike Surface: echo $bike_surface; ?>
//Determine draft rules if ($row[draft_legal] == 1) { $draft_legal = "Draft legal"; } else { $draft_legal = "Non-drafting"; } ?> Drafting rules:? echo $draft_legal; ?>
//Determine kids race if ($row[kids_race] == 1) { $kids_race = "This *IS* a kids' race"; } else { $kids_race = "*NOT* a kids' race"; } ?> Kids Race? echo $kids_race; ?>
Course: $arrUnits = array(1 => "mile", 2 => "meter", 3 => "yard", 4 => "kilometer" ); $arrType = array(1 => "swim", 2 => "bike", 3 => "run", 4 => "paddle", 5 => "ski" ); echo $row[swim]." ".$arrUnits[$row[oneunit]]." ".$arrType[$row[onetype]].", ".$row[bike]." ".$arrUnits[$row[twounit]]." ".$arrType[$row[twotype]]; if ($row[run] != 0) { echo ", ".$row[run]." ".$arrUnits[$row[threeunit]]." ".$arrType[$row[threetype]]; } ?>
Start: echo date("g:i A", $row[foo]); ?>
Location: echo "$row[city], $row[state]"; ?>
Address: echo htmlspecialchars(stripslashes($row[address])); ?>
Contact: echo "$row[phone] | $row[email]"; ?>
Individual Price: echo $row[indivfee]; ?>
Team Price: echo $row[teamfee]; ?>
//Determine registration fees if ($row[registration] == 1) { $registration = "Yes, all registration/convenience fees are included in price"; } else { $registration = "Not specified whether registration/convenience fees are added. (NB: this is a new field in the calendar, so \"not specified\" does not definitely mean \"no.\")"; } ?> Registration fees included?: echo $registration; ?>
Course Info: echo htmlspecialchars(stripslashes($row[courseinfo])); echo "
"; ?>
More: echo htmlspecialchars(stripslashes($row[moreinfo])); echo "
"; ?>
Directions: echo htmlspecialchars(stripslashes($row[directions])); echo "
"; ?>
if(strlen($row[register]) > 0){ $substring = "http"; if (!is_int(strpos($row[register], $substring))) { $row[register] = "http://".$row[register]; } ?> Register: echo "Click here"; ?>
} ?> $substring = "http"; if (!is_int(strpos($row[website], $substring))) { $row[website] = "http://".$row[website]; } ?> Website: echo "$row[name]"; ?>
include($common_path . "/templates/include_footer.php") ?> include($common_path . "/templates/include_global_js.php") ?>
Edit Date: echo date("F j, Y", $row[edit_timestamp]); ?>
Date: echo date("F j, Y", $row[foo]); ?>
Race Type: $arrRaceType = array(1 => "Triathlon", 2 => "Duathlon", 3 => "Other"); echo $arrRaceType[$row[type]]; ?>
//Determine bike surface if ($row[bike_surface] == 1) { $bike_surface = "Offroad"; } else { $bike_surface = "Road"; } ?> Bike Surface: echo $bike_surface; ?>
//Determine draft rules if ($row[draft_legal] == 1) { $draft_legal = "Draft legal"; } else { $draft_legal = "Non-drafting"; } ?> Drafting rules:? echo $draft_legal; ?>
//Determine kids race if ($row[kids_race] == 1) { $kids_race = "This *IS* a kids' race"; } else { $kids_race = "*NOT* a kids' race"; } ?> Kids Race? echo $kids_race; ?>
Course: $arrUnits = array(1 => "mile", 2 => "meter", 3 => "yard", 4 => "kilometer" ); $arrType = array(1 => "swim", 2 => "bike", 3 => "run", 4 => "paddle", 5 => "ski" ); echo $row[swim]." ".$arrUnits[$row[oneunit]]." ".$arrType[$row[onetype]].", ".$row[bike]." ".$arrUnits[$row[twounit]]." ".$arrType[$row[twotype]]; if ($row[run] != 0) { echo ", ".$row[run]." ".$arrUnits[$row[threeunit]]." ".$arrType[$row[threetype]]; } ?>
Start: echo date("g:i A", $row[foo]); ?>
Location: echo "$row[city], $row[state]"; ?>
Address: echo htmlspecialchars(stripslashes($row[address])); ?>
Individual Price: echo $row[indivfee]; ?>
Team Price: echo $row[teamfee]; ?>
//Determine registration fees if ($row[registration] == 1) { $registration = "Yes, all registration/convenience fees are included in price"; } else { $registration = "Not specified whether registration/convenience fees are added. (NB: this is a new field in the calendar, so \"not specified\" does not definitely mean \"no.\")"; } ?> Registration fees included?: echo $registration; ?>
Course Info: echo htmlspecialchars(stripslashes($row[courseinfo])); echo "
"; ?>
More: echo htmlspecialchars(stripslashes($row[moreinfo])); echo "
"; ?>
Directions: echo htmlspecialchars(stripslashes($row[directions])); echo "
"; ?>
if(strlen($row[register]) > 0){ $substring = "http"; if (!is_int(strpos($row[register], $substring))) { $row[register] = "http://".$row[register]; } ?> Register: echo "Click here"; ?>
} ?> $substring = "http"; if (!is_int(strpos($row[website], $substring))) { $row[website] = "http://".$row[website]; } ?> Website: echo "$row[name]"; ?>
include($common_path . "/templates/include_footer.php") ?> include($common_path . "/templates/include_global_js.php") ?>