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

$exp_id = $_GET['id'];

?>

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

		
			<?php $expense = mysql_fetch_array($expenses);
				$id = $expense['exp_id'];
				$exp_name = $expense['exp_name'];
				$exp_type = $expense['exp_type'];
				$quantity = $expense['quantity'];
				$cost = $expense['cost'];
				$date = $expense['date'];
			?>
			
<title>View Expense</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 Expense<!-- call for pdf print --> <a href="mpdf51/examples/individual_exp.php?id=<?php echo $exp_id; ?>"><img src="images/printer.jpg" /></a></h2>
	
	<div class="color">						
	<div class="field"><label>Expense Activity:</label><?php echo $exp_name; ?></div>
	<div class="field"><label>Expense Type:</label><?php echo $exp_type; ?></div>
	<div class="field"><label>Quantity:</label><?php echo $quantity; ?></div>
	<div class="field"><label>Cost:</label><?php echo $cost; ?></div>
	<div class="field"><label>Date:</label><?php echo $date; ?></div>
	<button><a href="view_exp_list.php">Back</a></button>
	</div>
	</div>
	</div>
	
	</div>
<?php include("footer.php"); ?>
</div>
</body>
</html>
