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

$sched_id = $_GET['id'];

?>

<?php $users = mysql_query("SELECT * FROM schedules where sched_id = '$sched_id'") or die(mysql_error());  ?>

			<?php $sched = mysql_fetch_array($users);
				$id = $sched['sched_id'];
				$activity = $sched['activity'];
				$date = $sched['date'];
				$time = $sched['time'];
				$street = $sched['street'];
				$city = $sched['city'];
				$province = $sched['province'];
			?>

<title>View Schedule</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>Schedules</h1>
<?php include("sched_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 Event<!-- call for pdf print --> <a href="mpdf51/examples/individual_sched.php?id=<?php echo $sched_id; ?>"><img src="images/printer.jpg" /></a></h2>
	
	<div class="color">						
	<input class="id" value="<?php echo $id; ?>"  name="id" size="30" type="hidden"/>
	<div class="field"><label>Activity</label><?php echo $activity; ?></div>
	<div class="field"><label>Date</label><?php echo $date; ?></div>
	<div class="field"><label>Time</label><?php echo $time; ?></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>
	<button><a href="view_client_list.php">Back</a></button>
	</div>
	</div>
	
	</div>
	
	</div>
	
<?php include("footer.php"); ?>
</div>
</body>
</html>