-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
124 lines (78 loc) · 1.82 KB
/
index.html
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
<?php
session_start();
if (isset($_SESSION["user_id"])) {
$mysqli = require __DIR__ . "/database.php";
$sql = "SELECT * FROM users
WHERE id = {$_SESSION["user_id"]}";
$result = $mysqli->query($sql);
$user = $result->fetch_assoc();
}
?>
<!doctype html>
<html>
<head>
<title>Identical-Gen</title>
</head>
<div class="flex-container">
<div><a href="Identical-Gen" ><img width="50%" height="50%" src="logo.png"></img></a></div>
<div> <!--Important Field-->
<form action="./SameGen.php" method="post">
<label> BirthDay </label>
<input type="date" placeholder="BirthDay"></input><br>
<button type="submit"> Sail </button>
</form>
<!--Optionel Field--></div>
<div><a href="register.html" ><img width="25px" height="25px" src="assets/icons/user.svg"> </img></a> <a style="margin:2px;padding: 10px;" href="login.html" > <img width="25px" height="25px" src="assets/icons/login.svg"></img></a></div>
<style>
body {
padding: 0px;
margin: 0px;
width: 100%;
height: 100%;
overflow:hidden;
}
.flex-container {
display: flex;
}
.flex-container > div {
margin: 10px;
padding: 20px;
flex: 50%;
}
label{
display: flex;
flex: auto;
font-size: 20px;
}
form {
display: flex;
flex: auto;
}
cf {
display: flex;
flex: auto;
}
a {
text-decoration: none;
}
label {
font-size: 20px;
box-shadow: 2 2 2;
font-family: monospace;
padding-left: 20px;
margin-right: 20px;
}
input {
border-radius:20px;
height: 20px;
text-align: center;
}
button {
border-color:white;
border-radius:20px;
opacity: 50%;
font-family: monospace;
margin-left: 20px;
}
</style>
</html>