Nashville
$psa[] = $k.'/'.$v;
}
}
$ps = '/'.implode('/', $psa).$sess;
}
$startUrl = $this->getBaseUrl($orderTemplatePlatform);
if ($form == 'home' && $ps == '/') {
return rtrim($startUrl, '/');
} else {
return $startUrl.$form.rtrim($ps, '/');
}
}
public function getTemplateVersion() {
$template = new Template($this->template_id);
return $template->version;
}
public function getCopyrightText() {
if ($this->getSetting(Setting::ACCOUNT_CUSTOM_COPYRIGHT_ENABLED)) {
return '© ' . date('Y') . ' Online Ordering by ' . HS($this->display_name);
}
$reseller = new ResellerUser($this->getResellerUserId());
if (is_object($reseller) && $reseller->exists) {
if ($hns = $reseller->getHostnameOverrideString()) {
return $hns;
} else {
$name = $reseller->getPublicName() ?: $reseller->getDisplayName();
if ($reseller->getWebsiteLink()) {
return '© ' . date('Y') . ' Online Ordering by <a href="http://' . $reseller->getWebsiteLink() . '">' . $name . '</a>';
} else {
return '© ' . date('Y') . ' Online Ordering by ' . $name;
}
}
} else {
return '© ' . date('Y') . ' Online Ordering by <a href="https://www.ehungry.com" target="_blank" title="Opens in new tab" >eHungry</a>';
}
}
"Undefined class constant 'ACCOUNT_CUSTOM_COPYRIGHT_ENABLED'"
<?
if (is_object($account) && $account->getSocialLinks()) {
$socials = unserialize($account->getSocialLinks());
if (is_array($socials) && count($socials) > 0) { ?>
<ul class="list-unstyled d-flex gap-2">
<?php
foreach (Account::SOCIALS as $socialKey => $socialName) {
if (!empty($socials[$socialKey]) && strlen($socials[$socialKey]) > 5) {
$link = $socials[$socialKey];
?>
<li><a href="<?=$link?>" target="new" title="Opens in new tab" class="icon" title=<?=QA($socialName)?>><i class="fa<?=$socialKey=='tripadvisor'?'k':'b'?> fa-<?=$socialKey?>"></i><span class="sr-only"><?=$socialName?></span></a></li>
<?php }
}
?>
</ul>
<?php }
} ?>
<div><?=$account->getCopyrightText()?></div>
<? if (isset($restaurant) && ($springroll_link = $account->getSpringrollLink($restaurant))) { ?>
<div><?=$springroll_link?></div>
<? } ?>
<ul class="list-unstyled mb-0 pt-3">
<li><a href="<?=formatCustomerLink('reportbug')?>">Technical Support</a></li>
<li><a href="<?=formatCustomerLink('privacy')?>">Privacy Policy</a></li>
<li><a href="<?=formatCustomerLink('tos')?>">Terms of Service</a></li>
<li><a href="<?=formatCustomerLink('accessibility')?>">Accessibility</a></li>
</ul>
This site is protected by reCAPTCHA and the Google <a href="https://policies.google.com/privacy">Privacy Policy</a> and <a href="https://policies.google.com/terms">Terms of Service</a> apply.
true,
true,
true,
!($_REQUEST['form'] === 'ordering3' && $_REQUEST['ordering_level'] >= OrderingLevel::CATEGORY),
true
)?>
<? } ?>
<? if (isSpringroll()) { ?>
<? // Navigation ?>
<? include(CORE_PATH . 'marketplace/header_navigation.php'); ?>
<? } else { ?>
<? // Navigation ?>
<nav>
<? include(__DIR__ . '/header_navigation.php'); ?>
</nav>
<? // Copyright info ?>
<div class="eds-copy-text-s-regular p-3 d-lg-none">
<? include(__DIR__ . '/header_copyrightinfo.php'); ?>
</div>
<? } ?>
<? $side_menu_body = ob_get_clean(); ?>
<?=\EDS\SideMenu([
'id' => 'side-menu',
'close' => 'pt-3 pe-3',
'data-event-on:menu_selected' => "this.dispatchEvent(new CustomEvent('eds.hide'))",
'data-event-on:category_selected' => "this.dispatchEvent(new CustomEvent('eds.hide'))",
], $side_menu_body)?>
</div>
</header>
<? // Hero section ?>
<? if (!in_array($_REQUEST['form'], ['accountsettings', 'checkout', 'orderconfirmation']) && !isMarketplace() && (!isSpringroll() || !$isMyAccountPage)) { ?>
<aside class="container p-0" style="grid-area: hero" aria-labelledby="hero-section-title">
<section class="hero">
<? // Cover & logo ?>
<div class="<?=$_REQUEST['form'] == 'home' ? 'home_hero' : 'menu_hero'?> backbgbox position-relative">
<? include(CORE_PATH. 'templates4.0/customer/logo.php'); ?>
"/home/deploy/EHungry-2-joel/Web/templates4.0/customer/header_copyrightinfo.php"
}
if (!isset($cart) || !is_object($cart)) {
$GLOBALS['cart'] = \Cart::getCurrent();
}
//unset callback data in the event someone didn't hit the callback validation page
if (!in_array($_REQUEST['form'], ['checkout', 'nosuchpage', 'validatecallback', 'viewdeliveryzone'])) {
//TODO: probably need to add one more form here that is called ajax, callback seems to reset when it shouldnt
unset($_SESSION['validation_data']);
}
$locs = $account->getActiveRestaurants('position');
$tab = MainNavigationTab::getAllForAccount($account->getId());
include_once(CORE_PATH.'lib/helpers/customer3.0.php');
if (!in_array($_REQUEST['form'], $viewContentOnly)) {
App::debugbarTime('header');
include_once(getLayoutPartPath('header'));
App::debugbarTime('header');
}
App::debugbarTime("view '{$_REQUEST['form']}'");
$path = CORE_PATH.'view' . ($_REQUEST['_VERSION'] == 4 ? 4 : 3) . '.0/customer/'.$_REQUEST['form'].'.php';
if (is_readable($path)) {
include_once($path);
}
App::debugbarTime("view '{$_REQUEST['form']}'");
if (!in_array($_REQUEST['form'], $viewContentOnly)) {
App::debugbarTime('footer');
include_once(getLayoutPartPath('footer'));
App::debugbarTime('footer');
}
function getLayoutPartPath($part) {
if (isset($_REQUEST['_CORDOVA_APP']) && $_REQUEST['_VERSION'] != 4) {
$cart = Cart::getCurrent();
"/home/deploy/EHungry-2-joel/Web/templates4.0/customer/header.php"
App::startTime();
ErrorHandlers::register();
// Global.php is the core setup file for the application
App::debugbarTime('Global.php');
require(dirname(__DIR__) . '/PHP/Global.php');
App::debugbarTime('Global.php');
/** @var string $controller The main controller - defined at /PHP/Global.php */
App::debugbarTime('Sentry - controller');
ErrorHandlers::sentryInit($controller); //doesn't always do much - not every controller has a Sentry project
App::debugbarTime('Sentry - controller');
App::debugbarTime("controller: $controller");
apache_note('AppController', $controller);
if (file_exists(CORE_PATH."lib/helpers/$controller.php")) {
require CORE_PATH."lib/helpers/$controller.php";
}
require CORE_PATH."controllers/$controller.php";
App::debugbarTime("controller: $controller");
"/home/deploy/EHungry-2-joel/Web/controllers/customer.php"
| Key | Value |
| aid | "order/breakfast/breakfast"
|
| Key | Value |
| PHPSESSID | "g9j2o2p3njqqimph87a0k98mka"
|
| Key | Value |
| loc | "en_US"
|
| customer_account_id | 892
|
| cart | Cart {}
|
| restaurant_id | 18757
|
| status | array:2 [ 1 => [] 2 => array:1 [ 0 => "You must select a valid item." ] ] |
| menu_id | 18795
|
| app_banner_shown | true
|
| eot | 1781244514
|
| Key | Value |
| UNIQUE_ID | "aitqIuT52lgZdb4sx3XnvgAAAAQ"
|
| SCRIPT_URL | "/order/breakfast/breakfast"
|
| SCRIPT_URI | "http://ehtest.zineer.com.2.joel.ehungry.net/order/breakfast/breakfast"
|
| HTTP_HOST | "ehtest.zineer.com.2.joel.ehungry.net"
|
| HTTP_X_REAL_IP | "216.73.217.165"
|
| HTTP_X_CONFKEY | "Main_Domain:8993"
|
| HTTP_SCHEME | "https"
|
| HTTP_EHENV | "TODO"
|
| HTTP_CONNECTION | "close"
|
| HTTP_ACCEPT | "*/*"
|
| HTTP_USER_AGENT | "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
|
| HTTP_ACCEPT_ENCODING | "gzip, br, zstd, deflate"
|
| HTTP_REFERER | "https://ehtest.zineer.com.2.joel.ehungry.net/order/washington-dc/main/appetizers/8-fried-doughstick-1"
|
| HTTP_COOKIE | "PHPSESSID=g9j2o2p3njqqimph87a0k98mka"
|
| PATH | "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"
|
| SERVER_SIGNATURE | "" |
| SERVER_SOFTWARE | "Apache/2.4.62 () mod_wsgi/4.6.5 Python/3.7 PHP/7.2.34"
|
| SERVER_NAME | "ehtest.zineer.com.2.joel.ehungry.net"
|
| SERVER_ADDR | "127.0.0.1"
|
| SERVER_PORT | "80"
|
| REMOTE_ADDR | "216.73.217.165"
|
| DOCUMENT_ROOT | "/home/deploy/EHungry-2-joel/Web"
|
| REQUEST_SCHEME | "http"
|
| CONTEXT_PREFIX | "" |
| CONTEXT_DOCUMENT_ROOT | "/home/deploy/EHungry-2-joel/Web"
|
| SERVER_ADMIN | "root@localhost"
|
| SCRIPT_FILENAME | "/home/deploy/EHungry-2-joel/Web/index.php"
|
| REMOTE_PORT | "60438"
|
| GATEWAY_INTERFACE | "CGI/1.1"
|
| SERVER_PROTOCOL | "HTTP/1.0"
|
| REQUEST_METHOD | "GET"
|
| QUERY_STRING | "aid=joeltest"
|
| REQUEST_URI | "/order/breakfast/breakfast"
|
| SCRIPT_NAME | "/order/breakfast/breakfast"
|
| PHP_SELF | "/order/breakfast/breakfast"
|
| REQUEST_TIME_FLOAT | 1781230114.587
|
| REQUEST_TIME | 1781230114
|