<?php if($user['is_expired']==0): ?> 
	<?php $v_settings = !empty($u_settings['vcard_settings'])?json_decode($u_settings['vcard_settings']):'' ?>
	<div class="vcardArea">
		<div class="container">
			<div class="row justify-content-center">
				<div class="col-md-8 col-lg-6">
					<div class="vcarStyle_5 vCardWrapper nextUp vcard__shadow h_100">
							<div class="vcardTop__area">
								<div class="vcardCover coverImg" style="background: url(<?= isset($user['cover_photo']) && !empty($user['cover_photo'])?base_url($user['cover_photo']):"";?>),#<?= $user['vcard_bg_color'];?>">
									 
									<?php if($active_vcard==1): ?>
										<div class="addToContact style_4">
											<a href="<?= base_url('save-vcard/'.$slug) ;?>" class="addToContact style_5"><i class="fa fa-address-card-o" aria-hidden="true"></i> <?= !empty(lang('add_to_contact'))?lang('add_to_contact'):'Add to contact' ;?> </a>
										</div>
									<?php endif;?>
									
				       			</div>
								<div class="vcard_cover_details">
									 <img src="<?= isset($user['thumb']) && !empty($user['thumb'])?base_url($user['thumb']):base_url("assets/images/avatar.png"); ;?>" alt="">
									<div class="style_5_vcard_info">
										<h4><?=  html_escape($user['name']);?></h4>
										<p><?=  html_escape($user['designation']);?></p>
									</div>
								</div>
							</div><!-- vcardTop__area -->
							<div class="vcardBodyTop style_5">
								<ul>
									<?php if($active_vcard==1): ?>
										<?php foreach ($icon_list as $key => $row): ?>
											<li>
												<a href="<?= isset($v_settings->is_clickable) && $v_settings->is_clickable==1? redirect_url($row['type'],$row['value'],$user['dial_code']):"javascript:;" ;?>">
													<div class="vd_flex">
														<?= $row['icon'] ;?> 
														<?php if(isset($v_settings->is_value) && $v_settings->is_value==1): ?>
		        											<h4><?= $row['type']=="phone" || $row['type']=="whatsapp"?$user['dial_code']:'' ;?> <?= html_escape($row['value']); ;?></h4>
		        										<?php else: ?>
		        											<h4><?= html_escape($row['label']);?></h4>
		        										<?php endif ?>
													</div>
												</a>
											</li>
										<?php endforeach ?>
											<?php if($user['vcard_status']==3): ?>
												<li>
													<a href="<?= base_url('profile/'.$slug)?>">
														<div class="vd_flex">
															<i class="fa fa-user-circle-o"></i>
															<h4><?= lang('profile'); ?></h4>
														</div>
														<i class="fa fa-angle-right"></i>
													</a>
												</li>
											<?php endif;?>
									<?php endif;?>

								</ul>
							</div><!-- vcardTop_body -->
							<?php include 'aboutus.php' ?>
					</div><!-- vcard_style_5 -->
				</div><!-- col-md-8 -->
			</div>
		</div>
		<?php include "vcardMenu.php"; ?>
	</div>
	

  
</div><!-- vcardArea -->

<?php endif;?>