Browse code

removed bridges

Jimako authored on 2023/09/05 17:13:21
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,19 +0,0 @@
1
-<?php
2
-if(!defined("_CHARSET")) exit( );
3
-
4
-	global $dateformat, $tpl;
5
-
6
-	if(file_exists(_BASEDIR."blocks/online/{$language}.php")) include(_BASEDIR."blocks/online/{$language}.php");
7
-	else include(_BASEDIR."blocks/online/en.php");
8
-
9
-	$onlineInfo = ssi_whosOnline("array");
10
-	$tpl->assignGlobal("guests", empty($guests) ? 0 : $onlineInfo['guests']);
11
-	$omlist = array( );
12
-	foreach($onlineInfo['users'] as $k => $v) {
13
-		$omlist[] = "<a href='viewuser.php?uid=".$v['id']."'>".$v['username']."</a>";
14
-	}
15
-	$tpl->assignGlobal("onlinemembers", count($omlist) ? implode(", ", $omlist) : "");
16
-	$content = "<div id='who_online'><span class='label'>"._GUESTS.":</span> ".($onlineInfo['guests'] ? $onlineInfo['guests'] : 0)."<br />\n
17
-		<span class='label'>"._MEMBERS.":</span> ".($omlist ? implode(", ", $omlist) : "")."</div>";
18
-
19
-?>
20 0
\ No newline at end of file
Browse code

Start Point - version 3.5.5 + fixes

Jimako authored on 2023/09/05 17:01:08
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,19 @@
1
+<?php
2
+if(!defined("_CHARSET")) exit( );
3
+
4
+	global $dateformat, $tpl;
5
+
6
+	if(file_exists(_BASEDIR."blocks/online/{$language}.php")) include(_BASEDIR."blocks/online/{$language}.php");
7
+	else include(_BASEDIR."blocks/online/en.php");
8
+
9
+	$onlineInfo = ssi_whosOnline("array");
10
+	$tpl->assignGlobal("guests", empty($guests) ? 0 : $onlineInfo['guests']);
11
+	$omlist = array( );
12
+	foreach($onlineInfo['users'] as $k => $v) {
13
+		$omlist[] = "<a href='viewuser.php?uid=".$v['id']."'>".$v['username']."</a>";
14
+	}
15
+	$tpl->assignGlobal("onlinemembers", count($omlist) ? implode(", ", $omlist) : "");
16
+	$content = "<div id='who_online'><span class='label'>"._GUESTS.":</span> ".($onlineInfo['guests'] ? $onlineInfo['guests'] : 0)."<br />\n
17
+		<span class='label'>"._MEMBERS.":</span> ".($omlist ? implode(", ", $omlist) : "")."</div>";
18
+
19
+?>
0 20
\ No newline at end of file