| Server IP : 104.21.21.239 / Your IP : 216.73.216.11 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/mitzvahm/planner/mod/ |
Upload File : |
<?php
$lock_file = "locksite.htm";
if (file_exists($lock_file)) :
$homepage = file_get_contents($lock_file);
echo $homepage;
die();
endif;
if ($_SESSION['logged_in'] == true) :
$logo_href = 'index.php?IX=ez_guide';
else :
$logo_href = 'index.php?IX=home';
endif;
?>
<div class="pagetop">
<img id="mitzvah_logo" src="img/lg_mitzvah_logo.png?ver=<?php echo filemtime(dirname(__DIR__).'/img/lg_mitzvah_logo.png') ?>" alt="Mitzvah Organizer Bar Bat Mitzvah Planning Software" usemap="#mm_map" />
<map name="mm_map">
<area shape="rect" coords="25,0,522,61" href="<?php echo $logo_href; ?>" alt="<?php echo $logo_href; ?>" >
<area shape="rect" coords="363,63,522,79" href="http://www.mitzvahmarket.com/" alt="mitzvahmarket.com" target="_blank">
</map>
<div id="div_login_form" class="pagetop_login">
<?php
//var_dump($_SESSION);
if ($_SESSION['logged_in'] == true) :
if (!empty($_SESSION['active_event'])) :
$sql = "SELECT * FROM events WHERE id = ".$_SESSION['active_event']." AND user_id = ".$_SESSION['user_id'];
$result = mysqli_query($GLOBALS['con'], $sql);
if (mysqli_num_rows($result) > 0) :
$row = mysqli_fetch_object($result);
$active_event_name = $row->event_name;
echo '<SCRIPT>';
echo "var print_sub_header = '<p style=\"float:none;\"><br />".$row->event_name." ".$row->event_date."<br /></p>';";
echo '</SCRIPT>';
endif;
endif;
?>
<div style="float:right; text-align:right; overflow:hidden; height:65px; width:292px; white-space:nowrap; line-height:22px; margin-right:5px;">
Welcome <?php echo $_SESSION['user_first_name'].' '.$_SESSION['user_last_name'].'<BR />'; ?>
<form style="" name="frm_logout" id="frm_logout" method="post" action="index.php?IX=logout">
<input type="submit" class="button_login" style="float:right;" value="Logout" />
</form>
<?php
if ($_SESSION['delegate'] == 1 && !$_SESSION['delegate_logged_in']) :
?>
<form style="" name="frm_delegate" id="frm_delegate" method="post" action="index.php?IX=delegate_login">
<input type="submit" class="button_login" style="float:right; margin-right:5px;" value="Delegate" />
</form>
<?php
endif;
if (isset($_SESSION['delegate_logged_in'])) :
if ($_SESSION['delegate_logged_in'] == true) :
echo $_SESSION['delegate_user_first_name'].' '.$_SESSION['delegate_user_last_name'].' as delegate ';
endif;
endif;
?>
<br /><?php echo $active_event_name; ?>
</div>
<?php
else :
include_once('_pagetop_form_login.php');
endif;
?>
</div>
<div class="cleardiv">
</div>
</div>
<?php
if ($_SESSION['logged_in'] == 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" style="width:100%; font-size:13px; height:auto; margin-top:3px; left:0px; position:relative; color:#FFFFFF; text-align:center;">
<ul id="jsddm">
<li>
<a href="index.php?IX=ez_guide" aria-haspopup="true">SITE OVERVIEW</a>
<ul>
<li><a href="index.php?IX=tools_tips">Tools & Tips</a></li>
<li><a href="index.php?IX=help">Help</a></li>
<li><a href="index.php?IX=faq">Frequently Asked Questions</a></li>
</ul>
</li>
<li class="jsddm_spacer"> </li>
<li>
<a href="#" aria-haspopup="true">MY INFORMATION</a>
<ul>
<li><a href="index.php?IX=events">Bar/Bat Mitzvah List</a></li>
<li><a href="index.php?IX=event_form&id=<?php echo $_SESSION['active_event']; ?>">Bar/Bat Mitzvah Edit</a></li>
<li><a href="index.php?IX=account_form">My Account</a></li>
</ul>
</li>
<li class="jsddm_spacer"> </li>
<li>
<a href="#" aria-haspopup="true">GUESTS</a>
<ul>
<li><a href="index.php?IX=guest_quick_entry">Guest Quick Entry</a></li>
<li><a href="index.php?IX=guest_form">Guest Full Entry</a></li>
<li><a href="index.php?IX=guests">Guest List</a></li>
<li><a href="index.php?IX=invitation_inserts">Invitation Inserts</a></li>
<li><a href="index.php?IX=invitations">Invitations</a></li>
<li><a href="index.php?IX=rsvp">RSVP</a></li>
<li><a href="index.php?IX=hotel">Hotel Arrangements</a></li>
<li><a href="index.php?IX=bus">Bus Arrangements</a></li>
<li><a href="index.php?IX=gifts">Gifts</a></li>
<li><a href="index.php?IX=data_import">Import Guests from Excel<sup>®</sup></a></li>
</ul>
</li>
<li class="jsddm_spacer"> </li>
<li>
<a href="#" aria-haspopup="true">VENDORS</a>
<ul>
<li><a href="index.php?IX=vendors">Vendor List</a></li>
<li><a href="index.php?IX=budget">Budget</a></li>
</ul>
</li>
<li class="jsddm_spacer"> </li>
<li>
<a href="#" aria-haspopup="true">PLANNING</a>
<ul>
<li><a href="index.php?IX=tables">Tables</a></li>
<li><a href="index.php?IX=table_assign">Table Assignment</a></li>
<li><a href="index.php?IX=placecards">Place Cards</a></li>
<li><a href="index.php?IX=food">Food Selection</a></li>
<li><a href="index.php?IX=candles">Candlelighting</a></li>
<li><a href="index.php?IX=songs">Song List</a></li>
<li><a href="index.php?IX=favors">Favor Definition</a></li>
<li><a href="index.php?IX=favorlist">Favor List</a></li>
<li><a href="index.php?IX=honors">Ceremony Honors</a></li>
</ul>
</li>
<li class="jsddm_spacer"> </li>
<li>
<a href="index.php?IX=reports">REPORTS</a>
</li>
<li class="jsddm_spacer"> </li>
<li>
<a href="index.php?IX=notes">NOTES</a>
</li>
</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;
?>