403Webshell
Server IP : 172.67.201.108  /  Your IP : 216.73.216.55
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/wwwdevplanner/mod/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/mitzvahm/wwwdevplanner/mod/home.php
<?php
	$signed_up = false;
	$duplicate = false;
	if ($_POST['signup_submitted'] == '1') :
		if (empty($_POST['first_name'])) :
			$ar_err['first_name'] = 'Required!';
			$err_flag = true;
		endif;
		if (empty($_POST['last_name'])) :
			$ar_err['last_name'] = 'Required!';
			$err_flag = true;
		endif;
		if (empty($_POST['email'])) :
			$ar_err['email'] = 'Required!';
			$err_flag = true;
		elseif (filter_var($_POST['email'], FILTER_VALIDATE_EMAIL) === false) :
			$ar_err['email'] = 'Invalid!';
			$err_flag = true;
		endif;
		if (empty($_POST['zip'])) :
			$ar_err['zip'] = 'Required!';
			$err_flag = true;
		endif;
		if (!$err_flag) :
			$sql = "INSERT INTO prospects set ".
				"first_name = '".mysqli_real_escape_string($GLOBALS['con'], trim($_POST['first_name']))."', ".
				"last_name = '".mysqli_real_escape_string($GLOBALS['con'], trim($_POST['last_name']))."', ".
				"zip = '".mysqli_real_escape_string($GLOBALS['con'], trim($_POST['zip']))."', ".
				"email = '".mysqli_real_escape_string($GLOBALS['con'], trim($_POST['email']))."', ".
				"coupon_code = '".mysqli_real_escape_string($GLOBALS['con'], trim($app_coupon_code))."', ".
				"coupon_discount = '".mysqli_real_escape_string($GLOBALS['con'], trim($app_coupon_discount))."', ".
				"newsletter = ".nz(mysqli_real_escape_string($GLOBALS['con'], trim($_POST['newsletter'])),'0').", ".
				"signup_ip = '".get_client_ip()."' ";
			//mysqli_query($GLOBALS['con'], $sql) or die('Database error! Please contact the web site administrator.');
			//mysqli_query($GLOBALS['con'], $sql) or die(mysqli_error($GLOBALS['con'])."===".$sql."===");
			mysqli_query($GLOBALS['con'], $sql);
			if (mysqli_error($GLOBALS['con'])) :
				$duplicate = true;
			endif;
			$signed_up = true;
			//***************** update MailChimp ****************
			require_once('mailchimp/mailchimp.php');
			$mailchimp = new \Drewm\MailChimp($app_mailchimp_key);
			$result = $mailchimp->call('lists/subscribe', array(
							'id'                => $app_mailchimp_list_id,
							'email'             => array('email'=>$_POST['email']),
							'merge_vars'        => array('FNAME'=>$_POST['first_name'], 'LNAME'=>$_POST['last_name'], 'MMERGE6'=>$_POST['zip'], 'MMERGE9'=>'MO_COUPON',),
							'double_optin'      => false,
							'update_existing'   => true,
							'replace_interests' => false,
							'send_welcome'      => false,
						));
			//***************** mail using PEAR *****************
			require_once "Mail.php";
			$mail_body = '<html>'.
						'<style>body {font-family:Arial, Helvetica, sans-serif; font-size:14px;} table {font-size:14px;}</style>'.
						'Dear '.$_POST['first_name'].' '.$_POST['last_name'].', <br><br>'. 
						'Thank you for your interest in <a href="'.$app_base_secure.'index.php?IX=signup_form&first_name='.urlencode($_POST['first_name']).'&last_name='.urlencode($_POST['last_name']).'&email='.urlencode($_POST['email']).'&promo_code='.urlencode($app_coupon_code).'">MitzvahOrganizer.com</a>.  Please use the following promotion code to receive '.$app_coupon_discount.' off regular purchase price: <br><br>'.
						'<strong>'.$app_coupon_code.'</strong>'.
						/*
						'Thank you for your interest in <a href="http://www.mitzvahorganizer.com">MitzvahOrganizer.com</a>.  Please use the following promotion code to receive $10 off regular purchase price: <br><br>'.
						'<strong>Celebrate2</strong>'.
						'Thank you for your interest in <a href="http://www.mitzvahorganizer.com">MitzvahOrganizer.com</a>.  Please use the following promotion code to receive $18 off regular purchase price: <br><br>'.
						'<strong>HGIFT</strong>'.
						*/
						'<br><br>'.
						'Since you are planning a Bar or Bat Mitzvah, we will also sign you up for our FREE email newsletter from <a href="http://www.mitzvahmarket.com">www.MitzvahMarket.com</a> (the creator of Mitzvah Organizer). It\'s filled with the latest ideas to make your child\'s celebration different from the rest.'.
						'<br><br>'.
						'We strive to ensure that your experience with MitzvahOrganizer.com and MitzvahMarket.com will be exceptional.  Please don\'t hesitate to contact us if you have questions or encounter any issues. <br><br>'.
						'Thank You, <br>'.
						'The MitzvahOrganizer Team <br>'.
						'<a href="'.$app_base.'">'.$app_base.'</a> <br>'.
						'<a href="mailto:[email protected]">[email protected]</a> <br>'.
						'</html>' ;
			$pmail_from = '[email protected]';
			$pmail_to["To"] = $_POST['email'];
			$pmail_to["Bcc"] = $app_mail_bcc;
			$pmail_subject = 'MitzvahOrganizer.com Discount Coupon';
			$pmail_body = $mail_body;
			$pmail_host = get_cfg_var('SMTP');
			$pmail_username = "";
			$pmail_password = "";
			$pmail_headers = array ('From' => $pmail_from,
			'To' => $pmail_to["To"],
			'Subject' => $pmail_subject,
			'MIME-Version' => '1.0',
			'Content-type' => 'text/html; charset=iso-8859-1');
			$smtp = Mail::factory('smtp',
			array ('host' => $pmail_host,
			 //'auth' => true,
			 'auth' => false,
			 'username' => $pmail_username,
			 'password' => $pmail_password
			 ));
			$pmail = $smtp->send($pmail_to, $pmail_headers, $pmail_body);
		endif;
	endif;
