3333
This commit is contained in:
parent
b9f0c9ea5a
commit
16c40428e5
BIN
assets/pasted-20251017-095855-e8ae3c6d.jpg
Normal file
BIN
assets/pasted-20251017-095855-e8ae3c6d.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 89 KiB |
BIN
assets/vm-shot-2025-10-17T09-58-48-783Z.jpg
Normal file
BIN
assets/vm-shot-2025-10-17T09-58-48-783Z.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 89 KiB |
11
register.php
11
register.php
@ -44,7 +44,6 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") {
|
|||||||
$how_did_you_hear = filter_input(INPUT_POST, 'how_did_you_hear', FILTER_SANITIZE_STRING);
|
$how_did_you_hear = filter_input(INPUT_POST, 'how_did_you_hear', FILTER_SANITIZE_STRING);
|
||||||
$password = filter_input(INPUT_POST, 'password', FILTER_UNSAFE_RAW);
|
$password = filter_input(INPUT_POST, 'password', FILTER_UNSAFE_RAW);
|
||||||
$confirm_password = filter_input(INPUT_POST, 'confirm_password', FILTER_UNSAFE_RAW);
|
$confirm_password = filter_input(INPUT_POST, 'confirm_password', FILTER_UNSAFE_RAW);
|
||||||
$consent = filter_input(INPUT_POST, 'consent', FILTER_VALIDATE_BOOLEAN);
|
|
||||||
$timezone = filter_input(INPUT_POST, 'timezone', FILTER_SANITIZE_STRING);
|
$timezone = filter_input(INPUT_POST, 'timezone', FILTER_SANITIZE_STRING);
|
||||||
|
|
||||||
// Tracking data
|
// Tracking data
|
||||||
@ -64,8 +63,8 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") {
|
|||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$consent || !$webinar) {
|
if (!$webinar) {
|
||||||
$response['error'] = 'Please agree to the terms.';
|
$response['error'] = 'Webinar not found.';
|
||||||
echo json_encode($response);
|
echo json_encode($response);
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
@ -214,12 +213,6 @@ if (!$webinar) {
|
|||||||
<label for="confirm_password">Confirm Password</label>
|
<label for="confirm_password">Confirm Password</label>
|
||||||
<input type="password" id="confirm_password" name="confirm_password" required>
|
<input type="password" id="confirm_password" name="confirm_password" required>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group consent-group">
|
|
||||||
<input type="checkbox" id="consent" name="consent" required>
|
|
||||||
<label for="consent">I agree to receive info about this webinar.</label>
|
|
||||||
</div>
|
|
||||||
<p class="microcopy" style="margin-top:-1rem; margin-bottom: 1.5rem;">No spam. Unsubscribe anytime.</p>
|
|
||||||
|
|
||||||
<input type="hidden" name="webinar_id" value="<?= $webinar_id ?>">
|
<input type="hidden" name="webinar_id" value="<?= $webinar_id ?>">
|
||||||
<input type="hidden" name="timezone" id="timezone">
|
<input type="hidden" name="timezone" id="timezone">
|
||||||
<input type="hidden" name="utm_source" id="utm_source">
|
<input type="hidden" name="utm_source" id="utm_source">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user