Location: PHPKode > projects > PhpBlock > A9.8/modules/dungeon/login.php
<?php
include_once "../../site.class.php";
include_once $PATH_TO_CODE."/script/fonction.php";
include_once $PATH_TO_CODE."/modules/dungeon/dungeonconstante.class.php";

echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html>

<head>
    <TITLE>Dungeon-Login</TITLE>
    <?php echoBaseHead()?>
    <link rel="stylesheet" href="css/phpblock.css" type="text/css" />
    <link rel="stylesheet" href="modules/dungeon/css/interface.css" type="text/css" />
    <script type="text/javascript" src="script/javascript/fonction.js"></script>
    <script type="text/javascript" src="script/javascript/jquery-1.3.2.min.js"></script>
    <script type="text/javascript" src="script/javascript/jqueryinterfaceeyecon.js"></script>
</head>
<body class="dungeonstyle">
<?php
	echoJavascriptTestBrowser();
	$locMessage = getGetPost("msg", false, false);
	if($locMessage) {
		echo "<script language='javascript'>alert(\"$locMessage\");</script>";
    }
?>
<div align="center">
    <div>
        <a href="modules/dungeon/index.php">
        <img align="middle" src="image/logo/dungeon.png"/></a> 
        	powered by 
        <a href="http://phpblock.sourceforge.net">
        <img align="middle" src="image/logo/phpblock.png"/></a>
    </div>
    <form method="POST" action="modules/dungeon/showfirst.php">
        Use free as login and password to get a free access (You can create an account on the <a href="http://dungeon.no-ip.info/demo/modules/dungeon/createplayer.php">Demo</a> for training)
        <table border="0">
        <tr>
            <td>login
            <td><input type="text" name="login" value="<?php echo getGetPost("login", "", false);?>"/>
        <tr>
            <td>password
            <td><input type="password" name="password" value=""/>
        <tr>
        </table>
        <input type="submit" name="submit" value="login"/><br><br>
        <input type="submit" name="askNewUnlock" value="ask a new unlock key on your email"/><br><br>
        <a href="modules/dungeon/createplayer.php">create account</a>
    </form><br>
</div>
</body>
</html>
Return current item: PhpBlock