diff --git a/admin.php b/admin.php index e6c6c72..5f8a686 100644 --- a/admin.php +++ b/admin.php @@ -29,7 +29,7 @@ $total_records = $total_stmt->fetchColumn(); $total_pages = ceil($total_records / $records_per_page); // Get records for the current page -$stmt = $pdo->prepare("SELECT id, first_name, last_name, email, company, utm_source, created_at FROM attendees ORDER BY first_name ASC, last_name ASC LIMIT :limit OFFSET :offset"); +$stmt = $pdo->prepare("SELECT id, first_name, last_name, email, created_at FROM attendees ORDER BY first_name ASC, last_name ASC LIMIT :limit OFFSET :offset"); $stmt->bindValue(':limit', $records_per_page, PDO::PARAM_INT); $stmt->bindValue(':offset', $offset, PDO::PARAM_INT); $stmt->execute(); @@ -67,8 +67,6 @@ $attendees = $stmt->fetchAll(PDO::FETCH_ASSOC); First Name Last Name Email - Company - UTM Source Registered At Actions @@ -76,7 +74,7 @@ $attendees = $stmt->fetchAll(PDO::FETCH_ASSOC); - No attendees found. + No attendees found. @@ -85,8 +83,6 @@ $attendees = $stmt->fetchAll(PDO::FETCH_ASSOC); - - Edit diff --git a/assets/pasted-20251025-191303-2c7c1987.png b/assets/pasted-20251025-191303-2c7c1987.png new file mode 100644 index 0000000..7051847 Binary files /dev/null and b/assets/pasted-20251025-191303-2c7c1987.png differ diff --git a/register.php b/register.php index 97850aa..22b47ac 100644 --- a/register.php +++ b/register.php @@ -65,13 +65,13 @@ try { $stmt->execute([$webinar_id, $first_name, $last_name, $email, $company, $how_did_you_hear, $password_hash, $timezone]); // --- SEND CONFIRMATION EMAIL --- - $webinar_date_obj = new DateTime('2025-12-29 13:00:00', new DateTimeZone('America/New_York')); + $webinar_date_obj = new DateTime('2025-11-19 13:00:00', new DateTimeZone('America/New_York')); $subject = "Confirmation: You're Registered for Professional Vibe-Coding Webinar by Flatlogic"; $body_html = "

You're in!

Thanks for registering for our webinar: Professional Vibe-Coding Webinar by Flatlogic.

It will take place on " . $webinar_date_obj->format('l, F j, Y \a\t g:i A T') . ".

You can now log in to your dashboard to see the details.

"; MailService::sendMail($email, $subject, $body_html); // --- PREPARE SUCCESS RESPONSE --- - $webinar_date = new DateTime('2025-12-29 13:00:00', new DateTimeZone('America/New_York')); + $webinar_date = new DateTime('2025-11-19 13:00:00', new DateTimeZone('America/New_York')); $webinar_date->setTimezone(new DateTimeZone('UTC')); $start_time_utc = $webinar_date->format('Ymd\THis\Z'); $webinar_date->add(new DateInterval('PT1H')); // Assume 1 hour duration