-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathrules.php
74 lines (53 loc) · 2.2 KB
/
rules.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
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
<?php
/**
* http://btdev.net:1337/svn/test/Installer09_Beta
* Licence Info: GPL
* Copyright (C) 2010 BTDev Installer v.1
* A bittorrent tracker source based on TBDev.net/tbsource/bytemonsoon.
* Project Leaders: Mindless,putyn.
**/
require_once(dirname(__FILE__).DIRECTORY_SEPARATOR.'include'.DIRECTORY_SEPARATOR.'bittorrent.php');
require_once(INCL_DIR.'user_functions.php');
require_once(INCL_DIR.'html_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();
?>