Skip to content

Commit 20d010d

Browse files
committedApr 19, 2014
Manage user page
1 parent 3e5ccdb commit 20d010d

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
 

‎admin/manage-user.php

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<?php
2+
session_start();
3+
require_once 'include/autoload.class.php';
4+
5+
Article::add();
6+
Article::remove();
7+
8+
?>
9+
<!DOCTYPE html>
10+
<html lang="en">
11+
<head>
12+
<title>Admin</title>
13+
<meta charset="utf-8" />
14+
<link rel="stylesheet" type="text/css" href="style/default/main.css" />
15+
</head>
16+
<body>
17+
<?php if(!isset($_SESSION['logged'])){
18+
header("Location: index.php");
19+
}else{ ?>
20+
21+
<div class="page">
22+
<button onclick="back()">Go back</button>
23+
<script>function back(){window.history.back()}</script>
24+
<br /><br />
25+
<?php User::manage_list(); ?>
26+
</div>
27+
28+
<?php } ?>
29+
</body>
30+
</html>

0 commit comments

Comments
 (0)
Please sign in to comment.