<?php if(get_user_pricing_by_id($id,'about')==1 && is_active($id,'about')==1): ?>
	<?php if(!empty($about)): ?>
		<div class="row line about_section" id="about">
			<div class="col-md-12 left_line">
				<div class="heading">
					<h4 class="mi-heading"><?= get_features_name('about');?></h4>
				</div>
				<div class="layout_about_me mb-80">
					<?php foreach ($about as $row): ?>
						<ul class="about_me_list">
							<?php if(isset($row['full_name']) && !empty($row['full_name'])): ?>
								<li><b><?= !empty(lang('full_name'))?lang('full_name'):"Full Name"?></b> <?= html_escape($row['full_name']);?></li>
							<?php endif;?>
							<?php if(isset($row['nationality']) && !empty($row['nationality'])): ?>
								<li><b><?= !empty(lang('nationality'))?lang('nationality'):"Nationality"?></b> <?= html_escape($row['nationality']);?></li>
							<?php endif;?>

							<?php if(isset($row['dob']) && !empty($row['dob']) && $row['dob'] !='0000-00-00'): ?>
								<li><b><?= !empty(lang('dob'))?lang('dob'):"Date of birth"?></b> <?= html_escape($row['dob']);?></li>
							<?php endif;?>
							<!--php if(isset($row['member_since']) && !empty($row['member_since'])): ?>
								<li><b><= !empty(lang('member_since'))?lang('member_since'):"Member since"?></b>- <= cl_format($auth_info['post_time']); ?></li>
							<php endif;?-->
							
							<?php foreach ($row['about_content'] as $content): ?>
								<li><b><?= html_escape($content['label']);?></b> <?= html_escape($content['value']);?> </li>
							<?php endforeach ?>
						</ul>	
					<?php endforeach ?>
					<div class="find_me mt-50">
						<div class="flex">
							<div class="default_point sub"><i class="fa fa-globe"></i></div>
							<div class="sub_heading"><h4><?= !empty(lang('social_sites'))?lang('social_sites'):"Find Me"?></h4></div>
						</div>
						<ul class="social_icons">
							<?php $i=1;foreach ($home[0]['my_sites'] as $site): ?>
							<?php if (!empty($site['site_value'])): ?>
								<li class="wow fadeInUp" data-wow-duration="1.5s" data-wow-delay="<?= '.'.$i;?>s"><a href="<?php echo prep_url($site['site_value']); ?>" title="<?= html_escape($site['name']);?>"><?= $site['icon']; ?></a></li>
							<?php endif ?>
							<?php $i++; endforeach ?>
						</ul>
					</div>
				</div>
			</div>
		</div>
	<?php endif; ?>
<?php endif; ?>

<?php if(get_user_pricing_by_id($id,'services')==1 && is_active($id,'services')==1): ?>
	<?php if(!empty($services)): ?>
		<div class="row line " >
			<div class="col-md-9 left_line pt-50" >
				<div class="heading ">
					<h4 class="mi-heading"><?= get_features_name('services');?></h4>
				</div>
				<div class="service_slider mb-50" data-aos="fade-up" data-aos-delay="100">
					<?php foreach ($services as $key=> $service): ?>
					<div class="single_serivce_area style_1 <?= $service['service_type']!=1?"videoService":"";?>" >
						<div class="single_service <?= $service['service_type']!=1?"videoService":"";?>" >
							<div class="topIcon <?= $service['service_type']!=1?"videopart":"";?>">
								<?php if ($service['service_type']==1): ?>
									<?= $service['icon'];?>
								<?php elseif ($service['service_type']==2): ?>
									<img src="<?= base_url(html_escape($service['images'])); ?>"  alt="">
								<?php elseif ($service['service_type']==3): ?>
									<div class="videoWrapper">
										<?= $service['video_link'];?>
									</div>
								<?php endif ?>
							</div>
							<div class="serviceText">
								<div class="serviceTextdetails">
									<h5><?= html_escape($service['title']);?></h5>
									<p><?= !empty($service['overview'])?character_limiter(html_escape($service['overview']),120):character_limiter($service['details'],120) ;?></p>
								</div>
								<div class="seeMoreBtn text-center">
									<a href="javascript:;" data-target="#serviceModal_<?= $service['id'] ;?>" data-toggle="modal"><i class="fa fa-eye"></i> <?= lang('see_more'); ?></a>
									<a href="<?= base_url('single-service/'.$slug.'/'.md5($service['id'])); ?>" ><i class="fa fa-shopping-cart"></i> <?= !empty(lang('order_now'))?lang('order_now'):"order now"; ?></a>
								</div>
							</div>
						</div>
					</div>

					<?php endforeach ?>
				</div>
			</div>
		</div>
	<?php endif; ?>
<?php endif; ?>

<?php if(get_user_pricing_by_id($id,'review')==1 && is_active($id,'review') ==1): ?>
<?php if(!empty($reviews)): ?>
	<div class="row line" >
		<div class="col-md-9 left_line pt-80">
			<div class="heading ">
				<h4 class="mi-heading"><?= get_features_name('review');?></h4>
			</div>
			<div class="service_slider mb-50" data-aos="fade-up" data-aos-delay="100">
				<?php foreach ($reviews as $key=> $review): ?>
					<div class="single_testimonial style_2">
						<div class="testimonialUser">
							<div class="single_testimonialUser">
								<?php if (!empty($review['images'])): ?>
									<div class="testimonialImage">
										<img src="<?= base_url($review['images']);?>" alt="">
									</div>
								<?php endif ?>
								<div class="testimonitalUser_details">
									<h5><?= html_escape($review['name']);?></h5>
									<p><?= html_escape($review['designation']);?></p>
								</div>
							</div>
						</div>
						<div class="testimonial_text style_2">
							<?= character_limiter($review['comments'],150);?>
						</div>
					</div>
				<?php endforeach ?>
			</div>
		</div>	
		
	</div>
	<?php endif; ?>
<?php endif; ?>