????

Your IP : 216.73.216.83


Current Path : /home2/morganrand/www/
Upload File :
Current File : /home2/morganrand/www/tester.php

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><script src="//cdn.optimizely.com/js/1865631164.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
 <link rel="stylesheet" href="fliplock/flipclock.css">

		<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>

		<script src="fliplock/flipclock.js"></script>	
</head>

<body>
<?php

$i = date('H');
$m = time();
$o1 = strtotime('09:00:00');
$o2 = strtotime('16:00:00');
$o3 = strtotime('21:00:00');
$o4 = strtotime('20:00:00');
$diff1 = $o1 - $m;
$diff2 = $o2 - $m;
$diff3 = $o3 - $m;
$diff4 = $o4 - $m;


echo $m;

echo '<br>';

echo $i;

echo '<br>';

echo $o1;

echo '<br>';

echo $diff2;

echo '<br>';

switch ($i) {
    case ($i>=00 && $i<11) :
       echo '
	 
	 
	 <div id="couponbox" style="width:661px; height:533px; ">
	 <img src="images/coupon_004.jpg" width="661"  alt="wanderfuls" />
	 </div>
	 	 <p style="text-align:center;">COUPON VALID FOR</p>

	 <div class="clock" style="margin:2em; text-align:center; margin-left:100px; "></div>
<script type="text/javascript">
			var clock;

			$(document).ready(function() {

				clock = new FlipClock($(\'.clock\'),'.$diff1.', {
					clockFace: \'HourlyCounter\',
					autoStart: true,
					countdown: true
				});
				
			});
		</script>
	
	 
	 ';	
	
        break;
    case ($i>=11 && $i<16) :
        echo '
	 
	 
	 <div id="couponbox" style="width:661px; height:533px; ">
	 <img src="images/coupon_003.jpg" width="661"  alt="wanderfuls" />
	 </div>
	 	 <p style="text-align:center;">COUPON VALID FOR</p>

	 <div class="clock" style="margin:2em; text-align:center; margin-left:100px; "></div>
<script type="text/javascript">
			var clock;

			$(document).ready(function() {

				clock = new FlipClock($(\'.clock\'),'.$diff2.', {
					clockFace: \'HourlyCounter\',
					autoStart: true,
					countdown: true
				});
				
			});
		</script>
	
	 
	 ';	
	 
	 
	       break;
    case ($i>=16 && $i<21) :
         echo '
	 
	 
	 <div id="couponbox" style="width:661px; height:533px; ">
	 <img src="images/coupon_002.jpg" width="661"  alt="wanderfuls" />
	 </div>
	 <p style="text-align:center;">COUPON VALID FOR</p>
	 <div class="clock" style="margin:2em; text-align:center; margin-left:100px; "></div>
<script type="text/javascript">
			var clock;

			$(document).ready(function() {

				clock = new FlipClock($(\'.clock\'),'.$diff3.', {
					clockFace: \'HourlyCounter\',
					autoStart: true,
					countdown: true
				});
				
			});
		</script>
	
	 
	 ';	
	 
	       break;
    case ($i>=21&& $i<22) :
        echo '<div style=" margin-right:30px;">
  <h1 style="color:#c36;">Pricing</h1><br />
  
  <p>
<!--Our price starts at just $3.99 per favor.            
As a part of our Wanderfuls family , you will be working with 
a Wanderfuls Designer to create your Unique and Special Centerpiece
Design. <br /> <br />
    You can get access to our design room and work personally with our expert centerpiece designer.
Each centerpiece that is created is a unique work of art that  is born out of the 
creative collaboration between a you and our designer. 
 <br />Whether you need centerpieces for an anniversary party or a wedding reception, Wanderfuls understands that every event begins with a budget. With that in mind, we believe that no event is too small or too big for us.

Our centerpieces will look incredible whether they adorn a grand hotel with hundreds of guests or a cozy birthday party with family and friends.  <br /> <br />While our wedding centerpieces have taken center stage at some of the most exclusive reception halls in the country, they have also garnered attention at many backyard weddings, garden weddings, and destination events. We can help decorate any size event and budget. 
 <br />
 <br />

 </p>
 

      <h1 style="color:#cc3366;"> 
Ask about early bird discounts and other special promotions. <br /><a style="text-align:center; font-size:45px;">1-888-837-5021</a></h1>
<br />
<img src="images/DSC_0078-crop.jpg" width="650" />
</div> 
';
	 
	 	       break;


}


?>
<!-- Start of LiveChat (www.livechatinc.com) code -->
<script type="text/javascript">
var __lc = {};
__lc.license = 6479331;

(function() {
  var lc = document.createElement('script'); lc.type = 'text/javascript'; lc.async = true;
  lc.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'cdn.livechatinc.com/tracking.js';
  var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(lc, s);
})();
</script>
<!-- End of LiveChat code --> <!-- Hotjar Tracking Code for wanderfuls.com -->
<script>
    (function(h,o,t,j,a,r){
        h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
        h._hjSettings={hjid:78806,hjsv:5};
        a=o.getElementsByTagName('head')[0];
        r=o.createElement('script');r.async=1;
        r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;
        a.appendChild(r);
    })(window,document,'//static.hotjar.com/c/hotjar-','.js?sv=');
</script></body>
</html>