<?php 
$SQLEV=DB_query("select * from event",$db);
?>
<h1>Events</h1>
<table width="100%" cellpadding="3" cellspacing="0" border="1">
	<tr class="row1">
		<td class="tabledata">Event Type</td>
		<td class="tabledata">Event Name</td>
		<td class="tabledata">Event Location</td>
		<td class="tabledata">Status</td>
		<td class="tabledata">Date</td>
	</tr>
<?php while($EventView=DB_fetch_array($SQLEV)) {?>
	<tr class="row1">
		<td><?php echo $EventView['event_type']; ?></td>
		<td><?php echo $EventView['event_name']; ?></td>
		<td><?php echo $EventView['event_location']; ?></td>
		<td><?php echo $EventView['event_status']; ?></td>
		<td><?php echo ConvertSQLDate($EventView['event_start_date']); ?></td>
	</tr>
<?php }?>
</table>