📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
paketsatisscripti.demodesign.com.tr
/
app
/
backend
📝
genel.php
← Geri Dön
<?php function metatag(){ global $ayar; global $site; ?> <title><?php echo html_entity_decode($ayar["ad"]); ?> - <?php echo html_entity_decode($ayar["slogan"]); ?></title> <meta name="keywords" content="<?php echo html_entity_decode($ayar["keywords"]); ?>"> <meta name="description" content="<?php echo html_entity_decode($ayar["description"]); ?>"> <link rel="shortcut icon" href="<?php echo $site;?>upload/system/<?php echo $ayar["favicon"]; ?>"> <?php } function seometa($seo_ad,$seo_desc,$seo_index){ global $ayar; global $site; ?> <title><?php echo html_entity_decode($ayar["ad"]); ?> - <?php echo html_entity_decode($seo_ad); ?></title> <meta name="keywords" content="<?php echo html_entity_decode($ayar["keywords"]); ?>"> <meta name="description" content="<?php echo html_entity_decode($seo_desc); ?>"> <link rel="shortcut icon" href="<?php echo $site;?>upload/system/<?php echo $ayar["favicon"]; ?>"> <?php if($seo_index==0){ ?> <meta name="robots" content="noindex" /> <?php } } function headerkod(){ global $ayar; ?> <?php echo html_entity_decode($ayar["header"]); ?> <?php } function footerkod(){ global $ayar; ?> <?php echo html_entity_decode($ayar["footer"]); ?> <?php } function platformlar(){ global $baglanti; return mysqli_query($baglanti,"select * from platform where durum='1' ORDER BY id DESC"); } $iletisim= mysqli_query($baglanti,"select * from ayar_url where id='1' ORDER BY id DESC"); $iletisim=mysqli_fetch_array($iletisim); $siparis= mysqli_query($baglanti,"select * from ayar_url where id='2' ORDER BY id DESC"); $siparis=mysqli_fetch_array($siparis); $siparisbasarili= mysqli_query($baglanti,"select * from ayar_url where id='3' ORDER BY id DESC"); $siparisbasarili=mysqli_fetch_array($siparisbasarili); $siparisbasarisiz= mysqli_query($baglanti,"select * from ayar_url where id='4' ORDER BY id DESC"); $siparisbasarisiz=mysqli_fetch_array($siparisbasarisiz); $blog= mysqli_query($baglanti,"select * from ayar_url where id='5' ORDER BY id DESC"); $blog=mysqli_fetch_array($blog); $er404= mysqli_query($baglanti,"select * from ayar_url where id='6' ORDER BY id DESC"); $er404=mysqli_fetch_array($er404); $platform_url= mysqli_query($baglanti,"select * from ayar_url where id='7' ORDER BY id DESC"); $platform_url=mysqli_fetch_array($platform_url); function kategoriler($plat){ global $baglanti; $platform= mysqli_query($baglanti,"select * from platform where id='$plat' and durum='1' ORDER BY id DESC"); $platform=mysqli_fetch_array($platform); if($platform["id"]!=Null){ return mysqli_query($baglanti,"select * from kategori where platform='$plat' and durum='1' ORDER BY id DESC"); } } function platform($id){ global $baglanti; $data = mysqli_query($baglanti,"select * from platform where id='$id' and durum='1' ORDER BY id DESC"); return mysqli_fetch_array($data); } function kategori($id){ global $baglanti; $data = mysqli_query($baglanti,"select * from kategori where id='$id' and durum='1' ORDER BY id DESC"); return mysqli_fetch_array($data); } function urunler($plat){ global $baglanti; return mysqli_query($baglanti,"select * from service where kate='$plat' and durum='1' ORDER BY sira ASC"); } function urunlerliste(){ global $baglanti; return mysqli_query($baglanti,"select * from service where durum='1' ORDER BY id DESC"); } function bloglar(){ global $baglanti; return mysqli_query($baglanti,"select * from blog ORDER BY id DESC"); } function yorumlar(){ global $baglanti; return mysqli_query($baglanti,"select * from yorum ORDER BY id DESC"); } function sssler(){ global $baglanti; return mysqli_query($baglanti,"select * from sss ORDER BY id DESC"); } function bankalar(){ global $baglanti; return mysqli_query($baglanti,"select * from bank ORDER BY id DESC"); } function odemeyontemler(){ global $baglanti; return mysqli_query($baglanti,"select * from pay where durum='1' ORDER BY id DESC"); } function sayfalar($konum){ global $baglanti; if($konum=="ust"){ return mysqli_query($baglanti,"select * from sayfa where konum='0' or konum='2' ORDER BY id DESC"); } else{ return mysqli_query($baglanti,"select * from sayfa where konum='1' or konum='2' ORDER BY id DESC"); } } function cacheson(){ global $ayar; global $dosya_yolu; if($ayar["cache_durum"]=="2"){ $sayfa_verisi = ob_get_contents(); ob_end_flush(); $dosya = fopen($dosya_yolu, 'w+'); fwrite($dosya, $sayfa_verisi); fclose($dosya); } } /* $tema_ayar = @mysqli_query($baglanti,"SELECT ad,deger FROM tema"); $tema_ayar = mysqli_fetch_all($tema_ayar); $tema_ayar=array_column($tema_ayar, '1', '0');*/ $tema_ayar2 = @mysqli_query($baglanti,"SELECT ad,deger FROM tema"); while($tema_ayars = mysqli_fetch_array($tema_ayar2,MYSQLI_ASSOC)) { $tema_ayar[] = $tema_ayars; } $tema_ayar=array_column($tema_ayar, 'deger', 'ad'); function tema($page){ global $tema_ayar; return html_entity_decode($tema_ayar[$page]); }
💾 Kaydet
İptal
📝 Yeniden Adlandır
İptal
Kaydet
🔐 Dosya İzinleri (chmod)
İzin Değeri:
Hızlı Seçim:
777
755
644
600
777
= Herkes okur/yazar/çalıştırır
755
= Sahip tam, diğerleri okur/çalıştırır
644
= Sahip okur/yazar, diğerleri okur
600
= Sadece sahip okur/yazar
İptal
Uygula