strSarasas; // echo '-'.count($hotNews).'-'; $news->newsaiClose (); /* karstos naujienos :: End :: */ /* karstos publikacijos :: Start :: */ $news = new newsai($db, $lentele_public, 0, 'news', 'Y', 1, 3, 0); $hotPublication = $news->strSarasas; $news->newsaiClose (); /* karstos publikacijos :: End :: */ include('./modules/gallery/class/gallery.class.php'); /* karsti galerijos darbai :: Start :: */ $gallery = new gallery ($db, 0, 0, 0, "rodomas", 3, 0); $hotGallery = $gallery->gallerySarasas; $gallery->galleryClose (); /* karsti galerijos darbai :: End :: */ require('tpl/setup.php'); $smarty = new Smarty_JAD; $smarty->clear_all_cache(); $smarty->assign('hotNews',$hotNews); $smarty->assign('hotPublication',$hotPublication); $smarty->assign('hotGallery',$hotGallery); $smarty->display('index.tpl.html'); $db->dbclose(); ?>