|
@@ -3,27 +3,21 @@ declare(strict_types=1);
|
3
|
3
|
|
4
|
4
|
$ENV = ENV::go();
|
5
|
5
|
$Sep = ' ';
|
6
|
|
-#$Sep = ' · ';
|
7
|
6
|
|
8
|
7
|
# End <div#content>, begin <footer>
|
9
|
8
|
# This needs to be <main>, in each page
|
10
|
9
|
echo $HTML = '</div></main><footer>';
|
11
|
10
|
|
12
|
|
-/*
|
13
|
11
|
# Disclaimer
|
14
|
|
-if (!empty($Options['disclaimer'])) {
|
|
12
|
+#if (!empty($Options['disclaimer'])) {
|
15
|
13
|
echo $HTML = <<<HTML
|
16
|
|
- <div id="disclaimer_container">
|
17
|
|
- None of the files shown here are actually hosted on this server.
|
18
|
|
- The links are provided solely by this site's users.
|
19
|
|
- These BitTorrent files are meant for the distribution of backup files.
|
20
|
|
- By downloading the BitTorrent file, you are claiming that you own the original file.
|
21
|
|
- The administrator of this site ($ENV->SITE_DOMAIN) holds <em>no responsibility</em>
|
22
|
|
- if these files are misused in any way and cannot be held responsible for what its users post.
|
|
14
|
+ <div id="disclaimer">
|
|
15
|
+ No data are hosted on $ENV->SITE_NAME's servers.
|
|
16
|
+ All torrents are user-generated content.
|
|
17
|
+ Torrents without a specified license may be protected by copyright.
|
23
|
18
|
</div>
|
24
|
19
|
HTML;
|
25
|
|
-}
|
26
|
|
-*/
|
|
20
|
+#}
|
27
|
21
|
|
28
|
22
|
# Sessions
|
29
|
23
|
if (count($UserSessions) > 1) {
|
|
@@ -104,9 +98,9 @@ echo $HTML = <<<HTML
|
104
|
98
|
</p>
|
105
|
99
|
HTML;
|
106
|
100
|
|
|
101
|
+# Start debug
|
107
|
102
|
if (DEBUG_MODE || check_perms('site_debug')) {
|
108
|
103
|
echo $HTML = <<<HTML
|
109
|
|
-<!-- Begin Debugging -->
|
110
|
104
|
<div id="site_debug">
|
111
|
105
|
HTML;
|
112
|
106
|
|
|
@@ -121,9 +115,9 @@ HTML;
|
121
|
115
|
|
122
|
116
|
echo $HTML = <<<HTML
|
123
|
117
|
</div>
|
124
|
|
-<!-- End Debugging -->
|
125
|
118
|
HTML;
|
126
|
119
|
}
|
|
120
|
+# End debug
|
127
|
121
|
|
128
|
122
|
global $NotificationSpans;
|
129
|
123
|
if (!empty($NotificationSpans)) {
|