-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathnews_publication.php
More file actions
41 lines (24 loc) · 948 Bytes
/
news_publication.php
File metadata and controls
41 lines (24 loc) · 948 Bytes
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
<?php
$showchildren = "n";
$showsiblings = "n";
$titleoverride = "";
include("./inc/head.php");
if (count($page->images)) {
foreach($page->images as $image) {
$img_sized = $image->size(600);
$imagesval .= "<div class='thumbnail clearfix text-sm text-muted'><img src='{$img_sized->url}' class='img-responsive' alt='{$image->description}'>{$image->description}</div>";
}
$img = "<div class='col-sm-4 pull-right padding-bottom-none padding-top-lg img-content-area'>{$imagesval}</div>";
}
?>
<div class="row">
<div class="col-sm-9">
<div class="content-space content-border"><?=$img; ?>
<h3 class='page-title'><?=$page->title; ?></h3>
<span class='bodytext'><?=$page->body; ?> </span>
<? include("./inc/inc_webaddress.php"); ?>
<? include("./inc/inc_files.php"); ?>
</div></div>
<? include("./inc/nav_well_root.php"); ?>
</div>
<? include("./inc/foot.php");