-
Notifications
You must be signed in to change notification settings - Fork 3
/
friends.php
52 lines (45 loc) · 1.55 KB
/
friends.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
<?php
include "inc.default.php"; // should be included in EVERY file
$oSecurity = new security(TRUE);
$oLog = new log("page visit", array("url" => $oPage->filename()));
$iUser = isset($_GET["u"]) ? intval($_GET["u"]) : 0;
$oExperience = new experience(me());
$oExperience->detail("reason", "pageload");
$oExperience->add(1);
$oUserList = new userlist();
$oUserList->filter("visible");
if ($iUser != 0) {
$oUserList->filter("friends", $iUser);
} else {
$oUserList->filter("friends");
}
$oPage->tab("lijsten");
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php
echo $oPage->getHeader();
?>
</head>
<body id="users">
<?php echo $oPage->startTabs(); ?>
<div class="body content content-lists-users container">
<div class="row">
<?php
echo $oSecurity->me()->html("user.html");
?>
</div>
<div class="usersfromlist row sidecenterright">
<?php
foreach ($oUserList->getList() as $oUser) {
echo $oUser->HTML("userfromlist.html");
}
?>
</div>
<?php echo $oPage->endTabs(); ?>
</div>
<div class="footer">
<?php echo $oPage->footer(); ?>
</div>
</body>
</html>