This repository was archived by the owner on Dec 7, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMembers.php
More file actions
38 lines (38 loc) · 1.47 KB
/
Members.php
File metadata and controls
38 lines (38 loc) · 1.47 KB
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
<?php
require_once 'autoload.php';
User::CheckLogin();
$arr = User::readAll();
?><!DOCTYPE html>
<html lang="en">
<head>
<title>ACU Times | Members</title>
<?php require_once("header.php"); ?>
</head>
<body>
<?php include ("navbar.php"); ?>
<div class="container" style="padding-top:20px;">
<!-------------------------------- Search -------------------------------->
<div class="col-md-6 col-md-offset-3">
<form action="members.php" method="get">
<div class="input-group">
<input type="text" class="form-control" placeholder="Search for..." id="Search" name="Search">
<span class="input-group-btn">
<button class="btn btn-primary" type="submit"><span class="glyphicon glyphicon-search" aria-hidden="true"></span></button>
</span> </div>
</form>
</div>
<!-------------------------------- content -------------------------------->
<div class="clearfix"></div>
<?php
$arr = User::readAll(0, 9999999);
$arrAccses = Access::readAll();
foreach ($arr as $value) {
PrintHTML::Member($value->getId(), $value->getfullName(), $value->getEmail(), User::getSessionAccses()->hasAccsesUser(Access::FULL), "images/User.png", $arrAccses);
}
?>
<!-------------------------------- pagination -------------------------------->
<button type="button" class="btn btn-primary center-block" onClick="">Load more <i class="fa fa-arrow-down" aria-hidden="true"></i></button>
</div>
<?php include ("footer.php"); ?>
</body>
</html>