-
Notifications
You must be signed in to change notification settings - Fork 3
/
groups.php
49 lines (41 loc) · 1.62 KB
/
groups.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
<?php
include "inc.default.php"; // should be included in EVERY file
$oSecurity = new security(TRUE);
$oLog = new log("page visit", array("url" => $oPage->filename()));
if (!user(me())->levelrights("groepslijst")) stop("level");
$oList = new grouplist();
$oExperience = new experience(me());
$oExperience->detail("reason", "pageload");
$oExperience->add(1);
$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("leftuserprofile.html"); */
echo $oSecurity->me()->html("user.html");
?>
</div>
<div class="usersfromlist row sidecenterright">
<!--<div class="main market"> -->
<?php
foreach ($oList->getList() as $oUser) {
echo "<div id=\"group-" . $oUser->id() . "\">" . $oUser->HTML("groupfromlist.html") . "</div>";
}
?>
<!--</div>-->
</div>
<?php echo $oPage->endTabs(); ?>
</div>
<div class="footer">
<?php echo $oPage->footer(); ?>
</div>
</body>
</html>