$dinamic_content_articles = $seo->getDinamicContentArticles($page_keyw); } elseif (!$subdomain && $direct_link) { $section_direction = $direct; } else { $section_direction = $direct; $seo = new seo($subdomain); } $directions = $seo->getDirections($direct_id); $res = $seo->getSections(true, $direct_id); $sections = array(); if ($res) { foreach ($res as $row) { $sections[$row['direct_id']][] = $row; } } $cat_info = $seo->getSectionByName($_GET['cat'], false, $direct_id); if ($cat_info) { $catid = $cat_info['id']; $content_type = $content_type ? $content_type : 'dir'; } else { $catid = 0; $content_type = $content_type ? $content_type : 'direction'; } $subdomains = $seo->getSubdomains(); $rpath = '../'; $countries = $seo->getCountries(); if (empty($_GET['subdomain']) && empty($_GET['direction']) || !empty($_GET['subdomain']) && empty($_GET['direction'])) { if (empty($_GET['subdomain'])) { $seo = new seo('all'); } else { $seo = new seo($_GET['subdomain']);