-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproduct.php
87 lines (86 loc) · 3.03 KB
/
product.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
<?php
$title = "Bay Realty - Product Page";
$metaD = "Product page";
include 'includes/header.php';
include 'includes/search.php';
include 'processes/process-populate-product.php';
include 'processes/process-populate-image-carousel.php';
include 'processes/process-populate-agent.php';
?>
<div class="container product-heading" id="product_page">
<h1 class="mb-3"><?php echo $listing_title ?></h1>
</div>
<div class="container product-full">
<!-- image carousel -->
<div class=" slider-inner">
<div id="carouselExampleIndicators" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#carouselExampleIndicators" data-slide-to="0" class="active"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="1"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="2"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="3"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="4"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="5"></li>
<!-- <li data-target="#carouselExampleIndicators" data-slide-to="2"></li> -->
</ol>
<div class="carousel-inner">
<div class="carousel-item active">
<img class="d-block w-100" src="images/uploads/<?php echo $featured_image ?>" alt="First slide">
</div>
<?php echo $display_image ?>
<!-- <div class="carousel-item">
<img class="d-block w-100" src="..." alt="Third slide">
</div> -->
</div>
<a class="carousel-control-prev" href="#carouselExampleIndicators" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#carouselExampleIndicators" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
</div>
<!-- product content built in process-product page to be displayed on this page -->
<div class="col" id="product_content">
<div class="row">
<div class="col">
<div class="welcome ml-auto"><?php if (isset($_SESSION['guestUserName'])) { echo $_SESSION['guestUserName']; }; ?></div>
<table>
<?php echo $display_product ?>
</table>
</div>
</div>
<div id="product-2" class="row no-gutters">
<div class=" col-lg-9 col-md-9 display-block-2">
<table>
<?php echo $display_product2 ?>
</table>
</div>
<div id="product-3" class=" col-lg-3 col-md-3">
<table>
<?php echo $display_product3 ?>
</table>
</div>
</div>
<div class=" col" id="product-map-agent">
<div class="row">
<div class=" col-lg-4 col-md-4 agent">
<div class="contact-agent">
<h4>Contact-details</h4>
</div>
<div class="agent-data">
<?php echo $display_agent ?>
</div>
</div>
<div class=" col-lg-8 col-md-8 display-block-3 ">
<?php echo $display_map ?>
</div>
</div>
</div>
</div>
</div>
<?php
include 'includes/footer.php';
?>