<a name="confirmation-payment"></a> <h2>Confirmation and Payment</h2> <?php if (isset($_POST['form'])) { ?> <div class="alert alert-danger"> There was a problem processing your credit card. Please try again. </div> <?php } ?> <?php if ($entry->getId() !== NULL && $entry->getCreatedAt() == $timestamp) { ?> <?php if ($entry->getPaidAt() !== NULL && $entry->getAmountDue() == 0) { ?> <div class="alert alert-success"> Thank you for your payment! </div> <?php } ?> <table class="table"> <tr> <th>Date:</th>
</div> <?php } else { ?> <h1> View Sponsorship <a href="?page=<?php echo $_REQUEST['page']; ?> " class="page-title-action"> Back </a> <a href="?page=outspokane_edit_entry&form=sponsorship&id=<?php echo $entry->getId(); ?> " class="page-title-action"> Edit </a> <a href="#" class="page-title-action" id="pride-delete-entry" data-form="sponsorship" data-id="<?php echo $entry->getId(); ?> "> Delete </a> </h1> <div class="row"> <div class="col-md-7">