5){include($arr_url);} if(strlen($text_mark_cur)>1){ $id_mark_cur=$category_id_from_url[$text_mark_cur]-100; } if($id_mark_cur == 25340){$id_mark_cur = 0;} if($id_mark_cur == 25367){$id_mark_cur = 0;} if(strlen($text_model_cur)>1){ $id_model_cur=$category_id_from_url[$text_model_cur]-((100+$id_mark_cur)*100); } if(strlen($text_obl_cur)>1){ //значит выбрана не марка а область $id_obl_cur=$category_id_from_url[$text_obl_cur]; $text_obl_cur=$category_name[$id_obl_cur]; } //echo" id_mark_cur = $id_mark_cur text_mark_cur=$text_mark_cur id_model_cur =$id_model_cur
id_obl_cur = $id_obl_curtext_obl_cur = $text_obl_cur"; //include("../functions.html"); //include("../timer.html"); //include("../right.html"); $templit_array["newbazar"]="


"; $templit_array[google_468]="

"; $templit_array[yandex]="
"; $url_cur="/autobazar/"; $pn=$_GET[pn]; $full_text_blok_full.="
"; if($id_mes_cur>0){ $full_text_blok_full.=show_bazar_mes($id_mes_cur,$id_mark_cur,$id_model_cur,$pn,$table,$templit_array,$all_marka_a,$url_cur); //echo"-------------$marka_from_baza,-----------------------$model_from_baza, -------$id_mes_cur"; $full_text_blok_full.=show_bazar_mes(0,$marka_from_baza,$model_from_baza,-1,$table,$templit_array,$all_marka_a,$url_cur); //$full_text_blok_full.=show_bazar_zag(0,$marka_from_baza,$model_from_baza,$pn,$table,$templit_array,$all_marka_a,$url_cur); } if($id_mark_cur and $id_mark_cur>0 and $id_mes_cur<1){ //echo"1"; $full_text_blok_full.=show_bazar_mes($id_mes_cur,$id_mark_cur,$id_model_cur,$pn,$table,$templit_array,$all_marka_a,$url_cur); } if($id_model_cur and $id_mark_cur<1 and $id_mes_cur<1){ //echo"2"; $full_text_blok_full.=show_bazar_mes($id_mes_cur,$id_mark_cur,$id_model_cur,$pn,$table,$templit_array,$all_marka_a,$url_cur); } if($id_model_cur<1 and $id_mark_cur<1 and $id_mes_cur<1){ //echo"3"; $full_text_blok_full.=show_bazar_mes($id_mes_cur,$id_mark_cur,$id_model_cur,$pn,$table,$templit_array,$all_marka_a,$url_cur); } function show_bazar_mes($id_mes_cur,$id_mark_cur,$id_model_cur,$pn,$table,$templit_array,$all_marka_a,$url_cur) { global $title, $marka_from_baza, $model_from_baza; global $cash_off,$id_conect,$table_category, $category_name, $category_url, $category_id_from_url, $category_level, $category_tree, $category_first, $category_shablon, $curs_usd, $curs_eur, $curs_cros, $id_mes_cur2, $id_obl_cur, $only_zag ; //ПОДГОТОВКА МАСИВОВ $new_obl_a[1]="20010"; $new_obl_a[2]="20002"; $new_obl_a[3]="20004"; $new_obl_a[4]="20005"; $new_obl_a[5]="20006"; $new_obl_a[6]="20008"; $new_obl_a[7]="20009"; $new_obl_a[8]="20011"; $new_obl_a[9]="20001"; $new_obl_a[10]="20012"; $new_obl_a[11]="20003"; $new_obl_a[12]="20013"; $new_obl_a[13]="20014"; $new_obl_a[14]="20015"; $new_obl_a[15]="20016"; $new_obl_a[16]="20017"; $new_obl_a[17]="20018"; $new_obl_a[18]="20019"; $new_obl_a[19]="20007"; $new_obl_a[20]="20020"; $new_obl_a[21]="20021"; $new_obl_a[22]="20022"; $new_obl_a[23]="20023"; $new_obl_a[24]="20024"; $new_obl_a[25]="20025"; //$querylist = "SELECT idcity, city FROM city ORDER BY city ASC ";$resultlist = MYSQL_QUERY($querylist);$numberlist = MYSQL_NUMROWS($resultlist);while($row2 = mysql_fetch_array($resultlist)) { //$all_city_a[$row2[0]]=$row2[1]; while (list ($key, $val) = @each ($new_obl_a)) { $all_city_a[$key]=$category_name[$val]; if($val==$id_obl_cur){ $id_city_cur=$key; //echo"Выберем только по городу $key"; } } //$querylist = "SELECT idmodel, idmarkal , model FROM model ORDER BY model ASC ";$resultlist = MYSQL_QUERY($querylist);$numberlist = MYSQL_NUMROWS($resultlist);while($row2 = mysql_fetch_array($resultlist)) { //$all_model_a[$row2[1]][$row2[0]]=$row2[2]; $all_sorby_a[0]="Не выбран";$all_sorby_a[1]="Продам";$all_sorby_a[2]="Куплю";$all_sorby_a[3]="Другое"; $all_sorby_a_eng[2]="Bay";$all_sorby_a_eng[1]="Sale"; $all_raz_a[0]="Не выбран";$all_raz_a[1]="Легковые автомобили";$all_raz_a[2]="Запчасти";$all_raz_a[4]="Микроавтобусы";$all_raz_a[5]="Грузовые автомобили";$all_raz_a[6]="Спецтехника";$all_raz_a[3]="Другое"; $all_sost_a[0]="Состояние автомобиля не указанно.";$all_sost_a[1]="Новый автомобиль";$all_sost_a[2]="Автомобиль как новый";$all_sost_a[3]="Состояние авто: Отличное";$all_sost_a[4]="Состояние авто: Хорошее";$all_sost_a[5]="Состояние авто: Среднее";$all_sost_a[6]="Состояние авто: Плохое";$all_sost_a[7]="Авто после небольшого ДТП";$all_sost_a[8]="Автомобиль после серьезного ДТП";$all_sost_a[9]="автомобиль восстановлению не подлежит"; $all_kpp_a[1]="Ручная КПП"; $all_kpp_a[2]="КПП Автомат"; $all_kpp_a[3]="Типтроник"; $all_kpp_a[4]="Адаптивная КПП"; $all_door_a[2]="2 двери.";$all_door_a[3]="3 двери.";$all_door_a[4]="4 двери.";$all_door_a[5]="5 дверей."; $all_top_a[0]="Не выбрано";$all_top_a[1]="Тип топлива: Бензин.";$all_top_a[2]="Тип топлива: Дизель.";$all_top_a[3]="Тип топлива: Газ.";$all_top_a[4]="Тип топлива: Газ/бензин.";$all_top_a[5]="Тип топлива: Электро.";$all_top_a[6]="Тип топлива: Гибрид.";$all_top_a[7]="Тип топлива: Биоэтанол."; $all_color_a[0]="Цвет не указан.";$all_color_a[12]="Цвет: Асфальт.";$all_color_a[1]="Цвет: Белый.";$all_color_a[2]="Цвет: Вишневый.";$all_color_a[3]="Цвет: Голубой.";$all_color_a[4]="Цвет: Желтый.";$all_color_a[5]="Цвет: Зеленый.";$all_color_a[6]="Цвет: Красный.";$all_color_a[13]="Цвет: Мокрый асфальт.";$all_color_a[7]="Цвет: Оранжевый.";$all_color_a[8]="Цвет: Серый.";$all_color_a[9]="Цвет: Синий.";$all_color_a[10]="Цвет: Фиолетовый.";$all_color_a[11]="Цвет: Черный."; $stop_words[0]="Автовыкуп"; $stop_words[1]="АВТОВЫКУП"; $stop_words[2]="АВТОВЫКУП"; $stop_words[3]="выкуп"; $stop_words[4]="avtovikup"; $stop_words[5]="vikup"; $stop_words[6]="Куплю"; $stop_words[7]="покупаю"; $stop_words[8]="выкупаю"; $stop_words[9]="выкупаем"; $stop_words[10]="скупаем"; $stop_words[11]="скупка"; $stop_words[12]="АВТОВЫКУП"; $stop_words[13]="www"; $stop_words[14]="http"; //$stop_words[15]=""; //$stop_words[16]=""; //$stop_words[17]=""; $filtr3 = " WHERE hide <>'1' "; //Выборка обьявлений if($id_mark_cur){$filtr = " and marka='$id_mark_cur' and hide <>'1' ";} if($id_mark_cur and $id_model_cur){$filtr = " and marka='$id_mark_cur' and model=$id_model_cur and hide <>'1' ";} if($id_city_cur>0){ $filtr2 = " and region='$id_city_cur' and hide <>'1' "; $filtr3 = " WHERE region='$id_city_cur and hide <>'1' ' "; } $count_for_page=20; //получение колва сообщений и подгоотвка списка страниц if($pn!=-1){ if($pn<1){$pn=1;} $start=(($pn*$count_for_page)-$count_for_page); if($id_mes_cur<1){ $queryp = "SELECT count(id) FROM {$table[10]} WHERE 1 $filtr $filtr2 "; //echo"$queryp"; $resultp = MYSQL_QUERY($queryp); $numberp = MYSQL_NUMROWS($resultp); if($numberp>0){ $count_mes_all = mysql_result($resultp,0,0); if($count_mes_all>$count_for_page){ if($count_mes_all>($count_for_page*20)){$count_mes_all=($count_for_page*20);} $pager="
Страницы: "; for ($i=1;$i<=ceil($count_mes_all /$count_for_page);$i++){ if($i!=$pn){$pager.="$i ";}else{$pager.="$i ";} } $pager.="

"; } } } //echo$pager; }else{ if($pn<1){$pn=1;} $start=(($pn*$count_for_page)-$count_for_page); } if($id_mark_cur){$query = "SELECT * FROM {$table[10]} WHERE marka=$id_mark_cur $filtr2 and hide <>'1' ORDER BY sort DESC limit $start,$count_for_page"; //$title="Автобазар продажа "; } if($id_mark_cur and $id_model_cur){$query = "SELECT * FROM {$table[10]} WHERE marka=$id_mark_cur and model=$id_model_cur $filtr2 and hide <>'1' ORDER BY sort DESC limit $start,$count_for_page ";} if($id_mark_cur<1 and $id_model_cur<1 and $id_mes_cur<1){$query = "SELECT * FROM {$table[10]} $filtr3 ORDER BY sort DESC limit $start,$count_for_page "; //$title="Автобазар "; } if($id_mes_cur>0){$query = "SELECT * FROM {$table[10]} WHERE id=$id_mes_cur limit 0,1 "; } //echo"
$query
"; $result = @MYSQL_QUERY($query);$number = @MYSQL_NUMROWS($result); while($row = @mysql_fetch_array($result)) { $text_temp2="";$text_temp.="";$price_temp="";$count++;$google_link=""; if($id_mes_cur2!=$row[0] or $id_mes_cur>1){ if($row[1]>0){$text_temp=$all_sorby_a[$row[1]];} if($row[4]>0 and $row[4]!=42 ){ $id_new_marka= $row[4]+100; $text_temp.=" {$category_name[$id_new_marka]}"; $marka_sel=$category_name[$id_new_marka]; $marka_from_baza=$row[4]; } if($row[5]>0 ){ $id_new_model=($id_new_marka *100) +$row[5]; $text_temp.=" {$category_name[$id_new_model]}"; $model_sel=$category_name[$id_new_model]; $model_from_baza=$row[5]; } if($id_mark_cur and $id_model_cur){$model_sel=$all_model_a[$row[4]][$row[5]];} if(strlen($row[6])>1){$text_temp.=" ".$row[6];} if($row[8]>0){$text_temp.=" ". str_replace(".","," , "$row[8]");} if($row[7]>0){$text_temp.=" ".$row[7];} if($row[3]>0){$text_temp.=" ".$all_city_a[$row[3]];} if($row[31]>0){$text_temp.=" Пробег: {$row[31]} км. " ; } $temp_url=$url_cur."car_".strtolower(translit(strip_tags("{$all_sorby_a_eng[$row[1]]} {$marka_sel} {$model_sel}")))."_".$row[0].".html"; $text_blok_temp =show_link ("$text_temp", $temp_url ,""); $photo_text ="{$marka_sel} {$model_sel} "; if(strlen($row[6])>1){$photo_text.=" ".$row[6];} if($row[8]>1){$photo_text.=" ".$row[8];} if($row[7]>1){$photo_text.=" ".$row[7];} if($row[17]>0){$photo_text.=", {$all_color_a[$row[17]]} " ; } $photo_text =str_replace(" ","-",$photo_text); $photo_text =str_replace("/","-",$photo_text); $photo_text =str_replace("?","",$photo_text); $photo_text =str_replace("&","",$photo_text); $photo_text =str_replace("\"","",$photo_text); $photo_text =str_replace("%","",$photo_text); $photo_text =str_replace(",","",$photo_text); $photo_text =str_replace(".","",$photo_text); $photo_text =str_replace("\`","",$photo_text); $photo_text =str_replace(":","",$photo_text); $photo_text =str_replace(";","",$photo_text); $photo_text =str_replace("Цвет","",$photo_text); $photo_text =str_replace("--","-",$photo_text); $photo_text =str_replace("--","-",$photo_text); $photo_text =str_replace("--","-",$photo_text); $big_photo_1=str_replace("s_","{$photo_text}-b_",$row[27]);$big_photo_2=str_replace("s_","{$photo_text}-b_",$row[28]);$big_photo_3=str_replace("s_","{$photo_text}-b_",$row[29]);$big_photo_4=str_replace("s_","{$photo_text}-b_",$row[30]); if($id_mes_cur){ $title.=" $text_temp "; //if($only_zag==1){$title="Продам $marka_sel $model_sel ";} $photo_temp.="
"; if($row[27]){$photo_temp.=" \"$photo_text\"";}else{$photo_temp.="";} if($row[28]){$photo_temp.=" \"$photo_text\"";}else{$photo_temp.="";} if($row[29]){$photo_temp.="

 \"$photo_text\"";}else{$photo_temp.="";} if($row[30]){$photo_temp.=" \"$photo_text\"";}else{$photo_temp.="";} $photo_temp.="
