示例#1
0
<?php

require_once 'common.php';
$GLOBALS['SECURITY']->checkLoginStatus();
HTML::printHeader();
HTML::printBody();
Navi::printMainNavi('reviews');
Navi::printLocation();
$GLOBALS['CONTENT']->selectContent();
$GLOBALS['CONTENT']->printEntries();
HTML::printFooter();
示例#2
0
<?php

//Basissystem einbinden
require_once 'common.php';
//HTML-Head und Beginn des Body-Teils ausgeben
HTML::printHeader();
HTML::printBody();
//Haupt- und Unternavigation ausgeben
Navi::printMainNavi("kontakt");
Navi::printSubNavi();
//Inhalt der Seite aus Datenbank holen und ausgeben
$Content = new Content();
$Content->selectContent();
$Content->printContent();
//News-Feld mit Ausgabe
$News = new News();
$News->printFieldNews("5");
//Abschluss des Body-Teils und Html-Teils ausgeben
HTML::printFooter();