<?php require_once __DIR__ . "/../bourbon/performer.php"; require_once __DIR__ . "/../bourbon/bandmate.php"; $p = new Performer(); $p->init(WEB::_get('id')); $b = new Bandmate(); $bandList = $b->getListOfBandWithPerformerId($p->getPerformerId()); ?> <?php if (!$p->valid()) { ?> <!-- // Invalid Record --> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> <h4 class="modal-title">Invalid Performer</h4> </div> <div class="modal-body"> <p>It looks like you were trying to access a performer 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 $p->getPerformerName(); ?>