"; }else{ if($row[27]){$photo_temp="\"$photo_text\"";}else{$photo_temp="";} } //расчет цены if($row[10]>0){ $all_val_a[1]="$";$all_val_a[2]="€";$all_val_a[3]="Грв."; $price_temp=" Цена: {$row[10]} {$all_val_a[$row[11]]} "; if($row[11]==1){$price1=ceil($row[10]*$curs_usd);$price2=ceil($row[10]/$curs_cros); $price_temp.="(ориентировочно $price1 гривен или $price2 евро)";} if($row[11]==2){$price1=ceil($row[10]*$curs_eur);$price2=ceil($row[10]*$curs_cros); $price_temp.="(ориентировочно $price1 гривен или $price2 долларов) ";} if($row[11]==3){$price1=ceil($row[10]/$curs_usd);$price2=ceil($row[10]/$curs_eur); $price_temp.="(ориентировочно $price1 долларов или $price2 евро)";} } if($row[12]>0){$price_temp.=" Возможен торг.
";} if($row[13]>0){$price_temp.=" Цена договорная.
";} if($id_mes_cur){ //not show if long time //$pager=""; if($row[26] > time()-(2678400*3)){ if(strlen($row[20])>3){$price_temp.="
Тел: {$row[20]}
" ; } }else{ $price_temp.="
Внимание! Обьявлению больше 3 месяцев! Информация приведена только для определения динамики цен на данное авто
" ; } } //$temp_url=$url_cur."car_".strtolower(translit(strip_tags("{$all_sorby_a_eng[$row[1]]} {$all_marka_a[$row[4]]} {$all_model_a[$row[4]][$row[5]]}")))."_".$row[0].".html"; //$text_blok_temp =show_link ("$text_temp", $temp_url ,$templit_array["pip5_link"]); //if($row[2]>0){$text_blok_temp .=show_link ($all_raz_a[$row[2]], $row[2] ,$templit_array["big_link"]);$text_temp2.=" {$all_raz_a[$row[2]]} ";} //if($row[9]>0){$text_blok_temp .=show_link ($all_sost_a[$row[9]], $row[9] ,$templit_array["big_link"]);$text_temp2.=" {$all_sost_a[$row[9]]} ";} if($row[31]>0){$text_temp.=" Пробег {$row[31]} км. " ; } if($row[14]>0){$text_temp.=", {$all_kpp_a[$row[14]]} " ; } if($row[15]>0){$text_temp.=", {$all_door_a[$row[15]]} " ; } if($row[16]>0){$text_temp.=", {$all_top_a[$row[16]]} " ; } if($row[17]>0){$text_temp.=", {$all_color_a[$row[17]]} " ; } if($row[18]>0){$text_temp.=" Металик, " ; } $text_blok_temp .="
$text_temp $row[19] $text_temp2
$price_temp ".date("d/m/Y H:i",$row[26]).""; //if($id_mes_cur){$text_blok_temp.="
Телефон: {$row[18]} ";} $text_blok_full= str_replace ("", "$text_blok_temp", $templit_array["newbazar"]); $text_blok_full= str_replace ("", "$photo_temp", $text_blok_full); if($row[24] >$row[26]){ $text_blok_full="
$text_blok_full
"; } if($count==6){ $google_link=$templit_array[google_468]."
"; } if($count==5){ $google_link="
Рекомендуем посетить: auto.meta.ua
"."
"; } if($count==2){ //$google_link=$templit_array[begun_468]."
"; } if($count==10){ //$google_link=$templit_array[google_468]."
"; } if($count==1){ $google_link=$templit_array[yandex]."
"; } //$templit_array[google_468] //$templit_array[yandex] $full_text_blok_full.=$text_blok_full.$google_link; } } //if(){$title.=" $marka_sel $model_sel ";} $text_blok_zag=show_link_full ("Автобазар |объявления из рубрики: $marka_sel $model_sel ",$url_cur,$templit_array["shina"]); $text_blok_zag1=show_link_full ("Добавить объявление в автобазар",$url_cur."add_bazar.html",$templit_array["pip5_link"])."

