public static function getParserContent() { $ident = isset($_GET['ident']) ? $_GET['ident'] : null; $data = isset($_GET['data']) ? '.' . $_GET['data'] : null; echo '{' . $ident . $data . '}'; utopia::Finish(); }
static function Cache_Output($data, $etag, $contentType, $filename = '', $modified = 0, $age = 2592000, $disposition = 'inline') { self::Cache_Check($etag, $contentType, $filename, $modified, $age, $disposition); echo $data; utopia::Finish(); }
static function DownMaintenance() { $rc = '/' . ltrim(preg_replace('/^' . preg_quote(PATH_REL_ROOT, '/') . '/', '', PATH_REL_CORE), '/'); utopia::UseTemplate($rc . 'themes/install'); header("HTTP/1.0 503 Service Unavailable", true, 503); utopia::SetTitle('Website Down For Maintenance'); echo '<h1>We Will Be Back Soon</h1>'; echo '<p>We are currently unavailable while we make upgrades to improve our service to you. We'll return very soon.</p>'; echo '<p>We apologise for the inconvenience and appreciate your patience.<p>'; echo '<h2>Thank you!</h2>'; utopia::Finish(); }