-
Notifications
You must be signed in to change notification settings - Fork 0
/
profile.php
213 lines (174 loc) · 5.87 KB
/
profile.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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
<?php
require_once("header.php");
if(!isLoggedIn())
{
die("Please log in to see the profile");
}
//Pre-requisites and profile data
$un = getFileName();
$fn = getUserInfo($un,'fab_firstname');
$ln = getUserInfo($un,'fab_lastname');
$em = getUserInfo($un,'fab_email');
$ph = getUserInfo($un,'fab_phnumber');
require_once('card.php');
?>
<style>
.img-circle:hover {
-webkit-box-shadow: 0 0 0.5em 0.1em white;
box-shadow: 0 0 0.5em 0.1em white;
}
.img-circle {
position: relative;
z-index: 3;
margin: 1rem;
-webkit-transition: 0.3s -webkit-box-shadow;
transition: 0.3s -webkit-box-shadow;
transition: 0.3s box-shadow;
transition: 0.3s box-shadow, 0.3s;
-webkit-box-shadow;
border-radius: 100%;
}
#dp {
z-index: 2;
position: relative;
border: 0.3rem solid rgba(33, 33, 33, 0.5);
max-width: 12rem;
max-height: 12rem;
margin: auto;
margin-top: -6.5rem;
opacity: 1;
animation-delay: 0s;
animation-duration: 0.5s;
}
#dp:hover {
-webkit-box-shadow: none;
box-shadow: none;
}
#user_fullname {
font-weight: bold;
font-size: 150%;
}
.content {
margin-top: 1rem;
}
#one_liner {
width: 35vw;
min-height: 1rem;
border-bottom: 0.05rem solid #027baa;
border-radius: 0.5rem;
color: #027baa;
font-size: 1.1rem;
font-weight: bold;
font-family: 'Poiret One';
}
.info_card {
height: 15rem;
padding: 1rem;
box-shadow: 0rem 0rem 2rem lightgrey;
border-radius: 0.5rem;
color: white;
background-size: cover;
background-position: center;
background-blend-mode: multiply;
background-color: rgba(0, 0, 0, 0.4);
}
#info_about {
background-image: url('https://scontent-bom1-1.xx.fbcdn.net/v/t1.0-9/14021723_1312543342137852_3331314458029867334_n.jpg?oh=f56bd96ef834d38c91c24611ef08d4bf&oe=5AA5CE20');
}
#info_friends {
background-image: url('https://scontent-bom1-1.xx.fbcdn.net/v/t1.0-9/18342463_638915486307202_7005656593503891201_n.jpg?oh=00782fbdade91ec05ccc457bfa27d395&oe=5AA96D82');
}
#info_photos {
background-image: url('https://scontent-bom1-1.xx.fbcdn.net/v/t1.0-9/22089562_1772602929465222_9082833758932885312_n.jpg?oh=7aa274d42c10467818b0f179e2e71090&oe=5AA33E50');
}
.info_row {
margin-left: 1rem;
margin-right: 1rem;
}
#cover {
background-position: bottom;
background-repeat: no-repeat;
background-image: url('https://static.pexels.com/photos/33545/sunrise-phu-quoc-island-ocean.jpg');
background-color: rgba(0, 0, 0, 0.25);
background-blend-mode: multiply;
background-size: cover;
background-attachment: fixed;
width: 97vw;
height: 15rem;
color: White;
margin-bottom: 0;
border-radius: 0rem 0rem 0.5rem 0.5rem;
margin-top: 4rem;
box-shadow: 0rem 0rem 1rem gray;
position: relative;
z-index: -2;
}
.body_content {
width: 97vw !important;
border-radius: 0.5rem;
box-shadow: 0rem 0rem 5rem gray;
margin-top: 0.3rem;
}
.info_title {
font-size: 120%;
font-weight: bold;
}
</style>
<!--div id="fake_body" class="lazy">
</div-->
<div id="cover" class="container-fluid jumbotron">
</div>
<div class="body_content container-fluid">
<div class="row">
<div class="col-md-12 col-sm-12 col-xs-12" align="center">
<img id="dp" src="https://rvndbalaji.github.io/images/dp.png" class="img-circle img-responsive">
</div>
</div>
<div class="row">
<div class="content col-md-12" align="center">
<span id="user_fullname"><?php echo $fn." ".$ln; ?></span>
<div class="col-md-12 col-sm-12 col-xs-12" align="center" id="one_liner">
<span id="user_quote">Talk to me, and you'll laugh your lungs out xD</span>
</div><br>
<div class="row" style="padding:1rem;">
<div class="col-md-4" align="center">
<div class="info_card" id="info_about">
<span class="info_title"><?php echo "About ".$fn;?></span>
<div class="info_details" align="left">
<span>Username<br><b>@<?php echo $un;?></b></span><br><br>
<span>Email<br><b><?php echo $em;?></b></span><br><br>
<span>Phone<br><b><?php echo $ph;?></b></span><br><br>
</div>
</div>
</div>
<div class="col-md-4" align="center">
<div class="info_card" id="info_friends">
<span class="info_title">Friends</span>
<div class="info_details" align="left"><br>
<ul>
<li>Vaishu</li>
<li>Hashu</li><br>
<li>Arun</li>
<li>Bindu</li><br>
<li>Ashok</li>
<li>Girish</li><br>
<li>Bhavish</li>
<li>Dhanush</li><br>
<li>Akshay</li>
</ul>
</div>
</div>
</div>
<div class="col-md-4" align="center">
<div class="info_card" id="info_photos">
<span class="info_title">Photos</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<?php
require_once('footer.php');
?>