<?php 
require_once('../config/config.php');
require_once(CLASS_DIR.'dbClass.php');
$tit = new DBClass();
$dt = new DBClass();

$sql = "SELECT * FROM ".TBL_USER." WHERE id = '".$_REQUEST['id']."'";
$rs = $dt->executeQry($sql,$link);
$date = $dt->fetchrow();

$sql = "SELECT * FROM ".TBL_DIRECTORY." WHERE status = '0' and memberID =  '".$_REQUEST['id']."'";
$rs = $tit->executeQry($sql,$link);
$title = $tit->fetchrow();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rel="icon" type="image/png" href="../images/address_bar_logo.gif">
<title><?php echo $title['organisation_name']; ?> Design by Shrinetra Infotech</title>
<link href="css/style.css" rel="stylesheet" type="text/css" media="screen" />
<link rel="stylesheet" href="../membersaccount/css/slideshow.css">
<script src="../membersaccount/js/mootools-1.3.2-core.js"></script>
<script src="../membersaccount/js/mootools-1.3.2.1-more.js"></script>
<script src="../membersaccount/js/slideshow.js"></script>
<script src="../membersaccount/js/slideshow.flash.js"></script>
<script src="../membersaccount/js/slideshow.fold.js"></script>
<script src="../membersaccount/js/slideshow.kenburns.js"></script>
<script src="../membersaccount/js/slideshow.push.js"></script>
	<style type="text/css">
/*<![CDATA[*/
.nothere {
     visibility:hidden;
 }
.there {
     visibility:visible;
}

/*//]]>*/
</style>

<script type="text/javascript">
//<![CDATA[
onload=function() {
     document.getElementById('newsload').className='there';
 }
//]]>
</script>
</head>
<body>
<div id="wrapper">
	<div id="header-wrapper">
		<div id="header">
			<div id="logo">
				<h1><a href="#"><?php echo $title['organisation_name']; ?></a></h1>
				<p><?php echo $title['district'] . ", " . $title['state']; ?></p>
			</div>
			<div id="logoright">
			<h1><span style="font-weight:bold;font-size:20px;text-transform:uppercase;margin-bottom:5px;"><?php echo $title['person_name']; ?></span><br />Phone: <strong><?php echo $title['phone']; ?></strong><br />
													Mobile: <strong><?php echo $title['mobile1']; ?> , <?php echo $title['mobile2']; ?></strong></h1>
			</div>
		</div>
	</div>
	<!-- end #header -->
	
	<!-- end #menu -->
	<div id="page">
	<div id="menu">
		<ul>
				<li <?php if($heading == 'home') { ?> class="current_page_item"<?php  } ?>><a href="index.php?id=<?php echo $_GET['id']; ?>" >Home</a></li>
				<li  <?php if($heading == 'products') { ?> class="current_page_item"<?php  } ?>><a href="our-products.php?id=<?php echo $_GET['id']; ?>">Our Products</a></li>
				<li <?php if($heading == 'services') { ?> class="current_page_item"<?php  } ?>><a href="our-services.php?id=<?php echo $_GET['id']; ?>" >Our Services</a></li>
				<li  <?php if($heading == 'posting') { ?> class="current_page_item"<?php  } ?>><a href="our-posting.php?id=<?php echo $_GET['id']; ?>">Our Postings</a></li>
				<li  <?php if($heading == 'contact') { ?> class="current_page_item"<?php  } ?>><a href="contact-us.php?id=<?php echo $_GET['id']; ?>">Contact Us</a></li>
			</ul>
	</div>