-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathadminBrowseUsers.php
More file actions
35 lines (34 loc) · 976 Bytes
/
adminBrowseUsers.php
File metadata and controls
35 lines (34 loc) · 976 Bytes
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
<?php
session_start();
if (!isset($_SESSION["usertype"])) {
header('location: login.php');
}
if ($_SESSION["usertype"] != 2) {
header("location: index.php");
}
?>
<!doctype html>
<html lang="en">
<head>
<?php include("php/head.php"); ?>
<title>Edit Users</title>
</head>
<body>
<?php include("php/header.php"); ?>
<?php include("php/browseUsers/outputUsers.php"); ?>
<main>
<div class="container mt-4">
<div class="row">
<div class="col-12">
<div class="row">
<div class="col-12">
<h3 class="font-weight-bold mb-3">Select a user to edit</h3>
</div>
</div>
<?php outputUsers(1); ?>
</div>
</div>
</div>
</main>
</body>
</html>