?>
<script src="js/text_slider.js?ver=<?php echo filemtime(dirname(__DIR__).'/js/text_slider.js') ?>"></script>
<script>
	scroll_gal_left = function(scrollID)
	{
		$('#' + scrollID).animate({scrollLeft: '-=75'},250,'linear');
		scroll_timeout = setTimeout('scroll_gal_left("' + scrollID + '")',250);
	}
	
	scroll_gal_right = function(scrollID) 
	{
		$('#' + scrollID).animate({scrollLeft: '+=75'},250,'linear');
		scroll_timeout = setTimeout('scroll_gal_right("' + scrollID + '")',250);
	}
	
	scroll_stop = function() 
	{
		clearTimeout(scroll_timeout);
	}
	$(document).ready(function()	
	{
		$('.home_cell_background').mouseover(function() {
				$(this).parent('div').find('.home_cell_text').show();
			});
		$('.home_cell_text').mouseout(function() {
				$(this).hide();
			});
		$('#home_testimonials_list').text_slider({
			timeout: 6000,
			//slide_time: 750,
			//loop: 1,
		});
	});
</script>
<div class="cleardiv">
</div>
<div class="home_signup">
	<div style="padding-left:22px; padding-right:22px; padding-top:0px; padding-bottom:0px; ">
		<div id="home_signup_button" style="">
			<a href="index.php?IX=signup_form">
				<img src="img/home_buy_button5.png" style="cursor:pointer; width:150px; float:right;" alt="Purchase Mitzvah Organizer">
			</a>
		</div>
		<div class="cleardiv">
		</div>
		<div class="home_nav">
			<a href="javascript:window_video('terms_window','video_overview');">OVERVIEW</a>
			<a href="index.php?IX=tour">TOUR</a>
			<a href="#home_testimonials_header">TESTIMONIALS</a>
		</div>
		<h1 class="home">The Go-To Planning Tool For B'nai Mitzvah Families</h1>
		<h2 class="home">Budget Planner &#10017 Guest List Management &#10017 Celebration Details</h2>
		<div class="home_video">
			<a href="javascript:window_video('terms_window','video_overview');"><img class="home_icon" src="img/home_icon_video.png" />Watch our overview video</a>
		</div>
	</div>
	<img src="img/home_collage2.jpg?ver=<?php echo filemtime(dirname(__DIR__).'/img/home_collage2.jpg') ?>" style="max-width:100%; margin-top:15px; display:block; margin-left:auto; margin-right:auto;" />
	<div class="home_video">
		<a href="index.php?IX=tour"><img class="home_icon" src="img/home_icon_tour.png" />Take a tour</a>
	</div>
	<!-- -------------------------- Coupon -------------------------- -->
	<?php
		if ($_COOKIE['MitzvahPlanner_Customer'] != 'true' && $_COOKIE['MitzvahPlanner_Coupon'] != 'true' && empty($_GET['suppress_coupon'])) :
	?>
			<script>
				//*********** Detect mouse leaving browser window **********
				var coupon_popup_done = false;
				var coupon_html = '';
				function coupon_popup()
				{
					if (coupon_popup_done)
					{
						return;
					}
					//alert('will do popup - ' + coupon_popup_done);
					window_coupon_popup('terms_window', coupon_html);
					coupon_popup_done = true;
				}
				$(window).mouseleave(function() {
					// cursor has left the building
					coupon_popup();
				})
				$('body').mouseleave(function() {
					// cursor has left the IE building
					coupon_popup();
				})
				//***********************************************************
			</script>
			<?php
				ob_start();
			?>
			<a name="coupon_anchor"></a>
			<div>
				<?php /*
				<div style="width:100%; text-align:center; font-size:14px; padding-top:5px; padding-bottom:5px; margin-top:5px; margin-bottom:15px;">
				*/ ?>
				<div style="width:100%; text-align:center; font-size:14px; padding-top:5px; padding-bottom:5px; margin-top:20px; margin-bottom:15px;">
					<?php
						if ($signed_up) :
					?>
							<h2>Thank you! Your coupon code is <span style="font-weight:bold; color:#000000;"><?php echo $app_coupon_code; ?></span> - please check your email for details.</h2>
							<?php /* <h2>Thank you! Your coupon code is <span style="font-weight:bold; color:#000000;">Celebrate2</span> - please check your email for details.</h2> */ ?>
							<?php /* <h2>Thank you! Your coupon code is <span style="font-weight:bold; color:#000000;">HGIFT</span> - please check your email for details.</h2> */ ?>
							<script>
								setCookie('MitzvahPlanner_Coupon','true',7);
							</script>
					<?php
						else :
					?>
							<h4 class="home" style="margin:0px; color:#EE3F88;"><?php echo $app_coupon_header; ?></h4>
							<?php /* <h4 class="home" style="margin:0px; color:#EE3F88;">Limited time offer! Receive a $10 off coupon by email:</h4> */ ?>
							<?php /* <h4 class="home" style="margin:0px; color:#EE3F88;">Limited time Hanukkah offer! Receive a $18 off coupon by email:</h4> */ ?>
							<?php /*
							<form name="frm_coupon" id="frm_coupon" method="post" action="#coupon_anchor">
							*/ ?>
							<form name="frm_coupon" id="frm_coupon" method="post" action="">
								<input name="signup_submitted" type="hidden" value="1" />
								<div class="home_signup_field"> 
									First Name<br />
									<input type="text" name="first_name" id="first_name" value="<?php echo $_POST['first_name']; ?>" style="width:150px;" maxlength="30" />
									<?php show_form_error($ar_err['first_name']); ?>
								</div>
								<div class="home_signup_field"> 
									Last Name<br />
									<input type="text" name="last_name" id="last_name"  value="<?php echo $_POST['last_name']; ?>" style="width:150px;" maxlength="30" />
									<?php show_form_error($ar_err['last_name']); ?>
								</div>
								<div class="home_signup_field"> 
									Email<br />
									<input type="text" name="email" id="email"  value="<?php echo $_POST['email']; ?>" style="width:250px;" maxlength="80" />
									<?php show_form_error($ar_err['email']); ?>
								</div>
								<div class="home_signup_field"> 
									Zip Code<br />
									<input type="text" name="zip" id="zip"  value="<?php echo $_POST['zip']; ?>" style="width:100px;" maxlength="12" />
									<?php show_form_error($ar_err['zip']); ?>
								</div>
								<br />
								<div class="home_signup_field" style="clear:both;"> 
									<br />
									<input type="submit" value="Get coupon!" />
								</div>
								<div class="cleardiv">
								</div>
							</form>
					<?php
						endif;
					?>
				</div>
			</div>
			<div class="cleardiv">
			</div>
	<?php
			$coupon_html = ob_get_clean();
			echo '<script>coupon_html = '.json_encode($coupon_html).';</script>';
			if ($_POST['signup_submitted'] == '1') :
				echo '<script>$(document).ready(function() {coupon_popup();});</script>';
			endif;
		endif;
	?>
	<!-- ------------------------------------------------------------- -->
	<h3 class="home center">Have a look at everything you will be able to do:</h3>
	<div class="home_column">
		<h3 class="home">Effortlessly Manage:</h3>
		<p><img class="home_checkbox" src="img/home_checkbox.png" alt="checkbox" /><span class="home_feature">All Events:</span> Kiddush, Temple Service, Parties for Adults & Kids, Brunch and more</p>
		<p><img class="home_checkbox" src="img/home_checkbox.png" alt="checkbox" /><span class="home_feature">Master Guest List:</span> Keep track of all guest information</p>
		<p><img class="home_checkbox" src="img/home_checkbox.png" alt="checkbox" /><span class="home_feature">Invitations &amp; Inserts:</span> Track RSVP's and more</p>
		<p><img class="home_checkbox" src="img/home_checkbox.png" alt="checkbox" /><span class="home_feature">Hotel &amp; Bus Arrangements:</span> Create necessary lists</p>
		<p><img class="home_checkbox" src="img/home_checkbox.png" alt="checkbox" /><span class="home_feature">Temple Honors:</span> Keep information in one place</p>
		<p><img class="home_checkbox" src="img/home_checkbox.png" alt="checkbox" /><span class="home_feature">Party Favors:</span> Assign sizes, other options</p>
		<p><img class="home_checkbox" src="img/home_checkbox.png" alt="checkbox" /><span class="home_feature">Party Details:</span> seating arrangements, place cards, song list, candle lighting</p>
		<p><img class="home_checkbox" src="img/home_checkbox.png" alt="checkbox" /><span class="home_feature">Vendors:</span> compare vendor proposals, then build a master budget to track your spending</p>
	</div>
	<div class="home_column">
		<h3 class="home">Features:</h3>
		<h4 class="home">The Easiest and Most Comprehensive Planning Tool for Your Child's Bar/Bat Mitzvah</h4>
		<p><img class="home_checkbox" src="img/home_checkbox.png" alt="checkbox" />Manage all aspects of your event using over 30 pre-designed reports that can be exported using excel or pdf. Complete financial management system to track all expenses and keep a budget.</p>
		<h4 class="home">Auto-Update</h4>
		<p><img class="home_checkbox" src="img/home_checkbox.png" alt="checkbox" />Enter info only once and the system populates all the relevant forms and tabulates expenses for you.</p>
		<h4 class="home">Access Anywhere: On your computer, tablet or phone</h4>
		<p><img class="home_checkbox" src="img/home_checkbox.png" alt="checkbox" />Update or reference information as you tour venues, visit vendors, or sit in a coffee shop.</p>
		<!-- <p><img class="home_checkbox" src="img/home_checkbox.png" alt="checkbox" />Allows others in your party-planning-process to post directly to your account for review.</p> -->
	</div>
	<div class="cleardiv">
	</div>
	<!-- ----------------------------------------------------------------------- -->
	<div style="text-align:center; margin-bottom:20px;">
		<h1 class="home_simcha">Buy now and make your life easier</h1>
		<a href="index.php?IX=signup_form">
			<img src="img/home_buy_button5.png" class="home_buy_button" alt="Purchase Mitzvah Organizer">
		</a>
	</div>
	<!-- ----------------------------------------------------------------------- -->
	<img src="img/home_collage3.jpg?ver=<?php echo filemtime(dirname(__DIR__).'/img/home_collage3.jpg') ?>" style="max-width:100%; margin-top:30px; display:block; margin-left:auto; margin-right:auto;" />
	<div style="text-align:center;">
		<h1 class="home_simcha">Simplify your Simcha</h1>
		<a href="index.php?IX=signup_form">
			<img src="img/home_buy_button5.png" class="home_buy_button" alt="Purchase Mitzvah Organizer">
		</a>
	</div>
	<div style="color:#525252; font-weight:normal; font-size:22px; text-align:center; font-family: 'Merriweather',sans-serif; padding:20px;">
		<span style="font-size:32px; color:#EE3F88; font-weight:bold;">SO EASY AND CONVENIENT!</span>
		<p>It's even fun to use and share. Take it from the Mitzvah Market Moms who have worked with hundreds of families - Let's get your Bar/Bat Mitzvah Planning Started!</p>
	</div>
	<h3 id="home_testimonials_header" class="home" style="text-align:center;">What our customers say:</h3>
	<div id="home_testimonials">
		<ul id="home_testimonials_list">
			<li>
				<p>Two years before our first son's Bar Mitzvah, I started organizing all of the details of his big event. A friend of mine mentioned Mitzvah Organizer and when I looked it over I found this great tool could save me a lot of time and keep me organized with the different events we were planning.</p>
				<p>As a Rabbi's wife of a congregation of over 900 families plus another 400 invited guests, I found Mitzvah Organizer helped in so many ways: tracking who was coming to each event, the gifts given by the various people, the vendors information and so many other detailed items.</p>
				<p>And now as we plan for our younger son's Bar Mitzvah, we know that we can take the information from our first son's Bar Mitzvah and transfer it to our next son's Bar Mitzvah. What a time saver and life helper! Thank you for this amazing product!</p>
				<p class="testimonial_signature">Dr. Michelle Bisno, Rebbetzin of Rodef Shalom, Pittsburgh</p>
			</li>
			<li>
				<p>I searched and couldn't find anything that compares to Mitzvah Organizer. It truly organized all my details and I'm not sure I could have planned our celebration without!</p>
				<p class="testimonial_signature">Lori C, Warren, NJ</p>
			</li>
			<li>
				<p>This software is a MUST for anyone organizing a Bat/Bar Mitzvah. Just managing the mailing list and who gets invited to the different events made using this software well worth it.</p>
				<p class="testimonial_signature">Patrick I, Little Rock, AR</p>
			</li>
			<li>
				<p>Mitzvah organizer was a huge help!  The overall best feature is that I was able to access it from anywhere.  I didn't have to carry around papers with lists.  The table seating feature was awesome. It helped me to make adult tables and move people around easily.  I loved that I could print out lists of adults and kids that I was able to use for so many things.  It kept an easy record of responses.  I was surprised at the end when I entered in the gifts that it actually totaled the money as we entered.  The budget planning and expense features were also really helpful.  With all the money spent planning a Bar Mitzvah, this is a definite no brainer.  Everyone should be using Mitzvah Organizer!</p>
				<p class="testimonial_signature">Heather H, Jericho, NY</p>
			</li>
			<li>
				<p>I've just started using the Mitzvah Organizer for my sons Bar Mitzvah in May, 2015. Let me first tell you that this is not my first time hosting a Bar Mitzvah!!</p>
				<p>Having done the first one the traditional way (3-ring binder and spreadsheets), the Mitzvah Organizer is great!!  My favorite part is the guest coordination tools. I love that I can look at who is invited to what events!!  It makes it so easy!!  I'm looking forward to using it to manage my invitations and rsvp's!</p>
				<p class="testimonial_signature">Lisa B, Doylestown, PA</p>
			</li>
			<li>
				<p>When planning our older daughter's Bat Mitzvah, I actually posted on Facebook asking if anyone knew of a Bat Mitzvah planning website. Most people laughed. Fast forward one year and I am enjoying using your Mitzvah Organizer for our younger daughter's Bat Mitzvah. Thank you.</p>
				<p class="testimonial_signature">Dara C, Hollywood, FL</p>
			</li>
			<li>
				<p>Great system to get our event running smoothly.</p>
				<p class="testimonial_signature">Andy H, Chattanooga, TN</p>
			</li>
			<li>
				<p>Having never planned a Bat Mitzvah before, your software was a true life saver. It helped me stay organized, generate lists for all of my vendors as well as monitor my budget. Our Bat Mitzvah was this past Saturday and I'm now onto the last stage with organizing the gifts for the thank you cards.</p>
				<p>Thank you, your program helped me stay sane!!!</p>
				<p class="testimonial_signature">Ellen L, Fairfield, CT</p>
			</li>
		</ul>
	</div>
	<!--
		<div class="gallery_arrow_left">
			<img class="gallery_arrow" src="img/gallery_arrow_left.png" alt="arrow left" onmousedown="scroll_gal_left('filmstrip');" onmouseup="scroll_stop();" />
		</div>
		<div class="gallery_arrow_right">
			<img class="gallery_arrow" src="img/gallery_arrow_right.png" alt="arrow right" onmousedown="scroll_gal_right('filmstrip');" onmouseup="scroll_stop();" />
		</div>
	-->
	<div style="text-align:center; margin-top:25px; margin-bottom:25px;">
		<span class="home_feature" style="color:#EE3F88;">Satisfaction Guaranteed.  Full Refund If It Doesn't Simplify Your Simcha</span><br />
		<a href="index.php?IX=signup_form">
			<img src="img/home_buy_button5.png" class="home_buy_button" alt="Purchase Mitzvah Organizer">
		</a>
	</div>
</div>

Youez - 2016 - github.com/yon3zu
LinuXploit