-
Notifications
You must be signed in to change notification settings - Fork 1
/
403.php
94 lines (76 loc) · 2.54 KB
/
403.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<?php
include("inc/startup.php");
header('HTTP/1.0 403 Forbidden');
if(!isLoggedIn())
{
header("Location: login.php");
die;
}
?>
<!DOCTYPE html>
<html lang="en-us">
<head>
<?php $tpl->title = APP_NAME . " - Access Denied"; include("templates/core/head.tpl.php"); ?>
</head>
<body class="">
<!-- HEADER -->
<header id="header">
<?php include("templates/core/header.tpl.php"); ?>
</header>
<!-- END HEADER -->
<!-- Left panel : Navigation area -->
<!-- Note: This width of the aside area can be adjusted through LESS variables -->
<?php include("templates/nav/left.tpl.php"); ?>
<!-- END NAVIGATION -->
<!-- MAIN PANEL -->
<div id="main" role="main">
<!-- RIBBON -->
<div id="ribbon">
<!-- breadcrumb -->
<ol class="breadcrumb">
<li>Home</li><li>Errors</li>
</ol>
<!-- end breadcrumb -->
</div>
<!-- END RIBBON -->
<!-- MAIN CONTENT -->
<div id="content">
<div class="row">
<div class="col-xs-12 col-sm-7 col-md-7 col-lg-4">
<h1 class="page-title txt-color-blueDark"><i class="fa-fw fa fa-home"></i> Errors <span>> 403 Access Denied</span></h1>
</div>
</div>
<!-- row -->
<div class="row">
<!-- NEW WIDGET START -->
<article class="col-sm-12">
<!-- Widget ID (each widget will need unique ID)-->
<div class="jarviswidget jarviswidget-color-blueDark" id="wid-id-x" data-widget-colorbutton="false" data-widget-editbutton="false" data-widget-togglebutton="false" data-widget-deletebutton="false" data-widget-fullscreenbutton="false" data-widget-custombutton="false" data-widget-sortable="false">
<header>
<span class="widget-icon"> <i class="fa fa-align-justify"></i> </span>
<h2>Access Denied </h2>
</header>
<!-- widget div-->
<div>
<!-- widget edit box -->
<div class="jarviswidget-editbox">
<!-- This area used as dropdown edit box -->
</div>
<!-- end widget edit box -->
<!-- widget content -->
<div class="widget-body">
<?php display_error("ERROR 403"," You have no access to the specified resource",false,false)?>
</div>
</div>
</div>
</article>
</div>
<!-- end row -->
</div>
<!-- END MAIN CONTENT -->
</div>
<!-- END MAIN PANEL -->
<!--================================================== -->
<?php include("templates/core/scripts.tpl.php"); ?>
</body>
</html>