';
$showtitle = SportName($_POST['result_year'], $_POST['result_sport']);
echo '
'.$showtitle.'
';
include ($_POST['result_year'].'/'.$_POST['result_sport'].$_POST['result_year'].'.txt');
echo '';
}
function SportName($year, $sport) {
$dis_year = "";
$dis_sport = "";
$sign = "";
If (!empty($year)+!empty($sport)) {
$dis_year = "20".$year;
if ($sport == "ARCH") {
$dis_sport = "Archery/Bowhunting";
}
if ($sport == "BSKS") {
$dis_sport = "Basketball";
}
if ($sport == "BWLI") {
$dis_sport = "Bowling-Individuals";
}
if ($sport == "BWLT") {
$dis_sport = "Bowling-Teams";
}
if ($sport == "CHRI") {
$dis_sport = "Cheerleading-Individuals";
}
if ($sport == "CHRT") {
$dis_sport = "Cheerleading-Teams";
}
if ($sport == "DISC") {
$dis_sport = "Disc Golf";
}
if ($sport == "DIVE") {
$dis_sport = "Diving";
}
if ($sport == "FGRS") {
$dis_sport = "Figure Skating";
}
if ($sport == "GYAB") {
$dis_sport = "Gymnastics-AAU Boys";
}
if ($sport == "GYAG") {
$dis_sport = "Gymnastics-AAU Girls";
}
if ($sport == "GYUB") {
$dis_sport = "Gymnastics-USAG Boys";
}
if ($sport == "GYUG") {
$dis_sport = "Gymnastics-USAG Girls";
}
if ($sport == "GYMT") {
$dis_sport = "Gymnastics-Teams";
}
if ($sport == "KRBB") {
$dis_sport = "Karate-Adult Balck Belt";
}
if ($sport == "KRAU") {
$dis_sport = "Karate-Adult Underbelt";
}
if ($sport == "KREX") {
$dis_sport = "Karate-Executive";
}
if ($sport == "KRYH") {
$dis_sport = "Karate-Youth";
}
if ($sport == "MTNB") {
$dis_sport = "Mountain Biking";
}
if ($sport == "SHOT") {
$dis_sport = "Shooting Sports";
}
if ($sport == "SOCC") {
$dis_sport = "Soccer";
}
if ($sport == "SOFT") {
$dis_sport = "Softball";
}
if ($sport == "SWIM") {
$dis_sport = "Swimming";
}
if ($sport == "TKJR") {
$dis_sport = "Taekwondo-Junior";
}
if ($sport == "TKSU") {
$dis_sport = "Taekwondo-Senior & Ultra";
}
if ($sport == "TRKY") {
$dis_sport = "Track & Field-Youth";
}
if ($sport == "TRKA") {
$dis_sport = "Track & Field-Adult";
}
if ($sport == "TRMI") {
$dis_sport = "Trampoline & Tumbling";
}
if ($sport == "TRMT") {
$dis_sport = "Trampoline & Tumbling-Teams";
}
if ($sport == "TRIA") {
$dis_sport = "Triathlon";
}
if ($sport == "VLYI") {
$dis_sport = "Volleyball-Indoor";
}
if ($sport == "VLYO") {
$dis_sport = "Volleyball-Outdoor";
}
if ($sport == "WRES") {
$dis_sport = "Wrestling";
}
$sign = $dis_year." Official Results for ".$dis_sport;
return $sign;
}
}
?>