-
Notifications
You must be signed in to change notification settings - Fork 0
/
courses.php
295 lines (263 loc) · 11.7 KB
/
courses.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
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
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
<?php
include('header.php');
?>
<html>
<head>
<title>LearNovice Courses</title>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/coursescss/bootstrap.min.css">
<link rel="stylesheet" href="css/coursescss/unicons.css">
<link rel="stylesheet" href="css/coursescss/owl.carousel.min.css">
<link rel="stylesheet" href="css/coursescss/owl.theme.default.min.css">
<link href="css/scroll.css" rel="stylesheet">
<!-- MAIN STYLE -->
<link rel="stylesheet" href="css/coursescss/tooplate-style.css">
</head>
<body style="background-color: whitesmoke">
<!-- ABOUT -->
<section class="about full-screen d-lg-flex justify-content-center align-items-center" id="about">
<div class="container" style="background-color:#000; border-radius: 10px; box-shadow: 2px
2px 10px 2px rgba(0,1,0,0.3);">
<div class="row">
<div class="col-lg-7 col-md-12 col-12 d-flex align-items-center">
<div class="about-text">
<h1 class="animated animated-text" style="color:#dcdcdc;">
<span class="mr-2">Be first a</span>
<div class="animated-info">
<span class="animated-item">Learner</span>
<span class="animated-item">Developer</span>
</div>
</h1>
<p style="color: #dcdcdc">Building a successful product is a challenge. I am highly energetic in user experience design, interfaces and web development.</p>
<div class="custom-btn-group mt-4">
<a href="#mycou" class="btn mr-lg-2 custom-btn custom-btn-bg2">Get Course</a>
<a href="#mycou" class="btn custom-btn custom-btn-bg custom-btn-link">Enroll Now</a>
</div>
</div>
</div>
<div class="col-lg-5 col-md-12 col-12">
<div class="about-image svg">
<img src="img/exams.png" class="img-fluid" alt="png image" style="width:90%;">
</div>
</div>
</div>
</div>
</section>
<!-- Courses Section -->
<section class="project py-5" id="project">
<div class="container">
<div class="row">
<div class="col-lg-11 text-center mx-auto col-12">
<div class="col-lg-8 mx-auto">
<h2 id="mycou">Our Courses</h2>
<br>
<form action="<?php echo $_SERVER['PHP_SELF'];?>" method="POST">
<input required type="text" name="search" autocomplete="off" placeholder="Search Course Here..." style="height:40px;
padding-left:25px; width:80%; border:none; border-radius:5px; box-shadow: 2px 2px 10px 2px rgba(0,1,0,0.2);"> <input type="submit" value="Search" name="submit" style="
background: #fff; color: #228b22; width:100px; height:40px; font-weight:600; margin-top:10px; border-radius:5px; border:3px solid #228b22;">
</form>
<br>
<?php
if(isset($_POST['submit'])) {
$search = $_POST['search'];
if($_POST['search'] == "c++") {
?>
<div class="item" style="width:250px; height:280px; margin:auto;">
<div class="project-info">
<img src="img/1.png" class="img-fluid" alt="project image" style="width:100px;">
<h3>Programming C++</h3>
<a href="courseLogin.php"><button class="buyon">Enroll Now</button></a>
</div>
</div>
<?php
}
elseif($_POST['search'] == "html") {
?>
<div class="item" style="width:250px; height:280px; margin:auto;">
<div class="project-info">
<img src="img/2.png" class="img-fluid" alt="project image" style="width:100px;">
<h3>Learn HTML</h3>
<a href="courseLogin.php"><button class="buyon">Enroll Now</button></a>
</div>
</div>
<?php
}
elseif($_POST['search'] == "ruby") {
?>
<div class="item" style="width:250px; height:280px; margin:auto;">
<div class="project-info">
<img src="img/4.png" class="img-fluid" alt="project image" style="width:100px;">
<h3>Programming in Ruby</h3>
<button class="buyon">Enroll Now</button>
</div>
</div>
<?php
}
elseif($_POST['search'] == "c#") {
?>
<div class="item" style="width:250px; height:280px; margin:auto;">
<div class="project-info">
<img src="img/5.png" class="img-fluid" alt="project image" style="width:100px;">
<h3>C# Programming</h3>
<button class="buyon">Enroll Now</button>
</div>
</div>
<?php
}
else {
?>
<center><h3><u>No result found</u></h3></center>
<?php
}
}
?>
</div><br>
<div class="owl-carousel owl-theme">
<div class="item">
<div class="project-info">
<img src="img/1.png" class="img-fluid" alt="project image">
<h3>Programming C++</h3>
<a href="courseLogin.php"><button class="buyon">Enroll Now</button></a>
</div>
</div>
<div class="item">
<div class="project-info">
<img src="img/2.png" class="img-fluid" alt="project image">
<h3>Learn HTML</h3>
<button class="buyon">Enroll Now</button>
</div>
</div>
<div class="item">
<div class="project-info">
<img src="img/3.png" class="img-fluid" alt="project image">
<h3>Desing using CSS</h3>
<button class="buyon">Enroll Now</button>
</div>
</div>
<div class="item">
<div class="project-info">
<img src="img/4.png" class="img-fluid" alt="project image">
<h3>Ruby Programming</h3>
<button class="buyon">Enroll Now</button>
</div>
</div>
<div class="item">
<div class="project-info">
<img src="img/5.png" class="img-fluid" alt="project image">
<h3>C# Programming</h3>
<button class="buyon">Enroll Now</button>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Courses End-->
<!-- Top rated courses Section -->
<section class="project py-5" id="project">
<div class="container">
<div class="row">
<div class="col-lg-11 text-center mx-auto col-12">
<div class="col-lg-8 mx-auto">
<h2>Our Top Rated Courses</h2>
</div><br>
<div class="owl-carousel owl-theme">
<div class="item">
<div class="project-info">
<img src="img/6.png" class="img-fluid" alt="project image">
<h3>Java Development</h3>
<button class="buyon">Enroll Now</button>
</div>
</div>
<div class="item">
<div class="project-info">
<img src="img/9.png" class="img-fluid" alt="project image">
<h3>Learn Python</h3>
<button class="buyon">Enroll Now</button>
</div>
</div>
<div class="item">
<div class="project-info">
<img src="img/8.png" class="img-fluid" alt="project image">
<h3>Javascript</h3>
<button class="buyon">Enroll Now</button>
</div>
</div>
<div class="item">
<div class="project-info">
<img src="img/c.png" class="img-fluid" alt="project image">
<h3>Programming in C</h3>
<button class="buyon">Enroll Now</button>
</div>
</div>
<div class="item">
<div class="project-info">
<img src="img/swift.png" class="img-fluid" alt="project image">
<h3>Start with Swift</h3>
<button class="buyon">Enroll Now</button>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Top rated courses Section End-->
<footer class="footer">
<div class="container">
<div class="row">
<div class="col-md-12 col-lg-4">
<div class="footer-logo">
<a class="navbar-brand" href="#">LearNovience</a>
<p>For more information about us please go on links given.
Hope you love your exprecience with us with programming.</p>
</div>
</div>
<div class="col-sm-6 col-md-3 col-lg-2">
<div class="list-menu">
<h4>About Us</h4>
<ul class="list-unstyled">
<li><a href="aboutus.php">About us</a></li>
<li><a href="index.php #features">Features item</a></li>
<li><a href="#">Videos</a></li>
<li><a href="#">Privacy Policy</a></li>
</ul>
</div>
</div>
<div class="col-sm-6 col-md-3 col-lg-2">
<div class="list-menu">
<h4>Support</h4>
<ul class="list-unstyled">
<li><a href="aboutus.php">Utsav Patel</a></li>
<li><a href="aboutus.php">Keval Patel</a></li>
<li><a href="aboutus.php">Mann Patel</a></li>
<li><a href="aboutus.php">Darshan Suthar</a></li>
</ul>
</div>
</div>
<div class="col-sm-6 col-md-3 col-lg-2">
<div class="list-menu">
<h4>Refereced Links</h4>
<ul class="list-unstyled">
<li><a href="#">www.LearNovience.com</a></li>
<li><a href="#">www.W3school.com</a></li>
<li><a href="#">www.javaTpoint.com</a></li>
<li><a href="#">www.Tutorialpoint.com</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="copyrights">
<div class="container">
Developed by<a href="https://about-me.com/"> Team LearNovience</a>
</div>
</div>
</div>
</footer>
<!-- Top rated courses Section -->
</body>
</html>