MSV FM

dot.antimicrobial@66.96.161.157: ~ $
Path : /hermes/sb_web/b2920/hcs-logistics.com/xpertry.com/
File Upload :
Current < : /hermes/sb_web/b2920/hcs-logistics.com/xpertry.com/candidate.php

<?php
session_start();


if(!isset($_SESSION['email']))
{
	header('location:login.php');
	die();
}

if(!isset($_GET['n'])){
	header('Location:index.php');
}
include('database.php');
$msg			=	"";
$id				=	$_GET['n'];
$email          =   $_SESSION['email'];
$select         =   "SELECT * FROM recruiter WHERE email = '$email'";
$query_sel      =   $connect->query($select);
$check			=	$query_sel->num_rows;

if($check == 0){
	echo"<script>
	setTimeout(function() {
		swal({
			title: 'Alert',
			text: 'You do not have a subscription plan',
			type: 'error',
			showCancelButton: false,
		}, function() {
			window.location = 'index.php';
		}, 1000);
	});
</script>";
}else{
	$select_re			=   "SELECT * FROM recruiter WHERE email = '$email'";
	$query_sel_re		=   $connect->query($select_re);
	while($row			=   $query_sel_re->fetch_assoc()){
		$sub_no			=   $row['sub_no'];
		$sub_total		=   $row['sub_total'];
	}
	if($sub_no			==  $sub_total){
		$delete			=   "DELETE FROM recruiter WHERE email = '$email'";
		$query_delete	=   $connect->query($delete);
	}else{
		$auto_add		=   $sub_total + 1;
		$update			=   "UPDATE recruiter SET sub_total = '$auto_add' WHERE email = '$email'";
		$update_query	=   $connect->query($update);
	}
}

$select_id				=	"SELECT * FROM candidate WHERE id = '$id'";
$check_id				=   $connect->query($select_id);
while($data				=   $check_id->fetch_assoc()){
	$firstname			=	$data['firstname'];
	$lastname			=	$data['lastname'];
	$email				=	$data['email'];
	$phone				=	$data['phone'];
	$dob				=	$data['dob'];
	$country			=	$data['country'];
	$city				=	$data['city'];
	$address			=	$data['address'];
	$skill				=	$data['skill'];
	$cert				=	$data['cert'];
	$fname				=	$data['fname'];
	$lname				=	$data['lname'];
	$fone				=	$data['fone'];
	$year				=	$data['year'];
	$country1			=	$data['country1'];
	$city1				=	$data['city1'];
	$address1			=	$data['address1'];
	$fname2				=	$data['fname2'];
	$lname2				=	$data['lname2'];
	$fone2				=	$data['fone2'];
	$year2				=	$data['year2'];
	$country2			=	$data['country2'];
	$city2				=	$data['city2'];
	$address2			=	$data['address2'];
	$refer				=	$data['refer'];
	if(isset($data['others'])){
		$others			=	$data['others'];
	}
	$professional		=	$data['professional'];
	if(isset($data['other_professional'])){
		$other_prof		=	$data['other_professional'];
	}
	$resume				=	$data['resume'];
	$identity			=	$data['identity'];
	$feature			=	$data['feature'];

	//year of birth
	$dob	=	$data['dob'];
	$diff	=	(date('Y') - date('Y',strtotime($dob)));

}
if(isset($_POST['submit']))	{
	$contact_name		=	$_POST['contact_name'];
	$contact_email		=	$_POST['contact_email'];
	$contact_message	=	$_POST['contact_message'];

	//send email
	$to         = $email; // this is your Email address
	$from       = $contact_email; // this is the sender's Email address
	$subject    = "XPERTRY";
	$message    = $contact_message;
	$headers    = "From:" . $from;
	mail($to,$subject,$message,$headers);

	$msg = "<div class='alert alert-success' role='alert' style = 'width:100%;font-weight:bold;'>Message Sent</div>";
}

$select_val		=	"SELECT * FROM candidate";
$check_val		=	$connect->query($select_val);
$total			=	$check_val->num_rows;

