$filename = './admin/install.php';
if (file_exists($filename)) {
header("Location: ./admin/install.php");
exit;
die;
}
//************************************************************************************//
include("aplikacja.php");
//include("./class/class.strona.php");
include("./frame/top.php");
include("./frame/top_log.php");
include("./frame/top_search.php");
include("./frame/top_menu.php");
include("./frame/body_start.php");
$obj = new Strona();
$obj->setId('1');
$row = $obj->getStrona();
$smarty = new Smarty();
$smarty->assign("tytul", $row[0]['nazwa']);
$smarty->assign("opis", $row[0]['opis']);
$smarty->display('index.tpl');
include("./frame/body_end.php");
include("./frame/foot.php");
?>