Source Location: /bbsengine2.php
this file is part of bbsengine2.
(C) 2008 Zoid Technologies. All Rights Reserved.
thank you for using software that sucks less.
pull in pear::html_quickform
require_once("Smarty.class.php") [line 27]pull in smarty class
require_once("HTML/QuickForm/Renderer/Array.php") [line 22]pull in array renderer for quickform
require_once("MDB2.php") [line 32]pull in PEAR::MDB2 (database abstraction module)
void datestamp(
$stamp, [ $format = null])
[line 530]
[ Top ]
object|error &dbconnect(
string $dsn)
[line 404]
connect to a DSN using the MDB2 "singleton" function, configures the object, and returns a reference to it.
[ Top ]
void displayerrormessage(
string $message)
[line 147]
display an error page template with message
[ Top ]
void displayfooter(
)
[line 162]
display a page footer template
[ Top ]
void displayheader(
[string $title = null], [array $css = null], [array $script = null])
[line 177]
display a page header template with optional title string
[ Top ]
void displaypermissiondenied(
)
[line 299]
display a permission denied template
[ Top ]
void displayredirectpage(
string $message, [string $url = null])
[line 119]
display a redirect page template with message and optional url
[ Top ]
void displaysidebar(
[ $items = null])
[line 188]
[ Top ]
void emailaddressformrule(
$value, [ $id = 0])
[line 498]
[ Top ]
void getcurrentmember(
)
[line 492]
[ Top ]
int getcurrentmemberid(
)
[line 437]
return the "current member id" for the session
[ Top ]
boolean getflag(
$flag $flag, $id $id)
[line 585]
returns flag value given the flag name and member id.
[ Top ]
array getflags(
$memberid $memberid)
[line 622]
return the set of flags and their values for a given memberid.
[ Top ]
array|PEAR::Error &getmember(
integer $id)
[line 464]
returns data for a given member id.
[ Top ]
void &getquickform(
$name, [ $method = "post"], [ $action = ""], [ $target = ""], [ $attributes = ""], [ $tracksubmit = true])
[line 37]
[ Top ]
void getreturnto(
)
[line 254]
[ Top ]
void getreturntotitle(
)
[line 275]
[ Top ]
void getreturntourl(
)
[line 259]
[ Top ]
void &getsmarty(
)
[line 52]
return a smarty template object, configured for the website
[ Top ]
void logentry(
string $message, [enum $priority = LOG_INFO])
[line 203]
put $message into a log at the a particular priority
[ Top ]
boolean permission(
string $name, [integer $memberid = 0])
[line 322]
permission checking function
permissions "PUBLIC" and "AUTHENTICATED" are built-in and checked for specially before any database connection is made. other permissions are in uppercase and must be listed in the flag table. if the member being checked does not have a value set for a particular flag, the default value will be returned.
[ Top ]
string safestripslashes(
string $value)
[line 289]
only strip slashes from a string if get_magic_quotes_gpc() returns true
this function was ripped from PEAR::Services_Amazon.
[ Top ]
int setcurrentmemberid(
int $id)
[line 450]
set the "current member id" for the session
[ Top ]
void setflag(
$id, $flag, $value)
[line 544]
[ Top ]
old setreturnto(
string $url, [string $title = null])
[line 243]
set the 'returnto' session variable
[ Top ]