All pastes #108610 Raw Edit

Something

public text v1 · immutable
#108610 ·published 2006-07-31 16:12 UTC
rendered paste body
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>

	<? 
   // 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 '<title>'. $title .'</title>';
		
	?>
	
  <title>HBAK - Homebuilders Association of Kentucky</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <meta content="description" content="The Home Builders Association of Kentucky is a state association providing governmental representation for the housing industry in Kentucky.  HBAK is made up of 22 local associations representing over 7200 member firms." />
  <meta content="keywords" content="hbak, homebuilder, home builder, nahb, kentucky home builder, registered builder, osha"  />
  <link href="css/hbak.css" rel="stylesheet" type="text/css" />
  <script type="text/javascript" src="include/sfhover.js" ></script>
  <script type="text/javascript" src="include/imageroll.js"></script>
</head>

<body>

<div id="container">

	<h1>Welcome to HBAK</h1>
	
	<ul id="nav">
		<li><a href="index.php">Home</a></li>
			
		<li><a href="#">About</a>
		  <ul>
			<li class="subbk"><a href="/officers">Officers</a></li>
			<li class="subbk"><a href="/areavp">Area Vice Presidents</a></li>
			<li class="subbk"><a href="/locals">Local Associations</a></li>
			<li class="subbk"><a href="/pres">From Our President</a></li>
			<li class="subbk"><a href="/ld">Life Directors</a></li>
			<li class="subbk"><a href="/links">Related Links</a></li>
			<li class="subbk"><a href="/membens">Member Benefits</a></li>
			<li class="subbk"><a href="/comchair">Committee Chairmen</a></li>
			<li class="subbk"><a href="/staff">Staff</a></li>
			<li class="subbk"><a href="/contact">Contact Us</a></li>
		  </ul>
		</li>
			
		<li><a href="#">Legislature</a>
		  <ul>
			<li class="subbk"><a href="/lc">Legislative Contacts</a></li>
			<li class="subbk"><a href="/flash">Legislative Flashes</a></li>
			<li class="subbk"><a href="/political">Political Action</a></li>
		  </ul>
		</li>
			
		<li><a href="/kbj">KBJ Online</a></li>
			
		<li><a href="#">Resources</a>
		  <ul>
  			<li class="subbk"><a href="/curric">Curriculum</a></li>
			<li class="subbk"><a href="/docs">Documents</a></li>
			<li class="subbk"><a href="/regbuild">Registered Builder Program</a></li>
			<li class="subbk"><a href="/sch">Scholarships</a></li>

		  </ul>
		</li>
		  
	</ul>
	
	<div id="content">

        <?
		 // 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);
	
 		?>	
				
	</div> <!--- end content div -->
	
	<div id="footer">
		<ul id="footerList">
			<li>&copy; 2006.  The Home Builders Association of Kentucky</li>
			<li>1040 Burlington Lane</li>
			<li>Frankfort, KY 40601</li>
			<li>1-800-489-4225</li>
			<li style="border: 0;"><a href="include/admin/index.php">Admin</a></li>
		</ul>
	
	</div> <!--- end footer div -->
	
</div> <!--- end container div -->

<p id="subfooter">Web Development &amp; Hosting provided by <a style="color: #FFFFFF;" href="http://www.jbdesign.net/">JB Design</a></p>

</body>
</html>