-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathonline_home.php
117 lines (108 loc) · 4.06 KB
/
online_home.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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<?
/*
+--------------------------------------------------------------------------
| 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
|
+--------------------------------------------------------------------------
*/
$lonlinelist= $mklib_board->forum_link("onlinelist");
$users= $mklib_board->get_onlinehome($this->lang['guest']);
$content = "";
$logged_visible_online = $users[0];
$logged_hidden_online = $users[1];
$guests_online = $users[2];
$online['portale'] = $users[3];
$online['blog'] = $users[4];
$online['gallery'] = $users[5];
$online['urlobox'] = $users[6];
$online['downloads'] = $users[7];
$online['news'] = $users[8];
$online['chat'] = $users[9];
$online['topsite'] = $users[10];
$online['reviews'] = $users[11];
$online['forum'] = $users[12];
unset ($users);
$total_online_users = $logged_visible_online + $logged_hidden_online + $guests_online;
$content = "
<tr>
<td width=\"100%\">
<table class=\"moduleborder\" cellspacing=\"1\" cellpadding=\"0\" width=\"100%\" align=\"center\" border=\"0\">
<tr>
<td class=\"tdblock\">
<span class=\"mktxtcontr\">$total_online_users</span> {$this->lang['onlineusers']}: $guests_online {$this->lang['guests']}, $logged_hidden_online {$this->lang['anons']}, $logged_visible_online {$this->lang['noanons']}
</td>
</tr>
<tr>
<td>
<table class=\"moduleborder\" cellspacing=\"1\" cellpadding=\"1\" width=\"100%\" align=\"center\" border=\"0\">
<tr>
<td class=\"modulecell\" width=\"20%\" ><b>{$this->lang['portal_home']}</b></td>
<td class=\"modulecell\" width=\"80%\">{$online['portale']}</td>
</tr>
<tr>
<td class=\"modulecell\" width=\"20%\" >{$this->lang['forum']}</td>
<td class=\"modulecell\" width=\"80%\">{$online['forum']}</td>
</tr>
<tr>
<td class=\"modulecell\" width=\"20%\" >{$this->lang['blog']}</td>
<td class=\"modulecell\" width=\"80%\">{$online['blog']}</td>
</tr>
<tr>
<td class=\"modulecell\" width=\"20%\" >{$this->lang['gallery']}</td>
<td class=\"modulecell\" width=\"80%\">{$online['gallery']}</td>
</tr>
<tr>
<td class=\"modulecell\" width=\"20%\" >{$this->lang['urlobox']}</td>
<td class=\"modulecell\" width=\"80%\">{$online['urlobox']}</td>
</tr>
<tr>
<td class=\"modulecell\" width=\"20%\" >{$this->lang['download']}</td>
<td class=\"modulecell\" width=\"80%\">{$online['downloads']}</td>
</tr>
<tr>
<td class=\"modulecell\" width=\"20%\" >{$this->lang['news']}</td>
<td class=\"modulecell\" width=\"80%\">{$online['news']}</td>
</tr>
<tr>
<td class=\"modulecell\" width=\"20%\" >{$this->lang['chat']}</td>
<td class=\"modulecell\" width=\"80%\">{$online['chat']}</td>
</tr>
<tr>
<td class=\"modulecell\" width=\"20%\" >{$this->lang['topsite']}</td>
<td class=\"modulecell\" width=\"80%\">{$online['topsite']}</td>
</tr>
<tr>
<td class=\"modulecell\" width=\"20%\" >{$this->lang['reviews']}</td>
<td class=\"modulecell\" width=\"80%\">{$online['reviews']}</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class=\"tdblock\">
<img src=\"$this->images/atb_members.gif\" align=\"middle\" alt=\"\" /> <a class=\"uno\" href=\"$lonlinelist\">{$this->lang['lastclick']}</a>
</td>
</tr>
</table>
</td>
</tr>
";
unset($lonlinelist);
unset($logged_visible_online);
unset($logged_hidden_online);
unset($guests_online);
unset($online);
unset($total_online_users);
?>