[insert_php]

echo “Please review your information and select the \”Pay Now\” button. You will be redirected to the PayPal website to finalize your transaction. Your ticket purchase will not be complete until you receive confirmation of your transaction from PayPal.”;

$first_name=$_GET[‘first_name’];
$last_name=$_GET[‘last_name’];
$from_email=$_GET[‘from_email’];
$ex_field2=$_GET[‘ex_field2’];
$ex_field3=$_GET[‘ex_field3’];
$ex_field4=$_GET[‘ex_field4’];
$ex_field5=$_GET[‘ex_field5’];
$std=100;
$vip=175;

$exp_date = “2013-3-16”;
$todays_date = date(“Y-m-d”);
$today = strtotime($todays_date);
$expiration_date = strtotime($exp_date);
if ($expiration_date > $today) {
$valid = “yes”;
$std=85;
$vip=150;
} else {
$valid = “no”;
}

$total_cost=($ex_field2*$std)+($ex_field4*$vip);

echo “\n”;
echo “

“;
echo “

“;
echo “

“;
echo “

“;

echo “

“;
echo “

“;
//echo “deadline: ” . $deadline . ” ($valid $today $expiration_date)\n”;
echo “First Name: ” . $first_name . “\n”;
echo “Last Name: ” . $last_name . “\n”;
echo “Email: ” . $from_email . “\n”;
echo “Number of Standard Tickets: ” . $ex_field2 . “ at $” . $std . “\n”;
echo “Names for Standard Tickets: ” . $ex_field3 . “\n”;
echo “Number of VIP Tickets: ” . $ex_field4 . “ at $” . $vip . “\n”;
echo “Names for VIP Tickets: ” . $ex_field5 . “\n”;
echo “Total Cost for All Tickets: $” . $total_cost . “\n”;
echo “
“;
echo ““;
echo ““;
echo ““;
echo ““;
echo ““;
echo ““;
echo ““;

echo ““;
echo ““;
echo ““;
echo ““;
echo ““;
echo ““;
echo ““;
echo ““;
echo ““;
echo ““;
echo ““;
echo ““;
echo ““;

echo “

“;
echo “

“;
echo “Thank you for your support!

“;
echo “

“;
echo “

“;

[/insert_php]