stickersheet, buttoncolors, add swipers
parent
e1efb458c7
commit
f4a22b8a2d
Binary file not shown.
Binary file not shown.
After Width: | Height: | Size: 32 KiB |
@ -1,76 +0,0 @@
|
|||||||
<?php
|
|
||||||
if (isset($_POST['Email'])) {
|
|
||||||
|
|
||||||
// EDIT THE 2 LINES BELOW AS REQUIRED
|
|
||||||
$email_to = "miri.schoeb@gmail.com";
|
|
||||||
$email_subject = "New HTBASJW form submissions";
|
|
||||||
|
|
||||||
function problem($error)
|
|
||||||
{
|
|
||||||
echo "We are very sorry, but there were error(s) found with the form you submitted. ";
|
|
||||||
echo "These errors appear below.<br><br>";
|
|
||||||
echo $error . "<br><br>";
|
|
||||||
echo "Please go back and fix these errors.<br><br>";
|
|
||||||
die();
|
|
||||||
}
|
|
||||||
|
|
||||||
// validation expected data exists
|
|
||||||
if (
|
|
||||||
!isset($_POST['Name']) ||
|
|
||||||
!isset($_POST['Email']) ||
|
|
||||||
!isset($_POST['Message'])
|
|
||||||
) {
|
|
||||||
problem('We are sorry, but there appears to be a problem with the form you submitted.');
|
|
||||||
}
|
|
||||||
|
|
||||||
$name = $_POST['Name']; // required
|
|
||||||
$email = $_POST['Email']; // required
|
|
||||||
$message = $_POST['Message']; // required
|
|
||||||
|
|
||||||
$error_message = "";
|
|
||||||
$email_exp = '/^[A-Za-z0-9._%-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}$/';
|
|
||||||
|
|
||||||
if (!preg_match($email_exp, $email)) {
|
|
||||||
$error_message .= 'The Email address you entered does not appear to be valid.<br>';
|
|
||||||
}
|
|
||||||
|
|
||||||
$string_exp = "/^[A-Za-z .'-]+$/";
|
|
||||||
|
|
||||||
if (!preg_match($string_exp, $name)) {
|
|
||||||
$error_message .= 'The Name you entered does not appear to be valid.<br>';
|
|
||||||
}
|
|
||||||
|
|
||||||
if (strlen($message) < 2) {
|
|
||||||
$error_message .= 'The Message you entered do not appear to be valid.<br>';
|
|
||||||
}
|
|
||||||
|
|
||||||
if (strlen($error_message) > 0) {
|
|
||||||
problem($error_message);
|
|
||||||
}
|
|
||||||
|
|
||||||
$email_message = "Form details below.\n\n";
|
|
||||||
|
|
||||||
function clean_string($string)
|
|
||||||
{
|
|
||||||
$bad = array("content-type", "bcc:", "to:", "cc:", "href");
|
|
||||||
return str_replace($bad, "", $string);
|
|
||||||
}
|
|
||||||
|
|
||||||
$email_message .= "Name: " . clean_string($name) . "\n";
|
|
||||||
$email_message .= "Email: " . clean_string($email) . "\n";
|
|
||||||
$email_message .= "Message: " . clean_string($message) . "\n";
|
|
||||||
|
|
||||||
// create email headers
|
|
||||||
$headers = 'From: ' . $email . "\r\n" .
|
|
||||||
'Reply-To: ' . $email . "\r\n" .
|
|
||||||
'X-Mailer: PHP/' . phpversion();
|
|
||||||
@mail($email_to, $email_subject, $email_message, $headers);
|
|
||||||
?>
|
|
||||||
|
|
||||||
<!-- include your success message below -->
|
|
||||||
|
|
||||||
Thank you for contacting us. We will be in touch with you very soon.
|
|
||||||
|
|
||||||
<?php
|
|
||||||
}
|
|
||||||
?>
|
|
@ -0,0 +1,25 @@
|
|||||||
|
<head>
|
||||||
|
<link rel="stylesheet" href="/static/style.css">
|
||||||
|
<title>
|
||||||
|
How to be a social justice warrior
|
||||||
|
</title>
|
||||||
|
</head>
|
||||||
|
<body id="swiperpages">
|
||||||
|
<div class="buttoncontainerslides">
|
||||||
|
<button onclick="history.back()" class="buttonback">Go Back</button>
|
||||||
|
<button class="printbutton">
|
||||||
|
<a href="/assets/stickersheet_print.pdf">
|
||||||
|
⎙ Print Stickers
|
||||||
|
</a>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/swiper@9/swiper-element-bundle.min.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="memecontainer">
|
||||||
|
<img class="meme" src="join-the-sjw-GANG-TODAY-29-6-2023.png">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</body>
|
Binary file not shown.
After Width: | Height: | Size: 94 KiB |
@ -0,0 +1,25 @@
|
|||||||
|
<head>
|
||||||
|
<link rel="stylesheet" href="/static/style.css">
|
||||||
|
<title>
|
||||||
|
How to be a social justice warrior
|
||||||
|
</title>
|
||||||
|
</head>
|
||||||
|
<body id="swiperpages">
|
||||||
|
<div class="buttoncontainerslides">
|
||||||
|
<button onclick="history.back()" class="buttonback">Go Back</button>
|
||||||
|
<button class="printbutton">
|
||||||
|
<a href="/assets/stickersheet_print.pdf">
|
||||||
|
⎙ Print Stickers
|
||||||
|
</a>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/swiper@9/swiper-element-bundle.min.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="memecontainer">
|
||||||
|
<img class="meme" src="peacewasneveranoption.png">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</body>
|
Binary file not shown.
After Width: | Height: | Size: 240 KiB |
@ -0,0 +1,25 @@
|
|||||||
|
<head>
|
||||||
|
<link rel="stylesheet" href="/static/style.css">
|
||||||
|
<title>
|
||||||
|
How to be a social justice warrior
|
||||||
|
</title>
|
||||||
|
</head>
|
||||||
|
<body id="swiperpages">
|
||||||
|
<div class="buttoncontainerslides">
|
||||||
|
<button onclick="history.back()" class="buttonback">Go Back</button>
|
||||||
|
<button class="printbutton">
|
||||||
|
<a href="/assets/stickersheet_print.pdf">
|
||||||
|
⎙ Print Stickers
|
||||||
|
</a>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/swiper@9/swiper-element-bundle.min.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="memecontainer">
|
||||||
|
<img class="meme" src="sjwviruscarrier.png">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</body>
|
Binary file not shown.
After Width: | Height: | Size: 484 KiB |
Binary file not shown.
After Width: | Height: | Size: 1.6 MiB |
@ -0,0 +1,25 @@
|
|||||||
|
<head>
|
||||||
|
<link rel="stylesheet" href="/static/style.css">
|
||||||
|
<title>
|
||||||
|
How to be a social justice warrior
|
||||||
|
</title>
|
||||||
|
</head>
|
||||||
|
<body id="swiperpages">
|
||||||
|
<div class="buttoncontainerslides">
|
||||||
|
<button onclick="history.back()" class="buttonback">Go Back</button>
|
||||||
|
<button class="printbutton">
|
||||||
|
<a href="/assets/stickersheet_print.pdf">
|
||||||
|
⎙ Print Stickers
|
||||||
|
</a>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/swiper@9/swiper-element-bundle.min.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="memecontainer">
|
||||||
|
<img class="meme" src="antifascisturge.png">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</body>
|
Binary file not shown.
After Width: | Height: | Size: 2.4 MiB |
@ -0,0 +1,25 @@
|
|||||||
|
<head>
|
||||||
|
<link rel="stylesheet" href="/static/style.css">
|
||||||
|
<title>
|
||||||
|
How to be a social justice warrior
|
||||||
|
</title>
|
||||||
|
</head>
|
||||||
|
<body id="swiperpages">
|
||||||
|
<div class="buttoncontainerslides">
|
||||||
|
<button onclick="history.back()" class="buttonback">Go Back</button>
|
||||||
|
<button class="printbutton">
|
||||||
|
<a href="/assets/stickersheet_print.pdf">
|
||||||
|
⎙ Print Stickers
|
||||||
|
</a>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/swiper@9/swiper-element-bundle.min.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="memecontainer">
|
||||||
|
<img class="meme" src="fightingrussiantrollbots.png">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</body>
|
Loading…
Reference in New Issue