-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.php
More file actions
230 lines (204 loc) · 8.08 KB
/
index.php
File metadata and controls
230 lines (204 loc) · 8.08 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
<?php include('allhead.php'); ?>
<!-- Header Carousel -->
<header id="myCarousel" class="carousel slide">
<!-- Indicators -->
<ol class="carousel-indicators">
<li data-target="#myCarousel" data-slide-to="0" class="active"></li>
<li data-target="#myCarousel" data-slide-to="1"></li>
<li data-target="#myCarousel" data-slide-to="2"></li>
</ol>
<!-- Wrapper for slides -->
<div class="carousel-inner">
<div class="item">
<div class="fill" style="background-image:url('images/1900x10802.png');"></div>
<div class="carousel-caption">
<h2 style="color: black;"> Making Learning Easy</h2>
</div>
</div>
<div class="item active">
<div class="fill" style="background-image:url('images/1900x10801.png');"></div>
<div class="carousel-caption">
<a href="registrationform"><h2 style="color: white;">Register Today</h2></a>
</div>
</div>
<div class="item">
<div class="fill" style="background-image:url('images/1900x10803.png');"></div>
<div class="carousel-caption">
</div>
</div>
</div>
<!-- Controls -->
<a class="left carousel-control" href="#myCarousel" data-slide="prev">
<span class="icon-prev"></span>
</a>
<a class="right carousel-control" href="#myCarousel" data-slide="next">
<span class="icon-next"></span>
</a>
</header>
<!-- Page Content -->
<div class="container" style="max-width: 1200px;">
<!-- Marketing Icons Section -->
<div class="row">
<div class="col-lg-12">
<h1 class="page-header text-info">
Welcome to E-CLASSROOM
</h1>
</div>
<div class="col-md-4">
<div class="panel panel-default">
<div class="panel-heading">
<h4><i class="fa fa-fw fa-check"></i> About Us</h4>
</div>
<div class="panel-body">
<ul style="list-style-type:disc">
<li>
<p>The “E-CLASSROOM” Website (web based application) is useful for the
students, faculty, guest whomever likes to learn from web using E-Learn
(Videos), as well Check result, schedules of assessment and all that task like
event, news, students can find out list of fresh courses offered by them and
admission procedure, discussion forum, fee structure etc. without going to
institute. It provides the facility to the students or guest to have complete
information about the institute.
</p>
</li>
</ul>
<a href="about" class="btn btn-default">Learn More</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="panel panel-default">
<div class="panel-heading">
<h4><i class="fa fa-fw fa-gift"></i> Objectives</h4>
</div>
<div class="panel-body">
<p>
<ul style="list-style-type:disc">
<li>Keep records of all Students, Faculty, Admin & Guest.</li>
<li>To make the institute truly a paperless institute.</li>
<li>To learn from by watching videos (e-learn).
</li>
<li>To make the institute truly a Cloud Based Institute.
</li>
<li>For reducing manual work and mental conflict.<br></li>
</ul>
</p>
<a href="about" class="btn btn-default">Learn More</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="panel panel-default">
<div class="panel-heading">
<h4><i class="fa fa-fw fa-compass"></i> Project Category & Technology Used</h4>
</div>
<div class="panel-body">
<p>
<ul style="list-style-type:disc">
<li>RDBMS (Relational Database Management System)</li>
<li>BOOTSTRAP</li>
<li>APACHE SERVER</li>
<li>PHP</li>
<li>MYSQL</li>
</ul>
</p>
<a href="about" class="btn btn-default">Learn More</a>
</div>
</div>
</div>
</div>
<!-- /.row -->
<!-- Portfolio Section -->
<div class="row">
<div class="col-lg-12">
<h2 class="page-header text-info">TECHNOLOGY USED</h2>
</div>
<div class="col-md-4 col-sm-6">
<a href="#">
<img class="img-responsive img-portfolio img-hover" src="images/apache_webserver_logo.png" alt="">
</a>
</div>
<div class="col-md-4 col-sm-6">
<a href="#">
<img class="img-responsive img-portfolio img-hover" src="images/14522157584_a67ab2e898_o.png" alt="">
</a>
</div>
<div class="col-md-4 col-sm-6">
<a href="#">
<img class="img-responsive img-portfolio img-hover" src="images/687474703a2f2f707265636973696f6e2d736f6674776172652e636f6d2f77702d636f6e74656e742f75706c6f6164732f323031342f30342f6a5175726572792e676966.gif" alt="">
</a>
</div>
<div class="col-md-4 col-sm-6">
<a href="#">
<img class="img-responsive img-portfolio img-hover" src="images/Javascript-shopping-cart.png" alt="">
</a>
</div>
<div class="col-md-4 col-sm-6">
<a href="#">
<img class="img-responsive img-portfolio img-hover" src="images/maxresdefault.jpg" alt="">
</a>
</div>
<div class="col-md-4 col-sm-6">
<a href="#">
<img class="img-responsive img-portfolio img-hover" src="images/3271.jpg" alt="">
</a>
</div>
</div>
<!-- /.row -->
<hr>
<div class="row">
<div class="col-lg-12">
<h2 class="page-header text-info">CONTACT US</h2>
</div>
<div class="col-md-12">
<form action="" method="POST" name="update" >
<fieldset>
<div class="form-group row">
<label for="name" class="col-md-2 col-form-label"><h4>Name</h4> </label>
<div class="col-md-10">
<input class="form-control" placeholder="Full Name" type="text" required class="form-control" id="gname" name="gnamex" maxlength="50">
</div>
</div>
<div class="form-group row">
<label for="emailid" class="col-md-2 col-form-label"> <h4> Email </h4></label>
<div class="col-md-10">
<input class="form-control" placeholder="Email ID" type="email" required class="form-control" id="email" name="email" maxlength="50">
</div>
</div>
<div class="form-group row">
<label for="feedback" class="col-md-2 col-form-label"> <h4> Queries </h4></label>
<div class="col-md-10">
<textarea class="form-control" id="queryx" name="squeryx" required placeholder="Your Message..." rows="5"></textarea>
</div>
</div>
<div class="form-group row">
<div class=" col-md-12">
<button type="submit" name="update" class="btn btn-success pull-right">SUBMIT</button>
</div>
</div>
</fieldset>
</form>
<?php
if ( isset( $_POST[ 'update' ] ) ) {
include( 'database.php' );
$tempsquery = $_POST[ 'squeryx' ];
$tempseid = $_POST[ 'email' ];
$tempgname = $_POST[ 'gnamex' ];
$sql = "INSERT INTO `query`(`Query`, `Eid`) VALUES ('$tempsquery','$tempseid')";
$sql2 = "INSERT INTO `guest`(`Gname`, `GuEid`) VALUES ('$tempgname','$tempseid')";
mysqli_query( $connect, $sql2 );
if ( mysqli_query( $connect, $sql ) ) {
echo '<script>alert("Thank You, We will Contact u Soon!!!")</script>';
} else {
//error message if SQL query fails
echo "<br><Strong>Query Addeding Faliure. Try Again</strong><br> Error Details: " . $sql . "<br>" . mysqli_error( $connect );
}
//close the connection
mysqli_close( $connect );
}
?>
</div>
</div>
<?php include('allfoot.php'); ?>
<br>
<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3883.5330441266647!2d74.78288441479593!3d13.254595190670685!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3bbcaffcb81452c5%3A0xb18b6b77e04b088b!2sShri%20Madhwa%20Vadiraja%20Institute%20of%20Technology%20and%20Management!5e0!3m2!1sen!2sin!4v1607248157784!5m2!1sen!2sin" width="100%" height="400" frameborder="0" style="border:2px solid black;" allowfullscreen="" aria-hidden="false" tabindex="0"></iframe>