-
Notifications
You must be signed in to change notification settings - Fork 0
/
services.php
137 lines (110 loc) · 5.19 KB
/
services.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
<?php
include 'config.php';
$query = new Database();
$services = $query->select('services');
$bioservices = $query->select('bioServices');
$ourservices = $query->select('ourServices');
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<title>Services</title>
<meta name="description" content="">
<meta name="keywords" content="">
<link href="favicon.ico" rel="icon">
<link href="assets/img/apple-touch-icon.png" rel="apple-touch-icon">
<link href="https://fonts.googleapis.com" rel="preconnect">
<link href="https://fonts.gstatic.com" rel="preconnect" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet">
<link href="assets/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="assets/vendor/bootstrap-icons/bootstrap-icons.css" rel="stylesheet">
<link href="assets/vendor/aos/aos.css" rel="stylesheet">
<link href="assets/vendor/swiper/swiper-bundle.min.css" rel="stylesheet">
<link href="assets/vendor/glightbox/css/glightbox.min.css" rel="stylesheet">
<link href="assets/css/main.css" rel="stylesheet">
</head>
<body class="services-page">
<?php include 'includes/header.php'; ?>
<main class="main">
<!-- Page Title -->
<div class="page-title" data-aos="fade">
<div class="container">
<nav class="breadcrumbs">
<ol>
<li><a href="./">Home</a></li>
<li class="current">Services</li>
</ol>
</nav>
<h1>Services</h1>
</div>
</div><!-- End Page Title -->
<!-- Skills Section -->
<section id="skills" class="skills section">
<!-- Section Title -->
<div class="container section-title" data-aos="fade-up">
<h2><?php echo $bioservices[0]['h2'] ?></h2>
<p><?php echo $bioservices[0]['p1'] ?></p>
</div><!-- End Section Title -->
<div class="container" data-aos="fade-up" data-aos-delay="100">
<div class="row">
<div class="col-lg-6 d-flex align-items-center">
<img src="assets/img/<?php echo $bioservices[0]['image'] ?>" class="img-fluid" alt="Our Products">
</div>
<div class="col-lg-6 pt-4 pt-lg-0 content">
<h3><?php echo $bioservices[0]['h3'] ?></h3>
<p class="fst-italic">
<?php echo $bioservices[0]['p2'] ?>
</p>
<div class="skills-content skills-animation">
<?php foreach ($ourservices as $service): ?>
<div class="progress">
<span class="skill"><span><?php echo $service['service_name']; ?></span> <i class="val"><?php echo $service['skill_level']; ?>%</i></span>
<div class="progress-bar-wrap">
<div class="progress-bar" role="progressbar" aria-valuenow="<?php echo $service['skill_level']; ?>" aria-valuemin="0" aria-valuemax="100"></div>
</div>
</div><!-- End Skills Item -->
<?php endforeach; ?>
</div>
</div>
</div>
</div>
</section>
<!-- Services Section -->
<section id="services" class="services section">
<div class="container">
<div class="row gy-4">
<?php foreach ($services as $service): ?>
<div class="col-lg-4 col-md-6" data-aos="fade-up" data-aos-delay="<?= ($service['id'] - 1) * 100; ?>">
<div class="service-item position-relative">
<div class="icon">
<i class="<?= htmlspecialchars($service['icon']) ?>"></i>
</div>
<a href="#" class="stretched-link">
<h3><?= htmlspecialchars($service['title']) ?></h3>
</a>
<p><?= htmlspecialchars($service['description']) ?></p>
</div>
</div><!-- End Service Item -->
<?php endforeach; ?>
</div>
</div>
</section><!-- End Services Section -->
</main>
<?php include 'includes/footer.php'; ?>
<!-- Scroll Top -->
<a href="#" id="scroll-top" class="scroll-top d-flex align-items-center justify-content-center"><i class="bi bi-arrow-up-short"></i></a>
<!-- Vendor JS Files -->
<script src="assets/vendor/aos/aos.js"></script>
<script src="assets/vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
<script src="assets/vendor/glightbox/js/glightbox.min.js"></script>
<script src="assets/vendor/imagesloaded/imagesloaded.pkgd.min.js"></script>
<script src="assets/vendor/isotope-layout/isotope.pkgd.min.js"></script>
<script src="assets/vendor/purecounter/purecounter_vanilla.js"></script>
<script src="assets/vendor/swiper/swiper-bundle.min.js"></script>
<script src="assets/vendor/waypoints/noframework.waypoints.js"></script>
<!-- Main JS File -->
<script src="assets/js/main.js"></script>
</body>
</html>