function dbem_people_page()
{
    // Managing AJAX booking removal
    if (isset($_GET['action']) && $_GET['action'] == 'remove_booking') {
        if (isset($_POST['booking_id'])) {
            dbem_delete_booking($_POST['booking_id']);
        }
    }
    ?>
  
	
	<div class='wrap'> 
	<div id="icon-users" class="icon32"><br/></div>
	<h2>People</h2>
	
	<?php 
    dbem_people_table();
    ?>
	</div> 

	<?php 
}
function dbem_intercept_bookings_delete()
{
    //dbem_email_rsvp_booking();
    $bookings = $_GET['bookings'];
    if ($bookings) {
        foreach ($bookings as $booking_id) {
            dbem_delete_booking($booking_id);
        }
    }
}