-
Notifications
You must be signed in to change notification settings - Fork 3
/
index1.php
93 lines (93 loc) · 2.58 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
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
<?php
session_start();
?>
<HTML>
<script type="text/javascript">
function checkban () {
var stat='<?php echo $_SESSION['stat'];?>';
if(stat==1){
window.location.href='ASE-EATS-ORDER-master/3b-products.php';
}else{
window.location.href='index1.php';
alert("You are banned from placing orders! Pay department dues to place more orders!");
return false;
}
}
var myvar='<?php echo $_SESSION['check'];?>';
if(myvar!='')
{
alert("<?php echo $_SESSION['check'];?>");
}
</script>
<HEAD>
<TITLE>Welcome to ASEeats Online!</TITLE>
<style type="text/css">
@import url(style.css);
a:link {color: #ffffff}
a:visited {color: #ffffff}
a:hover {color: #ffffff}
a:active {color: #ffffff}
</style>
</HEAD>
<link rel="stylesheet" type="text/css" href="style.css">
<style type="text/css">
body {
background-image: url('b.jpg');
background-repeat: no-repeat;
background-attachment: fixed;
background-position: top;
background-size: cover;
}
.white-box {
border-radius: 15px 50px;
background-color: #EBEBEB;
color: black;
width: 450px;
height: 250px;
padding: 50px;
position: relative;
left: 395px;
}
</style>
<BODY id="body">
<FONT size="4">
<NAV align="right">
<A HREF="yourorders.php" style="color: #000000">Your Orders</A>   
<A HREF="log.php" style="color: #000000" onclick="<? session_destroy();?>">LOGOUT</A>   
</FONT></NAV>
<FONT size="5" color="black">
<SECTION align="center"><A HREF="index1.php"><IMG SRC="log.png" alt="Home"></IMG></A></SECTION>
<SECTION>
<MAIN>
<div class="white-box">
<B><P>Welcome, you are logged in.
<br />
Thank you for choosing us.
<br /></P></B></FONT>
<SECTION align="center"><IMG src="clickhere.gif" width="100" height="50"></IMG></SECTION>
</br>
<div id="form-content">
<div class="welcome" style="display: block;">
<center><u><a style="color:#000000" onclick="return checkban();">Place an order</a></u></center>
</br>
</br>
<center><a href="changepw1.php" style="color:#000000">Change password</a>
<a href="deact.php" style="color:#000000">Deactivate your account</a></center><br /><br/>
<script>
if (window.performance && window.performance.navigation.type == window.performance.navigation.TYPE_BACK_FORWARD)
{
window.location.href='log.php';
alert("You cannot go back to the home page! Login if you want to!");
}
</script>
</div>
</div>
</SECTION>
</div>
</MAIN><BR><HR width="1000">
<FOOTER >
<FONT size="2" color="white" style="color: #000000">
Save time, be smart!</FONT>
</FOOTER>
</BODY>
</HTML>