', ''); $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-z0-9\-<>]/', '/[\-]+/', '/<[^>]*>/'); $repl = array('', '-', ''); $url = preg_replace ($find, $repl, $url); $url = str_replace ('--', '-', $url); return $url; } $tbg="select * from genel"; $tcg=mysql_db_query($database,$tbg,$a); $tdg=mysql_fetch_array($tcg); if($icerik) { $icrk="$icerik, "; $icrb="$icerik | "; } if($sayfa<>'orta') { if($no) { $sb="select * from seo where tur='$tur' and kategori='$kategori' and uno='$no' order by no"; $sc=mysql_db_query($database,$sb,$a); $sd=mysql_fetch_array($sc); } if($sd[no]) { if($sd[ozet]) { $seokey="$sd[ozet]"; } if($sd[baslik]) { $seobaslik=" $sd[baslik]"; } if($sd[description]) { $seodescription=" $sd[description]"; } } else { $seobaslik=$tdg[site_adi]; $seokey=$tdg[anahtar_kelimeler]; $seodescription=$tdg[site_aciklamasi]; } } else { $seobaslik=$tdg[site_adi]; $seokey=$tdg[anahtar_kelimeler]; $seodescription=$tdg[site_aciklamasi]; } ?>