Location: PHPKode > projects > Myphpim > MyPhPim-01.05/index.php3
<?php

//****************************************************************************************
//                Copyright (C) 2000 Koen de Boeve
//
//        This program is free software; you can redistribute it and/or
//        modify it under the terms of the GNU General Public License
//        as published by the Free Software Foundation; either version 2
//        of the License, or (at your option) any later version.
//
//        This program is distributed in the hope that it will be useful,
//        but WITHOUT ANY WARRANTY; without even the implied warranty of
//        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//        GNU General Public License for more details.
//
//        You should have received a copy of the GNU General Public License
//        along with this program; if not, write to the Free Software
//        Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
//
//        Version : MyPhPim-01.05
//        Author : Koen de Boeve
//        Contact: hide@address.com
//**************************************************************************************** 

include "conf/global_conf.inc";

$html = new HtmlCl;
$form = new FormCl;

session_start();

?>
<html>
<head>
<title>login</title>
<style type=\"text/css\">
<!--
body { margin: 0} 
-->
</style>
</head>
<body bgcolor=seagreen marginheight=0 onLoad="if(parent.frames.length!=0)top.location='index.php3';">
<center><img src=pics/myphpim.gif></center>
<center><table border=0 bgcolor=darkseagreen cellspacing=0 cellpadding=2>
<?
$form->init ( "start.php3", "POST", "Login" );
?>
<tr bgcolor=darkseagreen><td>Login</td><td> : </td><td>
<?
$form->text ( "userid", "", 16, 16, 0 );
?>
</td></tr>
<tr bgcolor=darkseagreen>
<td>Password</td><td> : </td><td>
<?
$form->text ( "password", "", 16, 16, 1 );
?>
</td></tr>
<tr bgcolor=darkseagreen><td colspan=3 align=center>
<?
$form->submit ( "login", "LOGIN" );
if ( $moderated == 1) { 
	$string = "click <a href=adduser.php3>HERE</a> To Add A New User"; 
} else {
	$string = "click <a href=adduser.php3>HERE</a> To Register As A New User"; 
}
	
?>
</td></tr></table><? echo $string ?></center>
<?
$form->close();
$html->HtmlFooter ();
?>
Return current item: Myphpim