| 14 |
include(()) |
/components/Helper/LocalizationHelper.php |
222 |
| 13 |
Components\Helper\LocalizationHelper::loadTranslations('en') |
/components/Helper/LocalizationHelper.php |
31 |
| 12 |
Components\Helper\LocalizationHelper::translate('general.navbar.help_order_link', 'en', array(0), null) |
/components/helper.php |
412 |
| 11 |
_t('general.navbar.help_order_link', 'en') |
/modules/cms/classes/cms_controller.php(415) : eval()'d code |
36 |
| 10 |
eval(()) |
/modules/cms/classes/cms_controller.php |
415 |
| 9 |
Cms_Controller->evalWithException('?><?php
$is_staff = false;
if ($this->customer) {
$is_staff = Db_DbRoHelper::scalar('select count(*) from theticketfairy_promoter_staff where shop_customer_id = ? AND deleted_at IS NULL', $this->customer->id);
$sessionId = Phpr::$frontend_security->getToken();
$session_data = TheTicketFairy_Redis_Session_Helper::get_instance()->get_session_data($this->customer->id, $sessionId);
}
$geodata = TheTicketFairy_Utils::get_geo_data(TheTicketFairy_Utils::get_client_ip());
$cart = Shop_Cart::list_active_items();
$page_language = $page_language ?? null;
?>
<div id="header_v2" style="display: none;">
<div class="header_v2_container">
<div class="header_v2_wrapper">
<div class="site-logo">
<a href="/">
<img src="/resources/images/logo-ttf.svg" alt="Ticket Fairy">
</a>
</div>
<div id="menu_v2">
<? if (empty($from_app)): ?>
<ul>
<? if (!empty($cart) && (Phpr::$session->get('cart_expiry_timestamp') - time() > 0)): ?>
<li><a href="<?= root_url('/store/checkout/') ?>"><?= _t('checkout.title', $page_language) ?></a></li>
<? endif; ?>
<? if (isset($breadcrumbs[0]['url'])): ?>
<li><a href="<?= $breadcrumbs[0]['url'] ?>"><?= h($breadcrumbs[0]['name']) ?></a></li>
<? endif; ?>
<li><a href="<?= root_url('/support/') ?>" target="_blank"><?= _t('general.navbar.help_order_link', $page_language) ?></a></li>
<!-- <li><a href="<?= root_url('/about/') ?>">About</a></li> -->
<li class="create-event-menu-link"><a href="<?= !empty($event_ticketing_link) ? h($event_ticketing_link) : "/event-ticketing" ?>"><?= _t('general.navbar.create_event_link', $page_language) ?></a></li>
<? if ($this->customer): ?>
<li><a href="/account/"><?= _t('general.navbar.account_link', $page_language) ?></a></li>
<li><a href="/account/orders/"><?= _t('general.navbar.my_tickets_link', $page_language) ?></a></li>
<?php if ($this->customer->get_attribute('web3_wallet_address')) : ?>
<li><a href="/account/nfts/"><?= _t('general.navbar.my_nfts_link', $page_language) ?></a></li>
<?php endif ?>
<? if ($this->customer->has_super_admin_permission() || $this->customer->is_tf_media() || $this->customer->has_ttf_access([ 'ttf_team', 'tf_developer', 'tf_support_admin', 'tf_client_support_admin', 'ttf_support', 'tf_support', 'tf_client_support', 'ttf_support_advanced'])): ?>
<li><a href="<?= root_url('/internal-admin/') ?>"><?= _t('general.navbar.internal_admin_link', $page_language) ?></a></li>
<? endif; ?>
<? if ($is_staff): ?>
<li><a class="btn-md primary-gr radius" href="<?= root_url('/dashboard/') ?>"><?= _t('general.navbar.manage_events_link', $page_language) ?></a></li>
<? endif; ?>
<li><a href="<?= root_url('/logout/') ?>"><?= _t('general.navbar.log_out_link', $page_language) ?></a></li>
<? if (!empty($session_data['fallback_user_id'])): ?>
<li>
<a onclick="return handleBackToAdmin()" class="btn-md primary-gr radius"><?= _t('general.navbar.back_internal_admin_link', $page_language) ?></a>
</li>
<? endif; ?>
<? else: ?>
<li>
<a href="<?= root_url('/login/' . '?redirect=' . urlencode($_SERVER['REQUEST_URI'])) ?>">
<?= _t('general.log_in', $page_language) ?>
</a>
</li>
<? endif; ?>
</ul>
<? endif; ?>
</div>
</div>
<? if (empty($from_app)): ?>
<div id="menu_burger_v2" data-toggle-class-name="menu-opened">☰</div>
<? endif; ?>
</div>
</div>
<?
if (false): // Hide as no longer required from April 4th 2022
// if(isset($geodata) && !empty($geodata) && $geodata->country_code == 'NZ' && !empty($this->customer) && empty($this->customer->get_attribute('nzcp')) && empty($this->customer->get_attribute('nzcp_file'))): // NZ for New Zealand
?>
<style>
.sticky-banner {
background-color: #7A7A7A;
color: white;
padding: 5px 10px;
position: fixed;
z-index: 100;
width: 100%;
box-sizing: border-box;
}
.sticky-banner-close-btn {
cursor: pointer;
color: white;
}
</style>
<div id="sticky-notice" class="text-center sticky-banner" style="top: 65px;">
Due to new dispositions by New Zealand government, you are required to have "My vaccine pass". Please go to <a href="/account#nzcp-upload">Account</a> and upload your pass there.
<a class="sticky-banner-close-btn" onclick="$('#sticky-notice').hide()"> <i class="fa fa-times-circle-o" aria-hidden="true"></i> </a>
</div>
<? endif; ?>
', 'CMS partial', 'menu_v2', array(0)) |
/modules/cms/classes/cms_controller.php |
1079 |
| 8 |
Cms_Controller->render_partial('menu_v2') |
/templates/layouts/general.php |
36 |
| 7 |
require('/var/www/vhosts/theticketfairy.com/templates/layouts/general.php') |
/modules/theticketfairy/controllers/web/theticketfairy_web_base.php |
102 |
| 6 |
TheTicketfairy_Web_Base->render(()) |
/modules/theticketfairy/controllers/web/theticketfairy_user_web_controller.php |
279 |
| 5 |
TheTicketfairy_User_Web_Controller->action_register(()) |
/modules/theticketfairy/controllers/web/theticketfairy_web_base.php |
73 |
| 4 |
TheTicketfairy_Web_Base->_run('register', array(1) [extracted_params => array(0)]) |
/phproad/modules/phpr/classes/phpr_response.php |
177 |
| 3 |
Phpr_Response->open('/register', 'GET') |
/phproad/system/phproad.php |
31 |
| 2 |
include('/var/www/vhosts/theticketfairy.com/phproad/system/phproad.php') |
/boot.php |
114 |
| 1 |
require_once('/var/www/vhosts/theticketfairy.com/boot.php') |
/index.php |
3 |