<?php include 'base.php'; User::protect(); $section = 'band_gps'; include_class('band_gps'); if ($_POST['submit']) { // add news entry $gp = BandGuestPerformer::add($_POST); if (!db::isError($gp)) { header('Location: band_gp_edit.php?id=' . $gp->getID()); exit; } } $editors = array('description'); $page_title = 'Add Guest Performer'; include 'layout/header.php'; ?> <div id="breadcrumb"> <a href="index.php">Audition ></a> <a href="band.php">Manage Band ></a> <a href="band_gps.php">Guest Performers ></a> Add Guest Performer </div> <?php if (User::isAdmin()) { if (db::isError($gp)) { $gp->outputList(); } ?> <h1>add guest performer:</h1>