<?php if(get_user_pricing_by_id($id,'portfolio')==1 && is_active($id,'portfolio') ==1): ?>
	<?php if(count($portfolio) > 0): ?>
		<div class="section-banner mb-50" style="background: url(<?= get_user_layout_img($id,'portfolio')?>)">
			<div class="banner-wrapper text-center">
				<h1><?= get_features_name('portfolio');?></h1>
			</div>
		</div>
		<div class="protfolioSection container mb-50">
			<div class="row">
				 <?php include(APPPATH.get_layouts($id,'portfolio')); ?>
			</div>
		</div>
	<?php endif ?>
<?php endif ?>

<?php if(get_user_pricing_by_id($id,'teams')==1 && is_active($id,'teams') ==1): ?>
	<?php if(count($team) > 0): ?>
		<div class="teamSections section-padding-top section-padding-bottom">
			<div class="container">
				<div class="row">
					<div class="col-sm-12">
						<div class="sectionHeader">
							<h1><?= get_features_name('teams'); ?></h1>
							
						</div>
					</div>
				</div><!-- row -->
				<div class="team_section">
					<div class="row team_slider slider-nav">
						<?php foreach ($team as $key=> $row): ?>
							<div class="col-md-4">
								<?php include(APPPATH.get_layouts($id,'teams')); ?>
							</div>
					<?php endforeach ?>
					</div>
				</div>
			</div>
		</div>
	<?php endif ?>
<?php endif ?>

<?php if(get_user_pricing_by_id($id,'facts')==1 && is_active($id,'facts') ==1): ?>
	<?php if(count($facts) > 0): ?>
		<div class="fact_item_section mt-50 mb-50 pt-20">
			<div class="container">
				<?php $this->load->view('layouts/facts'); ?>
			</div>
		</div>
	<?php endif ?>
<?php endif ?>
