<?php
	/* Template Name: Contact */
?>
<?php get_header(); ?>
			<?php if(get_option('reedwan_sidebar_position') == 'left'): ?>
			<!-- Begin Left Sidebar -->
			<div class="left-sidebar grid_4">	
				<?php get_sidebar(); ?>
			</div>
			<!-- End Left Sidebar -->
			<?php endif; ?>
			<!-- Begin Content -->
			<div class="single-container grid_8">
				<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
				<div class="single-block">
						<div class="page-line-title"><h1 class="inner-title"><?php the_title(); ?></h1></div>
				<div class="clear"></div>
				
				<div class="single-content">
					<?php the_content(); ?>
					<div class="postForm-wrap">
					<form action='' method='post' class='postForm' id='contactForm'>
					<p class='email_sent'><?php _e('Email sent!', 'Backstreet'); ?></p>
					
					<div>
						<label for='backstreet_name'><?php _e('Name', 'Backstreet'); ?> <span><?php _e('(required)', 'Backstreet'); ?></span></label>
						<input class='text' type='text' name='backstreet_name' id='backstreet_name' value='' />
						<p class='error_msg'><?php _e('Please enter a name.', 'Backstreet'); ?></p>
					</div>
					<div>
						<label for='backstreet_email'><?php _e('Email', 'backstreet'); ?> <span><?php _e('(required)', 'Backstreet'); ?></span></label>
						<input class='text' type='text' name='backstreet_email' id='backstreet_email' value='' />
						<p class='error_msg'><?php _e('Please enter a valid email address.', 'Backstreet'); ?></p>
					</div>
					<div>
						<label for='backstreet_message'><?php _e('Your Message', 'Backstreet'); ?> <span><?php _e('(required)', 'Backstreet'); ?></span></label>
						<textarea name='backstreet_message' id='backstreet_message'></textarea>
						<p class='error_msg'><?php _e('Please enter a message.', 'Backstreet'); ?></p>
					</div>
					<input type='submit' name='submit' class='submit' value='<?php _e('Send Message', 'Backstreet'); ?>' />
					</form>
					</div>
				</div>
				</div>
				<?php endwhile; endif; ?>
			</div>
			<!-- End Content -->
			<?php if(get_option('reedwan_sidebar_position') == 'right'): ?>
			<!-- Begin Right Sidebar -->
			<div class="right-sidebar grid_4">	
				<?php get_sidebar(); ?>
			</div>
			<!-- End Right Sidebar -->
			<?php endif; ?>
<?php get_footer(); ?>