"; return($text_blok_zag.$text_blok_zag1.$pager.$full_text_blok_full.$text_blok_zag1.$pager); } function show_bazar_zag($id_mes_cur,$id_mark_cur,$id_model_cur,$pn,$table,$templit_array,$all_marka_a,$url_cur) { //ПОДГОТОВКА МАСИВОВ $querylist = "SELECT idcity, city FROM city ORDER BY city ASC ";$resultlist = MYSQL_QUERY($querylist);$numberlist = MYSQL_NUMROWS($resultlist);while($row2 = mysql_fetch_array($resultlist)) {$all_city_a[$row2[0]]=$row2[1];} $querylist = "SELECT idmodel, idmarkal , model FROM model ORDER BY model ASC ";$resultlist = MYSQL_QUERY($querylist);$numberlist = MYSQL_NUMROWS($resultlist);while($row2 = mysql_fetch_array($resultlist)) {$all_model_a[$row2[1]][$row2[0]]=$row2[2];} $all_sorby_a[0]="Не выбран";$all_sorby_a[1]="Продам";$all_sorby_a[2]="Куплю";$all_sorby_a[3]="Другое"; $all_sorby_a_eng[2]="Bay";$all_sorby_a_eng[1]="Sale"; $all_raz_a[0]="Не выбран";$all_raz_a[1]="Легковые автомобили";$all_raz_a[2]="Запчасти";$all_raz_a[4]="Микроавтобусы";$all_raz_a[5]="Грузовые автомобили";$all_raz_a[6]="Спецтехника";$all_raz_a[3]="Другое"; $all_sost_a[0]="Состояние автомобиля не указанно.";$all_sost_a[1]="Новый автомобиль";$all_sost_a[2]="Автомобиль как новый";$all_sost_a[3]="Состояние авто: Отличное";$all_sost_a[4]="Состояние авто: Хорошее";$all_sost_a[5]="Состояние авто: Среднее";$all_sost_a[6]="Состояние авто: Плохое";$all_sost_a[7]="Авто после небольшого ДТП";$all_sost_a[8]="Автомобиль после серьезного ДТП";$all_sost_a[9]="автомобиль восстановлению не подлежит"; $all_kpp_a[1]="Ручная КПП"; $all_kpp_a[2]="КПП Автомат"; $all_kpp_a[3]="Типтроник"; $all_kpp_a[4]="Адаптивная КПП"; $all_door_a[2]="2 двери.";$all_door_a[3]="3 двери.";$all_door_a[4]="4 двери.";$all_door_a[5]="5 дверей."; $all_top_a[0]="Не выбрано";$all_top_a[1]="Тип топлива: Бензин.";$all_top_a[2]="Тип топлива: Дизель.";$all_top_a[3]="Тип топлива: Газ.";$all_top_a[4]="Тип топлива: Газ/бензин.";$all_top_a[5]="Тип топлива: Электро.";$all_top_a[6]="Тип топлива: Гибрид.";$all_top_a[7]="Тип топлива: Биоэтанол."; $all_color_a[0]="Цвет не указан.";$all_color_a[12]="Цвет: Асфальт.";$all_color_a[1]="Цвет: Белый.";$all_color_a[2]="Цвет: Вишневый.";$all_color_a[3]="Цвет: Голубой.";$all_color_a[4]="Цвет: Желтый.";$all_color_a[5]="Цвет: Зеленый.";$all_color_a[6]="Цвет: Красный.";$all_color_a[13]="Цвет: Мокрый асфальт.";$all_color_a[7]="Цвет: Оранжевый.";$all_color_a[8]="Цвет: Серый.";$all_color_a[9]="Цвет: Синий.";$all_color_a[10]="Цвет: Фиолетовый.";$all_color_a[11]="Цвет: Черный."; //Выборка обьявлений if($id_mark_cur){$filtr = " and marka='$id_mark_cur'";} if($id_mark_cur and $id_model_cur){$filtr = " and marka='$id_mark_cur' and model=$id_model_cur";} $count_for_page=20; if($id_mark_cur){$query = "SELECT * FROM {$table[10]} WHERE marka=$id_mark_cur ORDER BY date DESC limit 0,$count_for_page";} if($id_mark_cur and $id_model_cur){$query = "SELECT * FROM {$table[10]} WHERE marka=$id_mark_cur and model=$id_model_cur ORDER BY date DESC limit 0,$count_for_page ";} $result = MYSQL_QUERY($query);$number = MYSQL_NUMROWS($result); while($row = mysql_fetch_array($result)) { $text_temp2="";$text_temp.="";$price_temp="";$count++;$google_link=""; if($row[1]>0){$text_temp=$all_sorby_a[$row[1]];} if($row[4]>0 and $row[4]!=42 ){$text_temp.=" ".$all_marka_a[$row[4]];$marka_sel=$all_marka_a[$row[4]];$marka_from_baza=$row[4];} if($row[5]>0 ){$text_temp.=" ".$all_model_a[$row[4]][$row[5]];$model_from_baza=$row[5];} if($id_mark_cur and $id_model_cur){$model_sel=$all_model_a[$row[4]][$row[5]];} if(strlen($row[6])>1){$text_temp.=" ".$row[6];} if($row[8]>0){$text_temp.=" ". str_replace(".","," , "$row[8]");} if($row[7]>0){$text_temp.=" ".$row[7];} if($row[3]>0){$text_temp.=" ".$all_city_a[$row[3]];} If($row[27]){$photo_temp="";}else{$photo_temp="";} //расчет цены if($row[10]>0){ $all_val_a[1]="$";$all_val_a[2]="€";$all_val_a[3]="Грв."; $price_temp=" Цена: {$row[10]} {$all_val_a[$row[11]]} "; } if($row[14]>0){$text_temp.=", {$all_kpp_a[$row[14]]} " ; } if($row[15]>0){$text_temp.=", {$all_door_a[$row[15]]} " ; } if($row[16]>0){$text_temp.=", {$all_top_a[$row[16]]} " ; } if($row[17]>0){$text_temp.=", {$all_color_a[$row[17]]} " ; } if($row[18]>0){$text_temp.=" Металик, " ; } $temp_url=$url_cur."car_".strtolower(translit(strip_tags("{$all_sorby_a_eng[$row[1]]} {$all_marka_a[$row[4]]} {$all_model_a[$row[4]][$row[5]]}")))."_".$row[0].".html"; $text_blok_temp =show_link ("$text_temp ", $temp_url ,$templit_array["pip4_link"]); //$text_blok_temp .="
$text_temp $row[19] $text_temp2
$price_temp ".date("d/m/Y h:i",$row[26]).""; $text_blok_temp .=" $price_temp ".date("d/m/Y h:i",$row[26]).""; $text_blok_full= str_replace ("", "$text_blok_temp", $templit_array["newbazar"]); $text_blok_full= str_replace ("", "$photo_temp", $text_blok_full); //if($count==1){$google_link=$templit_array[google_468]."
";} if($count==3){$google_link="
Рекомендуем посетить: auto.meta.ua
"."
";} //if($count==5){$google_link=$templit_array[begun_468]."
";} if($count==5){$google_link=$templit_array[google_468]."
";} $full_text_blok_full.=$text_blok_full.$google_link; } $title.=" $marka_sel $model_sel автобазар на iCAR"; $text_blok_zag=show_link_full ("Автобазар. Еще объявления из рубрики: $marka_sel $model_sel ",$url_cur,$templit_array["shina"]); //$text_blok_zag1=show_link_full ("Добавить объявление в автобазар",$url_cur."add_bazar.html",$templit_array["pip5_link"])."

