forked from SAAR-IITP/SAAR-IITP
-
Notifications
You must be signed in to change notification settings - Fork 13
/
yearbookForm.php
241 lines (217 loc) · 10.7 KB
/
yearbookForm.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
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
<?php
session_start();
if(!isset($_SESSION["loggedin"]) || $_SESSION["loggedin"]==false)
{
header("location: signin.php");
}
?>
<!DOCTYPE html>
<html>
<head>
<title>Yearbook Registration</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/team.css">
<link rel="stylesheet" type="text/css" href="css/templatemo-style.css">
<link href="https://fonts.googleapis.com/css?family=Droid+Sans:400,700" rel="stylesheet">
<link rel="stylesheet" href="https://rawgit.com/LeshikJanz/libraries/master/Bootstrap/baguetteBox.min.css">
<link href='http://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link href="//fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,700,700i" rel="stylesheet">
<!-- //web font -->
<link rel="apple-touch-icon" href="apple-touch-icon.png">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/bootstrap-theme.min.css">
<link rel="stylesheet" href="css/fontAwesome.css">
<link rel="stylesheet" href="css/light-box.css">
<link rel="stylesheet" href="css/timeline.css">
<link rel="stylesheet" href="css/owl-carousel.css">
<link rel="stylesheet" href="css/templatemo-style.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.2/css/all.css" integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous">
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800" rel="stylesheet">
<link type="text/css" rel="stylesheet" href="css/signup.css">
<link rel="stylesheet" href="css/templatemo-style.css">
<script type="text/javascript" src="//connect.facebook.net/en_US/all.js#xfbml=1&appId=224254148413683" id="facebook-jssdk"></script>
<script src='https://code.jquery.com/jquery-2.2.0.min.js'></script>
<script src="./js/forms.js"></script>
<style>
.section-heading h1 {
display: block !important;
margin-right: 0px;
}
.section-heading h1 span {
font-size: 50px;
background: #E4F9FF;
text-align: center;
padding: 8px 12px;
}
@media screen and (max-width:695px) {
.section-heading h1 span {
font-size: 32px;
}
}
@media screen and (max-width:477px) {
.section-heading h1 span {
font-size: 24px;
}
}
body {
background: #EEFBFF;
background: url('img/bggg.png');
background-size: cover;
font-family: 'Montserrat'Semibold;
}
.label_style {
text-align: left;
margin-bottom: 10px;
text-transform: uppercase;
}
</style>
</head>
<body>
<!-- main -->
<div class="main-w3layouts wrapper">
<h1><span style="font-size: 50px;"><em>Yearbook</em></span></h1>
<h2><span style="font-size: 30px;"><em>Registration Form</em></span></h2>
<div class="main-agileinfo">
<div class="agileits-top">
<iframe src="https://script.google.com/macros/s/AKfycbxbPIpIDWRhRl7xw5lz_8gnNx9QTjlQYtwGBiRt8B9QejbMuJz1FcFxudoJpbtvLLppyw/exec" frameborder="0" height="1414.58px" width="100%"></iframe>
<a href="./portal.php"><button style="font-size: .9em;
color: #fff;
background: #003C4D;
outline: none;
border: 1px solid #003C4D;
cursor: pointer;
padding: 0.9em;
-webkit-appearance: none;
width: 100%;
margin: 2em 0;
letter-spacing: 4px;">BACK</button></a>
</div>
</div>
<section id="contact" class="content-section">
<div id="con">
<div class="col-md-4">
<div class="teext" style=" display: inline-block;">
<h1 style="color: white;font-size: 24px;font-family: inherit;font-weight: 500">Quick <span>Links</span></h1><br>
<p> <a style="text-decoration:none; color:#fff" href="https://www.iitp.ac.in/">IIT Patna</a><br>
<a style="text-decoration:none; color:#fff" href="https://www.iitp.ac.in/alumni/">ITPAA</a><br>
<a style="text-decoration:none; color:#fff" href="#">Reach Us</a><br>
<a style="text-decoration:none; color:#fff" href="#">Terms of Use</a><br>
<a style="text-decoration:none; color:#fff" href="#">Privacy Policy</a>
</p>
</div>
</div>
<div class="col-md-4">
<div class="teext" style=" display: inline-block;">
<h1 style="color: white;font-size: 24px;font-family: inherit;font-weight: 500">Social <span> Media</span></h1><br>
<p> <a style="text-decoration:none; color:#fff" href="https://www.facebook.com/saar.iitp/"><i class="fab fa-facebook-square" aria-hidden="true" style="font-size: 18px; color: #26C1ED; margin-right: 14px;"></i>Facebook</a><br>
<a style="text-decoration:none; color:#fff" href="https://www.instagram.com/saar.iitp"><i class="fab fa-instagram" aria-hidden="true" style="font-size: 20px; color: #26C1ED; margin-right: 14px;"></i>Instagram</a><br>
<a style="text-decoration:none; color:#fff" href="https://www.linkedin.com/company/saar-iitp"><i class="fab fa-linkedin" aria-hidden="true" style="font-size: 20px; color: #26C1ED; margin-right: 14px;"></i>LinkedIn</a><br>
<a style="text-decoration:none; color:#fff" href="https://www.twitter.com/saar_iitp"><i class="fab fa-twitter" aria-hidden="true" style="font-size: 20px; color: #26C1ED; margin-right: 14px;"></i>Twitter</a><br>
<a style="text-decoration:none; color:#fff" href="https://www.youtube.com/channel/UCoAb1YggffbfgVxQyXaZB-g"><i class="fab fa-youtube" aria-hidden="true" style="font-size: 20px; color: #26C1ED; margin-right: 14px;"></i>Youtube</a>
</p>
</div>
</div>
<div class="col-md-4">
<div class="teext" style=" display: inline-block;">
<h1 style="color: white;font-size: 24px;font-family: inherit;font-weight: 500">Contact <span> Us</span></h1><br>
<p> Office of A Dean Resource<br>
Administrative Building, IIT Patna<br><br>
Prof. In-charge:<br>
Dr. Anirban Chowdhary<br>
Email - pic_alumni@iitp.ac.in<br><br>
General Secretary:<br>
<a href="#" style="color: #fff">Gaurav Pratap Singh</a><br>
Email - 1801ee63@iitp.ac.in
</p>
</div>
</div>
</div>
</section>
<section class="footer" style="background: #232323;">
<p>|| Copyright || © IIT Patna SAAR Team ||</p>
</section>
<ul class="colorlib-bubbles">
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
</div>
<!-- //main -->
<!-- <script>
function loged()
{
console.log("Facebook connection established....");
logins();
}
function logins(){ FB.login(function(response) {
console.log('Welcome! Fetching your information.... ');
if (response.authResponse) {
console.log('Welcome! Fetching your information.... ');
FB.api('/me', {fields: 'first_name,last_name,email'
},function(response) {
console.log("done");
document.getElementById("fname").value = response.first_name;
document.getElementById("lname").value = response.last_name;
document.getElementById("email").value = response.email;
});
} else {
alert('An error occured. Please try again later.');
}
},{scope: "email"});}
function alertemail()
{
console.log("done");
alert("Email Id used is already registered.")
}
function alertroll()
{
console.log("done");
alert("Roll No. used is already registered.")
}
function alertboth()
{
console.log("working");
alert("Email Id and Roll No. used is already registered.")
}
window.onload = function(){
<?php
//echo 'console.log('.$_GET["type"].');';
// if($_GET["type"] && strcmp($_GET["type"],'fblogin')==0)
// {
// echo 'setTimeout("loged()", 3000);console.log("pp");' ;
// }
// if(isset($_SESSION['rolldup']) && $_SESSION['rolldup'] == true && isset($_SESSION['emaildup']) && $_SESSION['emaildup'] == true)
// {
// echo 'setTimeout("alertboth()", 1000); console.log("working");';
// $_SESSION['rolldup']=false;
// $_SESSION['emaildup']=false;
// unset($_SESSION['emaildup']);
// unset($_SESSION['rolldup']);
// }
// else if(isset($_SESSION['emaildup']) && $_SESSION['emaildup'] == true)
// {
// echo 'setTimeout("alertemail()", 1000); console.log("working");';
// $_SESSION['emaildup']=false;
// unset($_SESSION['emaildup']);
// }
// else if(isset($_SESSION['rolldup']) && $_SESSION['rolldup'] == true)
// {
// echo 'setTimeout("alertroll()", 1000); console.log("working"); ';
// $_SESSION['rolldup']=false;
// unset($_SESSION['rolldup']);
// }
?>
}
</script> -->
</body>
</html>