<?php include("header.php"); ?>
<?php
$_GET['id'];

$emp_id = $_GET['id'];

?>

<?php $emps = mysql_query("SELECT * FROM employees where emp_id = '$emp_id'") or die(mysql_error());  ?>

			<?php $emp = mysql_fetch_array($emps);
				$id = $emp['emp_id'];
				$first_name = $emp['first_name'];
				$middle_initial = $emp['middle_initial'];
				$last_name = $emp['last_name'];
				$license_num = $emp['license_num'];
				$transact_from =$emp ['transact_from'];
				$transact_to =$emp ['transact_to'];
				$street = $emp['street'];
				$city = $emp['city'];
				$province = $emp['province'];
				$birthdate = $emp['birthdate'];
				$status = $emp['status'];
				$philhealth = $emp['philhealth'];
				$sss = $emp['sss'];
				$position = $emp['position'];
				$email = $emp['email'];
				$contact = $emp['contact'];
				$contact_per = $emp['contact_per'];
				$assignment = $emp['assignment'];
				$client = $emp['client'];
				$sitestreet = $emp['sitestreet'];
				$sitecity = $emp['sitecity'];
				$siteprovince = $emp['siteprovince'];
				$skills = $emp['skills'];
				$equipments = $emp['equipments'];
				$image = $client['image'];
			?>
<title>View Employee</title>
</head>
<body class="add_employee standard">
<div class="wrapper">

	<div class="header">
	<h1>Lifeguard Archangels Security Corporation</h1>
	</div>
<?php include("main_menu.php"); ?>
	<div class="right_nav">
	<h1>Profiles</h1>
<?php include("right_nav.php"); ?>
	</div>
	<div class="content">
	<div class="title_page">
	</div>
	
	<div class="actions">
<div class="form label-inline uniform" id="shadow" style="width: 700px; margin:0 auto;" >
	<h2>View Employee<!-- call for pdf print --> <a href="mpdf51/examples/individual_emp.php?id=<?php echo $emp_id; ?>"><img src="images/printer.jpg" /></a></h2>
	<div class="color">						
	<div class="field"><label>Firstname: </label><?php echo $first_name; ?></div>
	<div class="field"><label>Lastname: </label><?php echo $last_name; ?></div>
	<div class="field"><label>License No.: </label><?php echo $license_num; ?></div>
	<div class="field"><label>License Begin: </label><?php echo $transact_from; ?></div>
	<div class="field"><label>License End: </label><?php echo $transact_to; ?></div>
	<div class="field"><label>Street: </label><?php echo $street; ?></div>
	<div class="field"><label>City: </label><?php echo $city; ?></div>
	<div class="field"><label>Province: </label><?php echo $province; ?></div>	
	<div class="field"><label>Date of birth: </label><?php echo $birthdate; ?></div>
	<div class="field"><label>Status: </label><?php echo $status; ?></div>
	<div class="field"><label>Philhealth No.: </label><?php echo $philhealth; ?></div>
	<div class="field"><label>SSS No.: </label><?php echo $sss; ?></div>
	<div class="field"><label>Position: </label><?php echo $position; ?></div>
	<div class="field"><label>Email Address: </label><?php echo $email; ?></div>
	<div class="field"><label>Contact No.: </label><?php echo $contact; ?></div>
	<div class="field"><label>Contact person: </label><?php echo $contact_per; ?></div>
	<!--<div class="field"><img src="images/uploads/<?php echo $image;?>" width="50" height="50" />-->
	<button><a href="view_emp_list.php">Back</a></button>
	</div>
	</div>
	</div>
	
	</div>
<?php include("footer.php"); ?>
</div>
</body>
</html>