-
Notifications
You must be signed in to change notification settings - Fork 15
/
meminfo.php
188 lines (172 loc) · 8.73 KB
/
meminfo.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
<?php
if(isset($_GET['id'])){
require "./database/member_info.php";
$id=mysqli_real_escape_string($connection,$_GET['id']);
$query = "SELECT * FROM member WHERE `member_id`='$id'";
$result = mysqli_query($connection,$query);
while($row = mysqli_fetch_assoc($result)){
$name = $row['name'];
$info = $row['description'];
$image = $row['image'];
$wing =$row['wing'];
$post = $row['post'];
$session = $row['session'];
$roll_no = $row['roll_no'];
$social_handles_id = $row['social_handles'];
}
$query = "SELECT * FROM social_handles WHERE `social_handles_id`='$social_handles_id'";
$result = mysqli_query($connection,$query);
while($row = mysqli_fetch_assoc($result)){
$face = $row['facebook'];
$git = $row['github'];
$insta = $row['instagram'];
}
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<title><?php echo $name;?> | <?php echo $wing;?></title>
<link rel="shortcut icon" href="./images/gh.svg" type="image/png" />
<link rel="stylesheet" href="./wing/webd.css" type="text/css">
<link rel="stylesheet" href="./wing/style.css" type="text/css">
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&family=Roboto:wght@700;900&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
</head>
<body>
<!--CSS Spinner-->
<div class="b1">
<div class="con1">
<div class="item item-1"></div>
<div class="item item-2"></div>
<div class="item item-3"></div>
<div class="item item-4"></div>
</div>
</div>
<nav class="navbar navbar-fixed-top" style="opacity: 0.9;">
<div class="container-fullwidth" style="padding: 0 5%;">
<a href="./index.php"><img class="nav-logo" src="./images/gh.png"></a>
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" style="color: aliceblue !important;" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<i class="fa fa-bars" aria-hidden="true"></i>
</button>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<li><a href="./index.php">Home</a></li>
<li><a href="https://medium.com/nybles">Blog Us</a></li>
<li><a href="./geekhaven/login.php">Login</a></li>
</ul>
</div><!-- /.navbar-collapse -->
</div><!-- /.container-fluid -->
</nav>
<section style="padding: 20px">
<div class="container">
<div class="col-12 col-sm-12 col-md-6 coordi-div" style="padding:0px;">
<?php echo '<img src="data:image/jpeg;base64,'.base64_encode( $image ).'" class="images-coordi"/>'; ?>
<p class="coordi-name whiteToBlack">
<?php echo $name?>
</p>
<p class="coordi-post" style="text-transform: capitalize;">
<?php echo $post?>
</p>
<div class="overall-icon-div">
<?php
if($face){
?>
<a href="<?php echo $face;?>">
<div class="overall-icon fb-icon">
<i class="fa fa-facebook" aria-hidden="true" ></i>
</div>
</a>
<?php
}
else{
?>
<div class="overall-icon fb-icon">
<i class="fa fa-facebook" aria-hidden="true" ></i>
</div>
<?php
}
?>
<?php
if($git){
?>
<a href="<?php echo $git;?>">
<div class="overall-icon fb-icon">
<i class="fa fa-github" aria-hidden="true" ></i>
</div>
</a>
<?php
}
else{
?>
<div class="overall-icon">
<i class="fa fa-github" aria-hidden="true" ></i>
</div>
<?php
}
?>
<?php
if($insta){
?>
<a href="<?php echo $insta;?>">
<div class="overall-icon">
<i class="fa fa-instagram" aria-hidden="true" ></i>
</div>
</a>
<?php
}
else{
?>
<div class="overall-icon">
<i class="fa fa-instagram" aria-hidden="true" ></i>
</div>
<?php
}
?>
</div>
</div>
<div class="col-12 col-sm-12 col-md-6 whiteToBlack coordi-div text-center">
<p><?php echo $info?></p>
</div>
</div>
</section>
<section class="footer" id="footer">
<div class="row" style="margin-right: 0px;">
<div class="blogs col-lg-6 col-xl-6">
<h2>Get some good reads!</h2>
<a href="https://medium.com/nybles" style="text-decordation:none">
<button class="btn btn-default text-left">
<span>Blogs by us <i class="fa fa-angle-right" style="font-weight: bold;" aria-hidden="true"></i><i class="fa fa-angle-right" style="font-weight: bold;" aria-hidden="true"></i></span>
</button>
</a>
</div>
<div class="contacts col-12 col-lg-6 col-xl-6" style="padding-left: 0px;">
<h2 style="padding-top:15px ;padding-right:0px;" >Contact us</h2>
<div class="icons">
<a href="https://www.facebook.com/geekhaveniiita"><i class="fa fa-facebook" style="padding: 5px 3px;" aria-hidden="true"></i></a>
<a href="https://twitter.com/geekhaveniiita"><i class="fa fa-twitter" aria-hidden="true"></i></a>
<a href="https://github.com/GeekHaven"><i class="fa fa-github" aria-hidden="true"></i></a>
<a href="https://www.instagram.com/geekhaven_iiita/"><i class="fa fa-instagram" aria-hidden="true"></i></a>
<a href="mailto:[email protected]"><i class="fa fa-envelope" aria-hidden="true"></i></a>
</div>
</div>
</div>
</section>
<div style="text-align:center">
<p class="overall-post more" style="padding-top: 30px;">
© Copyright, Geekhaven IIITA · <a href="./credits.html" style="color: inherit;border-color:#15C4A8;border-radius: 5px;padding: 5px;">Credits</a>
</p>
</div>
<script src="https://code.jquery.com/jquery-2.1.3.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js" integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd" crossorigin="anonymous"></script>
<script type="text/javascript" src="wing.js"></script>
</body>
</html>