<?php session_start(); ?> <!-- session start -->
<?php include("include/config.php"); ?> <!-- database connection -->
<?php include("include/connect_url.php"); ?> <!-- connection url/link folder -->
<?php include("include/date_time.php"); ?> <!-- date & time format -->
<?php include("include/csrf.php"); ?> <!-- csrf -->
<?php include("database/account.php"); ?>  <!-- query database account -->
<?php include("include/lang.php"); ?> <!-- language -->

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<title><?php echo $lang['Login']; ?></title>

<link rel="shortcut icon" href="favicon.ico" />

<link href="css/styles.css" rel="stylesheet" type="text/css" />
<!--[if IE]> <link href="css/ie.css" rel="stylesheet" type="text/css"> <![endif]-->

</head>

<body>

<!-- Top begins -->
<div id="top">
	<div class="wrapper">
    	<a href="#" title="" class="logo"><img src="images/logo.png" alt="" /></a>
    </div>
</div>
<!-- Top ends -->


<!-- Login wrapper begins -->
<div class="loginWrapper">

<div class="loginBackground">
    <!-- Login Form -->
    <form action="login" id="login" method="POST">
	
	<div class="loginPic">
            <span><?php echo $lang['Login']; ?></span>
        </div>
	
        <input type="text" name="username" placeholder="<?php echo $lang['Username']; ?>" class="loginUsername" />
        <input type="password" name="password" placeholder="<?php echo $lang['Password']; ?>" class="loginPassword" />
	
	<?php  $_SESSION['csrf_hash']= $csrf_hash; ?>
        <input type="HIDDEN" name="csrf_hash" value="<?php echo $csrf_hash; ?>" />
	
        <div class="logControl">
            <div class="login_account"> <input type="submit" name="submit" value="<?php echo $lang['Login your Account']; ?>" class="buttonM bBlue" /></div>
        </div>
    </form>
</div>

</div>
<!-- Login wrapper ends -->

</body>
</html>