"; return($text_blok_zag.$text_blok_zag1.$pager.$full_text_blok_full.$text_blok_zag1.$pager); } //timestop("тест1"); //$start_templit =""; //$end_templit =""; //$temp_main_menu = cut_temp($temp_main_menu,$start_templit,$end_templit); $temp_main_menu = str_replace ("", $full_top_raz, $temp_main_menu); $temp_main_menu = str_replace ("", $full_top_podraz, $temp_main_menu); $temp_main_menu = str_replace ("", $full_text_blok_left, $temp_main_menu); $temp_main_menu = str_replace ("", $full_text_blok_center_1, $temp_main_menu); $temp_main_menu = str_replace ("", $full_text_blok_center, $temp_main_menu); $temp_main_menu = str_replace ("", $full_text_blok_right, $temp_main_menu); $temp_main_menu = str_replace ("", $full_text_blok_full, $temp_main_menu); $temp_main_menu = str_replace ("", $full_text_top_logo, $temp_main_menu); $temp_main_menu = str_replace ("", $full_text_alfavit, $temp_main_menu); $temp_main_menu = str_replace ("", $full_photo_big_anons, $temp_main_menu); $temp_main_menu = str_replace ("", $full_telo_tree_podraz, $temp_main_menu); $temp_main_menu = str_replace ("", $full_text_dark_blok_grey, $temp_main_menu); $temp_main_menu = str_replace ("", $full_big_photo, $temp_main_menu); $temp_main_menu = str_replace ("", $full_form_registr, $temp_main_menu); $temp_main_menu = str_replace ("", $full_form_enter, $temp_main_menu); $temp_main_menu = str_replace ("", $full_script_registr, $temp_main_menu); $temp_main_menu = str_replace ("", $full_registr_warning, $temp_main_menu); $temp_main_menu = str_replace ("", $pager_text, $temp_main_menu); $temp_main_menu = str_replace ("", $full_right_news, $temp_main_menu); $temp_main_menu = str_replace ("", $full_left_news, $temp_main_menu); $temp_main_menu = str_replace ("", $gmama_text, $temp_main_menu); //echo"
$title"; $title=remove_all($title); //$title.=keys($title1); //echo"
$des"; //$key=substr(keys($des),0,500); //$key=substr($title,0,200).$key; //$des=substr (remove_all(remove_tag($title.$des)),0,500); $abstract=$title; $sub=$title; $temp_main_menu= str_replace( "#title#", $title, $temp_main_menu ); $temp_main_menu= str_replace( "#abstract#", $abstract, $temp_main_menu ); $temp_main_menu= str_replace( "#key#", $key, $temp_main_menu); $temp_main_menu= str_replace( "#sub#", $sub.$title2, $temp_main_menu ); $temp_main_menu= str_replace( "#des#", $des.$title2, $temp_main_menu ); header ("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT +0200"); //echo"$temp_main_menu"; //timeprint(); /* Закрыть соединение */ MYSQL_CLOSE(); if($only_zag==1){ echo"$title"; exit; } echo"$full_text_blok_full"; function show_link ($text,$id,$templit_link){ if(strlen($id)<7){ $temp_array["#link#"]="ru.html?i=$id"; }else{ $temp_array["#link#"]="$id"; } $temp_array[""]="$text"; $temp_array["#alt#"]=remove_all($text); $return=strtr($templit_link,$temp_array); return($return); } function show_link_full ($text,$id,$templit_link){ $temp_array["#link#"]="$id"; $temp_array[""]="$text"; $temp_array["#alt#"]=remove_all($text); $return=strtr($templit_link,$temp_array); } return($return); function remove_all ($texts) { $texts = str_replace(" "," " , $texts ); $texts = str_replace(" "," " , $texts ); $texts = str_replace(" "," " , $texts ); $texts = str_replace(" "," " , $texts ); $texts = str_replace(" "," " , $texts ); $texts = str_replace("&" , " " , $texts ); $texts = str_replace("<" , " " , $texts ); $texts = str_replace(">" , " " , $texts ); $texts = str_replace("'" , " " , $texts ); $texts = str_replace("`" , " " , $texts ); $texts = str_replace("." , " " , $texts ); $texts = str_replace("," , " " , $texts ); $texts = str_replace("/" , " " , $texts ); $texts = str_replace("!" , " " , $texts ); $texts = str_replace("?" , " " , $texts ); $texts = str_replace(":" , " " , $texts ); $texts = str_replace("=" , " " , $texts ); $texts = str_replace("+" , " " , $texts ); $texts = str_replace("(" , " " , $texts ); $texts = str_replace(")" , " " , $texts ); $texts = str_replace("-" , " " , $texts ); $texts = str_replace(";" , " " , $texts ); $texts = str_replace("{" , " " , $texts ); $texts = str_replace("}" , " " , $texts ); $texts = str_replace(" " , " " , $texts ); return $texts; }; function r2emove_all ($texts) { $texts = str_replace(" "," " , $texts ); $texts = str_replace(" "," " , $texts ); $texts = str_replace(" "," " , $texts ); $texts = str_replace(" "," " , $texts ); $texts = str_replace(" "," " , $texts ); $texts = str_replace("""," " , $texts ); $texts = str_replace("&"," " , $texts ); $texts = str_replace("<"," " , $texts ); $texts = str_replace(">"," " , $texts ); $texts = str_replace(" "," " , $texts ); $texts = str_replace("
" , " " , $texts ); $texts = str_replace(CHR(13) , " " , $texts ); $texts = str_replace(CHR(10) , " " , $texts ); $texts = str_replace("&" , " " , $texts ); $texts = str_replace("<" , " " , $texts ); $texts = str_replace(">" , " " , $texts ); $texts = str_replace(CHR(92) , " " , $texts ); $texts = str_replace(CHR(24) , " " , $texts ); $texts = str_replace("'" , " " , $texts ); $texts = str_replace("`" , " " , $texts ); $texts = str_replace("." , " " , $texts ); $texts = str_replace("," , " " , $texts ); $texts = str_replace("/" , " " , $texts ); $texts = str_replace("!" , " " , $texts ); $texts = str_replace("?" , " " , $texts ); $texts = str_replace(":" , " " , $texts ); $texts = str_replace("=" , " " , $texts ); $texts = str_replace("+" , " " , $texts ); $texts = str_replace("(" , " " , $texts ); $texts = str_replace(")" , " " , $texts ); $texts = str_replace("-" , " " , $texts ); $texts = str_replace(";" , " " , $texts ); $texts = str_replace("{" , " " , $texts ); $texts = str_replace("}" , " " , $texts ); $texts = str_replace(CHR(34) , " " , $texts ); $texts = str_replace(CHR(171) , " " , $texts ); $texts = str_replace(CHR(187) , " " , $texts ); $texts = str_replace(CHR(145) , " " , $texts ); $texts = str_replace(CHR(146) , " " , $texts ); $texts = str_replace(CHR(147) , " " , $texts ); $texts = str_replace(CHR(148) , " " , $texts ); $texts = str_replace(CHR(132) , " " , $texts ); $texts = str_replace(CHR(39) , " " , $texts ); $texts = str_replace(CHR(96) , " " , $texts ); return $texts; }; function translit($text){ $translit=array("а"=>"a","б"=>"b","в"=>"v","г"=>"g","д"=>"d","е"=>"e","ж"=>"je","з"=>"z","и"=>"i", "й"=>"yi","к"=>"k","л"=>"l","м"=>"m","н"=>"n","о"=>"o","п"=>"p","р"=>"r","с"=>"s","т"=>"t","у"=>"u", "ф"=>"f","х"=>"x","ц"=>"ce","ч"=>"ch","ш"=>"sh","щ"=>"she","ъ"=>"","ы"=>"i","ь"=>"","э"=>"e","ю"=>"yu", "я"=>"ya","ё"=>"e","?"=>"i","ї"=>"yi","є"=>"e","А"=>"A","Б"=>"B","В"=>"V","Г"=>"G","Д"=>"D","Е"=>"E", "Ж"=>"JE","З"=>"Z","И"=>"I","Й"=>"YI","К"=>"K","Л"=>"L","М"=>"M","Н"=>"N","О"=>"O","П"=>"P","Р"=>"R", "С"=>"S","Т"=>"T","У"=>"U","Ф"=>"F","Х"=>"X","Ц"=>"CE","Ч"=>"CH","Ш"=>"SH","Щ"=>"SHE","Ъ"=>"","Ы"=>"I", "Ь"=>"","Э"=>"E","Ю"=>"YU","Я"=>"YA","Ё"=>"E","?"=>"I","Ї"=>"YI","Є"=>"E", ">"=>"_","_"=>"_"," "=>"_","*"=>"_","+"=>"_plus_","-"=>"_tire_ ","&"=>"_and_ ","<"=>"", "?"=>"","."=>"_","@"=>"_(a)_","#"=>"_","№"=>"_","("=>"_",")"=>"_","\\"=>"_", "|"=>"_","/"=>"_","~"=>"_","`"=>"_","'"=>"_","\""=>"_","!"=>"_",";"=>"_","%"=>"_", ":"=>"_","^"=>"_","*"=>"_","="=>"_","{"=>"_","}"=>"_","["=>"_","]"=>"_",","=>"_","."=>"_",">"=>"_","<"=>"_" ," "=>"_" ,"'"=>"_" ,":"=>"_" ,"-"=>"_" ,";"=>"_" ,chr(179)=>"i" ,chr(178)=>"I" ,chr(171)=>"_" ,chr(187)=>"_" ,chr(191)=>"i" ,chr(175)=>"I" ,chr(186)=>"e" ,chr(170)=>"E" ); $ret = trim(strtr($text,$translit)); return $ret; } exit; ?> 1 Авто iCAR - это: Автобазар, автофорум, автофото, продажа, покупка, отзывы, фото, видео, общение. Киев Украина">
Авто iCAR - это: Автобазар, автофорум, автофото, продажа, покупка, отзывы, фото, видео, общение. Киев Украина Виртуальный клуб автолюбителей iCAR
Разделы:
АВТОновости АВТОфото АВТОвидео АВТОспорт АВТОбазар АВТОфорум АВТОразборки АВТОинфо АВТОюмор АВТОрейтинг АВТОкаталог СТО Участники Про iCAR Лошади АВТОмагазины
АВТО поиск:
Реклама
Реклама

