<?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-bgtop">
			<div id="page-bgbtm">
				<div id="content">
					<div class="post">
						
							<h2 class="title"><a href="#"><?php echo $row['page_head']; ?></a></h2>
							<div class="entry">
								 <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>


					</div>
					<div style="clear: both;">&nbsp;</div>
				</div>
				<!-- end #content -->
				<?php require_once('includes/left_bar.php'); ?>
				<div style="clear: both;">&nbsp;</div>
			</div>
		</div>
	</div>
	<!-- end #page -->
</div>
<?php require_once('includes/footer.php'); ?>
</body>
</html>