-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathalumniinfo.html
135 lines (125 loc) · 6.72 KB
/
alumniinfo.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
125
126
127
128
129
130
131
132
133
134
135
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<title>Alumni Info</title>
<link rel="shortcut icon" href="./images/gh.svg" type="image/png" />
<link rel="stylesheet" href="webd.css" type="text/css">
<link rel="stylesheet" href="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>
<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="#footer">Contacts</a></li>
<li><a href="./geekhaven/login.php">Login</a></li>
</ul>
</div><!-- /.navbar-collapse -->
</div><!-- /.container-fluid -->
</nav>
<div class="b1">
<div class="e-loadholder">
<div class="m-loader">
<span class="e-text">Geekhaven</span>
</div>
</div>
</div>
<div class="container mem-page-container">
<div class="row" style="margin-right: 0;margin-left: 0;">
<div class="col-lg-3"></div>
<div class="col-lg-6 contacts mem-container">
<div class="image-mem-container">
<img src="" class="image-mem"/>
<div class="name-wing">
<p class="name-mem"></p>
<p class="wing-mem"></p>
</div>
</div>
<div class="other-cont">
<div class="icons text-center">
<div class="icon-mem">
<a href="" class="git"><i class="fa fa-github" aria-hidden="true"></i></a>
</div>
<div class="icon-mem">
<a href="" class="mail"><i class="fa fa-envelope" aria-hidden="true"></i></a>
</div>
<div class="icon-mem">
<a href="" class="linked"><i class="fa fa-linkedin" aria-hidden="true"></i></a>
</div>
</div>
<p class="description-mem"></p>
<p class="roll-mem"><span class="texta">Roll Number:</span></p>
<img src="./images/cross.png" class="cross-image">
</div>
</div>
<div class="col-lg-3"></div>
</div>
</div>
<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-decoration: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;font-family: Montserrat;font-style: normal;font-weight: 600;font-size: 18px;">
© 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>
<script>
getData();
var data;
async function getData() {
let params = await (new URL(document.location)).searchParams;
let token = await params.get("key");
console.log(token);
const response = await fetch('HOF.csv');
data = await response.text();
const rows = await data.split('\n').slice(1);
const usr = await rows[token].split(',');
$(".name-mem").html(usr[0]);
$(".wing-mem").html(usr[2] + " Wing" + " '" + usr[1].substring(2));
$(".description-mem").html(usr[4]);
$(".image-mem").attr("src", "assets/" + usr[3]);
$(".git").attr("href",usr[5]);
$(".linked").attr("href",usr[6]);
$(".mail").attr("href","mailto:"+usr[5]);
$(".roll-mem").html(usr[8]);
}
</script>
</body>
</html>