simpub/p/00-template.php

21 lines
545 B
PHP
Raw Normal View History

2017-01-27 20:29:27 +01:00
<?php
if (!isset($CMS_ACTIVE)) exit();
require("page.php");
?>
<h1>Subpage template</h1>
<p>
This is a subpage. The following code demonstrates the features of page.php.
</p>
<?php
beginEntry("Category 0");
addEntry("Entry 0", "b/img/2016/fft.png", "//link", "Description");
addEntry("Entry 1", "b/img/2016/fft.png", "//link", "Description");
endEntry();
beginEntry("Category 1");
addEntry("Entry 2", "b/img/2016/fft.png", "//link", "Description");
addEntry("Entry 3", "b/img/2016/fft.png", "//link", "Description");
endEntry();
?>