| 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/(Del)therainbows.org.hk/webadmin/ |
Upload File : |
<?php
require "configure.php";
require_once 'function_login_block.php';
die_if_login_block();
session_start();
if( isset($_POST['submit'])) {
$_SESSION['username'] = $_POST['username'];
$_SESSION['password'] = $_POST['password'];
//$db_object->disconnect();
header('Location: main.php');
} else {
?>
<html>
<head>
<title>Admin Page</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="main.css" />
</head>
<body>
<table border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td valign="middle"><img src="images/banner_Logo&Name.jpg"/></td>
</tr>
<tr>
<td height="44" align="center">
<?
echo "<br><p><b>". $_GET['msg'] ."<b></p>";
?>
<form action="login.php" method="post">
<br>
<br>
<br>
<br>
<table border="0" cellspacing="0" cellpadding="0">
<tr><td align="right" class="admincontent">Login ID</td>
<td class="admincontent">: </td>
<td class="admincontent"><input type="text" name="username" value="" size="25" maxlength="25" ></td></tr>
<tr><td align="right" class="admincontent">Password</td>
<td class="admincontent">: </td>
<td class="admincontent"><input type="password" name="password" value=""size="25" maxlength="25" ></td></tr>
<tr><td colspan="2" align="center" class="admincontent"></td>
<td colspan="2" align="right" class="admincontent" ><input type="submit" name="submit" value="Login"></td></tr>
</table>
</form>
</td>
</tr>
</table>
<?php
}
?>
</body>
</html>