forked from leftypol/leftypol
mod panel
This commit is contained in:
parent
8a387bff1e
commit
84027c6d83
5 changed files with 135 additions and 11 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue