| 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/yogurtlanddelivers.com/ |
Upload File : |
<?php
session_start();
if(empty($_SESSION['full_address'])) {
header("Location: /"); //They shouldn't be here
}
require_once($_SERVER['DOCUMENT_ROOT'].'/php/mysql.php');
$sizes = $db->query("SELECT * FROM yogurtland_delivers.sizes WHERE active='1' ORDER BY price ASC");
ob_start();
?>
<script src="/js/choose_size.js?ts=<?= time();?>"></script>
<div id="real_content">
<center>
<div class="select_size_header">
<div class="big_number_1">
<div class="center_number_1">1</div>
</div>
Select your Size
</div>
<?php foreach($sizes as $size) { ?>
<div class="size" onclick="choose_size(this,'<?= $size['id'];?>');">
<div class="yogurt_cup">
<img src="/images/<?= $size['image_url'];?>" style="width:<?= $size['image_width'];?>px;" />
</div>
<div class="description">
<div class="total_weight"><?= $size['ounces'];?> oz Total Weight</div>
<div class="choose_up_to">Choose up to:</div>
<div class="num_flavors">
<?= $size['flavors'];?> Flavor<?= ($size['flavors']*1>1) ? 's' : '';?>,
<?= $size['toppings'];?> Topping<?= ($size['toppings']*1>1) ? 's' : '';?>
</div>
<div class="total_bar"></div>
<div class="total_price">$<?= number_format($size['price'],2);?></div>
</div>
</div>
<?php } ?>
<a class="next_cup_link next_cup_link_large link_disabled">
<img src="/images/next_cup_large.png" />
</a>
</center>
</div>
<?php
$title = 'Yogurtland Delivers - Choose Size';
$page = 'choose_size';
$html = ob_get_clean();
include('layout.php');
?>