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

$client_id = $_GET['id'];

?>

<?php $clients = mysql_query("SELECT * FROM clients where client_id = '$client_id'") or die(mysql_error());  ?>

			<?php $client = mysql_fetch_array($clients);
				$id = $client['client_id'];
				$first_name = $client['first_name'];
				$middle_initial = $client['middle_initial'];
				$last_name = $client['last_name'];
				$gender = $client['gender'];
				$company = $client['company'];
				$street = $client['street'];
				$city = $client['city'];
				$province = $client['province'];
				$contact = $client['contact'];
				$guards = $client['guards'];
				
			?>
<title>View Client</title>
</head>
<body class="add_user 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 Client<!-- call for pdf print --> <a href="mpdf51/examples/individual_client.php?id=<?php echo $client_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>Middle Initial:</label><?php echo $middle_initial; ?></div>
	<div class="field"><label>Lastname:</label><?php echo $last_name; ?></div>
	<div class="field"><label>Gender:</label><?php echo $gender; ?></div>
	<div class="field"><label>Company Name:</label><?php echo $company; ?></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>Contact No.:</label><?php echo $contact; ?></div>
	<button><a href="view_client_list.php">Back</a></button>
	</div>
	</div>
	</div>
	
	</div>
<?php include("footer.php"); ?>
</div>
</body>
</html>
