-
Notifications
You must be signed in to change notification settings - Fork 0
/
semi-detached.php
75 lines (72 loc) · 3.52 KB
/
semi-detached.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
<!-- header -->
<?php
$pageTitle = "Semi Dedutched";
$metaTitle = "Ideal Staging and Design";
$metaDescription = "Transforming properties into stunning, market-ready spaces that captivate potential buyers and drive successful sales.";
?>
<?php include 'components/layout/header.php'; ?>
<?php include 'components/layout/navbar.php'; ?>
<section>
<div class="sub-header sub-header-1 sub-header-our-services fake-position">
<div class="sub-header-content">
<h2 class="text-cap white-text">Semi Dedutched</h2>
<ol class="breadcrumb breadcrumb-arc text-cap">
<li>
<a href="index.php">Home</a>
</li>
<li>
<a href="projects.php">Our Projects</a>
</li>
<li class="active">Semi Dedutched</li>
</ol>
</div>
</div>
</section>
<section>
<div class="container">
<div class="row">
<div class="title-block">
<h2 class="title text-cap">Semi Dedutched</h2>
<div class="divider divider-1">
<svg class="svg-triangle-icon-container">
<polygon class="svg-triangle-icon" points="6 11,12 0,0 0"></polygon>
</svg>
</div>
</div>
<!-- End Title -->
<?php
$images = [
["before" => "images/Project/semidetached/1 Before.jpg", "after" => "images/Project/semidetached/1 After.jpg"],
["before" => "images/Project/semidetached/6 Before.jpg", "after" => "images/Project/semidetached/6 After.jpg"],
["before" => "images/Project/semidetached/2 Before.jpg", "after" => "images/Project/semidetached/2 After.jpg"],
["before" => "images/Project/semidetached/5 Before.jpg", "after" => "images/Project/semidetached/5 After.jpg"],
["before" => "images/Project/semidetached/4 Before.jpg", "after" => "images/Project/semidetached/4 After.jpg"],
["before" => "images/Project/semidetached/3 Before.jpg", "after" => "images/Project/semidetached/3 After.jpg"],
["before" => "images/Project/semidetached/7 Before.jpg", "after" => "images/Project/semidetached/7 After.jpg"],
["before" => "images/Project/semidetached/9 Before.jpg", "after" => "images/Project/semidetached/9 After.jpg"],
["before" => "images/Project/semidetached/8 Before.jpg", "after" => "images/Project/semidetached/8 After.jpg"]
];
for ($i = 0; $i < count($images); $i += 2) {
echo '<div class="row">';
for ($j = $i; $j < $i + 2 && $j < count($images); $j++) {
echo '
<div class="col-md-6" style="margin-bottom: 3rem;">
<figure class="cd-image-container">
<img src="' . $images[$j]["after"] . '" alt="After">
<span class="cd-image-label" data-type="original"><mark>After</mark></span>
<div class="cd-resize-img">
<img src="' . $images[$j]["before"] . '" alt="Before">
<span class="cd-image-label" data-type="modified"><mark>Before</mark></span>
</div>
<span class="cd-handle"></span> <!-- slider handle -->
</figure>
</div>';
}
echo '</div>';
}
?>
</div>
</div>
</section>
<!-- footer -->
<?php include 'components/layout/footer.php'; ?>