| Server IP : 10.200.247.200 / Your IP : 216.73.217.19 Web Server : Apache System : Linux synergy-usa-sites 6.8.0-138-generic #138-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 31 22:41:49 UTC 2026 x86_64 User : jeremy ( 1001) PHP Version : 8.4.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/hans_sites/froyo2me.com/ |
Upload File : |
<?php
header("Location: https://order.yogurtland.com/store/13502/YOGURTLAND%20RED%20ROCK%20COMMONS");
exit(0);
session_start();
ob_start();
?>
<?php $today = date('w')*1;
$show_delivery = true;
if($today==0) {
$show_delivery = false;
?>
<script>
alert("We do not deliver on Sunday.");
</script>
<?php
} elseif($today==5 || $today==6) {
if(time() <= strtotime(date('Y-m-d').' 11:00:00')) {
$show_delivery = false;
?>
<script>
alert("We do not deliver before 11 am Friday - Saturday.");
</script>
<?php
} elseif(time() >= strtotime(date('Y-m-d').' 22:00:00')) {
$show_delivery = false;
?>
<script>
alert("We do not deliver after 10 pm Friday - Saturday.");
</script>
<?php
}
} else {
if(time() <= strtotime(date('Y-m-d').' 11:00:00')) {
$show_delivery = false;
?>
<script>
alert("We do not deliver before 11 am Monday - Thursday.");
</script>
<?php
} elseif(time() >= strtotime(date('Y-m-d').' 21:00:00')) {
$show_delivery = false;
?>
<script>
alert("We do not deliver after 9 pm Monday - Thursday.");
</script>
<?php
}
}
if(date('Y-m-d')=='2020-10-17') { ?>
<script>
alert("We do not have anymore delivery times for tonight.");
</script>
<?php } ?>
<script src="https://maps.googleapis.com/maps/api/js?libraries=places&language=en&key=AIzaSyDI7gLhFsyVVAnLKNkOrygt6hQ9ruYREmY"></script>
<script src="/js/delivery.js?ts=<?= time();?>"></script>
<div id="real_content" style="width:524px;">
<div class="delivery_big_text" style="padding-left:40px;">
Home or Work Delivery Address
</div>
<center>
<?php if($show_delivery) { ?>
<div id="address_form">
<form onsubmit="false" autocomplete="false">
<input type="text" id="address_input" name="address" placeholder="Enter Address" autocomplete="off" />
</form>
</div>
<div style="clear:both;"></div>
<div class="delivery_big_text ptb15" style="display:none;"><i>or</i></div>
<div class="delivery_button" style="display:none;" onclick="$('.selected_delivery_button').removeClass('selected_delivery_button'); $(this).addClass('selected_delivery_button'); $('.curbside_comments_container').stop().show(100); show_next_button('curbside');">
Curbside Pickup
</div>
<div class="curbside_comments_container" style="display:none;">
<div><input type="text" id="car_color" name="car_color" placeholder="Car Color" /></div>
<div><input type="text" id="car_model" name="car_model" placeholder="Car Model" /></div>
</div>
<div class="delivery_big_text ptb15" style="display:none;"><i>or</i></div>
<div class="delivery_button" style="display:none;" onclick="$('.selected_delivery_button').removeClass('selected_delivery_button'); $(this).addClass('selected_delivery_button'); get_geolocation_address();">
<div class="delivery_button_image" style="display:none;">
<img src="/images/location.png" />
</div>
At a park? Click here to find your location
</div>
<div style="clear:both;"></div>
<div>
<textarea id="apt_suite" name="apt_suite" placeholder="Apt number, or other info we need to know" onblur="check_for_comments(0);"></textarea>
</div>
<div class="address_comments_container" style="display:none;">
<div id="address_hidden" style="display:none;"></div>
<div id="address_geocoded" class="delivery_big_text ptb15"></div>
<textarea id="address_comments" name="address_comments" placeholder="Describe delivery location"></textarea>
</div>
<div id="postmates_eta"></div>
<a class="next_cup_link next_cup_link_large link_disabled" onclick="return check_for_comments(1);">
<img src="/images/next_cup_large.png" />
</a>
<div id="map" style="display:none;"></div>
<?php } else { ?>
<h3>You are outside of our Delivery Hours.</h3>
<p>We deliver between 11 am - 9 pm Monday - Thursday, and 11 am - 10 pm Friday - Saturday.</p>
<?php } ?>
</center>
</div>
<div id="block_screen">
<table>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td id="blocked_message">
<img src="/images/checkout_yogurt.png" />
<div>Looking up your location</div>
</td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
</div>
<?php
$title = 'Yogurtland Delivers - Address';
$page = 'delivery';
$html = ob_get_clean();
include('layout.php');
?>