$arr_fie) { if($arr_fie['field_param_search'] && $arr_field[$index]['field_spisok'] && $_GET[$arr_field[$index]['field_field']][1] ) { $mark = $arr_element[$arr_field[$index]['field_spisok']][$_GET[$arr_field[$index]['field_field']][1]]; if($_GET[$arr_field[$index]['field_field']][2]) $mark .= ' '.$arr_element_two[$_GET[$arr_field[$index]['field_field']][1]][$_GET[$arr_field[$index]['field_field']][2]]; break; } } } if($mark) { $name_title .= ', '.$mark; $title .= ', '.$mark; } } if($name_region) { $name_title=$name_title.'. '.$name_region; $title=$title.'. '.$name_region; } if($id_catalog && !$arr_razdel[$arr_catalog['id_catalog']]) $con_razdel=1; if($_GET['map']) { $tab_mapp='onLoad="initialize()"'; $tab_map=intval($_GET['map']); } else { $tab_mapp=''; /////**************************************** if($id_catalog) $new_url_catalog=$arr_catalog['url'].'_'.$id_catalog; else $new_url_catalog='all_0'; if($id_region) $new_url_region = $url_region.'_'.$id_region; else $new_url_region='all_0'; $tek_page = "http://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI']; $tek_page = str_replace("http://www.", "http://", $tek_page); if($id_catalog || $id_region) $new_version = str_replace($abs_base_file."catalog/".$new_url_catalog."/".$new_url_region."/", $abs_base."catalog/".intval($id_catalog)."/".intval($id_region)."/", $tek_page); else $new_version = str_replace($abs_base_file."catalog/", $abs_base."catalog/", $tek_page); /////************************************* } ?>