<?php /* Template Name: Contact Us  */ ?>

<?php  
get_header();
global $themesbazar;

?>
     
               
                
             <!--==========top scroll start==============-->
   
                
        <div class="top-scroll-section">
            <div class="container">
                <div class="row">
                    <div class="top_scroll">
                        <div class="col-md-2 col-sm-3">
                            <div class="top_scrool_1">
							<?php echo $themesbazar['top_scroll_title'] ?>
                            </div>
                        </div>
                        <div class="col-md-10 col-sm-9">
							
                                <div class="top_scrool_2">
								
							
															
								   <marquee direction = "left" scrollamount="4px" onmouseover="this.stop()" onmouseout="this.start()">
							<?php 
								$how_post= $themesbazar['how-to-notic'];
								$total_how_post=$how_post-0;
								$themes_bazar = new WP_Query(array(
									'post_type' => 'notic',
									'posts_per_page' => $total_how_post,
									'offset'     =>0,
								));
								while($themes_bazar->have_posts()) : $themes_bazar->the_post(); ?>								   
								   <a href="<?php the_permalink()?>"> <?php the_title() ?> <i class="fa fa-square" aria-hidden="true"></i> </a>
								 <?php endwhile?>

								   </marquee>
									
							   
								 
								</div>
							
                        </div>
                    </div>
                </div>
            </div>
        </div>
                
				
              <!--==========top scroll End==============-->
               
               
  
         <!--================Contact-page-section==========================-->
    
        
        
        <div class="page-contact-from">
            <div class="container">
                <div class="page-from-wpper">
                  <div class="page-from-title">
                     <?php echo $themesbazar['contact-t'] ?>
                  </div>
                   <form method="POST" action="http://formspree.io/<?php echo $themesbazar['incomein'] ?>">
                    <div class="row">
                        <div class="col-md-4 col-sm-4">
                            <input name="Name" type="text"  placeholder="<?php echo $themesbazar['face-t-one'] ?>" required> 
                        </div>
                        
                        <div class="col-md-4 col-sm-4">
                             <input name="phone" type="number"  placeholder="<?php echo $themesbazar['face-t-two'] ?>" required>
                        </div>
                        
                        <div class="col-md-4 col-sm-4">
                             <input name="Subject" type="text"  placeholder="<?php echo $themesbazar['face-t-three'] ?>">
                        </div>
                    </div>
                    
                    <div class="row">
                        <div class="col-md-12">
                            <textarea name="messages" id="messages" cols="20" rows="5" placeholder="<?php echo $themesbazar['face-t-four'] ?>"></textarea>
                        </div>
                    </div>
                    <div class="contact-from-btn">
                        <input type="submit" value="<?php echo $themesbazar['sent-bt'] ?>">
                    </div>
                       
                </form>
                    
                </div>
            </div>
            
        </div>
        
    
    
    <div class="maps-section">
        <div class="container-fluid">
           <div class="row">
               <div class="col-md-12">
                <iframe src="<?php echo $themesbazar['location-map']?>" width="600" height="<?php echo $themesbazar['map-height']?>" frameborder="0" style="border:0" allowfullscreen></iframe>
                </div>
           </div>
            
        </div>
    </div>
      
    
    

    
       <?php get_footer();
			get_template_part('include/root');
			wp_footer();
			?>
			
    </body>
</html>
