2017-01-27 20:29:27 +01:00
|
|
|
<?php
|
|
|
|
if (!isset($CMS_ACTIVE)) exit();
|
|
|
|
function beginEntry($name) {
|
|
|
|
echo "<div class=\"post\"><details open><summary class=\"pageDetailsHeading\">$name<!--<h2>$name</h2>--></summary><table class=\"listing\">";
|
|
|
|
}
|
|
|
|
function addEntry($title, $preview, $link, $description) {
|
|
|
|
//echo '<tr><td colspan="2"><h3>' . $title . '</h3></td></tr>';
|
2017-08-17 18:03:35 +02:00
|
|
|
echo '<tr><td style="border-left:2px solid blue;"><a href="' . $link . '"><h3>' . $title . '</h3><img class="previewImage" style="width:320px" src="' . $preview . '"></a></td><td style="border-right:2px solid blue;"><h3> </h3><br>' . $description . '</td></tr><tr><td> </td></tr>';
|
2017-01-27 20:29:27 +01:00
|
|
|
}
|
|
|
|
function endEntry() {
|
|
|
|
echo '</table></details></div><hr class="postSeparator">';
|
|
|
|
}
|
|
|
|
?>
|