Location: PHPKode > projects > Akasha > main.php
<?
	include ("includes/global.inc"); 		// Global Variables
	include ("includes/functions.inc"); 	// Global Functions
	include ("includes/head.inc"); 			// Standart Headers
	include ("stylesheets/mainstyle.inc"); 	// Stylesheets
?>

<script language="JavaScript">
<!--
function loadframes() {
//	var args=loadframes.arguments;
	parent.side.location = "side.php";
	parent.upper.location = "top.php";
}
//-->
</script>
</head>
<body onLoad="loadframes();" bgcolor='#FFFFFF' text='#000000' link='#3457A9' vlink='#CC0000' alink='#009966'>

<?
  echo "<br><br><br><br><br>\n";
  echo "<table align='center' width='336' border='1' bgcolor='#DCD7CB' bordercolor='000000'>\n";
  echo "	<tr><td width='326' colspan='3'>\n";
  echo "		<table border='0' width='100%'>\n";
  echo "		<form method='post' action='validate_login.php' target='main'>\n";
  echo "     		<tr>\n";
  echo "        		<td align='center' width='100%' colspan='2'>\n";
  if ($error_code == 0) {
    echo "  			<b><font color='#304167'>Please Log In</font></b>\n";
  }
	if ($error_code == 1) {
    echo "  			<b><font color='#CC0000'>Invalid Login... Try Again</font></b>\n";
	}
	if ($error_code == 2) {
    echo "  			<b><font color='#CC0000'>An unknown error occurred try again</font></b>\n";
	}
  echo "  				</td>\n";
  echo "      		</tr>\n";
  echo "      		<tr>\n";
  echo "         		<td width='37%' align='right'>Username</td>\n";
  echo "         		<td align='center' width='60%'>\n";
  echo "            		<input type='text' name='txtusername'>\n";
  echo "         		</td>\n";
  echo "       		</tr>\n";
  echo "       		<tr>\n";
  echo "         		<td width='37%' align='right'>Password</td>\n";
  echo "         		<td align='center' width='60%'>\n";
  echo "            		<input type='password' name='txtpassword'>\n";
  echo "         		</td>\n";
  echo "       		</tr>\n";
  echo "       		<tr>\n";
  echo "          		<td align='center' colspan='2' width='60%'>\n";
  echo "             		<input type='image' src='images/logon.gif' height='40' width='100' border='0' alt='Logon'>\n";
  echo "          		</td>\n";
  echo "       		</tr>\n";
  echo "     		</form>\n";
  echo "  			</table>\n";
  echo "   		</td>\n";
  echo "	</tr>\n";
  echo " </table>\n";
  echo "</body>\n";
  echo "</html>\n";
?>
Return current item: Akasha