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/survey_demo/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/hkosl.com/survey_demo//registration_step1_verify.php
<?php
	require_once('webadmin/basic_info.php');

	if (!isset($_SESSION["id"]) || (int)$_SESSION["id"] <= 0) {
		echo "<script type='text/javascript'>alert('Cannot find survey information.');</script>";
		exit;
	} else {
		$id = (int)$_SESSION["id"];

		$campaign = get_campaign($id);
		check_campaign_date($campaign);
	}
?>

<!DOCTYPE html>
<html>
<head>
	<?php require_once('html_head.php'); ?>
	<link rel="stylesheet" type="text/css" media="screen" href="js/form_builder/assets/css/form-builder.min.css">

	<?php
		if (empty($_SESSION["telephone"])) {
			echo "<script>alert('Please enter your mobile number.\\n請輸入你的手提電話號碼。'); location.href='registration_step1.php';</script>";
			exit;
		}
	?>

	<script type="text/javascript">
		function resend_sms() {
			alert("Verification Code SMS has resent.\n驗證碼短訊已重發。");
			location.href = 'registration_step1_post.php';
		}
	</script>
</head>
<body>

<div class="container">
	<h1>
		<?php
			foreach ($arraylangcode as $langcode => $langname) {
				if (!empty($campaign["name_" . $langcode])) {
					echo $campaign["name_" . $langcode] . "<br>";
				}
			}
		?>
	</h1>

	<div style="margin-top: 30px;font-size: 17px;">
		<form action="registration_step1_verify_post.php" method="post" name="register" id="register" enctype="multipart/form-data">
			<h4>Register Sinomax Member 登記 Sinomax 會員<br><br>Step 1. Verify Mobile Phone Number<br>步驟一 驗證手提電話號碼</h4>

			<div class="user_info_field">
				<div class="required_field">Mobile Phone Number 手提電話號碼</div>
				<?=($_SESSION["telephone"]);?>

			</div>

			<div class="user_info_field">
				<div class="required_field">Code 認證碼</div>
				<input class="form-control text-input" name="code" type="text">
				<br>

				<button type="button" class="btn" onclick="resend_sms();">Resend Code 重發認證碼</button>

			</div>

			<div class="tc" style="margin-top: 50px;">
				<a href="registration_step1.php" style="margin-right: 20px;">
					<button type="button" class="btn">Previous Step 上一步</button>
				</a>
				<button type="submit" class="btn">提交 Submit</button>
			</div>

		</form>
	</div>

</div>

<?php require_once('html_footer.php'); ?>
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit