-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
144 lines (131 loc) · 5.41 KB
/
index.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
<?php
require 'functions.php';
if( !isset($_COOKIE['cart_id']) )
{
//set cookie if not set
setCartIdCookie($connection);
}
?>
<!DOCTYPE html>
<html >
<head>
<meta charset="UTF-8">
<title>Registration Page</title>
<link rel='stylesheet prefetch' href='http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css'>
<script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="css/sweetalert.css">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="modal fade" id="myModal" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title">ALL EVENTS</h4>
</div>
<div class="modal-body">
<form action="#">
<p>
<input type="checkbox" id="event1" />
<label for="event1">Gliteratti</label>
</p>
<p>
<input type="checkbox" id="event2" checked="checked" />
<label for="event2">Terpischore</label>
</p>
<p>
<input type="checkbox" id="event3" checked="checked" />
<label for="event3">Till Deaf Do we Part</label>
</p>
<p>
<input type="checkbox" id="event4" checked="checked"/>
<label for="event4">Cipher</label>
</p>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Apply</button>
</div>
</div>
</div>
</div>
<div class="page">
<table class="layout display responsive-table">
<thead>
<tr>
<th colspan="3">Registration Cart</th>
</tr>
</thead>
<tbody>
<?php cartGenerator($connection); ?>
</tbody>
</table>
<button type="button" class="btn btn-info btn-lg addMore" data-toggle="modal" data-target="#myModal">Add</button>
</div>
<div class="details">
<section class="contact-wrap">
<form id="reg_form" class="contact-form">
<div class="col-sm-12">
<div class="input-block">
<label for="email">Email</label>
<input type="text" class="form-control" name="email" autocomplete="off">
</div>
</div>
<div class="col-sm-12">
<div class="input-block">
<label for="name">Full Name</label>
<input type="text" class="form-control" name="name" autocomplete="off">
</div>
</div>
<div class="col-sm-12">
<div class="input-block">
<select name="gender" class="form-control" >
<option value="male">Male</option>
<option value="female">Female</option>
</select>
</div>
</div>
<div class="col-sm-12">
<div class="input-block">
<label for="DOB">Date Of Birth</label>
<input type="text" class="form-control" name="DOB" autocomplete="off">
</div>
</div>
<div class="col-sm-12">
<div class="input-block">
<label for="college">College</label>
<input type="text" class="form-control" name="college" autocomplete="off">
</div>
</div>
<div class="col-sm-12">
<div class="input-block">
<label for="city">City</label>
<input type="text" class="form-control" name="city" autocomplete="off">
</div>
</div>
<div class="col-sm-12">
<div class="input-block">
<label for="phone">Phone Number</label>
<input type="text" class="form-control" name="phone" autocomplete="off">
</div>
</div>
<div class="col-sm-6">
<div class="input-block">
<input type="submit" class="form-control" name="register" value="Register" >
</div>
</div>
</form>
</section>
<section>
<div class="amount">
<h1 class="col-sm-12"></h1>
<button class="square-button">Proceed To Payment</button>
</div>
</section>
</div>
<script type="text/javascript" src="js/registration.js"></script>
<script type="text/javascript" src="js/sweetalert.min.js"></script>
</body>
</html>