*/ $pagetitle = "Quotes"; $navtitle = 'Quotes'; $keywords = ''; $description = ''; include "/srv/athenace/lib/shared/common.php"; include "/srv/athenace/lib/intranet/common.php"; include "/srv/athenace/lib/shared/functions_form.php"; if (!is_numeric($_GET['id'])) { header("Location: /quotes/?id=notFound"); exit; } if (isset($_GET['go']) && $_GET['go'] == "y") { $quotesDelete = new Quotes(); $quotesDelete->setQuotesid($_GET['id']); $quotesDelete->deleteFromDB(); header("Location: /quotes/?ItemDeleted=y"); exit; } include "../tmpl/header.php"; $quotes = new Quotes(); // Load DB data into object $quotes->setQuotesid($_GET['id']); $quotes->loadQuotes(); $all = $quotes->getAll(); if (isset($all)) { ?> <div class="panel panel-info"> <div class="panel-heading"> <strong>Viewing <?php