<?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 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=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>
<meta name="keywords" content="Specific Template, HTML CSS, free website template" />
<meta name="description" content="Specific Template is a free website template provided by freecsstemplates.in" />
<link href="css/style.css" rel="stylesheet" type="text/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';
	 document.getElementById('ourwebload').className='there';
 }
//]]>
</script>
</head>
<body>
<div id="header_wrapper">
	<div id="header">

    	<div id="title"><?php echo $title['organisation_name']; ?>
            <span><?php echo $title['district'] . ", " . $title['state']; ?></span>
        </div>
        
        <div id="twitter"><a href="#"><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>
												</a>
		</div>

    </div> <!-- end of header -->
    
</div> <!-- end of header wrapper -->

<div id="menu_wrapper">

    <div id="menu">
        <ul>
            <li><a href="index.php?id=<?php echo $_GET['id']; ?>" <?php if($heading == 'home') { ?> class="current"<?php  } ?>><span></span>Homepage</a></li>
            <li><a href="our-products.php?id=<?php echo $_GET['id']; ?>" <?php if($heading == 'products') { ?> class="current"<?php  } ?>><span></span>Our Products</a></li>
            <li><a href="our-services.php?id=<?php echo $_GET['id']; ?>" <?php if($heading == 'services') { ?> class="current"<?php  } ?>><span></span>Our Services</a></li>   
 			<li><a href="our-posting.php?id=<?php echo $_GET['id']; ?>" <?php if($heading == 'posting') { ?> class="current"<?php  } ?>><span></span>Our Postings</a></li>         
            <li><a href="contact-us.php?id=<?php echo $_GET['id']; ?>" <?php if($heading == 'contact') { ?> class="current"<?php  } ?>><span></span>Contact Us</a></li>
        </ul>   
	</div> <!-- end of menu -->
</div> <!-- end of menu wrapper -->