예제 #1
0
<?php

// $Id$
//
// Log out the user and destroy the session.
//
// Copyright (c) 2003 by Art Cancro <*****@*****.**>
// This program is released under the terms of the GNU General Public License.
include "ctdlheader.php";
bbs_page_header();
echo ctdl_mesg("goodbye");
echo "<a href=\"login.php\">Log in again</a><BR>\n";
bbs_page_footer();
ctdl_end_session();
예제 #2
0
파일: login.php 프로젝트: zcw159357/citadel
<?php

// $Id$
//
// Initial start page for PHP-based Citadel web sessions.
//
// Copyright (c) 2003 by Art Cancro <*****@*****.**>
// This program is released under the terms of the GNU General Public License.
include "ctdlheader.php";
bbs_page_header();
echo ctdl_mesg("hello");
?>

	<div align=center>
	<form action="do_login.php" method="POST">

	<table border="0" cellspacing="5" cellpadding="5" BGCOLOR="#EEEEEE">
		<tr><td>User name:</td>
		<td><input type="text" name="user" maxlength="25"></td></tr>
		<tr><td>Password:</td>
		<td><input type="password" name="pass" maxlength="20"></td></tr>

	<tr><td align=center COLSPAN=2>
	<input type="submit" name="action" value="Login">
	<input type="submit" name="action" value="New User">
	<a href="logout.php">Exit</A>
	</td></tr>

	</table>
	</form>
	</div>