$html->button("blacklist.php", "back", "default"); $form->button("save", "md", "blacklist_form"); echo "</div>"; echo "</div>"; $blacklist->form(); break; case 'manage': echo "<div id='page-title' class='row'>"; echo "<div class='col-xs-12 col-sm-6'>"; $html->title("blacklist", "management", "left"); echo "</div>"; echo "<div class='col-xs-12 col-md-6 text-right'>"; $html->button("blacklist.php", "back", "default"); echo "</div>"; echo "</div>"; $blacklist->manage(); break; } } else { if (isset($_GET['d'])) { $db->delete("blacklist", $_GET['d']); $html->redirection("blacklist.php?page=manage"); } else { echo "<div id='page-title' class='row'>"; echo "<div class='col-xs-12 col-sm-6'>"; $html->title("Blacklist Report", null, "left"); echo "</div>"; echo "<div class='col-xs-12 col-md-6 text-right'>"; if (isset($_SESSION['admin'])) { $html->button("blacklist.php?page=manage", "manage words"); $html->button("blacklist.php?page=add", "add words");