forked from JituR101/consortium
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaimlworkshop.php
More file actions
257 lines (195 loc) · 11.6 KB
/
Copy pathaimlworkshop.php
File metadata and controls
257 lines (195 loc) · 11.6 KB
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
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
<?php
session_start();
// error_reporting(E_ALL);
// ini_set('display_errors', '1');
require_once('includes/mailing.php');
$db_host = "localhost:3306";
$db_username = "conso20";
$db_pass = "Conso@123";
$db_name = "conso20";
$con = mysqli_connect("$db_host","$db_username","$db_pass") or die ("could not connect to mysql");
mysqli_select_db($con,$db_name) or die ("no database");
$regquery ="CREATE TABLE IF NOT EXISTS aimlworkshop(
ID INT(11) UNSIGNED AUTO_INCREMENT PRIMARY KEY,
Email VARCHAR(255) NOT NULL,
college VARCHAR(255) NOT NULL,
year VARCHAR(10) NOT NULL,
branch VARCHAR(100) NOT NULL,
)";
mysqli_query($con,$regquery);
if(isset($_SESSION['email'])){
if(isset($_POST['register'])){
$email = $_SESSION['email'];
$college = $con->real_escape_string($_POST['college']);
$year = $con->real_escape_string($_POST['year']);
$branch = $con->real_escape_string($_POST['branch']);
if($college=="" || $year=="" || $branch==""){
$msg = "Please fill all the details.Try Again";
}else{
$query = "SELECT * from Registrations where Email='$email'";
$result = mysqli_query($con,$query);
$num = mysqli_num_rows($result);
$data = $result->fetch_array(MYSQLI_ASSOC);
$q = "INSERT INTO aimlworkshop(Email,college,year,branch) VALUES('$email','$college','$year','$branch')";
if(mysqli_query($con,$q)){
htmlMail($email,'Welcome to SimpleCRM Workshop | Consortium20','','','aimlworkshop');
header('location:attractions.php');
}
}
}
}
else{
$_SESSION['login_error'] = "Kindly Login First.</a>";
header('location:login.php?v=ai/ml');
}
?>
<!DOCTYPE html>
<html lang="en" class="no-js">
<?php $pagetitle = 'Azure Space | Consortium'; ?>
<!-- Begin Head -->
<?php include("includes/head.php")?>
<!-- End Head -->
<!-- Body -->
<body>
<!--========== HEADER ==========-->
<?php include("includes/header.php")?>
<!--========== END HEADER ==========-->
<!--========== PROMO BLOCK ==========-->
<div class="s-promo-block-v3 g-fullheight--xs event-landing1" style="background: url('img/1920x1080/simplecrm.png');" id="swades">
<style type="text/css">
@media(max-width: 767px){
.brain{
background: rgba(0,0,0,0.6);
}
}
</style>
<div class="container g-ver-center--sm g-padding-y-125--xs g-padding-y-0--lg event-landing-inner brain">
<div class="g-margin-t-30--xs g-margin-t-0--sm g-margin-b-30--xs g-margin-b-70--md g-margin-l-20--xs g-margin-l-80--sm">
<!--<img src="img/logo/ceoblack.png" alt="" width="200" style="margin-top:-100px; margin-left:-20px">-->
<div style="display:flex; align-items:center">
<img src="img/simplecrm.jpg" alt="Azure" style="z-index:2; position:relative; margin-bottom: 10px" height="40"/>
<!--<p class="g-color--white-opacity" style="z-index:2; margin:20px;">&</p>-->
<!--<img src="img/tielogo.jpg" alt="TIE Nagpur" style="z-index:2" height="50"/>-->
</div>
<h4 class="g-color--white ">Applications of AI/ML in Banking and Insurance Sector</h4>
<p class="g-color--white g-font-size-18--xs"><b>25<sup>th</sup> January, 2020</b><br>Venue: CRC 1-1</p>
<br>
<div class="wow fadeInLeft" data-wow-duration=".3" data-wow-delay=".5s">
<a href="#register" title="Register">
<!--<i class="s-icon s-icon--lg s-icon--white-bg g-radius--circle ti-arrow-down"></i>-->
<span class="text-uppercase s-btn s-btn--xs s-btn--white-brd g-radius--50">Register Now <span class="ti-angle-down"></span></span>
</a>
<br>
<p class="g-color--white g-font-size-14--xs g-margin-t-20--xs">*Free for all</p>
</div>
</div>
</div>
</div>
<!--========== END PROMO BLOCK ==========-->
<!--========== PAGE CONTENT ==========-->
<div id="register" style="background: #000;">
<div class="g-container--sm g-padding-y-80--xs g-padding-y-125--sm">
<div class="g-text-center--xs g-margin-b-60--xs">
<h2 class="g-font-size-32--xs g-font-size-36--md g-color--white">Register Now</h2>
<p class="text-uppercase g-font-size-14--xs g-font-weight--700 g-color--red g-letter-spacing--2 g-margin-b-25--xs"><?php echo $msg.$_SESSION['msg'];?></p>
<p class="text-uppercase g-font-size-14--xs g-font-weight--700 g-color--red g-letter-spacing--2 g-margin-b-25--xs" id="message"></p>
</div>
<form class="center-block g-width-500--sm g-text-center--xs g-width-600--md" method="post" action="" onsubmit="return validateData();">
<div class="permanent">
<select type="number" pattern="[0-9]{11}" class="form-control s-form-v3__input g-margin-b-30--xs" name="college" placeholder="* College" id="members" >
<option value='' selected disabled hidden>Choose your College</option>
<option value='1'>Visvesvaraya National Institute of Technology Nagpur</option>
<option value='Shri Ramdeobaba College of Engineering and Management, Nagpur'>Shri Ramdeobaba College of Engineering and Management, Nagpur</option>
<option value='GH Raisoni College of Engineering, Nagpur'>GH Raisoni College of Engineering, Nagpur</option>
<option value='Rashtrasant Tukadoji Maharaj Nagpur University, Nagpur'>Rashtrasant Tukadoji Maharaj Nagpur University, Nagpur</option>
<option value='Indian Institute of Information Technology, Nagpur'>Indian Institute of Information Technology, Nagpur</option>
<option value='Laxminarayan Institute of Technology, Nagpur'>Laxminarayan Institute of Technology, Nagpur</option>
<option value='Priyadarshini College of Engineering, Nagpur'>Priyadarshini College of Engineering, Nagpur</option>
<option value='KDK College of Engineering, Nagpur'>KDK College of Engineering, Nagpur</option>
<option value='Anjuman College of Engineering and Technology, Nagpur'>Anjuman College of Engineering and Technology, Nagpur</option>
<option value='Central India College of Engineering and Technology, Nagpur'>Central India College of Engineering and Technology, Nagpur</option>
<option value='Others'>Others</option>
</select>
<div class="row g-margin-b-50--xs">
<div class="col-sm-6 g-margin-b-30--xs g-margin-b-0--md">
<select type="number" pattern="[0-9]{11}" class="form-control s-form-v3__input g-margin-b-30--xs" name="branch" placeholder="* Branch" id="members" >
<option value='' selected disabled hidden>Choose your Branch</option>
<option value='Circuit'>Circuit(CSE, EEE, ECE)</option>
<option value='Non Circuit'>Non-Circuit</option>
</select>
</div>
<div class="col-sm-6 g-margin-b-30--xs g-margin-b-0--md">
<select type="number" pattern="[0-9]{11}" class="form-control s-form-v3__input g-margin-b-30--xs" name="year" placeholder="* Year" id="members" >
<option value='' selected disabled hidden>Year Of Study</option>
<option value='1'>1st Year</option>
<option value='1'>2nd Year</option>
<option value='3'>3rd Year</option>
<option value='4'>4th Year</option>
<option value='5'>5th Year</option>
</select>
</div>
</div>
</div>
<div class="g-text-center--xs">
<button type="submit" name="register" class="text-uppercase s-btn s-btn--md s-btn--white-brd g-radius--50 g-padding-x-40--xs g-margin-b-20--xs">Register</button>
</div>
<a href="regnew.php" class="g-color--white g-font-size-13--xs ">Not Registered?</a><br>
</form>
</div>
</div>
<!-- End Features -->
<div class="g-promo-section" style="background:#000" id="contact">
<div class="container g-padding-y-30--xs g-padding-y-30--sm g-padding-x-80--md g-padding-x-60--sm g-padding-x-10--xs">
<h2 class="g-font-size-30--xs g-font-size-30--sm g-font-size-30--md g-color--white g-padding-x-20--xs g-text-center--xs">Get In Touch</h2>
<!--<img class="s-mockup-v2" src="img/mockups/pencil-01.png" alt="Mockup Image">-->
<!--<div class="g-container--md g-padding-y-40--xs">-->
<div id="managers" class="row g-row-col--5 g-padding-x-40--xs g-padding-y-40--xs g-padding-x-20--md g-padding-x-100--lg">
<div class="col-xs-4 col-md-offset-2 g-full-width--xs g-margin-b-50--xs g-margin-b-0--sm">
<div class="g-text-center--xs">
<h4 class="g-font-size-18--xs g-color--white g-margin-b-5--xs">Jitendra Rahangdale</h4>
<p class="g-color--white">+91 8956079892</p>
</div>
</div>
<div class="col-xs-4 g-full-width--xs g-margin-b-50--xs g-margin-b-0--sm">
<div class="g-text-center--xs">
<h4 class="g-font-size-18--xs g-color--white g-margin-b-5--xs">Gourav Routray</h4>
<p class="g-color--white">+91 99690 23517</p>
</div>
</div>
</div>
</div>
</div>
<!--========== END PAGE CONTENT ==========-->
<!--========== FOOTER ==========-->
<?php include("includes/footer_landing.php");?>
<?php include("includes/script.php");?>
<script type="text/javascript">
$("#but_why").click(function(){
$("#why").css({"display":"block"});
$("#why").animate({opacity: 1}, 1000);
$("#structure").css({"display":"none"});
$("#structure").animate({opacity: 0}, 100);
$("#timeline").css({"display":"none"});
$("#timeline").animate({opacity: 0}, 100);
});
$("#but_structure").click(function(){
$("#why").css({"display":"none"});
$("#why").animate({opacity: 0}, 100);
$("#structure").css({"display":"block"});
$("#structure").animate({opacity: 1}, 1000);
$("#timeline").css({"display":"none"});
$("#timeline").animate({opacity: 0}, 100);
});
$("#but_timeline").click(function(){
$("#why").css({"display":"none"});
$("#why").animate({opacity: 0}, 100);
$("#structure").css({"display":"none"});
$("#structure").animate({opacity: 0}, 100);
$("#timeline").css({"display":"block"});
$("#timeline").animate({opacity: 1}, 1000);
});
</script>
<!--========== END FOOTER ==========-->
</body>
<!-- End Body -->
</html>