-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathrules.php
More file actions
87 lines (64 loc) · 2.34 KB
/
rules.php
File metadata and controls
87 lines (64 loc) · 2.34 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
81
82
83
84
85
86
87
<?php
/*
+------------------------------------------------
| TBDev.net BitTorrent Tracker PHP
| =============================================
| by CoLdFuSiOn
| (c) 2003 - 2009 TBDev.Net
| http://www.tbdev.net
| =============================================
| svn: http://sourceforge.net/projects/tbdevnet/
| Licence Info: GPL
+------------------------------------------------
| $Date$
| $Revision$
| $Author$
| $URL$
+------------------------------------------------
*/
ob_start("ob_gzhandler");
require_once "include/bittorrent.php";
require_once "include/html_functions.php";
require_once "include/user_functions.php";
dbconn();
//loggedinorreturn();
$lang = array_merge( load_language('global'), load_language('rules') );
$HTMLOUT = '';
$HTMLOUT .= begin_main_frame();
$HTMLOUT .= begin_frame("{$lang['rules_general_header']}");
$HTMLOUT .= "{$lang['rules_general_body']}";
$HTMLOUT .= end_frame();
$HTMLOUT .= begin_frame("{$lang['rules_downloading_header']}");
$HTMLOUT .= "{$lang['rules_downloading_body']}";
$HTMLOUT .= end_frame();
$HTMLOUT .= begin_frame("{$lang['rules_forum_header']}");
$HTMLOUT .= "{$lang['rules_forum_body']}";
$HTMLOUT .= end_frame();
$HTMLOUT .= begin_frame("{$lang['rules_avatar_header']}");
$HTMLOUT .= "{$lang['rules_avatar_body']}";
$HTMLOUT .= end_frame();
if (isset($CURUSER) AND $CURUSER['class'] >= UC_UPLOADER)
{
$HTMLOUT .= begin_frame("{$lang['rules_uploading_header']}");
$HTMLOUT .= "{$lang['rules_uploading_body']}";
$HTMLOUT .= end_frame();
}
if (isset($CURUSER) AND $CURUSER['class'] >= UC_MODERATOR)
{
$HTMLOUT .= begin_frame("{$lang['rules_moderating_header']}");
$HTMLOUT .= "<br />
<table border='0' cellspacing='3' cellpadding='0'>
{$lang['rules_moderating_body']}
</table>
<br />";
$HTMLOUT .= end_frame();
$HTMLOUT .= begin_frame("{$lang['rules_mod_rules_header']}");
$HTMLOUT .= "{$lang['rules_mod_rules_body']}";
$HTMLOUT .= end_frame();
$HTMLOUT .= begin_frame("{$lang['rules_mod_options_header']}");
$HTMLOUT .= "{$lang['rules_mod_options_body']}";
$HTMLOUT .= end_frame();
}
$HTMLOUT .= end_main_frame();
print stdhead("{$lang['rules_rules']}") . $HTMLOUT . stdfoot();
?>