// Select appropriate title
$action = $_GET['action'];
switch ($action) {
case "home":
$title = "Home - HBAK";
break;
case "officers":
$title = "Officers - HBAK";
break;
case "areavp":
$title = "Area Vice Presidents - HBAK";
break;
case "locals":
$title = "Local Associations - HBAK";
break;
case "pres":
$title = "From Our President - HBAK";
break;
case "ld":
$title = "Life Directors - HBAK";
break;
case "links":
$title = "Related Links - HBAK";
break;
case "membens":
$title = "Member Benefits - HBAK";
break;
case "comchair":
$title = "Committie Chairmen - HBAK";
break;
case "staff":
$title = "Staff - HBAK";
break;
case "contact":
$title = "Contact Us - HBAK";
break;
case "lc":
$title = "Legislative Contacts - HBAK";
break;
case "flash":
$title = "Legislative Flashes - HBAK";
break;
case "political":
$title = "Political Action - HBAK";
break;
case "kbj":
$title = "Kentucky Builders Journal - HBAK";
break;
case "curric":
$title = "Curriculum - HBAK";
break;
case "docs":
$title = "Documents - HBAK";
break;
case "regbuild":
$title = "Registered Builder Program - HBAK";
break;
case "sch":
$title = "Scholarships - HBAK";
break;
case "viewnews":
$title = "News - HBAK";
break;
case "viewevents":
$title = "Upcoming Events - HBAK";
break;
default:
$title = "The Home Builders Association of Kentucky";
break;
}
echo '
Welcome to HBAK
// Begin template include statements
$action = $_GET['action'];
switch ($action) {
case "home":
$page = "include/home.php";
break;
case "viewnews":
$page = "include/news.php";
break;
case "viewevents":
$page = "include/events.php";
break;
case "viewflashes":
$page = "include/flash.php";
break;
case "lc":
$page = "include/lc.php";
break;
case "political":
$page = "include/political.php";
break;
case "about":
$page = "include/about.php";
break;
case "officers":
$page = "include/officers.php";
break;
case "areavp":
$page = "include/areavp.php";
break;
case "locals":
$page = "include/locals.php";
break;
case "comchair":
$page = "include/comchair.php";
break;
case "pres":
$page ="include/pres.php";
break;
case "membens":
$page = "include/memben.php";
break;
case "findlocal":
$page = "include/findlocal.php";
break;
case "links":
$page = "include/links.php";
break;
case "contact":
$page = "include/contact.php";
break;
case "contactgo":
$page = "include/contactgo.php";
break;
case "kbj":
$page = "include/kbj.php";
break;
case "regbuild":
$page = "include/regbuild.php";
break;
case "ld":
$page = "include/ld.php";
break;
case "staff":
$page ="include/staff.php";
break;
case "curric":
$page = "include/curric.php";
break;
case "sch":
$page = "include/scholarship.php";
break;
case "flash":
$page = "include/flash.php";
break;
case "docs":
$page = "include/docs.php";
break;
default:
$page = "include/home.php";
}
include($page);
?>