-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
226 lines (203 loc) · 11.2 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
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
<?php
include("db.php");
if((isset($_POST["email"])))
{
$email=$_POST["email"];
$sql="INSERT INTO newsletter(email)VALUES('$email')";
if(mysqli_query($conn,$sql))
{
echo "Data inserted successfully!";
}
else
{
echo "Error:".$sql."<br>".mysqli_error($conn);
}
mysqli_close($conn);
}
?>
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<title>Course Flix</title>
<link rel='stylesheet' href='https://cdn.jsdelivr.net/npm/swiper@8/swiper-bundle.min.css'><link rel="stylesheet" href="./style.css">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css" integrity="sha512-z3gLpd7yknf1YoNbCzqRKc4qyor8gaKU1qmn+CShxbuBusANI9QpRohGBreCFkKxLhei6S9CQXFEbbKuqLg0DA==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="icon" type="image/x-icon" href="./img1/logo.svg">
</head>
<body>
<header>
<nav class="navbar navbar-expand-lg bg-body-tertiary">
<div class="container-fluid">
<a class="navbar-brand" href="#"><img src="img1/logo.svg" alt=""></a>
<strong style="color:blue;">Course</strong> <strong>Flix</strong>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ms-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="http://localhost/Course/index.php">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="http://localhost/course/menter.php">Mentor</a>
</li>
<li class="nav-item">
<a class="nav-link" href="http://localhost/course/books.php">Books</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">
Courses
</a>
<ul class="dropdown-menu">
<li><a class="dropdown-item" href="#">cybersecurity</a></li>
<li><a class="dropdown-item" href="#">Web Development</a></li>
<li><a class="dropdown-item" href="#">Artificial Intelligence (AI) and<br> Machine Learning (ML)</a></li>
<li><a class="dropdown-item" href="#">Software Engineering</a></li>
<li><a class="dropdown-item" href="#">Cloud Computing</a></li>
<li><hr class="dropdown-divider"></li>
<li><a class="dropdown-item" href="http://localhost/course/menter.php">Mentors</a></li>
</ul>
</li>
<li class="nav-item">
<a class="nav-link" href="http://localhost/Course/reg.php">Booking</a>
</li>
<a href="http://localhost/Course/reg.php"><button" class="btn btn-outline-secondary">Get Started</button></a>
<a href="http://localhost/course/login.php"><button type="button" class="btn btn-outline-secondary">Login</button></a>
</ul>
</div>
</div>
</nav>
</header>
<!-- partial:index.partial.html -->
<main>
<div>
<span>discover</span>
<h1>Knowledge House</h1>
<hr>
<p>"Empower your future with our online courses - where knowledge meets convenience, and learning knows no boundaries."
</p>
<a href="http://localhost/Course/reg.php">Enroll</a>
</div>
<div class="swiper">
<div class="swiper-wrapper">
<div class="swiper-slide swiper-slide--one">
<div>
<h2>cybersecurity</h2>
<p>Cybersecurity involves protecting computer systems, networks, and data from digital attacks. It encompasses measures to safeguard against unauthorized access, data breaches, and other cyber threats</p>
<a href="https://en.wikipedia.org/wiki/Computer_security" target="_blank">explore</a>
</div>
</div>
<div class="swiper-slide swiper-slide--two">
<div>
<h2>Web Development</h2>
<p>
Web development is the process of creating and maintaining websites or web applications. It encompasses various disciplines, including front-end development (user interface and user experience), back-end development (server-side logic), and full-stack development (involving both front-end and back-end).</p>
<a href="https://en.wikipedia.org/wiki/Web_development" target="_blank">explore</a>
</div>
</div>
<div class="swiper-slide swiper-slide--three">
<div>
<h2>Artificial Intelligence (AI) and<br> Machine Learning (ML)</h2>
<p>
Artificial Intelligence (AI) is a broad field of computer science focused on creating systems capable of performing tasks that typically require human intelligence. Machine Learning (ML) is a subset of AI that involves the development of algorithms allowing computers to learn patterns and make decisions from data</p>
<a href="https://en.wikipedia.org/wiki/Artificial_Intelligence" target="_blank">explore</a>
</div>
</div>
<div class="swiper-slide swiper-slide--four">
<div>
<h2>Software Engineering</h2>
<p>
Software engineering involves the systematic application of engineering principles to the design, development, testing, and maintenance of software systems. It encompasses various methodologies and practices to ensure the efficient and reliable creation of high-quality software</p>
<a href="https://en.wikipedia.org/wiki/Software_engineering" target="_blank">explore</a>
</div>
</div>
<div class="swiper-slide swiper-slide--five">
<div>
<h2>Cloud Computing</h2>
<p>
Cloud computing refers to the delivery of computing services, including storage, processing power, and applications, over the internet. Instead of relying on local servers or personal devices, users access and utilize resources hosted on remote servers.</p>
<a href="https://en.wikipedia.org/wiki/Cloud_computing" target="_blank">explore</a>
</div>
</div>
</div>
<!-- Add Pagination -->
<div class="swiper-pagination"></div>
</div>
<img src="https://cdn.pixabay.com/photo/2021/11/04/19/39/jellyfish-6769173_960_720.png" alt="" class="bg">
<img src="https://cdn.pixabay.com/photo/2012/04/13/13/57/scallop-32506_960_720.png" alt="" class="bg2">
</main>
<!-- partial -->
<script src='https://cdnjs.cloudflare.com/ajax/libs/Swiper/8.4.5/swiper-bundle.min.js'></script><script src="./script.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>
<!-- Footer Start -->
<div class="container-fluid bg-dark text-white mt-5 py-5 px-sm-3 px-md-5">
<div class="row pt-5">
<div class="col-lg-4 col-md-12 mb-5">
<h1 class="mb-3 display-5 text-capitalize text-white"><span class="text-primary">Course</span>Flix</h1>
<p class="m-0">"For the best return on your money, pour your purse into your head."</p>
</div>
<div class="col-lg-8 col-md-12">
<div class="row">
<div class="col-md-4 mb-5">
<h5 class="text-primary mb-4">Get In Touch</h5>
<p><i class="fa fa-map-marker-alt mr-2"></i>Chikkamagalur,karnataka,India.</p>
<p><i class="fa fa-phone-alt mr-2"></i><a href="tel: +919972028267">+91 9972028267</a></p>
<p><i class="fa fa-envelope mr-2"></i><a href="mailto:manojmd780@gmail.com">manojmd780@gmail.com</a></p>
<div class="d-flex justify-content-start mt-4">
<a class="btn btn-outline-light rounded-circle text-center mr-2 px-0" style="width: 36px; height: 36px;" href="#"><i class="fab fa-twitter"></i></a>
<a class="btn btn-outline-light rounded-circle text-center mr-2 px-0" style="width: 36px; height: 36px;" href="#"><i class="fab fa-facebook-f"></i></a>
<a class="btn btn-outline-light rounded-circle text-center mr-2 px-0" style="width: 36px; height: 36px;" href="#"><i class="fab fa-linkedin-in"></i></a>
<a class="btn btn-outline-light rounded-circle text-center mr-2 px-0" style="width: 36px; height: 36px;" href="#"><i class="fab fa-instagram"></i></a>
</div>
</div>
<div class="col-md-4 mb-5">
<h5 class="text-primary mb-4">Popular Links</h5>
<div class="d-flex flex-column justify-content-start">
<a class="text-white mb-2" href="http://localhost/Course/index.php"><i class="fa fa-angle-right mr-2"></i>Home</a>
<a class="text-white mb-2" href="http://localhost/course/menter.php"><i class="fa fa-angle-right mr-2"></i>Mentors</a>
<a class="text-white mb-2" href="http://localhost/course/books.php"><i class="fa fa-angle-right mr-2"></i>Books</a>
<a class="text-white mb-2" href="#"><i class="fa fa-angle-right mr-2"></i>Courses</a>
<a class="text-white" href="http://localhost/Course/reg.php"><i class="fa fa-angle-right mr-2"></i>Booking</a>
</div>
</div>
<div class="col-md-4 mb-5">
<h5 class="text-primary mb-4">Newsletter</h5>
<form action="index.php" method="post">
<div class="form-group">
<input type="email" name="email" class="form-control border-0" placeholder="Your Email" required="required" />
</div>
<div>
<button class="btn btn-lg btn-primary btn-block border-0" type="submit">Submit Now</button>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
<div class="container-fluid text-white py-4 px-sm-3 px-md-5" style="background: #111111;">
<div class="row">
<div class="col-md-6 text-center text-md-left mb-3 mb-md-0">
</div>
<div class="col-md-6 text-center text-md-right">
<ul class="nav d-inline-flex">
<li class="nav-item">
<a class="nav-link text-white py-0" href="#">Privacy</a>
</li>
<li class="nav-item">
<a class="nav-link text-white py-0" href="#">Terms</a>
</li>
<li class="nav-item">
<a class="nav-link text-white py-0" href="#">FAQs</a>
</li>
<li class="nav-item">
<a class="nav-link text-white py-0" href="#">Help</a>
</li>
</ul>
</div>
</div>
</div>
<!-- Footer End -->
</body>
</html>