get_page($act); $site_config=$site->get_site_config(); if ($page['id_gr']>0) { $page_up=$site->get_page('', $page['id_gr']); $submenu['down']=$site->get_menu(1,'and id_gr='.$page['id_gr']); } else { $page_up=$page; $submenu['down']=$site->get_menu(1,'and id_gr='.$page['id_page']); } if (file_exists($page_up['url'].'.swf')) { $baner=$page_up['url'].".swf"; } else { $baner='pamiec.swf'; } if (!empty($page['id_page'])) { if ($zmienne[2]<=0) $site->set_count($page['id_page']); $include_file=DIR_INCLUDE.'page.php'; if ($page['id_modul']) { $modul=$site->get_module($page['id_modul']); if ($modul['file']) $include_file=DIR_MODULES.$modul['dir'].$modul['file']; } } include('site.php'); ?>