<?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-6">
					<div class="vcardStyle_9 vCardStyle_10 vcarStyle_8">
						<div class="9_cardTop">
							<div class="CardImage img" style="background: url(<?= isset($user['cover_photo']) && !empty($user['cover_photo'])?base_url($user['cover_photo']):"";?>),#<?= $user['vcard_bg_color'];?>" >

								<div class="style_9Card_details">
									<h4><?=  html_escape($user['name']);?></h4>
									<p><?=  html_escape($user['designation']);?></p>
								</div>

									<div class="cardBottomDetails">
										<span class="plusminus bg-color"></span>
									</div>
									<?php if(isset($user['vcard_status']) && $user['vcard_status']==3): ?>
			            			<a href="<?= base_url('profile/'.$slug) ;?>" class="aboutMe"><?= !empty(lang('profile'))?lang('profile'):'Profile' ;?> <i class="fa fa-long-arrow-right"></i></a>
			            <?php endif; ?>
							</div><!-- CardImage -->

							<div class="vcardCenterBody">
									<div class="userTopImg pb-0 pt-10">
										<div class="leftUserimage">
											<img src="<?= isset($user['thumb']) && !empty($user['thumb'])?base_url($user['thumb']):base_url("assets/images/avatar.png"); ;?>" alt="">
										</div>
										<div class="leftUserdetails">
											<h4><?=  html_escape($user['name']);?></h4>
											<p><?=  html_escape($user['designation']);?></p>
										</div>
									</div>
									<div class="second_media topIcon style_1">
		             <ul class="">
		                <?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:;" ;?>">
                              <?= $row['icon'] ;?> 
                              
                            </a></li>
                        <?php endforeach ?>
		                <?php else: ?>

				                <?php if(!empty($user['whatsapp'])): ?>
				                  <li><a href="<?= redirect_url('whatsapp',$user['whatsapp'],$user['dial_code']) ;?>"><i class="fab fa-whatsapp"></i></a></li>
				                <?php endif;?>

				                <?php if(!empty($user['phone'])): ?>
				                 <li><a href="<?= redirect_url('phone',$user['phone'],$user['dial_code']) ;?>"><i class="fas fa-phone fa-flip-horizontal"></i></a></li>
				                <?php endif;?>

				                <?php if(!empty($user['email'])): ?>
				                 <li><a href="<?= redirect_url('email',$user['email']) ;?>"><i class="fas fa-envelope"></i></a></li>
				                <?php endif;?>

				                <?php if(!empty($user['google_map'])): ?>
				                 <li><a href="<?= redirect_url('google_map',$user['google_map']) ;?>"><i class="fas fa-map-marker-alt"></i> </a></li>
				                <?php endif;?>

				                <?php if(!empty($user['website'])): ?>
				                 <li><a href="<?= redirect_url('website',$user['website']) ;?>"><i class="fas fa-globe"></i></a></li>
				                <?php endif;?>
		             	 	<?php endif;?>
		               </ul>
		           </div>
		           <div class="9cardButton">
		           	<?php include 'aboutus.php' ?>
		           </div>
		         	</div><!-- vcardCenterBody -->

						</div><!-- 9_cardTop -->
						 <?php include "vcardMenu.php"; ?>
					</div><!-- vcardStyle_9 -->
				</div>
			</div><!-- row -->
		</div><!-- container -->
	</div><!-- vcardArea -->


<?php endif;?>