Example #1
0
error_reporting(1);
header('Content-type: text/html; charset=utf-8');
include "_plugins/smarty/Smarty.class.php";
include "_configs/config.php";
function __autoload($class_name)
{
    require_once '_classes/' . $class_name . '.php';
}
$smarty = new Smarty();
$sesja = new cSession();
$grupa = new cGroup();
$user = new cUser();
$finger = new cFinger();
$log = new cLog();
$czytnik = new cCzytnik();
$smarty->template_dir = '_skins/first';
$smarty->compile_dir = '_var/tmp_c';
$smarty->cache_dir = '_var/cache';
$smarty->config_dir = '_configs';
$smarty->caching = 0;
$smarty->compile_check = true;
//sprawdza czy plik szablonu lub konfiguracja uleg�y zmienie
$smarty->cache_lifetime = 3600;
//czas �ycia pliku w cache 1 godzina
$sesja->start();
$opcja = $_GET[opcja];
$rodzaj = $_GET[rodzaj];
$sortuj = '';
if ($_GET[sortuj]) {
    $sortuj = $_GET[sortuj];
Example #2
0
error_reporting(1);
header('Content-type: text/html; charset=utf-8');
include "_plugins/smarty/Smarty.class.php";
include "_configs/config.php";
function __autoload($class_name)
{
    require_once '_classes/' . $class_name . '.php';
}
$smarty = new Smarty();
$sesja = new cSession();
$grupa = new cGroup();
$user = new cUser();
$finger = new cFinger();
$log = new cLog();
$czytnik = new cCzytnik();
$smarty->template_dir = '_skins/first';
$smarty->compile_dir = '_var/tmp_c';
$smarty->cache_dir = '_var/cache';
$smarty->config_dir = '_configs';
$smarty->caching = 0;
$smarty->compile_check = true;
//sprawdza czy plik szablonu lub konfiguracja uleg�y zmienie
$smarty->cache_lifetime = 3600;
//czas �ycia pliku w cache 1 godzina
$sesja->start();
$opcja = $_GET['opcja'];
$rodzaj = $_GET['rodzaj'];
$sortuj = '';
if ($_GET[sortuj]) {
    $sortuj = $_GET[sortuj];