<? session_start(); 
	if ($_SESSION['LoginGAdminID'] == '') { 
			header("Location: Login.php");
			
	 } 
	 // for fix time in bahrain 
	 
	 date_default_timezone_set("Asia/Kuwait"); 

	 require './inc/session.php';
	 require './inc/clear_session.php';
	 include("../config.php");
	 //Database request
	 require './DBcode/P1_1.php';
	 require './DBcode/P1_3.php';
	 require './DBcode/P1_4.php';
	 require './DBcode/P2_1.php';
	 require './DBcode/P2_3.php';
	 require './DBcode/P7_0.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>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1256" />
<link rel="stylesheet" href="styles.css" type="text/css" />
<link href="admin.css" rel="stylesheet" type="text/css" />
<title>Admin</title>
<script src="SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
<script src="SpryAssets/SpryValidationTextarea.js" type="text/javascript"></script>
<script src="SpryAssets/SpryValidationSelect.js" type="text/javascript"></script>
<link href="SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" />
<link href="SpryAssets/SpryValidationTextarea.css" rel="stylesheet" type="text/css" />
<link href="SpryAssets/SpryValidationSelect.css" rel="stylesheet" type="text/css" />
	
    
    <link rel="stylesheet" media="screen" href="styles/vlaCal-v2.1.css" type="text/css" />
	<link rel="stylesheet" media="screen" href="styles/vlaCal-v2.1-adobe_cs3.css" type="text/css" />
	<link rel="stylesheet" media="screen" href="styles/vlaCal-v2.1-apple_widget.css" type="text/css" />
	
	<script type="text/javascript" src="jslib/mootools-1.2-core-compressed.js"></script>
	<script type="text/javascript" src="jslib/vlaCal-v2.1-compressed.js"></script>
        <script src="javascript/amcharts.js" type="text/javascript"></script>
        <script src="javascript/raphael.js" type="text/javascript"></script>        

<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
-->
</style></head>
<body>
<?	 if ($_POST['mode_print'] == '') { ?>
<table width="100%" border="0">
  <tr>
    <td width="45%">
<h1><? echo $life_software;?></h1>
<hr /></td>
    <td width="100"><div align="center"><img src="image/logo.jpg" width="69" height="70" /></div></td>
    <td width="45%"><h1 align="right">.</h1>
    <hr /></td>
  </tr>
</table>
<? } ?>
    <? 
	 if ($_POST['mode_print'] == '') { 
	 		require './inc/menu.php';
		}
		require './inc/home.php';
		//Page request
		require './inc/P1_1.php';
		require './inc/P1_2.php';
		require './inc/P1_3.php';
		require './inc/P1_4.php';
		require './inc/P2_1.php';
		require './inc/P2_2.php';
		require './inc/P2_3.php';
		require './inc/P2_4.php';

		require './inc/P6_0.php';
		require './inc/P7_0.php';
	?>
    
</body>
</html>
