-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsitenav.php
84 lines (78 loc) · 3.85 KB
/
sitenav.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
<?
/*
+--------------------------------------------------------------------------
| MkPortal
| ========================================
| by Meo aka Luponero <Amedeo de longis>
|
| (c) 2004 mkportal.it
| http://www.mkportal.it
| Email: [email protected]
|
+---------------------------------------------------------------------------
|
| > MKPortal
| > Written By Amedeo de longis
| > Date started: 9.2.2004
|
+--------------------------------------------------------------------------
*/
$content = "";
$content = "
<tr><td width=\"100%\" class=\"tdblock\"><img src=\"$this->images/atb_home.gif\" align=\"left\" alt=\"\" /> <a class=\"uno\" href=\"$this->siteurl/index.php\">{$this->lang['home']}</a></td></tr>
";
$content .= "
<tr><td width=\"100%\" class=\"tdblock\"><img src=\"$this->images/atb_forum.gif\" align=\"left\" alt=\"\" /> <a class=\"uno\" href=\"{$mkportals->base_url}\">{$this->lang['forum']}</a></td></tr>
";
if (!$this->config['mod_blog']) {
$content .= "
<tr><td width=\"100%\" class=\"tdblock\"><img src=\"$this->images/atb_blog.gif\" align=\"left\" alt=\"\" /> <a class=\"uno\" href=\"$this->siteurl/index.php?ind=blog\">{$this->lang['blog']}</a></td></tr>
";
}
if (!$this->config['mod_gallery']) {
$content .= "
<tr><td width=\"100%\" class=\"tdblock\"><img src=\"$this->images/atb_foto.gif\" align=\"left\" alt=\"\" /> <a class=\"uno\" href=\"$this->siteurl/index.php?ind=gallery\">{$this->lang['gallery']}</a></td></tr>
";
}
if (!$this->config['mod_urlobox']) {
$content .= "
<tr><td width=\"100%\" class=\"tdblock\"><img src=\"$this->images/atb_urlo.gif\" align=\"left\" alt=\"\" /> <a class=\"uno\" href=\"$this->siteurl/index.php?ind=urlobox\">{$this->lang['urlobox']}</a></td></tr>
";
}
if (!$this->config['mod_downloads']) {
$content .= "
<tr><td width=\"100%\" class=\"tdblock\"><img src=\"$this->images/atb_down.gif\" align=\"left\" alt=\"\" /> <a class=\"uno\" href=\"$this->siteurl/index.php?ind=downloads\">{$this->lang['download']}</a></td></tr>
";
}
if (!$this->config['mod_news']) {
$content .= "
<tr><td width=\"100%\" class=\"tdblock\"><img src=\"$this->images/atb_racconti.gif\" align=\"left\" alt=\"\" /> <a class=\"uno\" href=\"$this->siteurl/index.php?ind=news\">{$this->lang['news']}</a></td></tr>
";
}
if (!$this->config['mod_topsite']) {
$content .= "
<tr><td width=\"100%\" class=\"tdblock\"><img src=\"$this->images/atb_toplist.gif\" align=\"left\" alt=\"\" /> <a class=\"uno\" href=\"$this->siteurl/index.php?ind=topsite\">{$this->lang['topsite']}</a></td></tr>
";
}
if (!$this->config['mod_reviews']) {
$content .= "
<tr><td width=\"100%\" class=\"tdblock\"><img src=\"$this->images/atb_media.gif\" align=\"left\" alt=\"\" /> <a class=\"uno\" href=\"$this->siteurl/index.php?ind=reviews\">{$this->lang['reviews']}</a></td></tr>
";
}
if (!$this->config['mod_quote']) {
$content .= "
<tr><td width=\"100%\" class=\"tdblock\"><img src=\"$this->images/atb_quote.gif\" align=\"left\" alt=\"\" /> <a class=\"uno\" href=\"$this->siteurl/index.php?ind=quote\">{$this->lang['quote']}</a></td></tr>
";
}
if (!$this->config['mod_chat']) {
$content .= "
<tr><td width=\"100%\" class=\"tdblock\"><img src=\"$this->images/atb_chat.gif\" align=\"left\" alt=\"\" /> <a class=\"uno\" href=\"$this->siteurl/index.php?ind=chat\" target=\"_new\">{$this->lang['chat']}</a></td></tr>
";
}
$query = $DB->query( "SELECT icon, title, url FROM mkp_mainlinks WHERE type = '2' ORDER BY `id`");
while( $row = $DB->fetch_row($query) ) {
$content .= "
<tr><td width=\"100%\" class=\"tdblock\"><img src=\"{$row['icon']}\" align=\"left\" alt=\"\" /> <a class=\"uno\" href=\"{$row['url']}\">{$row['title']}</a></td></tr>
";
}
?>