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

$equip_id = $_GET['id'];

?>

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

			<?php $equip = mysql_fetch_array($clients);
				$id = $equip['equip_id'];
				$name = $equip['name'];
				$brand = $equip['brand'];
				$serial = $equip['serial'];
				$model = $equip['model'];
				$type = $equip['type'];
				$cal = $equip['cal'];
				$quantity = $equip['quantity'];
				$unit = $equip['unit'];
				$price = $equip['price'];
				$license = $equip['license'];
				$permit_from = $equip['permit_from'];
				$permit_to = $equip['permit_to'];
				$guards = $equip['guards'];

			?>
<title>View Equipment</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>Records</h1>
<?php include("records_sidebar.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 Equipment<!-- call for pdf print --> <a href="mpdf51/examples/individual_equip.php?id=<?php echo $exp_id; ?>"><img src="images/printer.jpg" /></a></h2>
	
							
	<div class="color">
	<div class="field"><label>Name</label><?php echo $name; ?></div>
	<div class="field"><label>Type</label><?php echo $type; ?></div>
	<div class="field"><label>Serial Number</label><?php echo $serial; ?></div>
	<div class="field"><label>Brand</label><?php echo $brand; ?></div>
	<div class="field"><label>Kind</label><?php echo $model; ?></div>
	<div class="field"><label>Caliber</label><?php echo $cal; ?></div>
	<div class="field"><label>Quantity</label><?php echo $quantity ; ?></div>
	<div class="field"><label>Price</label><?php echo $price; ?></div>
	<div class="field"><label>License No.</label><?php echo $license; ?></div>
	<div class="field"><label>Permit Validity Begin</label><?php echo $permit_from; ?></div>
	<div class="field"><label>Permit Validity End</label><?php echo $permit_to; ?></div>
	<button><a href="view_equip_list.php">Back</a></button>
	</div>
	</div>

	</div>
	
	</div>
<?php include("footer.php"); ?>
</div>
</body>
</html>
