diff options
| author | Savetheinternet <savetheinternet@n0v4.com> | 2010-12-01 21:24:14 +1100 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@n0v4.com> | 2010-12-01 21:28:35 +1100 |
| commit | 84027c6d83d4a836ea362026df778b7507a9429e (patch) | |
| tree | 0009fd7acd880ff94567fefa86df6ebb3ad2b80d /inc/display.php | |
| parent | 8a387bff1e51733f3d25d2269d16b6e8584d0b6e (diff) | |
mod panel
Diffstat (limited to 'inc/display.php')
| -rw-r--r-- | inc/display.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/inc/display.php b/inc/display.php index c910e26c..29012046 100644 --- a/inc/display.php +++ b/inc/display.php @@ -34,6 +34,20 @@ ))); } + function loginForm($error=false, $username=false) { + if(function_exists('sql_close')) sql_close(); + die(Element('page.html', Array( + 'index'=>ROOT, + 'title'=>'Login', + 'body'=>Element('login.html', Array( + 'index'=>ROOT, + 'error'=>$error, + 'username'=>$username + ) + ) + ))); + } + class Post { public function __construct($id, $thread, $subject, $email, $name, $trip, $body, $time, $thumb, $thumbx, $thumby, $file, $filex, $filey, $filesize, $filename) { $this->id = $id; |
