doctype = $setup["web_doctype"]; $head->title = $header_title; $head->charset = $setup["web_charset"]; $head->googlebot = $setup["web_googlebot"]; $head->robots = $setup["web_robots"]; $head->author = $setup["web_author"]; $head->icon_source = $setup["web_icon_source"]; $head->icon_type = $setup["web_icon_type"]; $head->content_language = $setup[WEB_LANG."_web_content"]; $head->description = $setup[WEB_LANG."_web_description"]; $head->keywords = $setup[WEB_LANG."_web_keywords"]; $head->google_analytics_id = $setup[WEB_LANG."_google_analytics_id"]; $head->css = $setup["web_css"]; $head->js = $setup["web_js"]; $head->generate_head(); // ################################################## // CUFON // ################################################## echo js("Cufon.replace('div.header ul.menu ul li a span, div.lb div.news div.title h1 a', { fontFamily: 'Botanika', hover: true});"); echo js("Cufon.replace('div.content_text h2, div.rb div.content_text div.subtitle, div.rb div.banner_map div.align span', { fontFamily: 'Botanika'});"); echo js("Cufon.replace('div.content_text h1', { fontFamily: 'Botanika Heavy'});"); // ################################################## // select // ################################################## if((!isset($_SESSION["select-01"])) && (!isset($_GET["select-02"]))) { $_SESSION["select-01"] = true; $_SESSION["select-02"] = true; } if(($_GET["section"] == "select-01") || ($_GET["section"] == "select-02")) { // 01 if($_GET["section"] == "select-01") { if(empty($_SESSION["select-01"])) { $_SESSION["select-01"] = true; } else { $_SESSION["select-01"] = false; } } // 02 if($_GET["section"] == "select-02") { if(empty($_SESSION["select-02"])) { $_SESSION["select-02"] = true; } else { $_SESSION["select-02"] = false; } } } // ################################################## // WEB // ################################################## echo '
'; echo '
'; // ################################################## // HEADER // ################################################## echo '
'; echo '
'; // --- LOGOS --- echo '
'; echo '
'; echo '
'; echo '
'; // --- LANGS --- echo '
    '; echo '
  • '.a_href(rewrite_link("cz"), $lang["lang_cz"], $lang["lang_cz"], "", "cz").'
  • '; echo '
  • '.a_href(rewrite_link("pl"), $lang["lang_pl"], $lang["lang_pl"], "", "pl").'
  • '; echo '
'; // --- MENU --- $menu = new cc; $menu->lang = $lang; $menu->setup = $setup; $menu->array_title = $array_title; $menu->generate_menu(); echo '
'; echo '
'; echo '
'; echo '
'; echo '
'; echo '
'; echo '
'; echo '
'; echo '
'; echo '
'; echo '
'; echo '
'; echo '
'; // ################################################## // SECTIONS // ################################################## echo '
'; echo '
'; switch($_GET["section"]) { // -------------------------------------------- // default // -------------------------------------------- default: echo js("index();"); include(SOURCE_WEB_MODULES.'/default.php'); break; // -------------------------------------------- // aktualita // -------------------------------------------- case "aktualita": echo js("index();"); include(SOURCE_WEB_MODULES.'/news.php'); break; // -------------------------------------------- // partneri-projektu // -------------------------------------------- case "partneri-projektu": case "partnerzy-projektu": echo js("subpage('sitemap');"); include(SOURCE_WEB_MODULES.'/partners.php'); break; // -------------------------------------------- // aktivity-projektu // -------------------------------------------- case "aktivity-projektu": case "zadania-projektu": echo js("subpage('sitemap');"); include(SOURCE_WEB_MODULES.'/activities.php'); break; // -------------------------------------------- // stezka-casu // -------------------------------------------- case "stezka-casu": case "sciezka-czasu": echo js("subpage('activities');"); include(SOURCE_WEB_MODULES.'/catalogue.php'); break; // -------------------------------------------- // kalendar-akci // -------------------------------------------- case "kalendar-akci": case "kalendarz-wydarzen"; echo js("subpage('activities');"); include(SOURCE_WEB_MODULES.'/actions.php'); break; // -------------------------------------------- // fotogalerie // -------------------------------------------- case "fotogalerie": case "galeria-zdjec": echo js("subpage('photogalleries');"); include(SOURCE_WEB_MODULES.'/photogallery.php'); break; // -------------------------------------------- // mapa-stranek // -------------------------------------------- case "mapa-stranek": case "mapa-stron": echo js("subpage('sitemap');"); include(SOURCE_WEB_MODULES.'/sitemap.php'); break; // -------------------------------------------- // o-projektu // -------------------------------------------- case "o-projektu": case "projekt": echo js("subpage('sitemap');"); include(SOURCE_WEB_MODULES.'/project.php'); break; } echo '
'; echo '
'; // ################################################## // FOOTER // ################################################## echo ''; echo '
'; echo ''; echo ''; ?>