-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpapers.php
More file actions
48 lines (38 loc) · 1.46 KB
/
papers.php
File metadata and controls
48 lines (38 loc) · 1.46 KB
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
41
42
43
44
45
46
47
48
<?php
/*================================================================+\
|| # PHPRetro - An extendable virtual hotel site and management
|+==================================================================
|| # Copyright (C) 2009 Yifan Lu. All rights reserved.
|| # http://www.yifanlu.com
|| # Parts Copyright (C) 2009 Meth0d. All rights reserved.
|| # http://www.meth0d.org
|| # All images, scripts, and layouts
|| # Copyright (C) 2009 Sulake Ltd. All rights reserved.
|+==================================================================
|| # PHPRetro is provided "as is" and comes without
|| # warrenty of any kind. PHPRetro is free software!
|| # License: GNU Public License 3.0
|| # http://opensource.org/licenses/gpl-license.php
\+================================================================*/
require_once('./includes/core.php');
$data = new index_sql;
$lang->addLocale("landing.papers");
$page['name'] = $lang->loc['pagename.home'];
$page['bodyid'] = "landing";
require_once('./templates/login_header.php');
if($_GET['page'] == "disclaimer"){
$title = $lang->loc['disclaimer'];
$content = $settings->find("paper_disclaimer");
}else{
$title = $lang->loc['privacy.policy'];
$content = $settings->find("paper_privacy");
}
?>
<div id="process-content">
<div id="terms" class="box-content">
<div class="tos-header"><b><?php echo $title; ?></b></div>
<div class="tos-item"><?php echo $content; ?></div>
</div>
<?php
require('./templates/login_footer.php');
?>