include 'header.php';
?>

		<!--Sliders Section-->
		<div>
			<div class="cover-image sptb-1 bg-background" data-image-src="assets/images/banners/banner1.jpg">
				<div class="header-text1 mb-0">
					<div class="container">
						<div class="row">
							<div class="col-xl-8 col-lg-12 col-md-12 d-block mx-auto">
								<div class="text-center text-white ">
									<h1 ><span class="font-weight-bold"><?php echo $total; ?></span> Credentials Available</h1>
								</div>
								<form action = "classifieds_list.php" method = "GET">
									<div class=" search-background">
										<div class="form row no-gutters">
											<div class="form-group col-xl-10 col-lg-10 select2-lg  col-md-12 mb-0">
												<select class="form-control select2-show-search border-bottom-0 w-100" data-placeholder="Select" name = "job">
													<optgroup label="">
														<option>Find professionals and  Specialists</option>
														<option value = "Accountant">Accountant</option>
														<option value = "Account Management">Account Management</option>
														<option value = "Advertising and Communications">Advertising and Communications</option>
														<option value = "Aerospace, Aviation and Space">Aerospace, Aviation and Space</option>
														<option value = "Aerospace Engineer">Aerospace Engineer</option>
														<option value = "Agriculture">Agriculture</option>
														<option value = "Animal Science">Animal Science</option>
														<option value = "Anthropology">Anthropology</option>                                    
														<option value = "Archeaology">Archeaology</option>
														<option value = "Architecture">Architecture</option>
														<option value = "Art, Arts & Crafts and Painting">Art, Arts & Crafts and Painting</option>
														<option value = "Astronomy and Space">Astronomy and Space</option>
														<option value = "Automation and Robotic">Automation and Robotic</option>
														<option value = "Automotive, Cars and Trucks">Automotive, Cars and Trucks</option>
														<option value = "Bank Executive">Bank Executive</option>
														<option value = "Banking">Banking</option>
														<option value = "Bartender">Bartender</option>
														<option value = "Biochemistry">Biochemistry</option>
														<option value = "Biotechnology">Biotechnology</option>
														<option value = "Botany">Botany</option>
														<option value = "Business Administration">Business Administration</option>
														<option value = "Business Development">Business Development</option>
														<option value = "Business Research">Business Research</option>
														<option value = "Call Centre">Call Centre</option>
														<option value = "Chef and Sommelier">Chef and Sommelier</option>                                    
														<option value = "Chemistry">Chemistry</option>
														<option value = "Cinema, Film, TV and Drama">Cinema, Film, TV and Drama</option>
														<option value = "Civil Engineering and Construction">Civil Engineering and Construction</option>
														<option value = "Clinical Psychology">Clinical Psychology</option>
														<option value = "Computer Handware Engineer">Computer Handware Engineer</option>
														<option value = "Cooking and Culinary">Cooking and Culinary</option>
														<option value = "Cosmetic and Beauty">Cosmetic and Beauty</option>
														<option value = "Courier Services">Courier Services</option>
														<option value = "Custom Clearing and Forwarding Agent">Custom Clearing and Forwarding Agent</option>
														<option value = "Customer Service">Customer Service</option>
														<option value = "Customer Service Representative">Customer Service Representative</option>
														<option value = "Dancer and Choreographer">Dancer and Choreographer</option>
														<option value = "Detective and Criminal Investigator">Detective and Criminal Investigator</option>
														<option value = "Director and Producer">Director and Producer</option>
														<option value = "Drivers and Chauffeurs">Drivers and Chauffeurs</option>
														<option value = "Economics">Economics</option>
														<option value = "Education and Pedagogy">Education and Pedagogy</option>
														<option value = "Electrical and Electronics Engineer">Electrical and Electronics Engineer</option>
														<option value = "Electronics">Electronics</option>
														<option value = "Engineering">Engineering</option>
														<option value = "Engineering Technician">Engineering Technician</option>                                    
														<option value = "Energy and Power Generation">Energy and Power Generation</option>
														<option value = "Environment and Ecology">Environment and Ecology</option>
														<option value = "Esoteric Practices">Esoteric Practices</option>
														<option value = "Executive Management">Executive Management</option>
														<option value = "Fashion Designers">Fashion Designers</option>
														<option value = "Financial Management">Financial Management</option>
														<option value = "Fisheries">Fisheries</option>
														<option value = "Forestry, Wood and Timber">Forestry, Wood and Timber</option>
														<option value = "Furniture and Household Appliances">Furniture and Household Appliances</option>
														<option value = "Game, Video Games, Gaming and Casino">Game, Video Games, Gaming and Casino</option>
														<option value = "Genealogy">Genealogy</option>
														<option value = "General">General</option>
														<option value = "Genetics">Genetics</option>                                    
														<option value = "Geography">Geography</option>
														<option value = "Geology">Geology</option>
														<option value = "Government and Politics">Government and Politics</option>
														<option value = "Graphic, Art and Design">Graphic, Art and Design</option>
														<option value = "Haulage and Warehousing">Haulage and Warehousing</option>
														<option value = "Healthcare Management">Healthcare Management</option>
														<option value = "History">History</option>
														<option value = "Humanities">Humanities</option>
														<option value = "Human Resources">Human Resources</option>
														<option value = "Hydraulic and Oil Industry">Hydraulic and Oil Industry</option>
														<option value = "Industrial Engineer">Industrial Engineer</option>
														<option value = "Informational Technologies">Informational Technologies</option>
														<option value = "Insurance">Insurance</option>
														<option value = "Insurance Agent and Broker">Insurance Agent and Broker</option>
														<option value = "International Relations and Diplomacy">International Relations and Diplomacy</option>
														<option value = "Internet and Ecommerce">Internet and Ecommerce</option>
														<option value = "Investment and Security">Investment and Security</option>
														<option value = "Journalism">Journalism</option>
														<option value = "Law and Attorney">Law and Attorney</option>
														<option value = "Legal Assistant">Legal Assistant</option>
														<option value = "Linguistics">Linguistics</option>
														<option value = "Law and Attorney">Livestock and Animal Husbandry</option>
														<option value = "Management">Management</option>
														<option value = "Manifacturing and Production">Manifacturing and Production</option>
														<option value = "Marketing Research">Marketing Research</option>
														<option value = "Marketing and Promotion">Marketing and Promotion</option>
														<option value = "Materials Engineering">Materials Engineering</option>
														<option value = "Mathemeatics and Statistics">Mathemeatics and Statistics</option>
														<option value = "Media and Multimedia">Media and Multimedia</option>
														<option value = "Mechanical Engineer">Mechanical Engineer</option>
														<option value = "Medical (General)">Medical (General)</option>
														<option value = "Medical (Cardiology)">Medical (Cardiology)</option>
														<option value = "Medical (Dentistry)">Medical (Dentistry)</option>
														<option value = "Medical (Obstetrician and Gynecologist)">Medical (Obstetrician and Gynecologist)</option>
														<option value = "Medical (Health Care)">Medical (Health Care)</option>
														<option value = "Medical (Instruments)">Medical (Instruments)</option>
														<option value = "Medical (Pediatric)">Medical (Pediatric)</option>
														<option value = "Matallurgy and Casting">Matallurgy and Casting</option>
														<option value = "Meteorology">Meteorology</option>
														<option value = "Minning and Minerals">Minning and Minerals</option>
														<option value = "Music">Music</option>
														<option value = "Microbiology">Microbiology</option>
														<option value = "Nuclear Energy">Nuclear Energy</option>
														<option value = "Nursing and Midwives">Nursing and Midwives</option>
														<option value = "Office Assistant">Office Assistant</option>
														<option value = "Operations Management">Operations Management</option>
														<option value = "Organisation Development">Organisation Development</option>
														<option value = "Paralegal">Paralegal</option>
														<option value = "Pharmaceuticals">Pharmaceuticals</option>
														<option value = "Photography and Imaging">Photography and Imaging</option>
														<option value = "Physics">Physics</option>
														<option value = "Poetry and Literature">Poetry and Literature</option>
														<option value = "Printing and Publishing">Printing and Publishing</option>
														<option value = "Product Design and Engineering">Product Design and Engineering</option>
														<option value = "Product Management">Product Management</option>
														<option value = "Programme Management">Programme Management</option>
														<option value = "Programmer">Programmer</option>
														<option value = "Project Management">Project Management</option>
														<option value = "Psychology">Psychology</option>
														<option value = "Quality Assurance and Testing">Quality Assurance and Testing</option>
														<option value = "Real Estate and Property Management">Real Estate and Property Management</option>
														<option value = "Receptionist">Receptionist</option>
														<option value = "Recruiting and Employment">Recruiting and Employment</option>
														<option value = "Research">Research</option>
														<option value = "Restaurant and Food Service">Restaurant and Food Service</option>
														<option value = "Restaurant Management">Restaurant Management</option>
														<option value = "Retail">Retail</option>
														<option value = "Safety Professional">Safety Professional</option>
														<option value = "Service Delivery">Service Delivery</option>
														<option value = "School Administration">School Administration</option>
														<option value = "Security Guard and Surveillance Officer">Security Guard and Surveillance Officer</option>
														<option value = "Security Officer">Security Officer</option>
														<option value = "Securities and Financial Services">Securities and Financial Services</option>
														<option value = "Senior Executive">Senior Executive</option>
														<option value = "Shipping and Shipping Agent">Shipping and Shipping Agent</option>
														<option value = "Ships, Sailingand Maritime">Ships, Sailingand Maritime</option>
														<option value = "Software Engineering">Software Engineering</option>
														<option value = "Software, SW Localization and Testing">Software, SW Localization and Testing</option>
														<option value = "Small Business and Entrepreneuship">Small Business and Entrepreneuship</option>
														<option value = "Social Science, Sociology and Ethics">Social Science, Sociology and Ethics</option>
														<option value = "Sports, Fitness and Recreation">Sports, Fitness and Recreation</option>
														<option value = "Store Management">Store Management</option>
														<option value = "Strategy and Planning">Strategy and Planning</option>
														<option value = "Surveying and Evaluation">Surveying and Evaluation</option>
														<option value = "Teacher">Teacher</option>
														<option value = "Technicians">Technicians</option>
														<option value = "Telecommunication">Telecommunication</option>
														<option value = "Television and Radio">Television and Radio</option>
														<option value = "Tourism and Travel">Tourism and Travel</option>
														<option value = "Transportation">Transportation</option>
														<option value = "Waiter and Server">Waiter and Server</option>
														<option value = "Zoology">Zoology</option>
														<option value = "Others">Others</option>
													</optgroup>
												</select>
											</div>
											<div class="col-xl-2 col-lg-2 col-md-12 mb-0">
												<button type = "submit" class="btn btn-lg btn-block btn-primary br-bl-0 br-tl-0">Search</button>
											</div>
										</div>
									</div>
								</form>
							</div>
						</div>
					</div>
				</div><!-- /header-text -->
			</div>
		</div>
		<!--/Sliders Section-->

		<!--BreadCrumb-->
		<div class="bg-white border-bottom">
			<div class="container">
				<div class="page-header">
					<h4 class="page-title">Candidate</h4>
					<ol class="breadcrumb">
						<li class="breadcrumb-item"><a href="index.php">Home</a></li>
						<li class="breadcrumb-item active" aria-current="page">Candidate</li>
					</ol>
				</div>
			</div>
		</div>
		<!--/BreadCrumb-->

		<!--Add listing-->
		<section class="sptb">
			<div class="container">
				<div class="row">
					<div class="col-xl-8 col-lg-8 col-md-12">
						<?php echo $msg; ?>
						<!--Classified Description-->
						<div class="card overflow-hidden">
							<div class="card-body">
								<div class="item-det mb-4">
									<a href="#" class="text-dark"><h3 ><?php echo $firstname. " " .$lastname;?></h3></a>
								</div>
								<div class="product-slider">
									<div id="carousel" class="carousel slide" data-ride="carousel">
										<div class="arrow-ribbon2 bg-primary"><?php echo $professional; ?></div>
										<div class="carousel-inner">
											<div class="carousel-item active"> <img src="assets/images/profile/<?php echo $feature; ?>" alt="img"> </div>
											
										</div>
									</div>
									
								</div>
							</div>
						</div>
						<div class="card">
							<div class="card-body">
								<h4 class="mb-4">My Profile </h4>
								<div class="row">
									<div class="col-xl-12 col-md-12">
										<div class="table-responsive">
											<table class="table row table-borderless w-100 m-0 text-nowrap ">
												<tbody class="col-lg-12 col-xl-6 p-0">
													<tr>
														<td><span class="font-weight-bold">First Name :</span> <?php echo $firstname; ?></td>
													</tr>
													<tr>
														<td><span class="font-weight-bold">Last Name :</span> <?php echo $lastname; ?></td>
													</tr>
													<tr>
														<td><span class="font-weight-bold">Email :</span> <?php echo $email; ?></td>
													</tr>
													<tr>
														<td><span class="font-weight-bold">Phone :</span> <?php echo $phone; ?></td>
													</tr>
													
												</tbody>
												<tbody class="col-lg-12 col-xl-6 p-0">
													<tr>
														<td><span class="font-weight-bold">DOB :</span> <?php echo $dob. " (".$diff. " years old)"; ?></td>
													</tr>
													<tr>
														<td><span class="font-weight-bold">Country :</span> <?php echo $country; ?></td>
													</tr>
													<tr>
														<td><span class="font-weight-bold">City :</span> <?php echo $city; ?></td>
													</tr>
													<tr>
														<td><span class="font-weight-bold">Address :</span> <?php echo $address; ?> </td>
													</tr>
												</tbody>
											</table>
										</div>
									</div>
								</div>
								<br>

								<div class="mb-4">

									<h3 class="card-title">Skill:</h3>
										<p><?php echo $skill; ?></p><br>
									
									<h3 class="card-title">Certification:</h3>
								
										<p><?php echo $cert; ?></p><br>

									<h3 class="card-title">How were you referred to us?</h3>
								
										<p><?php echo $refer; ?></p>
										<p><?php if(!empty($others)){echo "<h4>Others: </h4>".$others;} ?></p>

									<h3 class="card-title">Specialist & Professional Categories:</h3>
								
										<p><?php echo $professional; ?></p>
										<p><?php if(!empty($other_prof)){echo "<h4>Others: </h4>".$other_prof;} ?></p>
								</div>
							</div>


							<div class="pt-4 pb-4 pl-5 pr-5 border-top border-top">
								<div class="list-id">
									<div class="row">
										<h4 class="mb-4">Reference 1 </h4>
										<div class="table-responsive">
											<table class="table row table-borderless w-100 m-0 text-nowrap ">
												<tbody class="col-lg-12 col-xl-6 p-0">
													<tr>
														<td><span class="font-weight-bold">First Name :</span> <?php echo $fname; ?></td>
													</tr>
													<tr>
														<td><span class="font-weight-bold">Last Name :</span> <?php echo $lname; ?></td>
													</tr>
													<tr>
														<td><span class="font-weight-bold">Phone :</span> <?php echo $fone; ?></td>
													</tr>
													<tr>
														<td><span class="font-weight-bold">Year :</span> <?php echo $year; ?></td>
													</tr>
												</tbody>
												<tbody class="col-lg-12 col-xl-6 p-0">
													<tr>
														<td><span class="font-weight-bold">Country :</span> <?php echo $country1; ?></td>
													</tr>
													<tr>
														<td><span class="font-weight-bold">City :</span> <?php echo $city1; ?></td>
													</tr>
													<tr>
														<td><span class="font-weight-bold">Address :</span> <?php echo $address1; ?> </td>
													</tr>
												</tbody>
											</table>
										</div>
									</div>
								</div>
							</div>

							<div class="pt-4 pb-4 pl-5 pr-5 border-top border-top">
								<div class="list-id">
									<div class="row">
										<h4 class="mb-4">Reference 2 </h4>
										<div class="table-responsive">
											<table class="table row table-borderless w-100 m-0 text-nowrap ">
												<tbody class="col-lg-12 col-xl-6 p-0">
													<tr>
														<td><span class="font-weight-bold">First Name :</span> <?php echo $fname2; ?></td>
													</tr>
													<tr>
														<td><span class="font-weight-bold">Last Name :</span> <?php echo $lname2; ?></td>
													</tr>
													<tr>
														<td><span class="font-weight-bold">Phone :</span> <?php echo $fone2; ?></td>
													</tr>
													<tr>
														<td><span class="font-weight-bold">Year :</span> <?php echo $year2; ?></td>
													</tr>
												</tbody>
												<tbody class="col-lg-12 col-xl-6 p-0">
													<tr>
														<td><span class="font-weight-bold">Country :</span> <?php echo $country2; ?></td>
													</tr>
													<tr>
														<td><span class="font-weight-bold">City :</span> <?php echo $city2; ?></td>
													</tr>
													<tr>
														<td><span class="font-weight-bold">Address :</span> <?php echo $address2; ?> </td>
													</tr>
												</tbody>
											</table>
										</div>
									</div>
								</div>
							</div>


							<div class="pt-4 pb-4 pl-5 pr-5 border-top border-top">
								<div class="list-id">
									<div class="row">
										<div class="col">
											<h4><b>Governtment Identity</b></h4> <img src="assets/images/profile/<?php echo $identity; ?>" alt="img"> 
										</div>
										<div class="col">
											<h4><b>Curriculum Vitae</b> </h4><a href = "assets/images/profile/<?php echo $resume; ?>"class="mb-0 font-weight-bold"><img src="assets/images/profile/doc_real.png" alt="img" > </a>
										</div>
									</div>
								</div>
							</div>
						</div>
						<!--/Classified Description-->

						<h3 class="mb-5 mt-4">Related Credentials</h3>

						<!--Related Posts-->
						<div id="myCarousel5" class="owl-carousel owl-carousel-icons3">
							<!-- Wrapper for carousel items -->
							<?php
								$select_all			=	"SELECT * FROM candidate WHERE professional = '$professional'";
								$query_all			=	$connect->query($select_all); 
								while($value		=	$query_all->fetch_assoc()){

								$dob				=	$value['dob'];
								$difference			=	(date('Y') - date('Y',strtotime($dob)));


								
							?>
								<div class="item">
									<div class="card">
										<div class="item-card7-imgs">
											<a href="candidate.php?n=<?php echo $value['id']; ?>"></a>
											<img src="assets/images/profile/<?php echo $value['feature']; ?>" style = "height:300px " alt="img" class="cover-image">
										</div>
										<div class="item-card7-overlaytext">
											<a href="candidate.php?n=<?php echo $value['id']; ?>" class="text-white"> <?php echo $value['professional']; ?></a>
										</div>
										<div class="card-body">
											<div class="item-card7-desc">
												<a href="candidate.php?n=<?php echo $value['id']; ?>" class="text-dark"><h4 class="font-weight-semibold"><?php echo $value['professional']; ?></h4></a>
											</div>
											<div class="item-card7-text">
												<ul class="icon-card mb-0">
													<li ><a href="candidate.php?n=<?php echo $value['id']; ?>" class="icons"><i class="icon icon-location-pin text-muted mr-1"></i>  <?php echo $value['address']; ?></a></li>
													<li><a href="candidate.php?n=<?php echo $value['id']; ?>" class="icons"><i class="icon icon-event text-muted mr-1"></i> <?php echo $difference. " years old"; ?></a></li>
													<li class="mb-0"><a href="candidate.php?n=<?php echo $value['id']; ?>" class="icons"><i class="icon icon-user text-muted mr-1"></i> <?php echo $value['firstname']. " ". $value['lastname']; ?></a></li>
													<li class="mb-0"><a href="candidate.php?n=<?php echo $value['id']; ?>" class="icons"><i class="icon icon-map text-muted mr-1"></i> <?php echo $value['country']; ?></a></li>
												</ul>
												<p class="mb-0"><?php echo $value['skill']; ?></p>
											</div>
										</div>
									</div>
								</div>
							<?php } ?>
						</div>
						<!--/Related Posts-->

						<!--Comments-->
						
						<!--/Comments-->
						
					</div>

					<!--Right Side Content-->
					<div class="col-xl-4 col-lg-4 col-md-12">
						<div class="card">
							<div class="card-header">
								<h3 class="card-title">Posted By</h3>
							</div>
							<?php
								$sel_profile	=	"SELECT * FROM users WHERE email = '$email'";
								$query_profile	=	$connect->query($sel_profile);
								while($profile	=	$query_profile->fetch_assoc()){
									$picture	=	$profile['image'];
								}

							?>
							<div class="card-body  item-user">
								<div class="profile-pic mb-0">
									<img src="assets/images/profile/<?php echo $picture; ?>" class="brround avatar-xxl" alt="user">
									<div >
										<a href="userprofile.html" class="text-dark"><h4 class="mt-3 mb-1 font-weight-semibold"><?php echo $firstname. " " .$lastname;?></h4></a>
										<span class="text-muted"><?php echo $dob; ?></span>
									</div>

								</div>
							</div>
							<div class="card-body item-user">
								<h4 class="mb-4">Contact Info</h4>
								<div>
									<h6><span class="font-weight-semibold"><i class="fa fa-envelope mr-3 mb-2"></i></span><a href="#" class="text-body"> <?php echo $email; ?></a></h6>
									<h6><span class="font-weight-semibold"><i class="fa fa-phone mr-3  mb-2"></i></span><a href="#" class="text-primary"> <?php echo $phone; ?></a></h6>
									<h6><span class="font-weight-semibold"><i class="fa fa-link mr-3 "></i></span><a href="#" class="text-primary"><?php echo $address; ?></a></h6>
								</div>
							</div>
							<div class="card-footer">
								<div class="text-left">
									<a href="tel:<?php echo $phone; ?>" class="btn  btn-info"><i class="fa fa-phone"></i> Chat</a>
									<a href="#" class="btn btn-primary" data-toggle="modal" data-target="#contact"><i class="fa fa-envelope"></i> Contact Me</a>
								</div>
							</div>
						</div>

						
						

						
					</div>
					<!--/Right Side Content-->
				</div>
			</div>
		</section>

		<!-- Message Modal -->
		<div class="modal fade" id="contact" tabindex="-1" role="dialog"  aria-hidden="true">
			<div class="modal-dialog" role="document">
				<?php echo $msg; ?>
				<form action = "" method = "POST">
					<div class="modal-content">
						<div class="modal-header">
							<h5 class="modal-title" id="examplecontactLongTitle">Send Message</h5>
							<button type="button" class="close" data-dismiss="modal" aria-label="Close">
							<span aria-hidden="true">&times;</span>
							</button>
						</div>
						<div class="modal-body">
							<div class="form-group">
								<input type="text" name = "contact_name" class="form-control" id="contact-name" placeholder="Your Name">
							</div>
							<div class="form-group">
								<input type="email" name = "contact_email" class="form-control" id="contact-email" placeholder="Email Address">
							</div>
							<div class="form-group mb-0">
								<textarea class="form-control" name="contact_message" rows="6" placeholder="Message"></textarea>
							</div>
						</div>
						<div class="modal-footer">
							<button type="button" class="btn btn-danger" data-dismiss="modal">Cancel</button>
							<button type="submit" name = "submit" class="btn btn-success">Send</button>
						</div>
					</div>
				</form>
			</div>
		</div>
<!-- //Message Modal -->
<?php include 'footer.php';