","",$q); $q = trim($q); return $q; } function seo($deger) { $deger = strtolower($deger); $turkce=array("s","S","i","(",")","'","ü","Ü","ö","Ö","ç","Ç"," ","/","*","?","s","S","i","g","G","I","ö","Ö","Ç","ç","ü","Ü"); $duzgun=array("s","S","i","","","","u","U","o","O","c","C","-","-","-","","s","S","i","g","G","I","o","O","C","c","u","U"); $deger=str_replace($turkce,$duzgun,$deger); $deger = preg_replace("@[^A-Za-z0-9\-_]+@i","",$deger); return $deger; } $sql = mysql_query("SELECT * FROM ayarlar"); $a = mysql_fetch_array($sql); $mailport = "587"; $mailserver = $a[mailserver]; $mailkullaniciadi = $a[mailadres]; $mailparola = $a[mailparola]; $mailbaslik = $a[mailbasligi]; $siteadi = $a[siteurl]; $firmaunvani = $a[firmaunvani]; $telefon = $a[telefon]; $fax = $a[fax]; $adres = $a[adres]; $eposta = $a[eposta]; $panel_kullanici_adi = $a[panelkullaniciadi]; $panel_parola = $a[panelparola]; $title = $a[title]; $description = $a[description]; $keywords = $a[keywords]; $ftpadres = $a[ftpadres]; $ftpkullanici = $a[ftpkullanici]; $ftpparola = $a[ftpparola]; ?>