diff options
| author | Savetheinternet <savetheinternet@n0v4.com> | 2010-12-01 21:24:14 +1100 |
|---|---|---|
| committer | Paul Merrill <napalminc@gmail.com> | 2010-12-01 04:14:17 -0800 |
| commit | 529da36330cc9203aee31370235f1d9b9beb6cd4 (patch) | |
| tree | 49cd66e0dbcd4d3f3388d1a7c7eff8652b1961d9 /inc/display.php | |
| parent | 9923af244b1b5edff9ee23dc562e634f88f23161 (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; |
