예제 #1
0
파일: event.php 프로젝트: garrettld/lnc
            echo $_SESSION["refund"];
            ?>
) has been issued.</p>
              <?php 
        }
        ?>
            </div>
          </div>
          <?php 
        unset($_SESSION["payment"]);
        unset($_SESSION["modified"]);
        unset($_SESSION["refund"]);
    }
    ?>
          <?php 
    if (isUserRegistered($user["user_id"], $event["event_id"])) {
        ?>
            <p>You've registered <?php 
        echo $registrants;
        ?>
 attendees for this event<?php 
        if (!$paid) {
            echo ", but you haven't yet paid.</p><p>You can either pay in person at the time of the event, or you can submit payment now by clicking below";
        }
        ?>
.</p>
            <p>We look forward to seeing you soon at the Louisville Nature Center!</p> <?php 
        if (!$paid) {
            ?>
          <div class="foldout">
            <a class="foldout-label" href="#"><i class="fa fa-chevron-right"></i> Submit Payment <span>$<?php 
예제 #2
0
파일: event.php 프로젝트: garrettld/lnc
    ?>
    <main class="wrapper content">
      <div class="inner-wrap">
        <div class="breadcrumb"><a href="/events/">Events</a> &gt; <?php 
    echo $event["name"];
    ?>
</div>
          <ul class="events">
            <?php 
    echo getEventHtml($event, false);
    ?>
          </ul>
          <?php 
    if (isset($_SESSION["user_id"])) {
        // if the user is already signed up for this event, tell them that and skip the rest
        if (isUserRegistered($user["user_id"], $_GET["id"])) {
            ?>
              <div class="alert-box">
                <i class="fa fa-calendar-check-o fa-3x"></i>
                <div> <?php 
            if (isset($_SESSION["registered"])) {
                if (isset($_SESSION["payment"])) {
                    ?>
                      <p>Your payment of $<?php 
                    echo $_SESSION["payment"];
                    ?>
 has been accepted, and you'll receieve a confirmation e-mail shortly.</p><?php 
                } else {
                    ?>
                      <p>Your registration has been accepted. We look forward to seeing you soon at the Louisville Nature Center.</p><?php 
                }