?> </option> <?php } ?> </select> </div> <div class="form-group <?php WEB::_ferror('band_cover', $form_error); ?> "> <label for="image">Cover Photo (URL)</label> <input type="file" class="form-control" placeholder="Enter Band Cover" id="image" name="image" value="<?php echo $bd->getBandCover(); ?> "> <p class="help-block"><i><?php echo ($bd->getBandCover() !== '' ? "File - <strong>" . str_replace("uploads/", "", $bd->getBandCover()) : '') . "</strong></i>"; ?> </p> </div> <button type="submit" class="btn btn-default">Submit</button> </form> </div> </div> <?php
<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(); ?> </strong></h4> </div> <?php if ($bd->getBandCover() !== '') { ?> <div class="modal-img-wrapper"> <img class="modal-img" src="<?php echo WEB::_image($bd->getBandCover()); ?> " alt="<?php echo $bd->getBandName(); ?> "> </div> <?php } ?> <div class="modal-body band-view"> <p><?php