-
Notifications
You must be signed in to change notification settings - Fork 0
/
blog_entry.php
214 lines (112 loc) · 5.48 KB
/
blog_entry.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
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
<?php defined('C5_EXECUTE') or die(_("Access Denied.")); $this->inc('inc/topIncludes.php'); ?>
<div id="system-cener-body" class="pageType-default pageType-subpage keyBenefits">
<!--start of main content section-->
<div class="thirdSecBg">
<div class="container">
<div class="row">
<div class="mapBg">
<div class="col-md-9">
<div class="mainContentBg">
<div class="mainContentHead">
<h2><?php echo $c->getCollectionName(); ?></h2>
</div> <!--mainContentHead-->
<div class="mainContentSec main-content">
<?php
if ($c->isEditMode()) {
print '<br><h2>This is your thumbnail that will show on the top level blog page.</h2>';
$a = new Area('Thumbnail Image');
$a->display($c);
}
?>
<?php
$a = new Area('Header Image');
$a->display($c);
?>
<br><br>
<?php $a = new Area ('Main'); $a->display($c); ?>
<br>
<div id="main-content-post-author">
<?php
$vo = $c->getVersionObject();
if (is_object($vo)) {
$uID = $vo->getVersionAuthorUserID();
$username = $vo->getVersionAuthorUserName();
if (Config::get("ENABLE_USER_PROFILES")) {
$profileLink= '<a href="' . $this->url('/profile/view/', $uID) . '">' . $username . '</a>';
}else{
$profileLink = $username;
} ?>
<p>
<?php echo t(
/*i18n: %1$s is an author name, 2$s is an URL, %3$s is a date, %4$s is a time */
'Posted by <span class="post-author">%1$s at <a href="%2$s">%3$s on %4$s</a></span>',
$profileLink,
$c->getLinkToCollection,
$c->getCollectionDatePublic(DATE_APP_GENERIC_T),
$c->getCollectionDatePublic(DATE_APP_GENERIC_MDY_FULL)
); ?>
</p>
<!-- <div id="main-content-post-footer-share">
<p><?php // echo t('Share:'); ?>
<a href="mailto:?subject=<?php // echo $c->getCollectionName(); ?>&body=<?php // echo $nav->getLinkToCollection($c, true); ?>"><img class="main-content-post-footer-share-email" src="<?php // echo $this->getThemePath(); ?>/images/icon_email.png" alt="<?php // echo t('Email'); ?>" /></a>
<a href="https://twitter.com/share"><img class="main-content-post-footer-share-twitter" src="<?php // echo $this->getThemePath(); ?>/images/icon_twitter.png" alt="<?php // echo t('Share on Twitter'); ?>" /></a>
<a href="http://www.facebook.com/share.php?u=<?php // echo $nav->getLinkToCollection($c, true); ?>"><img class="main-content-post-footer-share-facebook" src="<?php // echo $this->getThemePath(); ?>/images/icon_facebook.png" alt="<?php // echo t('Share on Facebook'); ?>" /></a>
</p>
</div> -->
<?php } ?>
</div>
</div> <!--mainContentSec-->
</div> <!--mainContentBg-->
</div> <!--col-md-8-->
<div class="col-md-3">
<?php $a = new Area ('Sidebar'); $a->display($c); ?>
</div> <!--col-md-3-->
</div> <!--thisBg-->
</div> <!--row-->
</div> <!--container-->
</div> <!--thirdSecBg-->
<div class="greyWrap">
<div class="container">
<div class="row">
<div class="col-md-12">
<h2>Key Benefits of Vehicle Tracking</h2>
</div> <!--col-md-12-->
</div> <!--row-->
</div> <!--container-->
</div> <!--greyWrap-->
<!--start of benefit icons-->
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="iconBenefits">
<div class="iconImages">
<img src="<?php echo $this->getThemePath()?>/processAndBuild/stylesheets/images/hand.png" alt="hand"/>
<p>Increase productivity
& efficiency.</p>
</div>
<div class="iconImages">
<img src="<?php echo $this->getThemePath()?>/processAndBuild/stylesheets/images/gasStation.png" alt="Gas Station"/>
<p>Reduce labour & fuel costs.</p>
</div>
<div class="iconImages">
<img src="<?php echo $this->getThemePath()?>/processAndBuild/stylesheets/images/truck.png" alt="truck"/>
<p>Monitor driving behaviour.</p>
</div>
<div class="iconImages">
<img src="<?php echo $this->getThemePath()?>/processAndBuild/stylesheets/images/smile.png" alt="Customer service"/>
<p>Improve customer service.</p>
</div>
<div class="iconImages">
<img src="<?php echo $this->getThemePath()?>/processAndBuild/stylesheets/images/firstAid.png" alt="Health and Safety"/>
<p>Improved health & safety standards.</p>
</div>
<div class="iconImages">
<img src="<?php echo $this->getThemePath()?>/processAndBuild/stylesheets/images/spanner.png" alt="maintenance"/>
<p>Monitor vehicle maintenance records.</p>
</div>
</div> <!--iconBenefits-->
</div> <!--col-md-12-->
</div> <!--row-->
</div> <!--container-->
</div> <?php //close pageType-default ?>
<?php $this->inc('inc/bottomIncludes.php'); ?>