<?php /* Template Name: Our Notic  */ ?>

<?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="notic-page-section">
            <div class="container">
    
                <div class="row">
                    <div class="col-md-12">
                        <table class="notic-table table-bordered">
                            <thead>
                                <tr>
                                  <th scope="col"><?php echo $themesbazar['noti-title-one']?></th>
                                 <th scope="col"><?php echo $themesbazar['noti-title-two']?> </th>
                                  <th scope="col"><?php echo $themesbazar['noti-title-three']?></th>
                                  <th scope="col"><?php echo $themesbazar['noti-title-four']?></th>
                                  <th scope="col"><?php echo $themesbazar['noti-title-five']?></th>
                                </tr>
                            </thead>
                            <tbody>
							
							<?php 
								$how_post= $themesbazar['how-to-noticp'];
								$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(); ?>
                               
                                <tr>
                                  <td class="n-content" scope="row"><?php echo get_post_meta(get_the_ID(),'n-serial', true); ?></td>
                                    <td class="n-content">
                                       <?php echo get_post_meta(get_the_ID(),'date', true); ?>
                                    </td>
                                    <td class="n-content"><?php the_title() ?></td>
                                    <td class="n-content"> <a href="<?php echo get_post_meta(get_the_ID(),'down', true); ?>"> <?php echo $themesbazar['noti-title-six']?> </a></td>
                                    <td class="n-redmore"> <a href="<?php the_permalink();?>"> <i class="fa fa-eye" aria-hidden="true"></i> <?php echo $themesbazar['redmore-bt']?></a></td>
                                </tr> 
                                <?php endwhile?>
								
				
                            </tbody>
                        </table>
                    </div>


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