<?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="wrapper">
	<div id="page">
		<div id="content">

					<h2><?php echo $row['page_head']; ?></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><!-- End of content-->
		<?php require_once('includes/left_bar.php'); ?>
		</div><!-- end of page -->
	</div><!-- end of wrapper-->
<?php require_once('includes/footer.php'); ?>
</body>
</html>
