<?php 
include("homepage.php");  
include("purplecolor.php");
?> 
 <ul class="nav nav-tabs custom-tabs" role="tablist">
                  <li role="presentation" class="active"><a href="#home"  id="honr" aria-controls="home" role="tab" data-toggle="tab" style="<?php echo $backgroundcolor; ?>;width:144px;"><?php echo constant("Hon. office bearers"); ?></a></li>
                  <li role="presentation"><a href="#profile" id="honr1" aria-controls="profile" role="tab" data-toggle="tab" style="<?php echo $backgroundcolor; ?>;width:144px;"><?php echo constant("Dist. Council Administration"); ?></a></li>
                
                </ul> 
              <div class="tab-content">
                  <div role="tabpanel" class="tab-pane fade in active" id="home">
                 
                
                 
                      <ul class="catg3_snav ppost_nav wow fadeInDown">
                    
                    <div class="singleleft_inner" style="height:375px;">
                    <li>
                    <?php
                    $english=$_GET['english'];
                    $marathi=$_GET['marathi'];
                 if($english!="English" || $marathi=="मराठी") 
                 {
                 	mysqli_query($GLOBALS["___mysqli_ston"], "set NAMES utf8");
                 	$query1 = "Select * from officers where status = 'Y' and type = 1";
                    				$result2 = mysqli_query($GLOBALS["___mysqli_ston"], $query1);
                    				while($rw2 = mysqli_fetch_assoc($result2)) 
                    				{
                    							$name = $rw2['name'];
                    							$name_marathi = $rw2['name_marathi'];
                    							$des=$rw2['des'];
                    							$des_marathi=$rw2['des_marathi']; 
               
                    			
                    	?>
                    				<div class="media">
                          <div class="media-body"> 
                          <a class="catg_title" href="pages/padadhikari.php"> 
                          <strong> <?php echo $name_marathi; ?>                     
                          </strong>
                          
                          <br>&emsp;
                         <?php echo $des_marathi;?>
                         <!--  <?php echo constant("Vice president, Dist. council Palghar"); ?> -->
                       			</a>
	                       </div>
	                       </div>
                    	<?php
                    				}
                    				}
                    				else
                    				 {
                    				 	mysqli_query($GLOBALS["___mysqli_ston"], "set NAMES utf8");
                    				 		$query1 = "Select * from officers where status = 'Y' and type = 1";
                    				$result2 = mysqli_query($GLOBALS["___mysqli_ston"], $query1);
                    				while($rw2 = mysqli_fetch_assoc($result2)) 
                    				{
                    							$name = $rw2['name'];
                    							$name_marathi = $rw2['name_marathi'];
                    							$des=$rw2['des'];
                    							$des_marathi=$rw2['des_marathi']; 
                    ?>
                    <div class="media">
                          <div class="media-body"> 
                          <a class="catg_title" href="pages/padadhikari.php"> 
                          <strong> <?php echo $name ; ?>                     
                          </strong>
                          
                          <br>&emsp;
                         <?php echo $des;?>
                         <!--  <?php echo constant("Vice president, Dist. council Palghar"); ?> -->
                       			</a>
	                       </div>
	                       </div>
	                       <?php 
	                       }
	                       }
	                       ?>
                      
                    
                            
                               </li>
                               </div>
                   
                               </ul> 


                   
                  </div>
                  
                  
                  <div role="tabpanel" class="tab-pane fade" id="profile">
                  <div class="singleleft_inner" style="height:375px;">
                 <ul class="catg3_snav ppost_nav wow fadeInDown">
                       <?php
                 $english=$_GET['english'];
                 $marathi=$_GET['marathi'];
                 if($english!="English" || $marathi=="मराठी") 
                 {
                 	  $query1 = "Select * from officers where status = 'Y' and type = 2";
                    				$result2 = mysqli_query($GLOBALS["___mysqli_ston"], $query1);
                    				while($rw2 = mysqli_fetch_assoc($result2)) 
                    				{
                    							$name = $rw2['name'];
                    							$name_marathi = $rw2['name_marathi'];
                    							$des=$rw2['des'];
                    							$des_marathi=$rw2['des_marathi'];
                                            
                    				
                    			?>
                    			<li>
                        <div class="media">  
                          <div class="media-body"> 
                          		<a class="catg_title" href="pages/admin_officer.php"> 
                          				<strong><?php echo 		$name_marathi;		 ?> 
                          				</strong>
                          				<br>&emsp;
                          				<?php 
						                         echo $des_marathi;
																										 ?> 
                          			<!-- 	<?php echo constant("Add. Chief Executive Officer");  ?> -->
                          	 </a>
                          </div>
                        </div>
                     		</li>
                      	<?php
                    				}
                    				}
                    				else
                    				 {
                    				 	mysqli_query($GLOBALS["___mysqli_ston"], "set NAMES utf8");
                    				 		$query1 = "Select * from officers where status = 'Y' and type = 2";
                    				$result2 = mysqli_query($GLOBALS["___mysqli_ston"], $query1);
                    				while($rw2 = mysqli_fetch_assoc($result2)) 
                    				{
                    							$name = $rw2['name'];
                    							$name_marathi = $rw2['name_marathi'];
                    							$des=$rw2['des'];
                    							$des_marathi=$rw2['des_marathi']; 
                    ?>
                      <li>
                        <div class="media">  
                          <div class="media-body"> 
                          		<a class="catg_title" href="pages/admin_officer.php"> 
                          				<strong><?php echo 		$name;		 ?> 
                          				</strong>
                          				<br>&emsp;
                          				<?php 
						                         echo $des;
																										 ?> 
                          			<!-- 	<?php echo constant("Add. Chief Executive Officer");  ?> -->
                          	 </a>
                          </div>
                        </div>
                     		</li>
                     		<?php
                     		}
                     	}
                     	?>
            
                    </ul>
                    </div>
                  </div>
                 </div>
           </div>