Exemplo n.º 1
0
<?php

include_once '../../../_includes/framework.php';
require_login();
if (!isset($form)) {
    $id = @$_GET['id'];
    $id or die("<p>Error, no attendee id.</p>");
    $form = new UpgradeForm(["id" => $id]);
}
$current_level = RegistrationLevel::find_by_db_name($form->attendee->admission_level);
$upgrades = RegistrationUpgrade::from_with_prices($form->attendee->admission_level);
?>
<input type="hidden" name="id" value="<?php 
echo $id;
?>
">

<div class="text-center">
<h2><?php 
echo $form->attendee->display_name();
?>
</h2>
<?php 
if ($form->attendee->vendor()) {
    ?>
  <h4 class="text-muted"><?php 
    echo $form->attendee->vendor()->display_name();
    ?>
</h4>
<?php 
}