| Server IP : 172.67.201.108 / Your IP : 216.73.217.54 Web Server : Apache/2.4.68 (Amazon Linux) OpenSSL/3.5.5 System : Linux ip-172-31-69-123.ec2.internal 6.1.176-223.369.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jul 24 13:34:27 UTC 2026 x86_64 User : ec2-user ( 1000) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/tgnewdev/mod/ |
Upload File : |
<div class="pagetop">
<div class="pagetop_right">
<?=APP_TITLE?>
</div>
<div class="pagetop_left">
<?=APP_COMPANY?>
</div>
<?php
//var_dump($_SESSION);
if (($_SESSION['logged_in'] ?? NULL) == true) :
?>
<div id="div_login_form" class="pagetop_login">
<form method="post" action="index.php?IX=logout">
<span id="welcome">Welcome <?php echo $_SESSION['user_full_name']; ?> </span>
<input type="submit" value="Logout" />
<input type="button" value="Change Password" onclick="window.location.href = 'index.php?IX=password_form'" style="width:auto;" />
</form>
</div>
<?php
endif;
?>
</div>
<?php
if (($_SESSION['logged_in'] ?? NULL) == true) :
?>
<form name="frm_pdf" id="frm_pdf" method="post" action="ajax.php?call=genpdf&header=<?php echo urlencode(get_page_title($ix)); ?>" style="display:none;" target="_blank">
<textarea name="pdf_html" id="pdf_html"></textarea>
</form>
<div class="fullspan">
<div id="newnav">
<ul id="jsddm">
<?php
top_menu_item_group_start('events', 'EVENTS','admin,dataentry');
top_menu_item('events_pending', 'PENDING EVENTS','admin,dataentry');
top_menu_item('events_recurring', 'RECURRING EVENTS','admin,dataentry');
top_menu_item_group_end();
top_menu_item('categories', 'CATEGORIES','admin,dataentry');
top_menu_item('locations', 'LOCATIONS','admin,dataentry');
top_menu_item('articles', 'ARTICLES','admin,dataentry');
top_menu_item('media', 'MEDIA','admin,dataentry');
if (app_has_feature('tg_off_broadway')) :
top_menu_item_group_start('obw_shows', 'OFF BWY SHOWS','admin,dataentry');
top_menu_item('obw_shows', 'OFF BWY SHOWS','admin,dataentry');
top_menu_item('obw_locations', 'OFF BWY LOCATIONS','admin,dataentry');
top_menu_item_group_end();
endif;
top_menu_item('reports', 'REPORTS','admin');
top_menu_item('users', 'USERS', 'admin');
top_menu_item_group_start('clear_cache', 'UTILITIES','admin,super');
top_menu_item('clear_cache', 'CLEAR CACHE','admin,super');
top_menu_item('app_features', 'APP FEATURES','admin,super');
top_menu_item('data_import_csv', 'DATA IMPORT - CSV EVENTS','admin,super');
top_menu_item('data_import', 'DATA IMPORT - WP','super');
top_menu_item('data_import_obw', 'DATA IMPORT - OBW','super');
top_menu_item_group_end();
//top_menu_item('reports', 'REPORTS', 'admin');
?>
</ul>
</div>
</div>
<script>
// see whether device supports touch events (a bit simplistic, but...)
var hasTouch = ("ontouchstart" in window);
var iOS5 = /iPad|iPod|iPhone/.test(navigator.platform) && "matchMedia" in window;
// hook touch events for drop-down menus
// NB: if has touch events, then has standards event handling too
// but we don't want to run this code on iOS5+
if (hasTouch && document.querySelectorAll && !iOS5) {
var i, len, element,
dropdowns = document.querySelectorAll("#jsddm li.children > a");
function menuTouch(event) {
// toggle flag for preventing click for this link
var i, len, noclick = !(this.dataNoclick);
// reset flag on all links
for (i = 0, len = dropdowns.length; i < len; ++i) {
dropdowns[i].dataNoclick = false;
}
// set new flag value and focus on dropdown menu
this.dataNoclick = noclick;
this.focus();
}
function menuClick(event) {
// if click isn't wanted, prevent it
if (this.dataNoclick) {
event.preventDefault();
}
}
for (i = 0, len = dropdowns.length; i < len; ++i) {
element = dropdowns[i];
element.dataNoclick = false;
element.addEventListener("touchstart", menuTouch, false);
element.addEventListener("click", menuClick, false);
}
}
</script>
<?php
endif;
?>