Карта сайта
|
|
} elseif (strstr($PHP_SELF, '/dostavka')) { $content_title = DELIVERY_TITLE_COMMON; $content_desc = DELIVERY_DESC_COMMON; $content_key = DELIVERY_KEY_COMMON; if($_GET['zone']){ $content_meta_query = vamDBquery("select cm.content_heading, cm.content_meta_title, cm.content_meta_description, cm.content_meta_keywords from " . TABLE_CONTENT_MANAGER . " cm where cm.content_title = '" . strtolower($_GET['zone']) . "' and cm.languages_id = '" . (int)$_SESSION['languages_id'] . "'"); if (vam_db_num_rows($content_meta_query, true) > 0) { $content_meta = vam_db_fetch_array($content_meta_query); if ($content_meta['content_meta_title'] != '') { $content_title = $content_meta['content_meta_title']; } if ($content_meta['content_meta_description'] != '') { $content_desc = $content_meta['content_meta_description']; } if ($content_meta['content_meta_keywords'] != '') { $content_key = $content_meta['content_meta_keywords']; } } else { $city_array = preg_split("/[\n]/", KUPIT_CITIES); foreach ($city_array as $ckey => $city) { if($city != '' && strtolower(vam_translitName($city)) == strtolower($_GET['zone'])){ $getgeozone=rtrim($city); break; } } $content_title = sprintf(DELIVERY_TITLE, $getgeozone); $content_desc = sprintf(DELIVERY_DESC, $getgeozone, $getgeozone); $content_key = sprintf(DELIVERY_KEY, $getgeozone); } } if($_GET['page'] && $_GET['page'] > 1){ $content_desc .= ' | '.sprintf(PREVNEXT_TITLE_PAGE_NO, $_GET['page']).'.'; $content_title .= ' | '.sprintf(PREVNEXT_TITLE_PAGE_NO, $_GET['page']).'.'; } ?>
Карта сайта
|
||