예제 #1
0
</div>

<br></br>
<div style="width:850px; float:left; margin:10px 0px 0px 0 15px;">Portcullis - JNTU <a href="http://www.jntu.ac.in">jntu.ac.in</a></div>
</div><!--end of main_container--> 
<?php 
if ($_GET["err"] == "true") {
    echo "<script type='text/javascript'>alert('Wrong Credentials!! .. Please Relogin!!');window.location='phase1.php'</script>";
}
if (array_key_exists("token", $_COOKIE)) {
    setcookie("username", "", time() + 60);
    setcookie("passphrase", "", time() + 60);
    setcookie("key", "", time() + 60);
    setcookie("keymas", "", time() + 60);
    setcookie("token", "", time() + 60);
}
if (isset($_POST["submit"])) {
    $username = $_POST['email'];
    $passphrase = $_POST['pass'];
    $o = new Operator();
    $o->phase1($username, $passphrase);
}
?>
		<div id="additional">
</div>
<?php 
ob_end_flush();
?>
</body>
</html>