forked from ivannovak/jpmaster77-s-Login-System-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathauthor.php
38 lines (30 loc) · 799 Bytes
/
author.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
<?php
/**
* author.php
* You can gather more details by following the
* Adding Protected Pages to the Jp77 System
* tutorial found here: http://ivannovak.com/b5rj
*/
include("include/session.php");
if(!$session->isAuthor()){
header("Location: main.php");
} else {
?>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Jpmaster77's Login Script</title>
<link rel="stylesheet" href="-css/960/reset.css" type="text/css" />
<link rel="stylesheet" href="-css/960/960.css" type="text/css" />
<link rel="stylesheet" href="-css/960/text.css" type="text/css" />
<link rel="stylesheet" href="-css/style.css" type="text/css" />
</head>
<body>
<div id="main" class="container_12">
<p>you have author privileges</p>
</div>
</body>
</html>
<?php
}
?>