Запчасти
Онлайн сервис по поиску автозапчастей в Украине
Что такое классика ?
АВТОинфо 
Ні для кого не секрет, що комфорт та надійність експлуатації транспортного засобу, його період служби, багато в чому залежить від того, яке пальне використовується. Тому важливо вибирати якісний бензин або ДП, який дозволить збільшити ресурс автомобіля.

покупка подержанных авто из США Сегодня покупка подержанных авто из США становится все популярнее в нашей стране. Это действительно выгодно, если учесть ряд преимуществ

Онлайн-гипермаркет автотоваров Онлайн-гипермаркет lido.ua - только сертифицированные автотовары.
Подберут необходимое практически для любых марок и моделей автомобилей.

СТО 














АВТОразборки 









АВТОфото 
Фотозвіт про поїздку до зони АТО  від БУЛАВИ
11/11/2014 16:17
11/11/2014 16:17


Cальто на автомобиле
18/02/2013 11:08
18/02/2013 11:08


Новая Mazda6 Фотогалерея
05/02/2013 11:25
05/02/2013 11:25


Ралли Наваль 2011
04/10/2011 12:33
04/10/2011 12:33


Ралли Мариуполь 2011
18/05/2011 17:31
18/05/2011 17:31


  При использовании материалов обязательно указывать гиперссылкой на: www.iCAR.com.ua