-
Notifications
You must be signed in to change notification settings - Fork 6
/
personal.php
157 lines (153 loc) · 3.2 KB
/
personal.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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
<?php
include('lock.php');
$query = $db->query("SELECT * FROM register where username = '$login_session'");
if($query->num_rows > 0){
while($row = $query->fetch_assoc()){
$name = $row['name'];
$birth = $row['dob'];
$gender = $row['gender'];
$home = $row['address'];
$contact = $row['contact'];
$mail = $row['email'];
$password = $row['password'];
}
}
?>
<html>
<head>
<style>
body {
background: #252827;
font-size: 16px;
}
p {
font-weight: 300;
}
a {
color: #6c6d6d;
text-decoration: none;
text-transform: uppercase;
display: block;
letter-spacing: .3em;
font-size: .6em;
font-weight: 400;
background: #252727;
padding: .3rem 1rem;
margin: 1.9rem 0 0 0;
float: right;
}
a:hover {
color: white;
background: #004ffc;
border-bottom: .35em solid black;
}
strong {
font-weight: 600;
}
h1 {
font-family: 'Saira', sans-serif;
letter-spacing: 1.5px;
color: white;
font-weight: 400;
font-size: 2.4em;
}
#content {
margin-top: 50px;
text-align: center;
}
.timeline {
border-left: 4px solid #004ffc;
border-bottom-right-radius: 4px;
border-top-right-radius: 4px;
background: rgba(255,255,255,0.03);
color: rgba(255,255,255,0.8);
font-family: 'Chivo', sans-serif;
margin: 50px auto;
letter-spacing: 0.5px;
position: relative;
line-height: 1.4em;
font-size: 1.03em;
padding: 50px;
list-style: none;
text-align: left;
font-weight: 100;
max-width: 30%;
}
.timeline h1 {
font-family: 'Saira', sans-serif;
letter-spacing: 1.5px;
font-weight: 100;
font-size: 1.4em;
}
.timeline h2,
.timeline h3 {
font-family: 'Saira', sans-serif;
letter-spacing: 1.5px;
font-weight: 400;
font-size: 1.4em;
}
.timeline .field {
border-bottom: 1px dashed rgba(255,255,255,0.1);
padding-bottom: 25px;
margin-bottom: 50px;
position: relative;
}
.timeline .field:last-of-type {
padding-bottom: 0;
margin-bottom: 0;
border: none;
}
.timeline .field:before,
.timeline .field:after {
position: absolute;
display: block;
top: 0;
}
.timeline .field:before {
left: -217.5px;
color: rgba(255,255,255,0.4);
content: attr(data);
text-align: right;
font-weight: 100;
font-size: 0.9em;
min-width: 120px;
font-family: 'Saira', sans-serif;
}
.timeline .field:after {
box-shadow: 0 0 0 4px #004ffc;
left: -57.85px;
background: #313534;
border-radius: 50%;
height: 11px;
width: 11px;
content: "";
top: 5px;
}
</style>
</head>
<body>
<div id="content">
<h1>Personal Information</h1>
<ul class="timeline">
<li class="field" data="Full Name">
<h3><?php echo $name;?></h3>
</li>
<li class="field" data="Date of Birth">
<h3><?php echo $birth;?></h3>
</li>
<li class="field" data="Gender">
<h3><?php echo $gender;?></h3>
</li>
<li class="field" data="Address">
<h3><?php echo $home;?></h3>
</li>
<li class="field" data="Mobile">
<h3><?php echo $contact;?></h3>
</li>
<li class="field" data="Email">
<h3><?php echo $mail;?></h3>
</li>
</ul>
</div>
</body>
</html>