forked from nerdzeu/nerdz.eu
/
terms.php
executable file
·30 lines (28 loc) · 999 Bytes
/
terms.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
<?php
ob_start('ob_gzhandler');
require_once $_SERVER['DOCUMENT_ROOT'].'/class/autoload.php';
$user = new NERDZ\Core\User();
$tplcfg = $user->getTemplateCfg();
ob_start(array('NERDZ\\Core\\Utils','minifyHTML'));
?>
<!DOCTYPE html>
<html lang="<?php echo $user->getBoardLanguage();?>">
<head>
<meta name="description" content="NERDZ is a mix between a social network and a forum. You can share your code, enjoy information technology, talk about nerd stuff and more. Join in!" />
<title><?= NERDZ\Core\Utils::getSiteName(), ' - ', $user->lang('TERMS') ?></title>
<?php
$headers = $tplcfg->getTemplateVars('terms');
require_once $_SERVER['DOCUMENT_ROOT'].'/pages/common/jscssheaders.php';
?>
</head>
<?php ob_flush(); ?>
<body>
<div id="body">
<?php
require_once $_SERVER['DOCUMENT_ROOT'].'/pages/header.php';
require_once $_SERVER['DOCUMENT_ROOT'].'/pages/terms.php';
require_once $_SERVER['DOCUMENT_ROOT'].'/pages/footer.php';
?>
</div>
</body>
</html>