This repository was archived by the owner on Jun 16, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlocal.php
More file actions
80 lines (65 loc) · 2.38 KB
/
local.php
File metadata and controls
80 lines (65 loc) · 2.38 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<?php
/* Copyright (C) 2016 Stephan Kreutzer
*
* This file is part of refugee-it.de.
*
* refugee-it.de is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License version 3 or any later version,
* as published by the Free Software Foundation.
*
* refugee-it.de is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License 3 for more details.
*
* You should have received a copy of the GNU Affero General Public License 3
* along with refugee-it.de. If not, see <http://www.gnu.org/licenses/>.
*/
if (empty($_SESSION) === true)
{
@session_start();
}
$_SESSION['page'] = "local";
unset($_SESSION['subpage']);
require_once(dirname(__FILE__)."/libraries/languagelib.inc.php");
require_once(getLanguageFile("local"));
$direction = getCurrentLanguageDirection();
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n".
"<!DOCTYPE html\n".
" PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\"\n".
" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n".
"<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"".getCurrentLanguage()."\" lang=\"".getCurrentLanguage()."\">\n".
" <head>\n".
" <meta http-equiv=\"content-type\" content=\"application/xhtml+xml; charset=UTF-8\"/>\n".
" <title>".LANG_PAGETITLE."</title>\n".
" <link rel=\"stylesheet\" type=\"text/css\" href=\"mainstyle.css\"/>\n".
" <meta http-equiv=\"expires\" content=\"1296000\"/>\n".
" <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"/>\n".
" </head>\n".
" <body>\n";
include(dirname(__FILE__)."/navigation.inc.php");
echo GetNavigation();
if ($direction === LanguageDefinition::DirectionRTL)
{
echo " <div id=\"content_rtl\">\n";
}
else
{
echo " <div id=\"content\">\n";
}
echo "<div>\n".
" <h1>".LANG_HEADER."</h1>\n".
" <div>\n".
" <p>\n".
" ".LANG_ABOUT."\n".
" </p>\n".
" <ul>\n".
" <li><a href=\"local/74321_bietigheimbissingen/index.php\">74321 Bietigheim-Bissingen</a></li>\n".
" </ul>\n".
" </div>\n".
"</div>\n";
echo " </div>\n".
" </body>\n".
"</html>\n".
"\n";
?>