Пример #1
0
<?php

require_once '../lib/config.php';
header("Content-type: text/css");
$content = includeFiles('core');
if ($compress == "1") {
    $content = ereg_replace("\n", "", $content);
    $content = ereg_replace("\t", "", $content);
    //$content = ereg_replace("\/\*.*?\*\/","",$content);
}
echo $content;
<?php

session_start();
include '../libs/macro.php';
@includeFiles('../libs/');
CheckAuth();
$HTML['CENTER'] = array('form_legenda' => array('cacheKey' => 'form_legenda'), 'legenda' => array('cacheKey' => 'legenda'));
$HTML['HEADER'] = array('nawigacja' => array('cacheKey' => 'nawigacja'));
$HTML['LEFT'] = array('help');
$META['title'] = 'Adminstracja MZK Lębork - Legenda';
$sys =& new System($HTML, $META);
include '../views/view2coladmin.php';
?>

Пример #3
0
<?php

session_start();
include 'libs/macro.php';
includeFiles('libs/');
$HTML['CENTER'] = array('reklama');
$HTML['HEADER'] = array('header');
$HTML['LEFT'] = array('witamy', 'kontakt');
$META['title'] = 'Reklama na autobusach - MZK Lębork';
$sys =& new System($HTML, $META);
include 'views/view2col.php';
?>