-
-
Notifications
You must be signed in to change notification settings - Fork 130
/
register.php
124 lines (102 loc) · 4.5 KB
/
register.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
<?php
session_start();
$ip_add = getenv("REMOTE_ADDR");
include "db/connect.php";
?>
<!DOCTYPE html>
<html lang="en">
<?php
include "cssjs/css.php";
?>
<body>
<?php
include "includes/header.php";
?>
<style>
.field-border{
border-radius:20px;
}
</style>
<div class="hero-wrap js-fullheight" style="background-image: url('images/cs03.jpg');">
<div class="overlay"></div>
<div class="container">
<div class="row no-gutters slider-text js-fullheight align-items-center justify-content-start" data-scrollax-parent="true">
<div class="col-md-9 ftco-animate" data-scrollax=" properties: { translateY: '70%' }">
<h1 class="mb-4" data-scrollax="properties: { translateY: '30%', opacity: 1.6 }"><strong>Explore <br></strong> your faviourate event</h1>
<p data-scrollax="properties: { translateY: '30%', opacity: 1.6 }">Fest starts in</p>
<div>
<h1 class="mb-4" data-scrollax="properties: { translateY: '30%', opacity: 1.6 }"><strong id="demo"><br></strong></h1>
</div>
<div class="browse d-md-flex col-md-12" >
<div class="row">
<?php
$type_query = "SELECT * FROM event_type";
$run_query = mysqli_query($con,$type_query);
if(mysqli_num_rows($run_query) > 0){
$i=0;
while($row = mysqli_fetch_array($run_query)){
$type_id = $row["type_id"];
$type_title = $row["type_title"];
$tag_id=$i++;
echo "
<span class='d-flex justify-content-center align-items-md-center'><a href='#$tag_id' style='border-radius:20px;margin-bottom:20px;'><i class=''></i>$type_title</a></span>
";
}
}
?>
</div>
</div>
</div>
</div>
</div>
</div>
<section class="ftco-section contact-section ftco-degree-bg">
<div class="container">
<div class="col-md-8" id="signup_msg">
<!--Alert from signup form-->
</div>
<div class="row block-9">
<div class="col-md-6 pr-md-5">
<form id="signup_form" onsubmit="return false" class="was-validated">
<div class="form-group" >
<input type="text" name="full_name" class="form-control field-border" placeholder="Your Name" required>
</div>
<?php
if ($_GET['event_id'] != ''){
$event_id = $_GET['event_id'];
echo '<input type="hidden" name="event_id" value='.$event_id.' class="form-control field-border" required>';
}
?>
<div class="form-group">
<input type="email" name="email" class="form-control field-border" placeholder="Your Email" required>
</div>
<div class="form-group">
<input type="text" class="form-control field-border" name="mobile" placeholder="mobile" required>
</div>
<div class="form-group">
<input type="text" class="form-control field-border" name="college" placeholder="college" required>
</div>
<div class="form-group">
<input type="text" class="form-control field-border" name="branch" placeholder="branch" required>
</div>
<div class="form-group">
<input value="Register" type="submit" name="signup_button" class="btn btn-primary py-3 px-5 " required>
</div>
</form>
</div>
<div class="col-md-6" id="map"></div>
</div>
</div>
</section>
<?php
include "includes/footer.php";
?>
<!-- loader -->
<div id="ftco-loader" class="show fullscreen"><svg class="circular" width="48px" height="48px"><circle class="path-bg" cx="24" cy="24" r="22" fill="none" stroke-width="4" stroke="#eeeeee"/><circle class="path" cx="24" cy="24" r="22" fill="none" stroke-width="4" stroke-miterlimit="10" stroke="#F96D00"/></svg></div>
<?php
include "cssjs/js.php";
?>
<script>
</script>
</body>
</html>