2020 update
This commit is contained in:
@@ -30,8 +30,8 @@ function getInteger($variable, $postiveOnly = true)
|
|||||||
*/
|
*/
|
||||||
function getEventPricing($date = null)
|
function getEventPricing($date = null)
|
||||||
{
|
{
|
||||||
$priceIncrease1 = new DateTime('4/1/2019', new DateTimeZone('America/Chicago'));
|
$priceIncrease1 = new DateTime('4/1/2020', new DateTimeZone('America/Chicago'));
|
||||||
$priceIncrease2 = new DateTime('5/1/2019', new DateTimeZone('America/Chicago'));
|
$priceIncrease2 = new DateTime('5/1/2020', new DateTimeZone('America/Chicago'));
|
||||||
|
|
||||||
if (empty($date)) {
|
if (empty($date)) {
|
||||||
return [
|
return [
|
||||||
@@ -130,7 +130,7 @@ function shoppingCartTotal($price)
|
|||||||
function checkIfTicketsAreOnSale()
|
function checkIfTicketsAreOnSale()
|
||||||
{
|
{
|
||||||
$todaysDate = new DateTime('now', new DateTimeZone('America/Chicago'));
|
$todaysDate = new DateTime('now', new DateTimeZone('America/Chicago'));
|
||||||
$dateOnSale = new DateTime('3/15/2019 8:00am', new DateTimeZone('America/Chicago'));
|
$dateOnSale = new DateTime('3/15/2020 8:00am', new DateTimeZone('America/Chicago'));
|
||||||
$interval = $todaysDate->diff($dateOnSale);
|
$interval = $todaysDate->diff($dateOnSale);
|
||||||
|
|
||||||
if ($interval->days >= 0 && $interval->invert === 0) {
|
if ($interval->days >= 0 && $interval->invert === 0) {
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<meta name="description" content="">
|
<meta name="description" content="">
|
||||||
<meta name="author" content="">
|
<meta name="author" content="">
|
||||||
|
|
||||||
<title>Dinner in the Woods 2019 - Tickets on sale March 15th!</title>
|
<title>Dinner in the Woods 2020 - Tickets on sale March 15th!</title>
|
||||||
|
|
||||||
<script src="https://js.stripe.com/v3/"></script>
|
<script src="https://js.stripe.com/v3/"></script>
|
||||||
<!-- Bootstrap core CSS -->
|
<!-- Bootstrap core CSS -->
|
||||||
|
|||||||
@@ -410,12 +410,12 @@
|
|||||||
<td class="content-cell">
|
<td class="content-cell">
|
||||||
<h1>Hi {{guest_name}},</h1>
|
<h1>Hi {{guest_name}},</h1>
|
||||||
<p>You've been invited to Dinner in the Woods by {{from_name}}! This email confirms you as a guest and allows you to manage your profile to make for a more pleasant experience at the event.</p>
|
<p>You've been invited to Dinner in the Woods by {{from_name}}! This email confirms you as a guest and allows you to manage your profile to make for a more pleasant experience at the event.</p>
|
||||||
<p>Dinner in the Woods is on Saturday, June 1st, 2019 from 5:00pm to 11:30pm and is hosted at <a href="https://goo.gl/maps/LQPvQf9Ndh82">Natures Classroom Institute of Wisconsin</a>. We hope you'll enjoy the live music, local food, and live & silent auctions the day of the event!</p>
|
<p>Dinner in the Woods is on Saturday, June 20th, 2020 from 5:00pm to 11:30pm and is hosted at <a href="https://goo.gl/maps/LQPvQf9Ndh82">Natures Classroom Institute of Wisconsin</a>. We hope you'll enjoy the live music, local food, and live & silent auctions the day of the event!</p>
|
||||||
|
|
||||||
<p>As we get closer to the event we will send reminders and more details. </p>
|
<p>As we get closer to the event we will send reminders and more details. </p>
|
||||||
<p></p><i>If you cannot attend please let your host know.</i> {{from_name}} invited you and their email is <a href="mailto:{{from_email}}">{{from_email}}</a></p>
|
<p></p><i>If you cannot attend please let your host know.</i> {{from_name}} invited you and their email is <a href="mailto:{{from_email}}">{{from_email}}</a></p>
|
||||||
|
|
||||||
<p>If you have any questions about the event or schol, simply reply to this email for help.</p>
|
<p>If you have any questions about the event or school, simply reply to this email for help.</p>
|
||||||
<p>Gratefully,
|
<p>Gratefully,
|
||||||
<br>Nature’s Classroom Institute and Montessori School</p>
|
<br>Nature’s Classroom Institute and Montessori School</p>
|
||||||
<table class="body-action" align="center" width="100%" cellpadding="0" cellspacing="0">
|
<table class="body-action" align="center" width="100%" cellpadding="0" cellspacing="0">
|
||||||
@@ -449,7 +449,7 @@
|
|||||||
<table class="email-footer" align="center" width="570" cellpadding="0" cellspacing="0">
|
<table class="email-footer" align="center" width="570" cellpadding="0" cellspacing="0">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="content-cell" align="center">
|
<td class="content-cell" align="center">
|
||||||
<p class="sub align-center">© 2019 Nature's Classroom of Wisconsin, All rights reserved.</p>
|
<p class="sub align-center">© 2020 Nature's Classroom of Wisconsin, All rights reserved.</p>
|
||||||
<p class="sub align-center"> Nature's Classroom of Wisconsin<br/>
|
<p class="sub align-center"> Nature's Classroom of Wisconsin<br/>
|
||||||
PO Box 660<br/>
|
PO Box 660<br/>
|
||||||
Mukwonago, WI 53149
|
Mukwonago, WI 53149
|
||||||
|
|||||||
@@ -500,7 +500,7 @@
|
|||||||
<table class="email-footer" align="center" width="570" cellpadding="0" cellspacing="0">
|
<table class="email-footer" align="center" width="570" cellpadding="0" cellspacing="0">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="content-cell" align="center">
|
<td class="content-cell" align="center">
|
||||||
<p class="sub align-center">© 2019 Nature's Classroom of Wisconsin, All rights reserved.</p>
|
<p class="sub align-center">© 2020 Nature's Classroom of Wisconsin, All rights reserved.</p>
|
||||||
<p class="sub align-center"> Nature's Classroom of Wisconsin<br/>
|
<p class="sub align-center"> Nature's Classroom of Wisconsin<br/>
|
||||||
PO Box 660<br/>
|
PO Box 660<br/>
|
||||||
Mukwonago, WI 53149
|
Mukwonago, WI 53149
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<iframe width="560" height="315" src="https://www.youtube.com/embed/lODWa6DkDaU?rel=0&showinfo=0"
|
<iframe width="560" height="315" src="https://www.youtube.com/embed/lODWa6DkDaU?rel=0&showinfo=0"
|
||||||
frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
|
frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
|
||||||
allowfullscreen></iframe>
|
allowfullscreen></iframe>
|
||||||
<h5>Saturday June 1st, 2019 5:00pm-11:30pm</h5>
|
<h5>Saturday June 6th, 2020 5:00pm-11:30pm</h5>
|
||||||
<h5>W336 S8455 Hwy E, Mukwonago, WI 53149</h5>
|
<h5>W336 S8455 Hwy E, Mukwonago, WI 53149</h5>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
@@ -11,7 +11,7 @@
|
|||||||
<div class="col-md-12 mb-12">
|
<div class="col-md-12 mb-12">
|
||||||
<div class="mb-12 text-center">
|
<div class="mb-12 text-center">
|
||||||
<?php
|
<?php
|
||||||
$aprilIncrease = new DateTime('4/1/2019', new DateTimeZone('America/Chicago'));
|
$aprilIncrease = new DateTime('4/1/2020', new DateTimeZone('America/Chicago'));
|
||||||
$now = new DateTime('now', new DateTimeZone('America/Chicago'));
|
$now = new DateTime('now', new DateTimeZone('America/Chicago'));
|
||||||
|
|
||||||
$interval = $now->diff($aprilIncrease);
|
$interval = $now->diff($aprilIncrease);
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
echo '<h5>VIP tickets go on sale ' . $date->format('F jS, Y \a\t h:ia') . '</h5>';
|
echo '<h5>VIP tickets go on sale ' . $date->format('F jS, Y \a\t h:ia') . '</h5>';
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<h5>Early bird tickets will go on sale April 1st, 2019 at 8:00am</h5>
|
<h5>Early bird tickets will go on sale April 1st, 2020 at 8:00am</h5>
|
||||||
<!-- Begin Mailchimp Signup Form -->
|
<!-- Begin Mailchimp Signup Form -->
|
||||||
<link href="//cdn-images.mailchimp.com/embedcode/classic-10_7.css" rel="stylesheet" type="text/css">
|
<link href="//cdn-images.mailchimp.com/embedcode/classic-10_7.css" rel="stylesheet" type="text/css">
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<iframe width="560" height="315" src="https://www.youtube.com/embed/lODWa6DkDaU?rel=0&showinfo=0"
|
<iframe width="560" height="315" src="https://www.youtube.com/embed/lODWa6DkDaU?rel=0&showinfo=0"
|
||||||
frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
|
frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
|
||||||
allowfullscreen></iframe>
|
allowfullscreen></iframe>
|
||||||
<h5>Saturday June 1st, 2019 5:00pm-11:30pm</h5>
|
<h5>Saturday June 6th, 2020 5:00pm-11:30pm</h5>
|
||||||
<h5>W336 S8455 Hwy E, Mukwonago, WI 53149</h5>
|
<h5>W336 S8455 Hwy E, Mukwonago, WI 53149</h5>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
$aprilIncrease = new DateTime('4/1/2019', new DateTimeZone('America/Chicago'));
|
$aprilIncrease = new DateTime('4/1/2020', new DateTimeZone('America/Chicago'));
|
||||||
$now = new DateTime('now', new DateTimeZone('America/Chicago'));
|
$now = new DateTime('now', new DateTimeZone('America/Chicago'));
|
||||||
|
|
||||||
$interval = $now->diff($aprilIncrease);
|
$interval = $now->diff($aprilIncrease);
|
||||||
|
|||||||
Reference in New Issue
Block a user