"", "".chr(158) => "", "ı" => "", "İ" => "", "ç" => "", "Ç" => "", "ü" => "", "Ü" => "", "ö" => "", "Ö" => "", "".chr(158) => "", "ş" => "", "ß" => "", "ä" => "", "".chr(132) => "" ); $out = strtr($str, $trans); // $out = $str; $badwordchars=array( "\xe2\x80\x98","\xe2\x80\x99","\xe2\x80\x9a", "\xe2\x80\x9b","\xe2\x80\xb2","\xe2\x80\xb5", "\xe2\x80\x9c","\xe2\x80\x9d","\xe2\x80\x9e", "\xe2\x80\x9f","\xe2\x80\xb3","\xe2\x80\xb6", "\xe2\x80\xa6","\xe2\x82\xac","\xe2\x86\x92", "\xe2\x86\x90","\xe2\x86\x91","\xe2\x86\x93", "\xe2\x80\x94" ); $fixedwordchars=array( "","","", "?","?","?", "","","", "?","?","?", "","","?", "?","?","?", "—" ); $out=str_replace($badwordchars,$fixedwordchars,$out); return $out; } $domainadi = 'http://'.$_SERVER['HTTP_HOST']; header("Content-type: text/xml\n\n"); echo " $il_adi Escort $il_adi nin Escort arama $domainadi/ tr "; $limit = 10; @$page = $_GET['page']; $datas = $db->get_results("select url,ad,aciklama FROM escort order by id DESC"); foreach ( $datas as $data ) { //$name = strip_tags(iconv($data->name, "UTF-8", "ISO-8859-9")); //$description = strip_tags(iconv($data->description, "UTF-8", "ISO-8859-9")); $ad = strip_tags($data->ad); $description = strip_tags($data->aciklama); $ad = trtrans($ad); $description = trtrans($description); $link = $domainadi.'/'.$data->url.'.html'; echo " ".$ad." "; } echo " "; ?>