<?php
include("dbconnect.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title><?=$dtitle?></title>
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
	<meta name="hidden" content="<?=$dtags?>">
<meta name="keywords" content="<?=$dtags?>">
	<meta name="description" content="<?=$ddesc?>">
<link rel="stylesheet" href="css/general.css" type="text/css" />
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/jquery.hoverIntent.minified.js"></script>
<script type="text/javascript">
$(document).ready(function() {
	function megaHoverOver(){
		$(this).find(".sub").stop().fadeTo('fast', 1).show();
		//Calculate width of all ul's
		(function($) { 
			jQuery.fn.calcSubWidth = function() {
				rowWidth = 0;
				//Calculate row 8522970234
				$(this).find("ul").each(function() {					
					rowWidth += $(this).width(); 
				});	
			};
		})(jQuery); 
	}
	var config = {    
		 sensitivity: 2, // number = sensitivity threshold (must be 1 or higher)    
		 interval: 100, // number = milliseconds for onMouseOver polling interval    
		 over: megaHoverOver, // function = onMouseOver callback (REQUIRED)    
		 timeout: 500, // number = milliseconds delay before onMouseOut    
		 out: megaHoverOut // function = onMouseOut callback (REQUIRED)    
	};
	$("ul#topnav li").hoverIntent(config);
	$("#header").hoverIntent(config);
});
</script>
</head>
<body>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr><td>
    <div class="container">
        <div id="header"><a href="index.php">Home</a></div>
        <ul id="topnav">
            <li><a href="index.php" class="home" title="Home">Home</a></li>
            <li><a href="aboutus.php" class="aboutUs" title="About Us">About Us</a></li>
            <li><a href="menu.php" class="sampleMenu" title="Sample Menu">Sample Menu</a></li>
            <li><a href="ingredient.php" class="ingredientList" title="Ingredient List">Ingredient List</a></li>
            <li><a href="dform.php" class="downloadMenuForm" title="Download Menu Form">Download Menu Form</a></li>
            <li><a href="contact.php" class="contactUs" title="Contact Us">Contact Us</a></li>
			<?php
			if($_SESSION['pID']!="")
			 echo '<li><a href="parentLogin.php" class="logout" title="Parent Login">Logout</a></li>';
			else
			 echo '<li><a href="parentLogin.php" class="orderOnline" title="Order Online">Order Online</a></li>';
			?>
     		<!-- <li><a href="orderOnline.php" class="orderOnline" title="Order Online">Order Online</a></li> -->
        </ul>
    </div></td></tr>
<tr><td>
	<table border="0" class="dropshadow" cellpadding="0" cellspacing="0" width="900" align="center" bgcolor="#FFFFFF">