</h1> <?php } include_once "classes/Contact.php"; /*Database coding: this checks for multiple different actions made by users and responds accordingly.*/ include_once 'classes/ContactForm.php'; include_once 'classes/EdittingTools.php'; //Make a new contact, a new tool bar, and a new form //$contacts = new Contact(); $tool = new EdittingTools(); $contactForm = new ContactForm("auto", 2); $status; switch (success) { case $_GET['update']: $contactForm->success("Updated successfully"); break; case $_GET['add']: $contactForm->success("Added new item successfully"); break; case $_GET['delete']: $contactForm->success("Deleted item successfully"); break; } if ($_GET['action'] == editGroup && $_SESSION['access'] >= 50 || $_GET['action'] == showGroup) { //get the new group type corresponding to the ID $group = new Contact($_GET['groupID']); //if this is an update then update the contact if (isset($_POST['updateGroup'])) { updateGroup($group); } else {