<div class="col-lg-4 col-md-4 col-sm-12 col-xs-12">
	<?php $about_me = single_select_by_user_slug($slug,'home'); ?>
	<div class="img-thumb wow" data-aos="fade-right" data-aos-duration="1000" data-aos-easing="ease-in-sine">
		<!--img class="img-fluid" src="<?php echo base_url(!empty($about[0]['images'])?html_escape($about[0]['images']):'assets/images/avatar.jpg'); ?>" alt=""-->
		<img class="img-fluid" src="<?php echo base_url(!empty($about[0]['images'])?html_escape($about[0]['images']):$u_info['qr_code']);?>" alt="">
		 <!--img src="<?= base_url($u_info['qr_code']) ;?>" alt=""-->
	</div>
</div>
<div class="col-lg-8 col-md-8 col-sm-12 col-xs-12">
	<?php foreach ($about as $row): ?>
		<div class="profile-wrappers" data-aos="fade-left"  data-aos-duration="1000">
			<h3><?= html_escape($row['title']);?></h3>
			<p><?= !empty($row['about_me_long'])?$row['about_me_long']:$row['about_me'];?></p>
			<div class="about-profile">
				<ul class="admin-profile">
					<?php if(isset($row['full_name']) && !empty($row['full_name'])): ?>
						<li><span class="pro-title"> <?= !empty(lang('full_name'))?lang('full_name'):"Full Name"?> </span> <span class="pro-detail"> <?= html_escape($row['full_name']);?></span></li>
					<?php endif;?>

					<?php if(isset($row['nationality']) && !empty($row['nationality'])): ?>
						<li><span class="pro-title"><?= !empty(lang('nationality'))?lang('nationality'):"Nationality"?> </span> <span class="pro-detail"><?= html_escape($row['nationality']);?></span></li>
					<?php endif;?>

					<?php if(isset($row['dob']) && !empty($row['dob'])  && $row['dob'] !='0000-00-00'): ?>
						<li><span class="pro-title"><?= !empty(lang('dob'))?lang('dob'):"Date of birth"?></span> <span class="pro-detail"><?= html_escape($row['dob']);?></span></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): ?>
						<?php if(isset($content['value']) && !empty($content['value'])): ?>
							<li><span class="pro-title"><?= html_escape($content['label']);?></span> <span class="pro-detail"><?= html_escape($content['value']);?></span> </li>
						<?php endif;?>
					<?php endforeach ?>
				</ul>
			</div>
			
			<div class="aboutBtn">
				<?php if(get_user_pricing_by_id($id,'qr_code')==1 && is_active($id,'qr_code')==1): ?>
					<a href="javascript:;" data-toggle="modal" data-target="#qrModal" class="default-button about-Btn qr-btn btn_style_<?= get_user_info_by_slug($slug)['btn_style'];?>"><i class="fa fa-qrcode"></i></a>
					&nbsp;
				<?php endif; ?>
				<?php if(!empty($about_me['document'])): ?>
					<a href="<?= base_url(html_escape($about_me['document'])); ?>" download class="default-button about-Btn btn_style_<?= get_user_info_by_slug($slug)['btn_style'];?>"><i class="fa fa-download"></i> &nbsp;<?= !empty(lang('download'))?lang('download'):"Download"?></a> 
				<?php endif ?>

			</div>
		</div>
	<?php endforeach ?>
</div>   

