HEX
Server: Apache/2.4.41 (Amazon) OpenSSL/1.0.2k-fips PHP/5.6.40
System: Linux ip-172-31-40-18 4.14.146-93.123.amzn1.x86_64 #1 SMP Tue Sep 24 00:45:23 UTC 2019 x86_64
User: apache (48)
PHP: 5.6.40
Disabled: NONE
Upload Files
File: /var/www/html/qcr24/CodeBase_quantum/dev/wp-content/themes/quantum/page.php
<?php
/**
 * The template for displaying pages
 *
 * This is the template that displays all pages by default.
 * Please note that this is the WordPress construct of pages and that
 * other "pages" on your WordPress site will use a different template.
 *
 * @package WordPress
 * @subpackage quantum
 * @since quantum 1.0
 */
get_header(); ?>

<section id="about_area">
  <div class="container">
    <div class="row">

		<?php
		// Start the loop.
		while ( have_posts() ) : the_post();
		?>
			
			<div class="col-lg-12 col-md-12">
                
                <div class="right_side_img_sec"> 
                 <?php $image_url = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID), 'full'); ?>
                 
                 <?php if($image_url){ ?>
            	 	<img src="<?php bloginfo('template_url'); ?>/includes/timthumb/timthumb.php?src=<?php echo $image_url[0]; ?>&zc=2&a=c&q=100&w=540&h=383" width="100%" alt="" class="about_img"> 
                 <?php } else { ?>
                 	<img src="<?php bloginfo('template_url');?>/assets/img/about_img.jpg" width="100%" alt="" class="about_img">
                 <?php } ?>
            </div>
            <?php the_content(); ?>
           </div>
      
     		
            
      		<div class="clearfix"></div>
            
            <?php if(is_page( 7 )){ ?>
            
      			<div class="col-md-12">
                
                    <h3>Mission</h3>
                    <?php echo get_field('mission_content'); ?>
                    
                    <h3>Vision</h3>
                    <?php echo get_field('vision_content'); ?>
                    
                    <h3 class="txt-orang">Our Philosophy</h3>
                    <?php echo get_field('our_philosophy_content'); ?>
                    
                    <h3>Management Team</h3>
                    
                    <div class="row">
                    	<?php if( have_rows('team_members') ): ?>
                        
                            <?php while( have_rows('team_members') ): the_row(); 
                        
                                // vars
                                $member_image = get_sub_field('member_image');
                                $member_name = get_sub_field('member_name');
                                $member_designation = get_sub_field('member_designation');
                        
                            ?>
                        
                                <div class="col-sm-3">
                                	<div class="member_img">
                                    	<img src="<?php bloginfo('template_url'); ?>/includes/timthumb/timthumb.php?src=<?php echo $member_image; ?>&zc=2&a=c&q=100&h=200" width="100%" alt="" class="about_img">
                                    </div>
                                    <div class="member_desc text-center">
                                    	<?php echo $member_name; ?>
                                        <span><?php echo $member_designation; ?></span>
                                    </div>
                                </div>
                        
                            <?php endwhile; ?>
                        
                        <?php endif; ?>	
                    </div>
                    
                    <h3 class="txt-orang">Infrastructure</h3>
                    <?php echo get_field('infrastructure_content'); ?>
                    
                    <h3>Training Courses in Bangalore</h3>
                    <?php echo get_field('training_courses_content'); ?>
                    
                </div>
      
      			<div class="col-md-12 mrg30T">
                    <p><a href="<?php echo get_field('training_courses_file'); ?>" class="btn btn-down" target="_blank"><img src="<?php bloginfo('template_url');?>/assets/img/download_ico.png" alt="arrow"> Download Courses</a> <b><i>Click Here For any Query, Feedback, Comment or Suggestions</i></b> <a href="<?php bloginfo('url'); ?>/contact-us" class="btn btn-org">CONTACT US</a> </p>
                </div>
      
      		<?php } ?>

		<?php
			// End of the loop.
		endwhile;
		?>
        
	</div>
  </div>
</section>

<?php get_footer(); ?>