-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexplore_products.php
More file actions
374 lines (328 loc) · 11.1 KB
/
explore_products.php
File metadata and controls
374 lines (328 loc) · 11.1 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
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
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Explore Print Management Solutions</title>
<style>
/* Basic styles for the layout and structure */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-image: url('./photo.jpg');
background-size: cover;
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center;
font-family: Arial, sans-serif;
color: white;
}
header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1% 3%;
background-color: rgba(0, 0, 0, 0.7);
border-bottom: 3px solid #00AEEF;
}
nav ul {
display: flex;
align-items: center;
}
nav ul li {
margin-right: 20px;
list-style: none;
}
nav ul li a {
text-decoration: none;
font-size: 18px;
color: white;
cursor: pointer;
}
.explore-products {
text-align: center;
margin-top: 50px;
}
.hero {
background-color: rgba(0, 0, 0, 0.8);
padding: 50px 20px;
border-radius: 10px;
}
.features {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
margin-top: 50px;
}
.feature {
width: 30%;
margin: 10px;
padding: 20px;
background-color: rgba(255, 255, 255, 0.1);
border-radius: 20px;
text-align: center;
transition: transform 0.3s;
}
.feature h2 {
font-size: 24px;
margin-bottom: 15px;
}
.feature p {
font-size: 16px;
margin-bottom: 20px;
}
.feature .cta-button {
background-color: #00AEEF;
padding: 10px;
text-decoration: none;
color: white;
font-size: 16px;
border-radius: 5px;
transition: background-color 0.3s;
}
.cta-button:hover {
background-color: #008CBA;
}
</style>
</head>
<body>
<header>
<div class="logo">
<img src="./logo.jpg" alt="Logo" width="50" height="50">
</div>
<nav>
<ul>
<li><a href="#home">Home</a></li>
<li><a href="#features">Features</a></li>
<li><a href="#products">Products</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</nav>
</header>
<div class="explore-products">
<section class="hero">
<h1>Explore Our Print Management Solutions</h1>
<p>Increase efficiency, reduce costs, and enhance productivity with our print software.</p>
<a href="#product-features" class="cta-button">Learn More</a>
</section>
<section id="product-features" class="features">
<?php
// Define products array in PHP
$products = [
[
"title" => "Print Monitoring",
"description" => "Track and manage all print jobs with real-time data.",
"link" => "#"
],
[
"title" => "Cost Recovery",
"description" => "Easily allocate printing costs to departments or clients.",
"link" => "#"
],
[
"title" => "Secure Printing",
"description" => "Ensure confidential documents are printed securely with user authentication.",
"link" => "#"
],
[
"title" => "Mobile Printing",
"description" => "Print documents directly from mobile devices seamlessly.",
"link" => "#"
],
[
"title" => "Analytics Dashboard",
"description" => "Gain insights into printing habits and reduce waste through analytics.",
"link" => "#"
],
[
"title" => "User Management",
"description" => "Manage users and their permissions effectively within the system.",
"link" => "#"
],
[
"title" => "Cloud Printing",
"description" => "Enable printing from anywhere with cloud integration.",
"link" => "#"
],
[
"title" => "Document Capture",
"description" => "Capture and digitize documents for easy access and management.",
"link" => "#"
]
];
// Loop through the products array to display each product
foreach ($products as $product) {
echo '<div class="feature">';
echo '<h2>' . $product['title'] . '</h2>';
echo '<p>' . $product['description'] . '</p>';
echo '<a href="' . $product['link'] . '" class="cta-button">Learn More</a>';
echo '</div>';
}
?>
</section>
</div>
<footer>
<p>© 2024 Print Management Solutions</p>
</footer>
</body>
</html>
<!-- <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Explore Print Management Solutions</title>
<style>
/* Basic styles for the layout and structure */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-image: url('./photo.jpg');
background-size: cover;
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center;
font-family: Arial, sans-serif;
color: white;
}
header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1% 3%;
background-color: rgba(0, 0, 0, 0.7);
border-bottom: 3px solid #00AEEF;
}
nav ul {
display: flex;
align-items: center;
}
nav ul li {
margin-right: 20px;
list-style: none;
}
nav ul li a {
text-decoration: none;
font-size: 18px;
color: white;
cursor: pointer;
}
.explore-products {
text-align: center;
margin-top: 50px;
}
.hero {
background-color: rgba(0, 0, 0, 0.8);
padding: 50px 20px;
border-radius: 10px;
}
.features {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
margin-top: 50px;
}
.feature {
width: 30%;
margin: 10px;
padding: 20px;
background-color: rgba(255, 255, 255, 0.1);
border-radius: 20px;
text-align: center;
transition: transform 0.3s;
}
.feature h2 {
font-size: 24px;
margin-bottom: 15px;
}
.feature p {
font-size: 16px;
margin-bottom: 20px;
}
.feature .cta-button {
background-color: #00AEEF;
padding: 10px;
text-decoration: none;
color: white;
font-size: 16px;
border-radius: 5px;
transition: background-color 0.3s;
}
.cta-button:hover {
background-color: #008CBA;
}
</style>
</head>
<body>
<header>
<div class="logo">
<img src="./logo.jpg" alt="Logo" width="50" height="50">
</div>
<nav>
<ul>
<li><a href="#home">Home</a></li>
<li><a href="#features">Features</a></li>
<li><a href="#products">Products</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</nav>
</header>
<div class="explore-products">
<section class="hero">
<h1>Explore Our Print Management Solutions</h1>
<p>Increase efficiency, reduce costs, and enhance productivity with our print software.</p>
<a href="#product-features" class="cta-button">Learn More</a>
</section>
<section id="product-features" class="features">
<!-- Product features will be populated dynamically here -->
<!-- </section>
</div>
<footer>
<p>© 2024 Print Management Solutions</p>
</footer>
<script>
document.addEventListener('DOMContentLoaded', function () {
const featuresContainer = document.getElementById('product-features');
// Example of static product data that can be replaced with an API call
const products = [
{
title: "Print Monitoring",
description: "Track and manage all print jobs with real-time data.",
link: "#"
},
{
title: "Cost Recovery",
description: "Easily allocate printing costs to departments or clients.",
link: "#"
},
{
title: "Secure Printing",
description: "Ensure confidential documents are printed securely.",
link: "#"
}
];
// Clear the container before populating
featuresContainer.innerHTML = '';
// Dynamically create product sections
products.forEach(product => {
const featureDiv = document.createElement('div');
featureDiv.classList.add('feature');
featureDiv.innerHTML = `
<h2>${product.title}</h2>
<p>${product.description}</p>
<a href="${product.link}" class="cta-button">Learn More</a>
`;
featuresContainer.appendChild(featureDiv);
});
});
</script>
</body>
</html> -->