Event Registration

[insert_php]
require_once $_SERVER[‘DOCUMENT_ROOT’] . “/sysadmin/db.php”;
require_once $_SERVER[‘DOCUMENT_ROOT’] . “/sysadmin/common.php”;
require_once $_SERVER[‘DOCUMENT_ROOT’] . “/sysadmin/service/EventService.php”;
require_once $_SERVER[‘DOCUMENT_ROOT’] . “/sysadmin/model/Event.php”;

$con = getDbConnection();

$debug = false;
$validParam = 0;

$eid = $_GET[“eid”];

//echo “EID = ” . $eid . “
“;

$eventService = new EventService();

$event = $eventService->getEventById($con, $eid);

if ($event != null)
{
$validParam = 1;
}

echo “

\n”;

if ($validParam == 1)
{
//echo $event->getTitle() . “
” . $event->getDateTime();
//echo $event->getTitle() . “
” . $event->getDate();
echo $event->getTitle() . “
” . $event->getDate() . “, ” . $event->getStartTime() . ” – ” . $event->getEndTime() ;

echo “

“;
echo ““;
echo “Location :
“;
echo $event->getLocName() . “
“;
echo $event->getLocAddress() . “
“;

$locAddress2 = $event->getLocAddress2();
if ($locAddress2 != “”)
{
echo $locAddress2 . “
“;
}
echo $event->getLocCity() . “, ” . $event->getLocState() . ” ” . $event->getLocZip() . “
“;

echo ““;

// details
$details = “”;
$details = $event->getDetails();
if ($details != “”)
{
echo “
” . $details ;
}

$flyerUrl = “”;
$flyerUrl = $event->getFlyerUrl();

$flyerThumbnail = “”;
$flyerThumbnail = $event->getFlyerThumbnail();

if ($flyerThumbnail != “”)
{
echo “
“;
if ($flyerUrl != “”)
{
echo ““;
}
echo ““;
if ($flyerUrl != “”)
{
echo “
“;
}
}

if ($flyerUrl != “”)
{
//echo “
View the flyer with all the details“;
// echo “
“;
}

}
else
{
echo “Invalid Param – Registration not allowed”;
}

echo “

\n”;
[/insert_php]
lfb_column

[insert_php]echo “\n”;[/insert_php]

Your Info

*

*






*
*
*
Waiver

* I, (We), make application for training in this Martial Arts Seminar, sponsored by Budoka Enterprises, Inc. T/A Virginia Martial Arts Center, and upon acceptance, I (We), sincerely pledge to obey all rules and regulations, which are set up for the purpose of keeping order in this Seminar, sponsored by Virginia Martial Arts Center, and for the protection of the participants from injury. I, (We), recognize that a risk is involved in the Martial Arts that requires my adherence to these rules and regulations and the Instructor’s discipline. I, (We), release and forever discharge the sponsor, Virginia Martial Arts Center, including it’s branch Club associates, it’s teachers, instructors, guest instructors, agents, members, employees, officers, representatives, successors, and all officials of the sponsor, Virginia Martial Arts Center, and assigns, from all claims, actions, demands, Suits of Law, or in equity whatsoever which I, (We), my (our) heirs, executors, administrators or assigns, may have against said sponsor Virginia Martial Arts Center by reason of any and all known and unknown injuries, disabilities, diseases, damages, any physical, mental and emotional damages, or death, losses and expenses sustained by me (or my child) or any heirs, executors, administrators, as a result of any accident while engaged in any physical activity, exercise, training practice, contests, clinics, promotional examinations, demonstrations, games, trips, recreation, or traveling to or from any of the aforementioned, and/or any individual acting as instructor and/or representing the sponsor Virginia Martial Arts Center. I, (We), further acknowledge and agree that any medical, dental, hospital, or other expenses which may be incurred by me or anyone acting in my behalf in connection with any accident as aforesaid, becomes and is my sole and separate obligation and responsibility. I, (We), waive any compensations and rights for any materials, such as photographs, tapes (Video/Audio), likenesses, trophies, etc., used by the sponsor Virginia Martial Arts Center for publication and/or publicity. I, (We), agree and promise to uphold all the rules and regulations adopted by the sponsor Virginia Martial Arts Center which are to be considered part of this Agreement/Application just the same as if said rules and regulations were set out at length in this Agreement/ Application. I, (We), understand that this Agreement/Application must be approved. I, (We), also understand that no representations or statements except herein contained shall be binding.

[insert_php]
//echo “Reg allowed = ” . $event->getRegAllowed() . “
“;
if ($validParam)
{
if ($event->getRegAllowed() == 1)
{
echo “

“;
echo ““;
echo “By clicking register, I agree to the terms and conditions stated above.“;
echo “

“;
}
else
{
echo “

“;
ECHO “Registration is not allowed for this event.”;
echo “

“;
}
}

closeDbConnection($con);
[/insert_php]

* Field is required
Top