', ''); $url = str_replace ($find, '', $url); $url = preg_replace('/<(\/{0,1})img(.*?)(\/{0,1})\>/', 'image', $url); $find = array(' ', '"', '&', '&', '\r\n', '\n', '/', '\\', '+', '<', '>'); $url = str_replace ($find, '-', $url); $find = array('é', 'è', 'ë', 'ê', 'É', 'È', 'Ë', 'Ê','ə' ,'Ə'); $url = str_replace ($find, 'e', $url); $find = array('í', 'ý', 'ì', 'î', 'ï', 'I', 'Ý', 'Í', 'Ì', 'Î', 'Ï','İ','ı'); $url = str_replace ($find, 'i', $url); $find = array('ó', 'ö', 'Ö', 'ò', 'ô', 'Ó', 'Ò', 'Ô'); $url = str_replace ($find, 'o', $url); $find = array('á', 'ä', 'â', 'à', 'â', 'Ä', 'Â', 'Á', 'À', 'Â'); $url = str_replace ($find, 'a', $url); $find = array('ú', 'ü', 'Ü', 'ù', 'û', 'Ú', 'Ù', 'Û'); $url = str_replace ($find, 'u', $url); $find = array('ç', 'Ç'); $url = str_replace ($find, 'c', $url); $find = array('þ', 'Þ', 'Ş', 'ş'); $url = str_replace ($find, 's', $url); $find = array('ð', 'Ð', 'Ğ', 'ğ'); $url = str_replace ($find, 'g', $url); $find = array('/[^A-Za-z0-9\-<>]/', '/[\-]+/', '/<[^>]*>/'); $repl = array('', '-', ''); $url = preg_replace ($find, $repl, $url); $url = str_replace ('--', '-', $url); $url = strtolower($url); return $url; } header("Content-type: text/xml\n\n"); echo " ".$rowtt['title']." ".$rowtt['site_url']." ".$rowtt['site_adi']." ".$rowtt['footer']." tr ".gmdate(DATE_RFC822)." tr © 2010 TTyazilim.com | firmarehberiscripti.com. ".$rowtt['logo']." ".$rowtt['title']." 190 98 ".$rowtt['title']." ".$rowtt['site_url']." "; $cek=mysql_query("SELECT firma.adi, firma.yetkili, firma.bastarih, firma.id, firma.adres, firma.logo,firma.detay,firma.tel,firma.email,firma.etiket from firma inner join sehir on sehir.id=firma.sehir inner join ilce on ilce.ilceid=firma.ilce where firma.onay=1 and uyeliktur>0 order by firma.bastarih desc"); while ( $veri = mysql_fetch_array($cek) ) { $id=$veri['id']; $baslik=$veri['adi']; $zaman=$veri['bastarih']; $adres=$veri['adres']; ?> <![CDATA[]]> Thu, 01 Jan 70 00:00:00 +0000 firmalar/_.html

]]>
"; ?>