<?php require_once __DIR__ . "/../bourbon/band.php"; require_once __DIR__ . "/../bourbon/bandmate.php"; $bd = new Band(); $bd->init(WEB::_get('id')); $b = new Bandmate(); $performerList = $b->getListOfPerformerWithBandId($bd->getBandId()); ?> <?php if (!$bd->valid()) { ?> <!-- // Invalid Record --> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> <h4 class="modal-title">Invalid Band</h4> </div> <div class="modal-body"> <p>It looks like you were trying to access a band that we no longer have.</p> </div> <?php } else { ?> <!-- // Valid Record --> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> <h4 class="modal-title"><strong><?php echo $bd->getBandName(); ?>