<?php 
 if($_REQUEST['id']=='') {

	header('Location: ../index.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="description" content="" />
<meta name="keywords" 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 rel="stylesheet" type="text/css" href="css/style.css" />
<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">
		<div id="logo">
			<h1><a href="#"><?php echo $title['organisation_name']; ?></a></h1>
			<span style="margin-top:-15px;"><?php echo $title['district'] . ", " . $title['state']; ?></span>
		</div>
		<div id="title">
			<h1><?php echo $title['person_name']; ?></h1><span>Phone: <strong><?php echo $title['phone']; ?></strong><br />Mobile: <strong><?php echo $title['mobile1']; ?> , <?php echo $title['mobile2']; ?></strong></span>
		</div>
		<div id="menu">
			<ul>
				<li class="first"><a href="index.php?id=<?php echo $_GET['id']; ?>" <?php if($heading == 'home') { ?> class="current_page_item"<?php  } ?>>Home</a></li>
				<li><a href="our-products.php?id=<?php echo $_GET['id']; ?>" <?php if($heading == 'products') { ?> class="current_page_item"<?php  } ?>>Our Products</a></li>
				<li><a href="our-services.php?id=<?php echo $_GET['id']; ?>" <?php if($heading == 'services') { ?> class="current_page_item"<?php  } ?>>Our Services</a></li>
				<li><a href="our-posting.php?id=<?php echo $_GET['id']; ?>" <?php if($heading == 'posting') { ?> class="current_page_item"<?php  } ?>>Our Postings</a></li>
				<li><a href="contact-us.php?id=<?php echo $_GET['id']; ?>" <?php if($heading == 'contact') { ?> class="current_page_item"<?php  } ?>>Contact Us</a></li>
			</ul>
			<br class="clearfix" />
		</div>
	</div>