-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex1.php
47 lines (41 loc) · 1.07 KB
/
index1.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
<?php
include_once 'header.php';
?>
<style >
p {font-family: monospace; font-size: 300%; color: yellow;}
body{
background-image: url("images/cinema.jpg");
-moz-background-size: cover;
-webkit-background-size: cover;
background-size:100% 115vh;
background-position: top center !important;
background-repeat: no-repeat !important;
background-attachment: fixed;
}
</style>
<section class="main-container" >
<div class="main-wrapper">
<?php
if(isset($_SESSION['success1']))
{
echo '<p align=middle><br><br><br>'.$_SESSION['success1'].'</p>';
unset($_SESSION['success1']);
}
else
{
if (isset($_SESSION['u_id'])) {
echo "<p align=center><br><b>You are still Logged in. <BR> Log out to Continue.</b></p> ";
}
if(isset($_SESSION['errors']))
{
echo '<p align=middle> Invalid username or password.<br> Please try again.</b></p>';
unset($_SESSION['errors']);
}
}
?>
</div>
</section>
<body></body>
<?php
include_once 'footer.php';
?>