-
Notifications
You must be signed in to change notification settings - Fork 3
/
campus.php
201 lines (158 loc) · 6.22 KB
/
campus.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Entrepreneurship Cell-KGEC</title>
<link rel="icon" type="icon/png" href="dependencies/img/Ecelllogohigh.png">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!--bootstrap cdns-->
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jquery.bootstrapvalidator/0.5.0/css/bootstrapValidator.min.css"/>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css"/>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-validator/0.4.5/js/bootstrapvalidator.min.js"> </script>
<!--font awasome cdn-->
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
<link rel="stylesheet" href="css/reg.css">
<link rel="stylesheet" href="js/ALERT/css/alertify.min.css">
<link rel="stylesheet" href="js/ALERT/css/alertify.rtl.min.css">
</head>
<style>
#success_message{ display: none;}
.cnt{
padding-left:10%;
padding-right: 10%;
padding-top: 5%;
}
.well{
/*background:rgba(255,255,255,0.85);*/
background: rgba(0,0,0,0.8);
}
.control-label,.aa{
color:white;
}
@media(max-width:768px){
.cnt{
padding:20px;;
}
}
</style>
<body>
<div class="cnt">
<form action="server.php" method="POST" class="well form-horizontal" id="contact_form">
<fieldset class="ff">
<legend class="text-center aa">Be our C.A</legend>
<div class="form-group">
<label class="col-md-4 control-label">Name</label>
<div class="col-md-4 inputGroupContainer">
<div class="input-group">
<span class="input-group-addon"><i class="glyphicon glyphicon-user"></i></span>
<input name="name" placeholder="Enter your Name" class="form-control" type="text">
</div>
</div>
</div>
<!-- Text input-->
<div class="form-group">
<label class="col-md-4 control-label">E-Mail</label>
<div class="col-md-4 inputGroupContainer">
<div class="input-group">
<span class="input-group-addon"><i class="glyphicon glyphicon-envelope"></i></span>
<input name="email" placeholder="E-Mail Address" class="form-control" type="text">
</div>
</div>
</div>
<!-- Text input-->
<div class="form-group">
<label class="col-md-4 control-label">Phone</label>
<div class="col-md-4 inputGroupContainer">
<div class="input-group">
<span class="input-group-addon"><i class="glyphicon glyphicon-earphone"></i></span>
<input name="phone" placeholder="Phone number" class="form-control" type="text">
</div>
</div>
</div>
<!-- Text input-->
<div class="form-group">
<label class="col-md-4 control-label">College</label>
<div class="col-md-4 inputGroupContainer">
<div class="input-group">
<span class="input-group-addon"><i class="glyphicon glyphicon-home"></i></span>
<input name="college" placeholder="College" class="form-control" type="text">
</div>
</div>
</div>
<!-- Text input-->
<div class="form-group">
<label class="col-md-4 control-label">Department</label>
<div class="col-md-4 inputGroupContainer">
<div class="input-group">
<span class="input-group-addon"><i class="glyphicon glyphicon-home"></i></span>
<input name="department" placeholder="Department" class="form-control" type="text">
</div>
</div>
</div>
<!-- Select Basic -->
<!-- Text input-->
<div class="form-group">
<label class="col-md-4 control-label">Age</label>
<div class="col-md-4 inputGroupContainer">
<div class="input-group">
<span class="input-group-addon"><i class="glyphicon glyphicon-home"></i></span>
<input name="age" placeholder="Age" class="form-control" type="text">
</div>
</div>
</div>
<div class="form-group">
<label class="col-md-4 control-label">Why do you want to be our C.A?</label>
<div class="col-md-4 inputGroupContainer">
<div class="input-group">
<span class="input-group-addon"><i class="glyphicon glyphicon-pencil"></i></span>
<textarea class="form-control" name="why1" placeholder="Reason"></textarea>
</div>
</div>
</div>
<div class="form-group">
<label class="col-md-4 control-label">Why should we choose you as our C.A?</label>
<div class="col-md-4 inputGroupContainer">
<div class="input-group">
<span class="input-group-addon"><i class="glyphicon glyphicon-pencil"></i></span>
<textarea class="form-control" name="why2" placeholder="Reason"></textarea>
</div>
</div>
</div>
<!-- Success message -->
<div class="alert alert-success" role="alert" id="success_message">Success <i class="glyphicon glyphicon-thumbs-up"></i> Thanks for contacting us, we will get back to you shortly.</div>
<!-- Button -->
<div class="form-group">
<label class="col-md-4 control-label"></label>
<div class="col-md-4 text-center">
<button type="submit" class="btn btn-warning" >Register <span class="glyphicon glyphicon-send"></span></button>
</div>
</div>
<div class="col-md-12" style="float:right">
<a href="esummit.html" class="btn btn-warning" >Back to Home <span class="glyphicon glyphicon-send"></span></a>
</div>
</fieldset>
</form>
</div>
<div class="container-fluid result text-center">
<h3 class="ans">Regestered Sucessfully</h3>
<ul class="lss">
<a href="esummit.html" class="btn btn-warning" >Back to Home <span class="glyphicon glyphicon-send"></span></a>
<a href="campus.php" class="btn btn-warning" >Register Another<span class="glyphicon glyphicon-send"></span></a>
</ul>
</div>
<script src="js/reg.js"></script>
<script src="js/ALERT/alertify.min.js"></script>
<?php
if(isset($_GET['result'])){
echo"<script>
$('.cnt').css('display','none');
$('.result').css('display','block');
</script>";
}
?>
</body>
</html>