-
Notifications
You must be signed in to change notification settings - Fork 0
/
page-not-found.php
77 lines (47 loc) · 2.23 KB
/
page-not-found.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
<?php
include_once __DIR__ . "/assets/php/app.php";
if ( $_SERVER["REQUEST_URI"] != "/NFSFU-ECOMM/view-user.php" )
{
$site_titile = $_SESSION['site_title'];
}
?>
<?php require_once 'assets/pages/head.php' ?>
<title> PAGE NOT FOUND - <?php echo $site_titile ?></title>
</head>
<body>
<div class="container-fluid">
<?php require_once 'assets/pages/navigation.php' ?>
<div class="contents container-fluid">
<div class="page-contents w-100">
<div class="page-not-found-container">
<div class="title text-center">
<h1 class="text-uppercase">Page Not FOund</h1>
<p class="mt-4" >The requested URL was not found.</p>
<p>Check the URL or try the options below </p>
<div class="mt-4" >
<a href="index.php" class="btn mx-3 mb-3 btn-success text-white">
<div class="icon"> <i class="fas fa-home"></i> </div>
<div class="text">Go Home</div>
</a>
<?php if( chechkIfLoggedIn() ): ?>
<a href="add-product.php" class="btn mx-3 mb-3 btn-success text-white">
<div class="icon"> <i class="fas fa-plus"></i> </div>
<div class="text">Create a New Product</div>
</a>
<a href="dashboard.php" class="btn mx-3 mb-3 btn-success text-white">
<div class="icon"> <i class="fas fa-dashboard"></i> </div>
<div class="text">Go to Dashboard</div>
</a>
<a href="add-category.php" class="btn mx-3 mb-3 btn-success text-white">
<div class="icon"> <i class="fas fa-tag"></i> </div>
<div class="text">Create a New Category</div>
</a>
<?php endif; ?>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>