-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathabout.php
162 lines (135 loc) · 6.48 KB
/
about.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
<?php
include './config.php';
$query = new Database();
$aboutData = $query->select('about', '*');
$serviceItems = $query->select('about_ul_items', '*');
$statistics = $query->select('statistics', '*');
// Prepare the about items array
$aboutItems = [];
foreach ($aboutData as $about) {
$aboutItems[$about['id']] = [
'title' => $about['title'],
'p1' => $about['p1'],
'p2' => $about['p2'],
'image' => $about['image'],
'list_items' => []
];
}
// Add service items to the about items
foreach ($serviceItems as $item) {
$aboutItems[$item['about_id']]['list_items'][] = $item['list_item'];
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<title>About Us - Templates.uz</title>
<meta name="description"
content="Learn more about Templates.uz, a professional web development and IT services company dedicated to building high-quality digital solutions.">
<meta name="keywords"
content="about templates.uz, web development, IT services, company, team, mission, vision, business, technology, software development, dasturlash jamoasi, Templates.uz, iqbolshoh.uz">
<meta name="author" content="Templates.uz">
<meta name="robots" content="index, follow">
<meta property="og:title" content="About Us - Templates.uz">
<meta property="og:description"
content="Learn more about Templates.uz, a professional web development and IT services company.">
<meta property="og:image" content="https://templates.uz/assets/img/templates.png">
<meta property="og:image:width" content="1920">
<meta property="og:image:height" content="1080">
<meta property="og:image:type" content="image/image/png">
<meta property="og:url" content="https://templates.uz/about.php">
<meta property="og:type" content="website">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Templates.uz - Web Development & IT Services">
<meta name="twitter:description" content="Web development, bot creation, and IT services for businesses.">
<meta name="twitter:image" content="https://templates.uz/assets/img/templates.png">
<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="about-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">About Us</li>
</ol>
</nav>
<h1>About Us</h1>
</div>
</div><!-- Page Title Ends -->
<!-- About Section -->
<section id="about" class="section about">
<div class="container" data-aos="fade-up" data-aos-delay="100">
<div class="row gy-4">
<?php foreach ($aboutItems as $about): ?>
<div class="col-lg-6 order-1 order-lg-2">
<?php if (!empty($about['image'])): ?>
<img src="<?= htmlspecialchars($about['image']) ?>" class="img-fluid" alt="About Us">
<?php endif; ?>
</div>
<div class="col-lg-6 order-2 order-lg-1 content">
<h3><?= htmlspecialchars($about['title']) ?></h3>
<p class="fst-italic"><?= htmlspecialchars($about['p1']) ?></p>
<h4><?= htmlspecialchars($about['title']) ?></h4>
<ul>
<?php foreach ($about['list_items'] as $item): ?>
<li><i class="bi bi-check2-all"></i> <?= htmlspecialchars($item) ?></li>
<?php endforeach; ?>
</ul>
<p><?= htmlspecialchars($about['p2']) ?></p>
</div>
<?php endforeach; ?>
</div>
</div>
</section><!-- /About Section Ends -->
<!-- Statistics Section -->
<section id="stats" class="stats section">
<div class="container" data-aos="fade-up" data-aos-delay="100">
<div class="row gy-4">
<?php foreach ($statistics as $stat): ?>
<div class="col-lg-3 col-md-6">
<div class="stats-item">
<i class="<?= $stat['icon'] ?>"></i>
<span data-purecounter-start="0" data-purecounter-end="<?= $stat['count'] ?>"
data-purecounter-duration="1" class="purecounter"></span>
<p><strong><?= $stat['title'] ?></strong> <span><?= $stat['description'] ?></span></p>
</div>
</div><!-- Statistics Section Ends -->
<?php endforeach; ?>
</div>
</div><!-- /Statistics Section Ends -->
</main>
<?php include 'includes/footer.php' ?>
<!-- Scroll to 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>