<?php
/**
 * Template Name: Product
 *
 */
 ?>
<?php get_header(); ?>
 
   <div id="full-content" class="our-team-page">
		<section style="background: url('<?php echo home_url(); ?>/wp-content/uploads/2018/11/our-team-banner-bg.jpg')no-repeat center/cover;"  class="media-banner-bg">      					
	      <div class="container">
	          <h1 class="page-title-cus">Portfolio Management Services</h1>
	      </div>
	    </section>

	    <div class="container-fluid pl-0 pr-0">
        <div class="page-full-tabs">
            <div class="container">
                <nav class="page-tabs">
                <ul>
                    
                    <?php if(!empty(get_field('section_1_tab_name'))) { ?>
                    <li class="active"><a href="#tab-1"><?php the_field('section_1_tab_name'); ?></a></li>
                    <?php } if(!empty(get_field('section_2_tab_name'))) { ?>
                    <li><a href="#tab-2"><?php the_field('section_2_tab_name'); ?></a></li>
                    <?php } if(!empty(get_field('section_3_tab_name'))) { ?>
                    <li><a href="#tab-3"><?php the_field('section_3_tab_name'); ?></a></li>
                     <?php } if(!empty(get_field('section_4_tab_name'))) { ?>
                    <li><a href="#tab-4"><?php the_field('section_4_tab_name'); ?></a></li>
                     <?php } if(!empty(get_field('section_5_tab_name'))) { ?>
                    <li><a href="#tab-5"><?php the_field('section_5_tab_name'); ?></a></li>
                     <?php } ?>
                </ul>
                </nav>
            </div>
        </div>
        <section >
            <div class="container"> 
                <div class="row">
                    <div class="col-md-8 col-12">
                        <div class="tab-content product-content">
                         <?php if(!empty(get_field('section_1'))) { ?>
                        <div id="tab-1"><?php the_field('section_1'); ?></div>
                        
                        <?php } if(!empty(get_field('section_2'))) { ?>
                        <div id="tab-2"><?php the_field('section_2'); ?></div>
                        
                        <?php } if(!empty(get_field('section_3'))) { ?>
                        <div id="tab-3"><?php the_field('section_3'); ?></div>
                        
                        <?php } if(!empty(get_field('section_4'))) { ?>
                        <div id="tab-4"><?php the_field('section_4'); ?></div>
                        
                        <?php } if(!empty(get_field('section_5'))) { ?>
                       <div id="tab-5"><?php the_field('section_5'); ?></div>
                        <?php } ?>


                 
                          
                        </div>
                    </div>
                    <div class="col-md-4 col-12">
						
						<?php if(!empty(get_field('product_presentation'))) { ?>
                        <div class="sidebar-box other-products">
                            <h5>Product Presentation</h5>
                            <?php the_field('product_presentation'); ?>
                        </div>
                        <?php } ?>
                        <?php if(!empty(get_field('other_products'))) { ?>
                        <div class="sidebar-box other-products">
                            <h5>Disclosure Documents</h5>
                            <?php the_field('other_products'); ?>
                        </div>
                        <?php } ?>
                       <!-- <div class="sidebar-box">
                            <h5>Get in Touch</h5>
                            
                            <div class="sidebar-form"><?php //echo do_shortcode('[contact-form-7 id="1835" title="Get in Touch"]'); ?></div>
                        </div> -->
                         <?php if(!empty(get_field('books'))) { ?>
                        <div class="sidebar-box books-sale">
                            <?php the_field('books'); ?>
                            
                        </div>
                        <?php } ?>
                    </div>
                </div>
				<div class="page-content text-justify fontstyle">
                    <?php //the_content(); ?>
                </div>
          </div>
      </section>
	    </div>
	</div>
 
<?php get_footer(); ?>