summary refs log tree commit diff stats
path: root/pages/login.php
diff options
context:
space:
mode:
Diffstat (limited to 'pages/login.php')
-rwxr-xr-xpages/login.php46
1 files changed, 0 insertions, 46 deletions
diff --git a/pages/login.php b/pages/login.php deleted file mode 100755 index a787729..0000000 --- a/pages/login.php +++ /dev/null
@@ -1,46 +0,0 @@
1<?php
2/*
3 444444444
4 4::::::::4
5 4:::::::::4
6 4::::44::::4
7 4::::4 4::::4 Four Island
8 4::::4 4::::4
9 4::::4 4::::4 Written and maintained by Starla Insigna
104::::444444::::444
114::::::::::::::::4 pages/login.php
124444444444:::::444
13 4::::4 Please do not use, reproduce or steal the
14 4::::4 contents of this file without explicit
15 4::::4 permission from Hatkirby.
16 44::::::44
17 4::::::::4
18 4444444444
19*/
20
21if (!defined('S_INCLUDE_FILE')) {define('S_INCLUDE_FILE',1);}
22
23require('headerproc.php');
24
25$pageCategory = 'log';
26
27if (!isset($_GET['submit']))
28{
29 $template = new FITemplate('login');
30 $template->add('REDIRECT',$_GET['redirect']);
31} else {
32 if (verifyUser($_POST['username'], $_POST['password']))
33 {
34 sess_set('uname',$_POST['username']);
35 header('Location: ' . rawurldecode($_POST['redirect']));
36 exit;
37 } else {
38 $template = new FITemplate('login');
39 $template->add('REDIRECT',$_POST['redirect']);
40 $template->adds_block('ERROR',array('MSG' => "The username/password pair didn't resolve to a real user. Try logging on again, spelling the password right, or making sure you actually have an a account."));
41 }
42}
43
44$template->display();
45
46?>