<?php include_once('layout/header.php'); ?>
    <!-- #nav-mobile end -->
    
            
            <!-- .sub-header -->
            <div class="sub-header">
            	
                <!-- .container -->
                <div class="container">
                    
                    <h4 class="header-title">About Us</h4>
                    <div class="breadcrumbs">
                    	<a href="index.html">Home</a> <span class="sep">/</span> <a href="#">Pages</a> <span class="sep">/</span> <span class="current">About Us</span>
                    </div>
                    
                </div>
                <!-- .container end -->
                
            </div>
            <!-- .sub-header end -->
            
        </header>
        <!-- #header end -->
        
        <!-- #content -->
        <div id="content">
        			
			
			
            <!-- .bg-grey end -->
            
            <!-- .bg-color -->
            <div class="bg-color text-white padding-top50 padding-bottom50">
                
                <!-- .container -->
                <div class="container">
                    
                    <div class="affa-call-action">
                        <h2>Are you ready to know more about us?</h2>
                        <a href="contact.php" class="btn-custom btn-border btn-white">Get in touch</a>
                    </div>
                    
                </div>
                <!-- .container end -->
                
            </div>
            <!-- .bg-color end -->
            
            <!-- .container -->
            <div class="container padding-top80 padding-bottom40">
            	
                <div class="post-heading-center">
                	<h2>Our Team Members</h2>
                </div>
                
                <!-- .row -->
				<div class="row">
				<?php
            $members = $con->getRows('leadership', array('where' => 'type="Management"'));
            if (!empty($members)) {
                foreach ($members as $member) { ?>
					
					<div class="col-sm-3"> <!-- 1 -->
						<div class="affa-team4">
							<img src="assets/uploads/leadership/<?= $member['image'] ?>" alt="Avatar">
							<div class="team-txt">
								<h4><?= $member['name'] ?></h4>
								<p><?= $member['title'] ?></p>
								<div class="team-socials">
									<a href="#"><i class="ion ion-social-facebook"></i></a>
									
									<a href="#"><i class="ion ion-social-twitter"></i></a>
									<a href="#"><i class="ion ion-social-dribbble"></i></a>
								</div>
							</div>
						</div>
					</div>
					
					
					
					
					
					
					 <?php }
            }
            ?>
					
					
				</div>
				<!-- .row end -->
				
            </div>
            <!-- .container end -->
            
        </div>
        <!-- #content end -->
        
        <!-- #bottom -->
        <?php include_once('layout/footer.php'); ?>