<?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==============-->
               
  
    <!--===================officers page===================-->
    
        <div class="officer-page-section">
            <div class="container">
                <div class="officer-page-wrpp">
                    <div class="row">
                       <div class="officer-page-title">
							<?php echo $themesbazar['archive-title']?>
                       </div>
                                    
                    <div class="col-md-12">
                        <table class="table table-bordered">
                            <thead>
                                <tr>
                                  <th scope="col"><?php echo $themesbazar['arc-title-one']?></th>
                                 <th scope="col"><?php echo $themesbazar['arc-title-two']?> </th>
                                  <th scope="col"><?php echo $themesbazar['arc-title-three']?></th>
                                  <th scope="col"><?php echo $themesbazar['arc-title-four']?></th>
                                  <th scope="col"><?php echo $themesbazar['arc-title-five']?></th>
                                  <th scope="col"><?php echo $themesbazar['arc-title-six']?></th>
                                </tr>
                            </thead>
                            <tbody>
							
							<?php if(have_posts()) : ?>
                     <?php
                     while(have_posts()) : the_post();?>
							
                                <tr>
                                  <th class="wrpper" scope="row"><?php echo get_post_meta(get_the_ID(),'serial', true); ?></th>
                                    <td >
                                        <div class="image">
                                           <img src="<?php echo get_post_meta(get_the_ID(),'pic', true); ?>" alt="">
                                        </div>
                                    </td>
                                    <td class="wrpper"><?php the_title();?></td>
                                    <td class="wrpper"><?php echo get_post_meta(get_the_ID(),'deg', true); ?></td>
                                    <td class="wrpper"><?php echo get_post_meta(get_the_ID(),'phone', true); ?></td>
                                    <td class="wrpper"> <a href="<?php the_permalink();?>"><?php echo $themesbazar['redmore-bt']?></a></td>
                                </tr>
                               
					<?php endwhile; ?>
                    <?php endif; ?> 
                                
                               

                                
                               
                                
                                      
                                
                               

                            </tbody>
                        </table>
						<div class="row">
							<div class="col-md-12 col-sm-12">
								<?php wp_bootstrap_pagination(); ?>
                    </div>
                     </div>
                    
                    </div>
                </div>
            </div>
        </div>
        
    
    
    
    
    
    
    
    
    
    
      <?php get_footer();
			get_template_part('include/root');
			wp_footer();
			?>
    </body>
</html>
