Example #1
0
$page_title = 'Add Show';
include 'layout/header.php';
$bi = BandInformation::get();
$defaultStateProvince = $bi->getDefaultStateProvince();
$defaultCity = $bi->getDefaultcity();
$defaultCountry = $bi->getDefaultCountry();
?>

<div id="breadcrumb">
	<a href="index.php">Audition &#62;</a>
	<a href="live.php">Live &#62;</a>
	<a href="shows.php">Shows &#62;</a>
	Add Show
</div>
<?php 
if (!Show::canAdd()) {
    Error::outputDialog('Return to Shows', 'shows.php', 'You are not an administrator, and you are not a band member. Therefore, you cannot add shows.');
} else {
    if (db::isError($sh)) {
        $sh->outputList();
    }
    ?>
	<h1>new entry:</h1>
	<div class="inset">
	<form id="edit_entry" action="<?php 
    echo $PHP_SELF;
    ?>
?task=add" method="post">
	<table border="0" class="edit-form" cellspacing="0" cellpadding="0">
	
	<?php