summaryrefslogtreecommitdiff
path: root/inc/display.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/display.php')
-rw-r--r--inc/display.php14
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;