-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathactive_users.php
63 lines (47 loc) · 1.6 KB
/
active_users.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
<?php
//error_reporting(E_ALL);
require_once 'includes.php';
//include_once 'fbexchange.php';
echo dashboard();
echo "<center><br>";
echo "<table><tr><td valign='top'>";
echo "<h1>active users</h1>";
echo "<br><h2>up to level 100</h2>";
$active_users = $memcache->get('active_lo');
foreach($active_users as $a => $value) {
?>
<fb:name useyou='false' uid='<?php echo $value; ?>' ifcantsee='anon' /> <?php echo $value; ?> (<?php echo get_level($value); ?>) (<?php echo
$memcache->get($user . 'pvp'); ?>)<br>
<?
}
echo "</td><td valign='top'>";
echo "<br><br><h2>over level 100</h2>";
$active_users = $memcache->get('active_hi');
//print_r($active_users);
foreach($active_users as $a => $value) {
?>
<fb:name useyou='false' uid='<?php echo $value; ?>' ifcantsee='anon' /> <?php echo $value; ?> (<?php echo get_level($value); ?>) (<?php echo
$memcache->get($user . 'pvp'); ?>)<br>
<?
}
echo "</td><td valign='top'>";
echo "<br><br><h2>over level 1000</h2>";
$active_users = $memcache->get('active_hi_2');
foreach($active_users as $a => $value) {
?>
<fb:name useyou='false' uid='<?php echo $value; ?>' ifcantsee='anon' /> <?php echo $value; ?> (<?php echo get_level($value); ?>) (<?php echo
$memcache->get($user . 'pvp'); ?>)<br>
<?
}
echo "</td><td valign='top'>";
echo "<br><br><h2>over level 5000</h2>";
$active_users = $memcache->get('active_hi_3');
foreach($active_users as $a => $value) {
?>
<fb:name useyou='false' uid='<?php echo $value; ?>' ifcantsee='anon' /> <?php echo $value; ?> (<?php echo get_level($value); ?>) (<?php echo
$memcache->get($user . 'pvp'); ?>)<br>
<?
}
echo "</td></tr></table>";
?>
</center>