ÿØÿà JFIF ` ` ÿþ
|
Server : Apache/2 System : Linux srv244.medyabim.com 4.18.0-553.89.1.el8_10.x86_64 #1 SMP Mon Dec 8 03:53:08 EST 2025 x86_64 User : lionbursa ( 1773) PHP Version : 5.6.40 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname Directory : /home/lionbursa/public_html/ |
Upload File : |
<?php
## Hataları Gizle ##
error_reporting(1);
## Bağlantı Değişkenleri ##
$hostname = "localhost";
$username = "lionbursa_262";
$password = "jGhXh2aV";
$database = "lionbursa_262";
## Mysql Bağlantısı ##
try {
$options = array(PDO::ATTR_PERSISTENT => TRUE, PDO::ATTR_EMULATE_PREPARES => FALSE);
$db = new PDO("mysql:host=" . $hostname . ";dbname=" . $database . ";charset=utf8", $username, $password, $options);
} catch (PDOException $e) {
print $e->getMessage();
}
$db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
function guvenlik($q) {
$q = htmlentities(trim($q));
$q = str_replace("script", "blocked", $q);
$q = str_replace("`", "", $q);
$q = str_replace("'", "'", $q);
$q = str_replace("-", "-", $q);
$q = str_replace("&", "", $q);
$q = str_replace("%", "", $q);
$q = str_replace("<", "", $q);
$q = str_replace(">", "", $q);
$q = trim($q);
return $q;
}
function seo($deger) {
$deger = strtolower($deger);
$turkce = array('ç','Ç','ı','İ','ğ','Ğ','ü','ö','Ş','ş','Ö','Ü',',',' ','(',')','[',']');
$duzgun = array('c','C','i','I','g','G','u','o','S','s','O','U','','-','','','','');
$deger = str_replace($turkce, $duzgun, $deger);
$deger = preg_replace("@[^A-Za-z0-9\-_]+@i", "", $deger);
return $deger;
}
$sql = $db->query("SELECT * FROM ayarlar");
$a = $sql->fetch(PDO::FETCH_ASSOC);
$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"];
$slogan = $a["slogan"];
$favicon = $a["favicon"];
$description = $a["description"];
$keywords = $a["keywords"];
$tema = $a["tema"];
$stil = $a["stil"];
$arkaplan = $a["arkaplan"];
$hici = $a["hici"];
$ctesi = $a["ctesi"];
$pazar = $a["pazar"];
$analytics = html_entity_decode($a["analytics"]);
$googledogrula = html_entity_decode($a["googledogrula"]);
$sitekey = html_entity_decode($a["sitekey"]);
$secretkey = html_entity_decode($a["secretkey"]);
?>