<?php 
/* Template Name: Feed back 
*/

get_header(); ?> 	

			  <!-- content -->
			  <div id="content">
			         <!-- banner -->
			         <div class="banner"><?php 
   $key="subbanner";
   $mykey_values=get_post_custom_values($key, $post->ID);
   if($mykey_values){
   foreach ( $mykey_values as $key => $value ) {
						echo "<img src=\"$value\" width=\"1000\"  border=\"0\"/>"; 
		       }            } ?></div>
					 <!-- content inside -->
			         <div class="content_inside">
					        <div class="side_bar">
							       <div class="side_bar_box">
								  
										         <div class="box_content">
                                                  <?php $parent_page = get_top_parent_page_id($post->ID); ?>
<?php wp_list_pages("child_of=$parent_page&title_li=&depth=2"); ?>  

											 </div>
										
								   </div>
							</div>
							<div class="page_content">
							       <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
                                    <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
                                    <div class="page_heading"><?php the_title(); ?></div>    
                                    <div class="text"><?php the_content(); ?></div>
                                	</div><!-- #post-## -->
                                	<?php // comments_template( '', true ); ?>
                                	<?php endwhile; ?>
                                    <form method="post" name="contact_enquiry" id="contact_enquiry" action="<?php echo blogInfo("template_url"); ?>/contact_feedback.php" onsubmit="return validate_contact_enquiry();">
<div class="page_heading">FEEDBACK FORM </div>
                            	<input name="fname" type="text" class="fname" id="fname" value="First Name" onblur="if(this.value == '') this.value = 'First Name';" onfocus="if(this.value == 'First Name') this.value = '';"/><br />
                                <input name="lname" type="text" class="lname" id="lname" value="Last Name" onblur="if(this.value == '') this.value = 'Last Name';" onfocus="if(this.value == 'Last Name') this.value = '';"/><br />
                                <input name="email" type="text" class="email" id="email" value="Email" onblur="if(this.value == '') this.value = 'Email';" onfocus="if(this.value == 'Email') this.value = '';"/><br />
                                <input name="telephone" type="text" class="telephone" id="telephone" value="Phone" onblur="if(this.value == '') this.value = 'Phone';" onfocus="if(this.value == 'Phone') this.value = '';"/><br />
                                <input name="company" type="text" class="company" id="company" value="Company" onblur="if(this.value == '') this.value = 'Company';" onfocus="if(this.value == 'Company') this.value = '';"/><br />
                                <textarea name="message" cols="" rows="" class="message" id="message" onblur="if(this.value == '') this.value = 'Message';" onfocus="if(this.value == 'Message') this.value = '';">Message</textarea><br />
                                <div class="submitfield"><input type="image" name="submit" src="<?php echo blogInfo("template_url"); ?>/images/submit.gif" /></div>

                            
                            
                            </form>
							</div>
							<div class="clear"></div>
			         </div>
			  </div>
              
<?php get_footer(); ?>