include_once('config/mylib.php'); if (isset($_GET['mod'])) { $mod = $_GET['mod']; // saytin bolmeleri $navig = navig($lang); $link = links($lang); // consulting esas sehife if ($mod == 'audit' && empty($_GET['section']) && empty($_GET['page'])) { $content = 'include/audit.inc.php'; $general = general($lang); } // audit esas sehife else if ($mod == 'consulting' && empty($_GET['section']) && empty($_GET['page'])) { $page = page($lang, 'audit'); $content = 'include/consulting.inc.php'; } else if ($mod == 'audit' && isset($_GET['section']) && empty($_GET['page'])) { if ($_GET['section'] == "news") { // xeber $section = clearData($_GET['section']); $content = "include/news.inc.php"; } else if ($_GET['section'] == "map") { $section = clearData($_GET['section']); $content = "include/sitemap.inc.php"; } else if ($_GET['section'] == "currency") { $section = clearData($_GET['section']); $content = "include/currency.inc.php"; } else if ($_GET['section'] == "question") { $section = clearData($_GET['section']); $content = "include/question.inc.php"; } else if ($_GET['section'] == "link") { $section = clearData($_GET['section']); $content = "include/link.inc.php"; } else if(is_numeric($_GET['section'])){ // bolmeler $section = clearData($_GET['section'], "integer"); $content = "include/section.inc.php"; } else if($_GET['section'] == "gallery" && isset($_GET['to']) && $_GET['to'] == 'video' || $_GET['to'] == 'foto') { //galereya $section = clearData($_GET['section']); $content = "include/gallery.inc.php"; } else { $content = "include/error.inc.php"; } } // consulting diger sehifeleri else if ($mod == 'audit' && isset($_GET['section']) && isset($_GET['page'])) { $section = clearData($_GET['section'], "integer"); $page = clearData($_GET['page'], "integer"); if ($section == 8 && $page == 32) { $content = "include/contanct.inc.php"; } else { $content = "include/page.inc.php"; } } // eger hec biri deyilse //else { // header('Location: welcome.php'); //} } else { header('Location: welcome.php'); } ?>