PK

ADDRLIN : /home/anibklip/ldhcgewc.org/
FLL :
Current File : //home/anibklip/ldhcgewc.org/content.php

<?php
$query = "select * from content where page_id='$_GET[id]'";
$query = mysql_query($query) or die(mysql_error());
if($cont=mysql_fetch_array($query)){
	if($cont[parent_id]){
		$parent_id=$cont[parent_id];
	}else{
		$parent_id=$cont[page_id];
	}
}
?>
<section class="page-header">
	<div class="container">		
		<h1><?php echo $cont[titl]?></h1>
	</div><!--/ .container-->
</section><!--/ .page-header-->

<!-- - - - - - - - - - - - - - Main - - - - - - - - - - - - - - - - -->		

<section class="main container sbr clearfix">
	<!-- - - - - - - - - - Breadcrumbs - - - - - - - - - - - - -->
	<div class="breadcrumbs">
		<a title="Home" href="index.php">Home</a>
		<span><?php echo $cont[titl]?></span>
	</div><!--/ .breadcrumbs-->
	<!-- - - - - - - - - end Breadcrumbs - - - - - - - - - - - -->	

	<!-- <div class="bordered">
		<figure class="add-border">
			<img src="images/temp/full-width.jpg" alt="" />
		</figure>
	</div> --> <!--/ .bordered-->
	
	<div class="eight1 columns">
		<p><?php echo $cont[body]?></p>
	</div><!--/ .eight .columns-->

	<?php
	if($_GET[id]==2){
		?>
		<div class="six columns" style="float:right;">
			<h3>Send an Email</h3>
			<section id="contact">
				<form method="post" action="" class="comments-form" id="contactform">
					<p class="input-block">
						<label for="name">Name:</label>
						<input name="name" id="name" type="text">
					</p>
					<p class="input-block">
						<label for="email">E-mail:</label>
						<input name="email" id="email" type="text">
					</p>
					<p class="input-block">
						<label for="message">Message:</label>
						<textarea name="message" id="message" cols="30" rows="10"></textarea>	
					</p>
					<p class="input-block">
						<label for="verify">Are you human?</label>
						<iframe src="php/capcha_page.php" scrolling="no" marginheight="0" marginwidth="0" class="capcha_image_frame" name="capcha_image_frame" width="80" height="29" frameborder="0"></iframe>
						<input class="verify" id="verify" name="verify" type="text">
					</p>
					<p class="input-block">
						<button class="button default" type="submit" id="submit">Submit</button>
					</p>
				<div class="hidden" id="contact_form_responce"><p></p></div></form><!--/ .comments-form-->	
			</section><!--/ #contact-->
		</div><!--/ .nine .columns-->
		<?php
	}
	?>	
</section><!--/ .main -->


PK 99