403Webshell
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/hans_sites/froyo2me.com/index_2020_04_03.php
<?php
	session_start();
	ob_start();
	$holidays = array();
	$holidays['thanksgiving'] = date('Y-m-d',strtotime('fourth thursday of November '.date('Y')));
	$holidays['christmas_eve'] = date('Y').'-12-24';
	$holidays['christmas'] = date('Y').'-12-25';
?>
<div id="real_content">
		<center>
			<a href="delivery.php" style="display:block;">
				<img src="/images/home_you_order.png" class="home_you_order" />
				<img src="/images/home_we_swirl.png" class="home_we_swirl" />
				<img src="/images/home_we_deliver.png" class="home_we_deliver" />
				<img src="/images/home_you_enjoy.png" class="home_you_enjoy" />
				<img src="/images/home_yogurt_car.png" class="home_yogurt_car" />
				<div style="padding:20px 0px;"></div>
				<div class="next_button next_button_a">
					Start
				</div>
			</a>
			<div style="margin-top:35px;font-size:12px;"><i>Delivery Hours: Monday - Saturday, 1pm - 10pm</i></div>
		</center>
</div>
<?php if(date('w')=='0') { ?>
<script>
	alert("We don't do delivers on Sunday, but you can order for a later date.");
</script>
<?php } elseif(in_array(date('Y-m-d'),$holidays)) { ?>
<script>
	alert("We don't do delivers today, because it is a holiday, but you can order for a later date.");
</script>
<?php } ?>
<?php if(date('Y-m-d')=='2020-02-06' && date('H')*1<19) { ?>
<script>
	alert("Do to national frozen yogurt day, and our free unlimited cup, we will not be doing deliveries from 4pm - 7pm.");
</script>
<?php } ?>
<?php if(strtotime(date('Y-m-d')) >= strtotime('2020-03-30') && strtotime(date('Y-m-d')) <= strtotime('2020-04-11')) {
	//Easter Event
?>
<script>
function make_internal_popup(data) {
	$('body').append('<div id="id-popup-overlay" onclick="$(\'#id-popup-container\').remove(); $(\'#id-popup-overlay\').remove();"></div>');
	$('body').append('<div id="id-popup-container"></div>');
	$('#id-popup-overlay').attr('style','z-index:10012;position:fixed;top:0px;left:0px;bottom:0px;right:0px;background:rgba(0,0,0,.6);');
	$('#id-popup-container').attr('style','z-index:10013;position:fixed;top:0px;left:0px;background:white;border-radius:16px;padding:15px;overflow:auto;');
	$('#id-popup-container').html('<img src="/images/notebook_close_24x24.png" style="position:absolute;top:4px;right:5px;width:24px;height:24px;cursor:pointer;" id="id-popup-close-button" onclick="$(\'#id-popup-container\').remove(); $(\'#id-popup-overlay\').remove();" />');
	$('#id-popup-container').append(data);
	$('#id-popup-container').css('max-height',$(window).height());
	$('#id-popup-container').css('max-width',$(window).width());
	$('#id-popup-container').css('left',$(window).width()/2 - $('#id-popup-container').width()/2);
	$('#id-popup-container').css('top',$(window).height()/2 - $('#id-popup-container').height()/2);
}
function preload(arrayOfImages) {
    $(arrayOfImages).each(function () {
        $('<img />').attr('src',this).appendTo('body').css('display','none');
    });
}
$('document').ready(function() {
	preload(['/images/yogurtland_easter_promotion.jpg']);
	window.setTimeout(function() {
		make_internal_popup('<img src="/images/yogurtland_easter_promotion.jpg" style="width:100%;" />');
	},500);
});
</script>
<?php } ?>
<?php
	$title = 'Yogurtland Delivers';
	$page = 'home';
	$html = ob_get_clean();
	include('layout.php');
?>

Youez - 2016 - github.com/yon3zu
LinuXploit