-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy patherror.php
40 lines (35 loc) · 1.25 KB
/
error.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
<?php
/* Displays all error messages */
session_start();
?>
<!DOCTYPE html>
<html>
<head>
<title>IPR4Students | Error</title>
<?php include 'css/css.html'; ?>
<link rel="shortcut icon" href="img/icon.png" >
</head>
<body>
<nav>
<div class="line">
<p class="logo" style=" text-align: left;"> <strong>IPR</strong>4students</p>
</div>
</nav>
<div class="form">
<h1 style="color:white">Error</h1>
<p>
<?php
if( isset($_SESSION['message']) AND !empty($_SESSION['message']) ):
echo $_SESSION['message'];
else:
header( "location: index_loginsignup.php" );
endif;
?>
</p>
<a href="index_loginsignup.php"><button class="button button-block"/>Retry</button></a>
</div>
<footer>
<p style="font-size:15px;color:white">Copyright 2017, IPR4Students<br>Designed and Maintained by: <a href="http://www.rainbowdimensions.org"><font size="3" color="white">Rainbow Dimensions</font></a> & <a href="mediaspa.in"><font size="3" color="white">Mediaspa</font></a>.<br>Contact:<br><a href="#"><font size="3" color="white">[email protected]</font></a></p>
</footer>
</body>
</html>