/
TharDesign
defined in /common/common.phpgetInstance()
defined on line 162__construct()
defined on line 173loadLibraries()
/** * Load Libraries */ |
fixUTF8LanguageFiles()
defined on line 290checkLoggedIn()
defined on line 311getUserFieldInputs()
/** * Gets the userfield */ |
checkWebsiteClosed()
defined on line 368checkAdministratorLoggedIn()
defined on line 382setupURL()
defined on line 401setupTemplate()
defined on line 437translate($key)
defined on line 468customTranslate($lang, $key)
defined on line 488adminTranslate($key)
defined on line 508setupModules()
defined on line 524loadForms()
defined on line 652loadSettings()
defined on line 671loadSystemSettings()
defined on line 682loadModules()
defined on line 703loadLanguages()
defined on line 722detectLanguage()
/** * Function to detect the browserLanguage, returns languagefile (array) * * @return array The language file according to the user's browser language **/ |
prechecksPageMenu(&$data0)
defined on line 798postchecksPageMenu($data0, &$list)
defined on line 835checkIfPageIsActive($data0)
defined on line 910getMenuStructure($sitemap = false)
/** * Menu structure * @return array */ |
generateMenu($sitemap = false)
defined on line 1060output($title = NULL, $popup = false)
defined on line 1065adminOutput($title, $popup = false)
defined on line 1113replaceYoutubeInContent($pageContent)
defined on line 1135addLoginSnippet()
defined on line 1142Syntagma
defined in /syntagma/syntagma.class.phpgetInstance()
defined on line 28get()
defined on line 36__construct()
defined on line 40SynErrors
defined in /syntagma/classes/errors.class.phpgetInstance()
defined on line 60__construct()
defined on line 72enableLogPHPErrors()
/** * Enables logging PHP's errors/warnings/notices/strict-notices to file (can't be disabled) * Unfortanetly it's not possible to generate nice errorpages or logs. It will be saved in SynLog's log.txt * WARNING: Set SynLog::$logfilePath to an absolute path or else saving errors to file won't work */ |
setupCatchPHPErrors()
defined on line 85logPHPErrors()
defined on line 95errorHandler($errno, $errstr, $errfile, $errline)
defined on line 114fatalError($message, $debugMessage = NULL, $extraTrace = array (
))
/** * Static function, shortcut, to easily stop everything and show a fatal error */ |
reportFatalError($message, $debugMessage = NULL, $extraTrace = array (
))
defined on line 178filterSynClassesFromTrace($var)
defined on line 217htmlLog($message, $trace, $debugMessage = NULL)
defined on line 222simpleLog($message, $trace, $debugMessage = NULL)
defined on line 262tryDisplayCustomError()
defined on line 295SynIO
defined in /syntagma/classes/io.class.phptrimPost()
/** * Easily trim everything in $_POST */ |
getIP()
/** * Returns the IP of the visitor * No guarantee the IP-address is valid or accurate */ |
generateURL($relativePath = false)
/** * Generates an absolute URL to current PHP-script * @param $relativePath The relative path to the root, where the URL should point to * @return string Full absolute URL */ |
generateRelativeURL($relativePath = false)
/** * Generates an absolute URL to current PHP-script * @param $relativePath The relative path to the root, where the URL should point to * @return string Full absolute URL */ |
getBrowserLanguages()
/** * Detects all browser languages supported by browser * @return array An array of languagecodes in lowercase */ |
removeMagicQuotesGPC()
/** * Easily remove magic_quotes * Generally it's better to code without magic_quotes (also removed in PHP6) * This function will nothing if magic_quotes_gpc is not enabled */ |
forceMagicQuotesGPC()
/** * In case you can't live without magic_quotes_gpc * This function will do nothing if magic_quotes_gpc is enabled */ |
isUsingCompression()
/** * Detect if the browser and server supports compression (and the user has enabled it) * @return boolean */ |
isUsingSSL()
/** * Detects if the current connection is using SSL * @return boolean */ |
parseMultiviewVariables()
/** * Parses variables in the URL * Example: * /test.php/hello/blaat * Will add variable $_GET["hello"] with the value 'blaat' */ |
parseMultiviewURL()
/** * A bit different from parseMultiviewVariables() * This parses URL's like /test.php/hello/blaat and returns array(hello, blaat) * @return array A numeric array **/ |
startOutputControl()
defined on line 269downloadFile($file, $filename = false, $cache = true)
/** * Does everything to make the browser download the file * @param $file path to file * @param $filename The filename of the file. When false it will use the original filename. Default is false * @param $cache Allow the browser to cache the file, default is true * Cache should be false if it's a private download (you first need to login or such) or when it doesn't have an unique URL (no fileID for example) */ |
downloadContent($content, $filename, $cache = false)
/** * Does everything to make the browser download the content as a file * @param $content The contents of the file * @param $filename The filename * @param $cache Allow the browser to cache the file, default is false * Cache should be false if it's a private download (you first need to login or such) or when it doesn't have an unique URL (no fileID for example) */ |
downloadStream($stream, $filename, $cache = true)
/** * Does everything to make the browser download the contents of a stream as a file * Works the same as downloadContent */ |
setDownloadHeaders($contentLength, $filename, $cache = true)
/** * Only sends the download headers to make the browser download the contents of the page * You will need to echo the contents of the file yourself * @param $contentLength The length of the content. If unknown, use 0 * @param $filename * @param $cache Allow the browser to cache the file, default is false * Cache should be false if it's a private download (you first need to login or such) or when it doesn't have an unique URL (no fileID for example) */ |
endAllOutput()
/** * Stops all output buffering and cleans them, no output will be sent to the browser * @return A string with all output */ |
flushLastOutput()
/** * Ends and flushes the last output buffering to the browser */ |
endLastOutput()
/** * Ends the last output buffering, the content will NOT be sent to the browser * @returns String A string with the contents of the output buffer */ |
flushAllOutput()
/** * Flushes all output buffers to the browser */ |
cleanAllOutput()
/** * Empties all output buffers */ |
setCookie($name, $value, $expire, $secure = false, $httpOnly = true)
/** * Sets a cookie... * @param $expire The relative time in seconds of how long the cookie should live (example: 3600) */ |
doConditionalGet($etag)
/** * A simple PHP implementation of conditional get * Doesn't use last-modified, only gives problems (mod_expires for example) * Must be called everytime to set the ETag * @param $etag A unique hash for the contents of the file. If the same with the browser cache, the browser will NOT download the page */ |
setNoCache()
defined on line 466header($h)
defined on line 473output($content = false)
/** * Output everything to the browser and handle headers, output filters and compression * Should be called always and as the last thing if SynIO is used. */ |
getRespondHeaders()
/** * Returns a list of respond headers * @return array */ |
isPost()
/** * Has the browser sent POST data? * @return boolean */ |
redirect($path, $time = 0, $withPost = 0, $jqm = false)
/** * Temporary redirect to other URL * Will use HTTP redirect if possible, else Javascript redirect * @param $path Relative/Absolute URL to destination * @param $time Wait how long until redirect in seconds * @param $withPost If there's POST-data and this is true, the POST-data will be sent again to the destination (will need browser confirmation) * @param $jqm jQuery Mobile redirect header or default redirect */ |
redirectPermament($path)
/** * Sends a 'permament redirect to other URL'-header to the browser * Requires that no output has been sent yet * @param $path Relative/Absolute URL to destination */ |
authenticate($username, $password, $realm = 'Please login to continue...')
defined on line 617SynLog
defined in /syntagma/classes/log.class.phpgetInstance()
defined on line 50get()
defined on line 57__construct()
defined on line 62debug($msg)
defined on line 65info($msg)
defined on line 70warn($msg)
defined on line 75error($msg)
defined on line 80getMessages()
/** * Returns all messages in an array */ |
log($type, $msg)
defined on line 93SynFilters
defined in /syntagma/classes/filters.class.php__construct()
defined on line 14formatNiceURL($str)
/** * Accepts a normal sentence (string) and converts it into a human-readable string which can be appended to an URL * @param string * @return string */ |
removeWhitespace($c)
/** * Remove all whitespace from the string * @param string * @return string */ |
converSpecialAlphaCharacters($str)
/** * This converts characters with umlauts and other signs to normal a-z characters * @param string * @return string */ |
formatFilesize($bytes, $round = 2)
/** * Converts a filesize to nice readable filesize * For example: formatFilesize(2556, 1) becomes 2,5 KB * @param $bytes The number of bytes * @param $round How many numbers after decimal point * @return string */ |
formatTime($time)
/** * Formats a timestamp to a string that shows the duration in a readable string * @param UNIX timestamp * @return string For example: 2 weeks, 3 days and 14 seconds */ |
cleanupPath($p)
/** * Cleans up absolute path for display (also makes it relative to www-root) */ |
checkDirectoryPath($p)
/** * Returns path with a slash at the end */ |
recursiveStripslashes($i)
/** * Recursively strips the slashes * Note: Expects values in the array are all strings */ |
recursiveAddslashes($i)
/** * Recursively adds slashes to every string * Note: Expects values in the array are all strings */ |
recursiveTrim($i)
/** * Recursively trims every string in the array * Note: Expects values in the array are all strings */ |
FirePHP
defined in /syntagma/external/firephp.class.php__construct()
/** * The object constructor */ |
__sleep()
/** * When the object gets serialized only include specific object members. * * @return array */ |
getInstance($AutoCreate = false)
/** * Gets singleton instance of FirePHP * * @param boolean $AutoCreate * @return FirePHP */ |
init()
/** * Creates FirePHP object and stores it for singleton access * * @return FirePHP */ |
setEnabled($Enabled)
/** * Enable and disable logging to Firebug * * @param boolean $Enabled TRUE to enable, FALSE to disable * @return void */ |
getEnabled()
/** * Check if logging is enabled * * @return boolean TRUE if enabled */ |
setObjectFilter($Class, $Filter)
/** * Specify a filter to be used when encoding an object * * Filters are used to exclude object members. * * @param string $Class The class name of the object * @param array $Filter An array of members to exclude * @return void */ |
setOptions($Options)
/** * Set some options for the library * * Options: * - maxObjectDepth: The maximum depth to traverse objects (default: 10) * - maxArrayDepth: The maximum depth to traverse arrays (default: 20) * - useNativeJsonEncode: If true will use json_encode() (default: true) * - includeLineNumbers: If true will include line numbers and filenames (default: true) * * @param array $Options The options to be set * @return void */ |
getOptions()
/** * Get options from the library * * @return array The currently set options */ |
registerErrorHandler($throwErrorExceptions = true)
/** * Register FirePHP as your error handler * * Will throw exceptions for each php error. * * @return mixed Returns a string containing the previously defined error handler (if any) */ |
errorHandler($errno, $errstr, $errfile, $errline, $errcontext)
/** * FirePHP's error handler * * Throws exception for each php error that will occur. * * @param int $errno * @param string $errstr * @param string $errfile * @param int $errline * @param array $errcontext */ |
registerExceptionHandler()
/** * Register FirePHP as your exception handler * * @return mixed Returns the name of the previously defined exception handler, * or NULL on error. * If no previous handler was defined, NULL is also returned. */ |
exceptionHandler($Exception)
/** * FirePHP's exception handler * * Logs all exceptions to your firebug console and then stops the script. * * @param Exception $Exception * @throws Exception */ |
registerAssertionHandler($convertAssertionErrorsToExceptions = true, $throwAssertionExceptions = false)
/** * Register FirePHP driver as your assert callback * * @param boolean $convertAssertionErrorsToExceptions * @param boolean $throwAssertionExceptions * @return mixed Returns the original setting or FALSE on errors */ |
assertionHandler($file, $line, $code)
/** * FirePHP's assertion handler * * Logs all assertions to your firebug console and then stops the script. * * @param string $file File source of assertion * @param int $line Line source of assertion * @param mixed $code Assertion code */ |
setProcessorUrl($URL)
/** * Set custom processor url for FirePHP * * @param string $URL */ |
setRendererUrl($URL)
/** * Set custom renderer url for FirePHP * * @param string $URL */ |
group($Name, $Options = NULL)
/** * Start a group for following messages. * * Options: * Collapsed: [true|false] * Color: [#RRGGBB|ColorName] * * @param string $Name * @param array $Options OPTIONAL Instructions on how to log the group * @return true * @throws Exception */ |
groupEnd()
/** * Ends a group you have started before * * @return true * @throws Exception */ |
log($Object, $Label = NULL)
/** * Log object with label to firebug console * * @see FirePHP::LOG * @param mixes $Object * @param string $Label * @return true * @throws Exception */ |
info($Object, $Label = NULL)
/** * Log object with label to firebug console * * @see FirePHP::INFO * @param mixes $Object * @param string $Label * @return true * @throws Exception */ |
warn($Object, $Label = NULL)
/** * Log object with label to firebug console * * @see FirePHP::WARN * @param mixes $Object * @param string $Label * @return true * @throws Exception */ |
error($Object, $Label = NULL)
/** * Log object with label to firebug console * * @see FirePHP::ERROR * @param mixes $Object * @param string $Label * @return true * @throws Exception */ |
dump($Key, $Variable)
/** * Dumps key and variable to firebug server panel * * @see FirePHP::DUMP * @param string $Key * @param mixed $Variable * @return true * @throws Exception */ |
trace($Label)
/** * Log a trace in the firebug console * * @see FirePHP::TRACE * @param string $Label * @return true * @throws Exception */ |
table($Label, $Table)
/** * Log a table in the firebug console * * @see FirePHP::TABLE * @param string $Label * @param string $Table * @return true * @throws Exception */ |
detectClientExtension()
/** * Check if FirePHP is installed on client * * @return boolean */ |
fb($Object)
/** * Log varible to Firebug * * @see http://www.firephp.org/Wiki/Reference/Fb * @param mixed $Object The variable to be logged * @return true Return TRUE if message was added to headers, FALSE otherwise * @throws Exception */ |
_standardizePath($Path)
/** * Standardizes path for windows systems. * * @param string $Path * @return string */ |
_escapeTrace($Trace)
/** * Escape trace path for windows systems * * @param array $Trace * @return array */ |
_escapeTraceFile($File)
/** * Escape file information of trace for windows systems * * @param string $File * @return string */ |
setHeader($Name, $Value)
/** * Send header * * @param string $Name * @param string_type $Value */ |
getUserAgent()
/** * Get user agent * * @return string|false */ |
newException($Message)
/** * Returns a new exception * * @param string $Message * @return Exception */ |
jsonEncode($Object, $skipObjectEncode = false)
/** * Encode an object into a JSON string * * Uses PHP's jeson_encode() if available * * @param object $Object The object to be encoded * @return string The JSON string */ |
encodeTable($Table)
/** * Encodes a table by encoding each row and column with encodeObject() * * @param array $Table The table to be encoded * @return array */ |
encodeObject($Object, $ObjectDepth = 1, $ArrayDepth = 1)
/** * Encodes an object including members with * protected and private visibility * * @param Object $Object The object to be encoded * @param int $Depth The current traversal depth * @return array All members of the object */ |
is_utf8($str)
/** * Returns true if $string is valid UTF-8 and false otherwise. * * @param mixed $str String to be tested * @return boolean */ |
json_utf82utf16($utf8)
/** * convert a string from one UTF-8 char to one UTF-16 char * * Normally should be handled by mb_convert_encoding, but * provides a slower PHP-only method for installations * that lack the multibye string extension. * * @param string $utf8 UTF-8 character * @return string UTF-16 character * @access private */ |
json_encode($var)
/** * encodes an arbitrary variable into JSON format * * @param mixed $var any number, boolean, string, array, or object to be encoded. * see argument 1 to Services_JSON() above for array-parsing behavior. * if var is a strng, note that encode() always expects it * to be in ASCII or UTF-8 format! * * @return mixed JSON string representation of input var or an error if a problem occurs * @access public */ |
json_name_value($name, $value)
/** * array-walking function for use in generating JSON-formatted name-value pairs * * @param string $name name of key to use * @param mixed $value reference to an array element to be encoded * * @return string JSON-formatted name-value pair, like '"name":value' * @access private */ |
SynTemplate
defined in /syntagma/classes/template.class.phpcheckValue($key, $value)
defined on line 37addGlobalAssign($assign, $replace = NULL)
/** * Adds a global assign * This assign will be used in every SynTemplate-object * @param $assign The name of the variable or array with variable as key's */ |
__construct($file = NULL)
/** * Constructor * @param $file Path to file, if empty, then setFile() needs to be called */ |
setFile($tpl)
/** * Sets the template which will be used for parsing */ |
parse()
/** * Parses the template * @return string Returns parsed content of the template */ |
hasError()
/** * Checks if the template has any errors (including notices) after parsing * @boolean */ |
errorHandler($errno, $errstr, $errfile, $errline)
/** * Internal error handler */ |
assign($assign, $replace = NULL)
/** * Assigns a variable to the template * This can be done in 2 ways, examples: * $tpl->assign('isError', false ); * or * $tpl->assign( array( 'isError' => false, 'success' => true ) ); */ |
__toString()
/** * Shorthand for parse() */ |
offsetSet($offset, $value)
defined on line 250offsetExists($offset)
defined on line 255offsetUnset($offset)
defined on line 260offsetGet($offset)
defined on line 265SynValidation
defined in /syntagma/classes/validation.class.php__construct()
defined on line 15isBool($string)
/** * Different from standard is_bool() * This will also return true for strings like "1" * @return boolean */ |
isNumber($string)
/** * Also different from standard is_numeric() but also SynValidation::isNumeric() * this function may only contain numbers * Only positive numbers (because - isn't a number) * Same goes for things like dot, spaces and others * @return boolean */ |
isDate($string)
/** * Checks if a string can be converted to a date * @return boolean */ |
isValidDate($string)
/** * Checks if a string is a valid date * @return boolean */ |
isAlphaNumeric($string)
/** * @return boolean */ |
isName($string)
/** * Same as isAlphaNumeric() only spaces are also allowed */ |
containsSpecialAlphaCharacters($str)
/** * Returns true when it contains characters like ä, ß, í etc * Only works for charsets that are backwards compatible with ASCII (UTF-8, ISO-8859-1) * @return string */ |
isValidString($string, $allowed = '-._')
/** * Handy function if you want to validate strings with extra characters * @return boolean */ |
isNumeric($num)
/** * Extended function that also supports +/-, comma's and spaces * @return boolean */ |
isOdd($num)
/** * Checks if a number is odd * @return boolean */ |
isImageFilename($str)
/** * @return boolean */ |
isIP($string)
/** * Check if a string is a (valid) IPv4- or IPv6-adress * @return boolean */ |
isIPv4($string)
/** * Check if a string is a (valid) IPv4-adress * @return boolean */ |
isIPv6($ip)
/** * Check if a string is a (valid) IPv6-adress * @return boolean */ |
isPrivateIP($in)
/** * Check if the IPv4 is valid and a private IP (for example 192.168.1.1) * @return boolean */ |
isEmail($string)
/** * Checks for a valid email adress * @return boolean */ |
ucasePercent($str)
/** * Calculates the percentage of uppercase characters, handy if you want to block titles with too much uppercase * Return 50 when there's less then 4 characters * @return int Percentage */ |
isPostalCode($string)
/** * @return boolean */ |
hasWhitespace($string)
/** * @return boolean */ |
isURL($url)
/** * @return boolean */ |
contains($needle, $haystack, $casesensitive = true)
/** * Checks if the needle-string is a part of or equals the haystack-string * @return boolean */ |
VarToHTML
defined in /syntagma/templates/bsod.tpl.php__construct($var, $arguments = false)
defined on line 69show($var)
defined on line 79showArguments($var)
defined on line 98hasSub($var)
defined on line 110getObjectVars($obj)
defined on line 132iterateSub($list, $depth = 0, $noKey = false)
defined on line 150iterateObject($obj, $depth = 0)
defined on line 192showSub($var, $depth = 0, $arguments = false)
defined on line 246getTypeToString($var)
defined on line 265isDirectShowable($var)
defined on line 294
Linux pr02.ns-thar.nl 6.1.0-16-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.67-1 (2023-12-12) x86_64
Apache/2
7.1.33
Core, date, libxml, openssl, pcre, sqlite3, zlib, bcmath, calendar, ctype, curl, dom, hash, fileinfo, filter, ftp, gd, gettext, SPL, iconv, intl, json, mbstring, mcrypt, session, standard, mysqlnd, PDO, pdo_mysql, pdo_sqlite, Phar, posix, Reflection, mysqli, shmop, SimpleXML, soap, sockets, exif, sysvmsg, sysvsem, sysvshm, tokenizer, xml, xmlreader, xmlwriter, xsl, zip, cgi-fcgi, imagick
2021.02
/index.php
/common/common.php
/syntagma/syntagma.class.php
/syntagma/classes/errors.class.php
/syntagma/classes/io.class.php
/syntagma/classes/log.class.php
/common/config.inc.php
/syntagma/classes/database.class.php
/syntagma/classes/filters.class.php
/syntagma/external/firephp.class.php
/syntagma/classes/template.class.php
/syntagma/classes/validation.class.php
/syntagma/templates/bsod.tpl.php
/index.php
/index.php
CGI/1.1
/home/teststraat/domains/teststraatdinkelland.nl/public_html
3.135.247.17
80
46.243.192.98
teststraatdinkelland.nl
1
0
0
128M
4096
64M
0
0
0
64M