This repository has been archived by the owner on Apr 14, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathlinks.php
85 lines (66 loc) · 2.64 KB
/
links.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
75
76
77
78
79
80
81
82
83
84
85
<?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$
+------------------------------------------------
*/
require_once "include/bittorrent.php";
require_once "include/user_functions.php";
dbconn(false);
$lang = array_merge( load_language('global'), load_language('links') );
function add_link($url, $title, $description = "")
{
$text = "<a class='altlink' href=$url>$title</a>";
if ($description)
$text = "$text - $description";
return "<li>$text</li>\n";
}
$HTMLOUT = '';
if ($CURUSER)
{
$HTMLOUT .= "{$lang['links_dead']}";
}
$HTMLOUT .= "<table width='750' class='main' border='0' cellspacing='0' cellpadding='0'><tr><td class='embedded'>";
$HTMLOUT .= "{$lang['links_other_pages_header']}
<table width='100%' border='1' cellspacing='0' cellpadding='10'><tr><td class='text'><ul>
{$lang['links_other_pages_body']}
</ul></td></tr></table>";
$HTMLOUT .= "{$lang['links_bt_header']}
<table width='100%' border='1' cellspacing='0' cellpadding='10'><tr><td class='text'><ul>
{$lang['links_bt_body']}
</ul></td></tr></table>";
$HTMLOUT .= "{$lang['links_software_header']}
<table width='100%' border='1' cellspacing='0' cellpadding='10'><tr><td class='text'><ul>
{$lang['links_software_body']}
</ul></td></tr></table>";
$HTMLOUT .= "{$lang['links_download_header']}
<table width='100%' border='1' cellspacing='0' cellpadding='10'><tr><td class='text'><ul>
{$lang['links_download_body']}
</ul></td></tr></table>";
$HTMLOUT .= "{$lang['links_forums_header']}
<table width='100%' border='1' cellspacing='0' cellpadding='10'><tr><td class='text'><ul>
{$lang['links_forums_body']}
</ul></td></tr></table>";
$HTMLOUT .= "{$lang['links_other_header']}
<table width='100%' border='1' cellspacing='0' cellpadding='10'><tr><td class='text'><ul>
{$lang['links_other_body']}
</ul></td></tr></table>";
$HTMLOUT .= "{$lang['links_tbdev_header']}>
<table width='100%' border='1' cellspacing='0' cellpadding='10'><tr><td class='text'>
{$lang['links_tbdev_body']}
</td></tr></table>";
$HTMLOUT .= "</td></tr></table>";
print stdhead("Links") . $HTMLOUT . stdfoot();
?>