<?php 
$heading = 'home';
require_once('includes/header.php'); 

$obj = new DBClass();

$sql = "SELECT * FROM ".TBL_MEMBERPAGE." WHERE page_name = 'Home Page' AND MemberID = '".$_REQUEST['id']."'";
$rs = $obj->executeQry($sql,$link);
$row = $obj->fetchrow();
?>
<div id="page-wrapper">
	<div id="page-content">
			<div id="floatleft">
		
					<h2><span><?php echo $row['page_head']; ?></span></h2>
					<div style="float:left; width:175px; padding-right:10px;">
							<img src="../download/page_images/<?php echo $row['page_image']; ?>" height="130" width="175"/>
					</div>
					<?php echo html_entity_decode(stripslashes($row['page_content']));?>
					
			</div>
			<?php require_once('includes/left_bar.php'); ?>
	</div>
	<!-- page content end -->
</div>
<!-- page wrapper end -->
<?php require_once('includes/footer.php'); ?>