| 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/e-ims/file_manager/ |
Upload File : |
<?php
require_once 'config.php';
// Is the user already logged in? Redirect him/her to the private page
if (($_SESSION['loginname']) && ($loggin == '1'))
{
header("Location: index.php");
exit;
}
require_once 'function_login_block.php';
die_if_login_block();
if(isSet($_POST['loginname']))
{
$do_login = true;
include_once 'do_login.php';
}
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>E-IMS</title>
<link rel="stylesheet" href="css/style.css">
<script type="text/javascript" src="js/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="js/jquery-migrate-1.2.1.min.js"></script>
</head>
<body style="background:#F0F0F0;border:none;">
<div id="login_frame">
<div class="login_title">E-IMS</div>
<div class="login_subtitle">User Login</div>
<?php
if(isSet($login_error))
{
echo 'The submitted login info is incorrect.';
}
?>
<form name="login" method="post" action="login.php">
<input type="text" name="loginname" style="background:url(images/username_icon.png) left no-repeat; padding: 2px 2px 2px 42px;">
<input type="password" name="password" style="background:url(images/password_icon.png) left no-repeat; padding:2px 2px 2px 42px;">
<div class="submit_btn">
<input class="submit_btn" type="submit" value="Submit">
</div>
</form>
</div>
</body>
</html>