Your IP : 216.73.217.78


Current Path : /home/seto/public_html/brokers-binary.com/lm/template/
Upload File :
Current File : /home/seto/public_html/brokers-binary.com/lm/template/login.php

<?php
if(!defined("INDEX")){header('HTTP/1.1 403 Forbidden'); die('403 Forbidden');}
session_start();
if(empty($_SESSION['auth'])){$_SESSION['auth'] = '';}
if(isset($_POST['login']) && $_POST['login'] == 'Submit'){
	if($pass == md5(trim($_POST['pass']))){
		$_SESSION['auth'] = $pass;
	}
}
if(!$_SESSION['auth']){
	echo '
<!DOCTYPE html>
<html>
<head>
<title>Authorization</title>
<meta http-equiv="Content-Type" content="text/html; Charset=utf-8">
<style type="text/css">
body {
 background-image:url(template/bg.png);
 background-repeat:repeat;
 background-attachment:fixed;
}
</style>
</head>
<body>
<center>
<form method="post" style="padding-top:200px;">
	Password: <input style=" max-width:100px; width:100%;" type="password" name="pass" autofocus>
	<input class="button" type="submit" name="login" value="Submit">
</form>
</center>
</body>
</html>
	';
	exit();
}
?>