<div class="one_page">
  <?php if(get_user_pricing_by_id($id,'home')==1 && is_active($id,'home') ==1): ?>
   <div class="home_section" id="home">
      <?php include(APPPATH.get_layouts($id,'home')); ?>
   </div>
  <?php endif; ?>
  <?php if(isset($is_single_menu) &&  $is_single_menu==1): ?>
    <?php include(APPPATH.'views/inc/singleMenu.php'); ?>
  <?php else: ?>
    <div class="sticky_header_area">
      <?php include(APPPATH.'views/inc/UserMenu.php'); ?>
    </div>
  <?php endif;?>

  
  <?php if(get_user_pricing_by_id($id,'about')==1 || get_user_pricing_by_id($id,'review')==1): ?>

  <?php if(is_active($id,'about') ==1 || is_active($id,'review') ==1): ?>
  <section class="about_section scroll_section" id="about">
    <?php include 'about.php'; ?>
  </section>
<?php endif ?>

<?php endif ?>



<?php if(get_user_pricing_by_id($id,'services')==1): ?>

  <?php if(is_active($id,'services') ==1): ?>
  <section class="about_section scroll_section" id="services">
    <?php include 'services.php'; ?>
  </section>
<?php endif ?>

<?php endif ?>




   <?php if(get_setting()['is_ads']==1 && is_free($slug)): ?>
    <div class="add_area">
      <div class="container">
        <div class="row">
          <div class="col-md-12">
            <div class="single_add">
              <?php if(!empty(ads(2)['big'])): ?>
                <img src="<?= base_url(ads(2)['big']); ?>" alt="">
              <?php else: ?>
                <div class="null_ads">
                  <h4>Ads area</h4>
                </div>
                <?php endif ?>
            </div>
          </div>
        </div>
      </div>
    </div>
<?php endif ?>
  
  <?php if(get_user_pricing_by_id($id,'resume')==1||get_user_pricing_by_id($id,'skills')==1): ?>
    <?php if(is_active($id,'resume') ==1 || is_active($id,'skills') ==1): ?>
      <section class="resume_area scroll_section section-padding-top" id="resume">
        <?php include 'resume.php'; ?>
      </section>
     <?php endif ?>
   <?php endif ?>
  
  <?php if(get_user_pricing_by_id($id,'portfolio')==1 || get_user_pricing_by_id($id,'teams')==1): ?>
      <?php if(is_active($id,'portfolio') ==1 || is_active($id,'teams') ==1): ?>
        <section class="resume_area scroll_section " id="portfolio">
          <?php include 'portfolio.php'; ?>
        </section>
      <?php endif ?>
   <?php endif ?>
   <?php if(get_setting()['is_ads']==1 && is_free($slug)): ?>
    <div class="add_area">
      <div class="container">
        <div class="row">
          <div class="col-md-12">
            <div class="single_add">
              <?php if(!empty(ads(3)['big'])): ?>
                <img src="<?= base_url(ads(3)['big']); ?>" alt="">
              <?php else: ?>
                <div class="null_ads">
                  <h4>Ads area</h4>
                </div>
                <?php endif ?>
            </div>
          </div>
        </div>
      </div>
    </div>
<?php endif ?>
  
  <?php if(get_user_pricing_by_id($id,'blog')==1 && is_active($id,'blog') ==1): ?>
      <?php if(count($posts) > 0): ?>
      <section class="resume_area scroll_section " id="blog">
        <div class="container">
          <?php include 'blog/blog.php'; ?>
        </div>
      </section>
     <?php endif ?>
   <?php endif ?>
  
  <?php if(get_user_pricing_by_id($id,'appointment')==1 && is_active($id,'appointment') ==1): ?>
     <section class="resume_area scroll_section " id="appointment">
      <div class="container">
         <?php include 'appointment.php'; ?>
      </div>
    </section>
   <?php endif ?>


   <?php if(get_setting()['is_ads']==1 && is_free($slug)): ?>
    <div class="add_area">
      <div class="container">
        <div class="row">
          <div class="col-md-12">
            <div class="single_add">
              <?php if(!empty(ads(4)['big'])): ?>
                <img src="<?= base_url(ads(4)['big']); ?>" alt="">
              <?php else: ?>
                <div class="null_ads">
                  <h4>Ads area</h4>
                </div>
                <?php endif ?>
            </div>
          </div>
        </div>
      </div>
    </div>
<?php endif ?>

  <?php if(get_user_pricing_by_id($id,'contacts')==1 && is_active($id,'contacts') ==1): ?>
     <section class="contact_area scroll_section " id="contacts">
      <?php include 'contact.php'; ?>
    </section>
  <?php endif ?>
</div>