Login   Register  
PHP Classes
elePHPant
Icontem

File: login.tpl

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Kevin Cadman  >  Authentication  >  login.tpl  >  Download  
File: login.tpl
Role: Auxiliary data
Content type: text/plain
Description: Login template. MAKE SURE IN "templates" directory! VERY IMPORTANT!
Class: Authentication
A session and cookie based authentication class
Author: By
Last change:
Date: 11 years ago
Size: 892 bytes
 

Contents

Class file image Download
<html>
<head>
	<title>
		{$title}
	</title>
</head>
	<body>
		<form action="{$form_action}" method="POST">
		<table cellspacing="0" cellpadding="1" align="center">
			<tr>
				<td colspan="2" align="center">
					{$header}
				</td>
			</tr>
			<tr>
				<td>
					Username
				</td>
				<td>
					<input type="text" name="{$form_username}">
				</td>
			</tr>
			<tr>
				<td>
					Password
				</td>
				<td>
					<input type="password" name="{$form_password}">
				</td>
			</tr>
			<tr>
				<td>
					Remember details
				</td>
				<td>
					<input type="checkbox" name="{$form_remember}" {$remember_checked}>
				</td>
			</tr>
			<tr>
				<td colspan="2" align="center">
					<input type="Submit" name="Submit" value="{$form_submit}">
				</td>
			</tr>
		</table>
		</form>
		<p align="center">
		{$error_message}
		</p>
	</body>
</html>