-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproduct_detail.php
126 lines (103 loc) · 3.83 KB
/
product_detail.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
<?php defined('C5_EXECUTE') or die(_("Access Denied.")); $this->inc('inc/topIncludes.php'); ?>
<div id="system-cener-body" class="pageType-default">
<div class="container white80 shell detailPage">
<div class="row">
<div class="clearfix width100">
<div class="col-md-12 column">
<div class="clearfix linksBg remove-add">
<?php $a = new Area ('links here'); $a->display($c); ?>
</div>
</div>
</div>
</div>
<div class="row">
<div class="clearfix width100 main-content">
<div class="col-md-7 column mobileFix">
<div class="address">
<?php
if ($c->getCollectionAttributeValue('address')) {
echo '<div class="styleContentBox">
<span class="mainHeading"><h1>'.$c->getCollectionAttributeValue('address').'</h1></span>
</div>';
}
else {
echo '<div class="styleContentBox">
<span class="mainHeading"><h1>No address yet</h1></span>
</div>';
}
?>
<?php ?>
</div>
</div>
<div class="col-md-5 column mobileFix">
<div class="price">
<?php
if ($c->getCollectionAttributeValue('price')) {
echo '<div class="styleContentBox">
<span class="mainHeading"><h1>Asking price: £'.$c->getCollectionAttributeValue('price').'</h1></span>
</div>';
}
else {
echo '<div class="styleContentBox">
<span class="mainHeading"><h1>No price yet</h1></span>
</div>';
}
?>
<?php ?>
</div>
</div>
</div>
</div>
<div class="row">
<div class="clearfix width100">
<div class="col-md-12 column">
<div class="clearfix width100 insideBox">
<div class="col-md-7 column alpha">
<div class="imageSlider remove-add">
<?php $a = new Area ('slider'); $a->display($c); ?>
</div>
</div>
<div class="col-md-5 column main-content omega">
<div class="contactForm">
<p class="missOut">Don't miss out!</p>
<div class="callBoxHere">
<p>Call 01642 725008</p>
</div>
<div class="formStart">
<div class="formTitle">
<p>Or request a call back</p>
</div>
<div class="contact-us-section remove-add">
<?php $a = new Area ('request callback'); $a->display($c); ?>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row mbM10">
<div style="margin-top: 10px;" class="clearfix width100">
<div class="col-md-12 column">
<div class="clearfix width100">
<div class="col-md-6 column alpha main-content fixPaddingRight">
<?php $a = new Area ('Main'); $a->display($c); ?>
</div>
<div class="col-md-6 column omega main-content fixPaddingLeft">
<?php $a = new Area ('summary'); $a->display($c); ?>
</div>
</div>
</div>
</div>
</div>
<div class="row mbM10">
<div style="margin: 10px 0 19px;" class="clearfix width100">
<div class="col-md-12 column">
<?php $a = new Area ('map'); $a->display($c); ?>
</div>
</div>
</div>
</div> <!-- shell -->
</div> <?php //close pageType-default ?>
<?php $this->inc('inc/bottomIncludes.php'); ?>