-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdemo_page.php
executable file
·143 lines (114 loc) · 4.16 KB
/
demo_page.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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
body,
html {
height: 100%;
margin: 0;
font-family: Arial, Helvetica, sans-serif;
}
* {
box-sizing: border-box;
}
.bg-image {
/* The image used */
background-image: url("wolf2.jpg");
/* Add the blur effect */
filter: blur(3px);
-webkit-filter: blur(3px);
/* Full height */
height: 100%;
/* Center and scale the image nicely */
/* background-position: center; */
background-position: 50% 25%;
background-repeat: no-repeat;
background-size: cover;
}
/* Position text in the middle of the page/image */
.bg-text {
background-color: rgb(0, 0, 0);
/* Fallback color */
background-color: rgba(0, 0, 0, 0.4);
/* Black w/opacity/see-through */
color: white;
font-weight: bold;
border: 3px solid #f1f1f1;
position: absolute;
top: 55%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 2;
width: 80%;
padding: 20px;
text-align: center;
}
.dropbtn {
background-color: #4CAF50;
color: white;
padding: 16px;
font-size: 16px;
border: none;
}
.dropdown {
position: relative;
display: inline-block;
}
.dropdown-content {
display: none;
position: absolute;
background-color: #f1f1f1;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
z-index: 1;
}
.dropdown-content a {
color: black;
padding: 5px 12px;
text-decoration: none;
display: block;
}
.dropdown-content a:hover {
background-color: #ddd;
}
.dropdown:hover .dropdown-content {
display: block;
}
.dropdown:hover .dropbtn {
background-color: #3e8e41;
}
</style>
</head>
<body>
<div class="dropdown">
<button class="dropbtn">Select Operation</button>
<div class="dropdown-content">
<!-- <p><a href="https://www.students.cs.ubc.ca/~maxonzz/military-system/reset_page.php">Reset</a></p> -->
<p><a href="https://www.students.cs.ubc.ca/~maxonzz/military-system/Insert_page.php">Insert</a></p>
<p><a href="https://www.students.cs.ubc.ca/~maxonzz/military-system/Delete_page.php">Delete</a></p>
<p><a href="https://www.students.cs.ubc.ca/~maxonzz/military-system/Update_page.php">Update</a></p>
<p><a href="https://www.students.cs.ubc.ca/~maxonzz/military-system/Selection_page.php">Selection</a></p>
<p><a href="https://www.students.cs.ubc.ca/~maxonzz/military-system/Projection_page.php">Projection</a></p>
<p><a href="https://www.students.cs.ubc.ca/~maxonzz/military-system/Join_page.php">Join</a></p>
<p><a href="https://www.students.cs.ubc.ca/~maxonzz/military-system/Aggregation_page.php">Aggregation</a></p>
<p><a href="https://www.students.cs.ubc.ca/~maxonzz/military-system/GroupBy_page.php">Group By(Nested Query)</a></p>
<p><a href="https://www.students.cs.ubc.ca/~maxonzz/military-system/Division_page.php">Division</a></p>
</div>
</div>
<div class="bg-image"></div>
<div class="bg-text">
<h1 style="font-size:50px">Military System Demo Page</h1>
<form method="POST" action="demo_page.php">
<!--refresh page when submitted-->
<input type="submit" value="BACK TO COVER PAGE" name="START_redirect"></p>
</form>
</div>
<?php
if (isset($_POST['START_redirect'])) {
header('Location: https://www.students.cs.ubc.ca/~maxonzz/military-system/cover_page.php');
exit;
}
?>
</body>
</html>