<?php
/*
############################[ <about> ] #######################
Author :: Bijaya Kumar Behera <hide@address.com>
Website :: http://digitalwebsolutions.in
Add :: +91 9911033016 ,011-25331969
############################[ </about> ] #######################
*/
require('config.common.php');
if( $_SERVER['REQUEST_METHOD'] ==='POST' && isset($_POST['sbtLogin']) ) {
if( ! ( $_POST['txtEmailId'] == 'hide@address.com' && $_POST['txtPassword'] == '123456') ) {
$sess->flash("<p ><ul style='color:red'><li> <b> Invalid Email Id / Password or both</b></li></ul><p>");
} else {
$sess->flash( "<p style='color:green;font-size:14px'><b>Your are successfully logged</b><p>");
$sess->write('AUTH_DATA', array( 'email_id'=>'hide@address.com','full_name'=>'Bijaya Kumar behra'));
?>
<html>
<body onLoad="javascript:document.frm.submit()">
<form method="post" action="index.php" name="frm" >
<input type="hidden" name="REFRESH_GUID" value="<?php echo $sess->getRefreshGuid(); ?>" />
</form>
</body>
</html>
<?php
exit ;
}
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Login </title>
<link rel="icon" href="default_html/favicon.ico" type="image/ico">
<style type="text/css">
body { height: 100%; background-color: #F9F8F8; margin: 0px; padding:0px; font-family: Tahoma, Arial, Helvetica, sans-serif; font-size: 11px; font-weight: normal; color: #000000;}
a:link { color:#00238a;text-decoration: none; }
a:visited { color:#00238a;text-decoration: none; }
a:hover { text-decoration: underline; }
a:active { text-decoration: underline; }
a#forgot {color:#444444;text-decoration:underline;}
a#forgot:hover { text-decoration:underline; color:#FF9900; border-color: #FF9900; }
input#p, input#l { border: 1px solid #999999; font-size:11px; width:144px;}
table { color:#444444;font-size: 11px;}
h2 { color: #5e77b2; margin: 0 0 5px 0; font-size: 14px; font-weight: bold;border-bottom:1px solid #FF9900;padding-bottom:5px;font-family: Tahoma, Arial, Helvetica, sans-serif;}
h3 {font-size: 12px;margin: 5px 0;font-family: Tahoma, Arial, Helvetica, sans-serif;}
#header { position: relative; width: 100%; background:#FF9900; height:60px !important;border-bottom:2px solid #FF9900;}
#header h1 { margin:0 !important;padding:0 !important;text-indent:-2000em;width:214px;height:60px;}
#header #logo {position:absolute;top:18; left:10px; right:0;background:#FF9900; font-family: Tahoma, Arial, Helvetica, sans-serif; font-weight: 500; font-size:22px; color:#FFFFFF;}
#header h5 { font-size:10px; padding:5px;}
div#centered { border: 0; width: 500px; margin:40px auto; color: black; padding:10px;border:2px solid #FF9900; text-align:right;background: #ffffff;overflow:hidden;}
.aligncenter {text-align:center;}
#content {width:480px;text-align:left;float:right;}
form {white-space: nowrap; margin-bottom:2em; margin-top: 2em;}
small {text-align:right; display: block; font-size: x-small;}
#copyright { position:absolute;right:10px; top:15px; font-family: Tahoma, Arial, Helvetica, sans-serif; font-size: 11px; font-weight: normal; width: auto; text-align:right; }
#copyright a {color:#ffffff;}
#copyright a:hover {text-decoration:none;}
#bottom { position:absolute; bottom:0; width: 100%; background: #FF9900; height:38px !important;}
#bottom_text { position:absolute;left:10px; top:13px; text-align:center; vertical-align:middle;width:95%; font-family: Tahoma, Arial, Helvetica, sans-serif; font-size: 11px; font-weight: normal; color:#00238a;}
#content h2 { color: red;}
</style>
</head>
<body>
<div id="header">
<div id="logo"><a href="#" target="_blank" title="Powered By 3G Rocket Framework 1.0" style="color:#FFFFFF; text-decoration: none;"><sup style="font-size:16px">Powered by</sup>3G Rocket<sup style="font-size:16px">®</sup> Framework 1.0</a></div>
</div>
<div class="aligncenter">
<div id="centered">
<div id="content">
<?php echo $sess->flash(); ?>
<form action="" method="post" >
<h2 style="color:#000066">Login </h2>
<label> Email id: </label> <input type="text" name="txtEmailId" value="<?php echo isset($_POST['txtEmailId']) ? htmlentities($_POST['txtEmailId']): '';?>" />
<label> Password: </label> <input type="password" name="txtPassword" value="" />
<input type="submit" value="Login" name="sbtLogin" />
</form>
Use : Email Id : hide@address.com , Passwprd : 123456
</div></div></div>
<div id="copyright"></div>
<div id="bottom">
<div id="bottom_text">© Copyright 2010-2011, <a href="mailto:hide@address.com">Bijaya Kumar Behera, New Delhi, India +91 9911033016 , 011-25331969</a></div>
</div>
</body>
</html>