Location: PHPKode > projects > Cloud Storage > cloud-2.0/login.php
<?
if(!file_exists("inc/config.php")){
	header("Location: install.php");exit;
}
session_start();
require_once('inc/functions.php');
if($_GET['cmd']=="logout"){
	unset($_SESSION['login']);
	unset($_SESSION['ref']);
	header("Location: ?msg=login_out");exit;
}
if($login!=""){
	header("Location: index.php");exit;
}
$head_lite=1;
require_once('inc/head.inc');
?>
<script type="text/javascript" src="src/js/sha1.js"></script> 
<script type="text/javascript" src="src/js/login.js"></script> 
<div id="login_box">
<div id="msg_area">
<?
	echo $message_content;
?>
</div>
<table class='td_center'>
<tr><td><b>Username:</b></td><td> <input id="input_username" type="text" name="username"></td></tr>
<tr><td><b>Password:</b></td><td> <input id="input_password" type="password" name="password"></td></tr>
</table>
</div>
<?require_once('inc/foot.inc');?>
Return current item: Cloud Storage