Location: PHPKode > projects > Personal Finance Manager > login.php
	Scryed Labs Financial Manager
	Copyright (c) 2005-2007, Scryed Labs
	Financial Manager is copyrighted free software by Waheed Ayubi <hide@address.com>.
	You can redistribute it and/or modify it under either the terms of the GPL
	(see COPYING.txt), or the terms of the Artistic License (see README.txt).
	if ($_GET['logout']) {
		setcookie("UserID", "");
		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">

	#include_once ("adodb/adodb.inc.php");
	include_once ("adodb_connect.php");

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<style type="text/css" media="all">
	@import "styles.css";
	div#LoginBlock { border: 1px solid #003333; width: 400px; margin-left: auto; margin-right: auto; }
	div#LoginBlock div#HeaderRow { background-color: #003366; padding: 5px; font-family: Arial, Helvetica, sans-serif; font-size: 80%; font-weight: bold; color: #FFFFFF; text-align: center; }
	div#LoginBlock div#LoginRow { padding: 20px; text-align: center; }
	div#LoginBlock div#LoginRow form { margin: 0px; }
	div#LoginBlock div#LoginRow span#LoginNameBox { display: inline; }
	div#LoginBlock div#LoginRow span#LoginPassBox { display: inline; }
	div#LoginBlock div#LoginRow span#LoginSubmitBox { display: inline; }

	function clearBox (inputID) {
		document.getElementById(inputID).value = '';
		document.getElementById(inputID).style.color = '#000000';
	function loginSubmit() {
		document.getElementById('LoginForm').masterlock.value = 'AttemptLogin';

<title>Untitled Document</title>


<div id="LoginBlock">
	<div id="HeaderRow">Login</div>
	<div id="LoginRow">
		<form method="post" action="submit.php">
			<input type="hidden" name="masterlock" value="LoginAttempt">
			<span id="LoginNameBox"><input name="LoginName" id="LoginName" type="text" value="" /></span>
			<span id="LoginPassBox"><input name="LoginPass" id="LoginPass" type="password" value="" /></span>
			<span id="LoginSubmitBox"><input type="Submit" value="Login" /></span>


	include_once ("adodb_disconnect.php");
Return current item: Personal Finance Manager