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

<?php $monitoring = mysql_query("SELECT * FROM monitoring where guards = '$trans_id'") or die(mysql_error());  ?>

			<?php $mon = mysql_fetch_array($monitoring);
				$id = $mon['trans_id'];
				$transact_from = $mon['transact_from'];
				$transact_to = $mon['transact_to'];
				$guards = $mon['guards'];
				$client = $mon['client'];
				$equipments = $mon['equipments'];
				
			?>
			
<title>View Transaction</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 Transaction</h2>
	<!-- <div class="color"> -->
	<div class="field"><label>Transaction Period Begin</label><?php echo $transact_from ;?> </div>
	<div class="field"><label>Transaction Period End</label><?php echo $transact_to ;?> </div>
	<div class="field"><label>Client-in-Authority</label><?php echo $client; ?></div>
	<div class="field"><label>Equipments</label><?php echo $equipments; ?></div>
	<button><a href="view_monitoring_list.php">Back</a></button>
<form action="mpdf51/examples/individual_mon.php" method="POST" >
<input type="hidden" name="<?php echo $id; ?>">
<input type="submit" value="Print">
</form>
	
	<!--	</div> -->
	</div>
	</div>
	
	</div>
<?php include("footer.php"); ?>
</div>
</body>
</html>
