| Server IP : 173.209.174.21 / Your IP : 216.73.216.89 Web Server : Apache/2.4.58 (Ubuntu) System : Linux wcfs-server 6.8.0-124-generic #124-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 13:00:45 UTC 2026 x86_64 User : nodor ( 1000) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/thelittlebigshow/vendor-reg/ |
Upload File : |
<?php
// Start the session to access the stored data
session_start();
// Check if session data exists, otherwise redirect back to registration page
if (!isset($_SESSION['name']) || !isset($_SESSION['email'])) {
header("Location: index.php"); // Redirect to the registration page if no session data
exit();
}
// Retrieve the session data
$name = $_SESSION['name'];
$email = $_SESSION['email'];
$phone = $_SESSION['phone'];
$address = $_SESSION['address'];
$city = $_SESSION['city'];
$state = $_SESSION['state'];
$zip = $_SESSION['zip'];
$website = $_SESSION['website'];
$description = $_SESSION['description'];
$category = $_SESSION['category'];
$spots = $_SESSION['spots'];
$amount = $_SESSION['amount'];
$transaction_id = $_SESSION['transaction_id'];
// Optional: Clear session data if you don't need it anymore
// session_unset(); // Uncomment this if you want to clear session data after use
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Registration Success</title>
<style>
/* Basic Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Body Styles */
body {
font-family: 'Arial', sans-serif;
background-color: #f4f7fc;
color: #333;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
min-height: 100vh;
padding: 20px;
}
/* Container for the registration info */
.container {
width: 100%;
max-width: 900px;
background-color: #fff;
padding: 30px;
border-radius: 8px;
box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
text-align: center;
margin-top: 30px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
/* Logo styling */
.logo {
display: block;
max-width: 150px;
margin: 0 auto 30px;
}
/* Header and content styles */
h2 {
font-size: 32px;
color: #1E90FF;
margin-bottom: 20px;
}
.confirmation-message {
font-size: 18px;
margin-bottom: 30px;
color: #666;
}
.registration-info {
font-size: 18px;
margin-bottom: 40px;
text-align: left;
width: 100%;
}
.registration-info p {
margin-bottom: 12px;
}
.registration-info strong {
color: #1E90FF;
}
/* Button container styles */
.button-container {
margin-top: 30px;
}
.btn {
background-color: #1E90FF;
color: white;
padding: 12px 20px;
border-radius: 5px;
font-size: 18px;
text-decoration: none;
margin: 0 10px;
transition: background-color 0.3s ease;
display: inline-block;
}
.btn:hover {
background-color: #1C86EE;
}
.print-button {
background-color: #28a745;
}
.print-button:hover {
background-color: #218838;
}
.payment-section {
margin-top: 30px;
width: 100%;
text-align: center;
}
.payment-section h3 {
font-size: 22px;
font-weight: bold;
margin-bottom: 20px;
}
.payment-buttons-container {
display: flex;
justify-content: center;
gap: 20px; /* Adds space between the buttons */
}
.payment-button-container {
overflow: auto;
display: flex;
flex-direction: column;
justify-content: flex-end;
align-items: center;
width: 259px;
background: #FFFFFF;
border: 1px solid rgba(0, 0, 0, 0.1);
box-shadow: -2px 10px 5px rgba(0, 0, 0, 0);
border-radius: 10px;
font-family: SQ Market, Helvetica, Arial, sans-serif;
}
.payment-button-container .content {
padding: 20px;
}
.payment-button-container p {
font-size: 18px;
line-height: 20px;
}
.payment-button-container .price {
font-size: 18px;
line-height: 20px;
font-weight: 600;
}
.payment-button-container a {
display: inline-block;
font-size: 18px;
line-height: 48px;
height: 48px;
color: #ffffff;
min-width: 212px;
background-color: #006aff;
text-align: center;
box-shadow: 0 0 0 1px rgba(0,0,0,.1) inset;
border-radius: 6px;
text-decoration: none;
}
.payment-button-container a:hover {
background-color: #0056cc;
}
/* Disclaimer Text */
.disclaimer {
margin-top: 20px;
font-size: 14px;
color: #777777;
text-align: center;
}
/* Links container styling */
.links-container {
margin-top: 30px;
display: flex;
justify-content: center;
gap: 20px;
}
/* For print layout */
@media print {
body {
padding: 20px;
}
.container {
padding: 0;
box-shadow: none;
}
.button-container,
.payment-section,
.links-container {
display: none;
}
.registration-info {
font-size: 16px;
margin-top: 0;
}
.payment-section {
display: none;
}
}
</style>
<script>
// Print function to print the confirmation page
function printPage() {
window.print();
}
</script>
</head>
<body>
<div class="container">
<img src="https://www.thelittlebigshow.com/wp-content/uploads/2024/02/cropped-Logo.jpg" alt="Event Logo" class="logo">
<h2>Registration Successful!</h2>
<p class="confirmation-message">Thank you for registering! We look forward to having you as a vendor at The Little Big Show! For general event information email <a href="mailto:info@thelittlebigshow.com">info@thelittlebigshow.com</a> or call 509-855-6396</p>
<div class="registration-info">
<h3>Your Registration Details:</h3>
<p><strong>Name:</strong> <?php echo htmlspecialchars($name); ?></p>
<p><strong>Email:</strong> <?php echo htmlspecialchars($email); ?></p>
<p><strong>Phone:</strong> <?php echo htmlspecialchars($phone); ?></p>
<p><strong>Address:</strong> <?php echo htmlspecialchars($address); ?></p>
<p><strong>City:</strong> <?php echo htmlspecialchars($city); ?></p>
<p><strong>State:</strong> <?php echo htmlspecialchars($state); ?></p>
<p><strong>Zip:</strong> <?php echo htmlspecialchars($zip); ?></p>
<p><strong>Website:</strong> <?php echo htmlspecialchars($website); ?></p>
<p><strong>Description:</strong> <?php echo htmlspecialchars($description); ?></p>
<p><strong>Category:</strong> <?php echo htmlspecialchars($category); ?></p>
<p><strong>Spots:</strong> <?php echo htmlspecialchars($spots); ?></p>
</div>
<div class="button-container">
<a href="javascript:void(0);" onclick="printPage()" class="btn print-button">Print Confirmation</a>
</div>
<div class="payment-section">
<h3>Pay now to secure spots. All spots not paid before the show are not guaranteed.</h3>
<div class="payment-buttons-container">
<!-- Food Vendor Button -->
<div class="payment-button-container">
<div class="content">
<p>Food Vendor</p>
<p class="price">$35.00</p>
<a target="_blank" href="https://square.link/u/9suAWD0n?src=embed">Buy now</a>
</div>
</div>
<!-- Regular Vendor Button (per spot) -->
<div class="payment-button-container">
<div class="content">
<p>Vendor</p>
<p class="price">$25.00</p>
<a target="_blank" href="https://square.link/u/UVVjNjOo?src=embed">Buy now</a>
</div>
</div>
</div>
<div class="disclaimer">
<p>All spots not paid before the show are not guaranteed.</p>
</div>
</div>
<div class="links-container">
<a href="index.php" class="btn">Back to Registration</a>
<a href="https://www.thelittlebigshow.com" class="btn" target="_blank">The Little Big Show</a>
</div>
</div>
</body>
</html>
<?php
// Optional: Clear session data after displaying the success page
// session_unset(); // Uncomment if needed
?>