-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathframe.php
executable file
·40 lines (39 loc) · 1.09 KB
/
frame.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?php
/**
* @package Flatnux
* @author Alessandro Vernassa <[email protected]>
* @copyright Copyright (c) 2011
* @license http://opensource.org/licenses/gpl-license.php GNU General Public License
*/
ob_start();
global $_FN;
require_once "include/flatnux.php";
//accesskey ----->
FN_GetSections("",true);
//accesskey -----<
//-------------------------- auto scripts ----------------------------------->
include ("include/autoexec.php");
//-------------------------- auto scripts -----------------------------------<
echo "<?xml version=\"1.0\"?>
<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">
<html xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"{$_FN['lang']}\" xml:lang=\"{$_FN['lang']}\">
<head>
";
echo FN_HtmlHeader();
echo "</head>";
echo "<body>";
echo FN_HtmlSection();
echo "</body>";
$str=ob_get_contents();
$str .= "<!-- Page generated in " . FN_GetExecuteTimer() . " seconds. -->";
ob_end_clean();
if ($_FN['enable_compress_gzip'])
{
header("Content-Encoding: gzip");
print gzencode($str);
}
else
{
print ($str);
}
?>