<?
$ver=$_GET['kpp3'];

if(isset($ver)){
	$uu=$_POST['user'];	
	$pp=$_POST['pwd'];
	
	if($uu=="admin" && $pp=="zxcv"){
		session_start();
		$_SESSION['nuser']="Admin";
		$_SESSION['sec']=session_id();
		header('Location: index.php');
	}
}
?>
<!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" />
<title>Pannello di Amministrazione</title>
<link rel="stylesheet" type="text/css" href="style.css" />
<link href='http://fonts.googleapis.com/css?family=Belgrano' rel='stylesheet' type='text/css'>
</head>
<body>
<form action="login.php?kpp3=23" method="post">
<div id="loginpanelwrap">
  	
	<div class="loginheader">
    <div class="logintitle"><a href="#">Pannello di Amministrazione</a></div>
    </div>

     
    <div class="loginform">
        
        <div class="loginform_row">
        <label>Username:</label>
        <input type="text" class="loginform_input" name="user" id="user" />
        </div>
        <div class="loginform_row">
        <label>Password:</label>
        <input type="password" class="loginform_input" name="pwd" id="pwd" />
        </div>
        <div class="loginform_row">
        <input type="submit" class="loginform_submit" value="Login" />
        </div> 
        <div class="clear"></div>
    </div>
 

</div>
</form>
    	
</body>
</html>