📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
otoekspertizscriptiv2.demodesign.com.tr
📝
haber-detay.php
← Geri Dön
<?php define("GUVENLIK",true);?> <?php include("panel/system/ayar.php"); include("panel/system/fonksiyon.php"); ?> <?php if(empty ($_GET["yazi"])) { ?> <meta http-equiv="refresh" content="0;URL='<?php echo $ayar->base_url ?>'" /> <?php } else { $yazi = $_GET["yazi"]; $Sorguvarmi = Sorgu("SELECT * FROM haberler where seo='$yazi'"); if($var = Sonuc($Sorguvarmi)) { $id = $var->id; $resim = $var->resim; $adi = $var->adi; $description = $var->description; $aciklama = $var->aciklama; $tarihs = $var->tarih; $etiket = $var->keywords; $kategori = $var->kategori; $at = rand(0,2); $hit = $var->hit+$at; Sorgu("update haberler set hit ='$hit' where id='$id'"); }else {?> <meta http-equiv="refresh" content="0;URL='<?php echo $ayar->base_url ?>'" /> <?php } }; ?> <!doctype html> <html lang="tr"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <title><?php echo $adi ?> • <?php echo $ayar->site_title; ?></title> <meta name="description" content="<?php echo $description; ?>..."> <meta name="keywords" content="<?php echo $etiket; ?>"> <link rel="stylesheet" href="<?php echo $ayar->base_url; ?>css/font-awesome.min.css"> <link rel="stylesheet" href="<?php echo $ayar->base_url; ?>css/animate.css"> <link rel="stylesheet" href="<?php echo $ayar->base_url; ?>css/icofonts.css"> <link rel="stylesheet" href="<?php echo $ayar->base_url; ?>css/automobil_icon.css"> <link rel="stylesheet" href="<?php echo $ayar->base_url; ?>css/bootstrap.min.css"> <link rel="stylesheet" href="<?php echo $ayar->base_url; ?>css/owlcarousel.min.css"> <link rel="stylesheet" href="<?php echo $ayar->base_url; ?>css/contactme/bootstrap-datepicker.standalone.min.css"> <link rel="stylesheet" href="<?php echo $ayar->base_url; ?>css/contactme/contactme-1.6.css"> <link rel="stylesheet" href="<?php echo $ayar->base_url; ?>css/contactme/jquery.timepicker.css"> <link rel="stylesheet" href="<?php echo $ayar->base_url; ?>css/contactme/select2.min.css"> <link rel="stylesheet" href="<?php echo $ayar->base_url; ?>css/style.css"> <link rel="stylesheet" href="<?php echo $ayar->base_url; ?>css/responsive.css"> </head> <body> <?php include("header.php");?> <div class="banner-area bg-overlay" id="banner-area" style="background-image:url(<?php echo $ayar->base_url; ?>uploads/haberler/<?php echo $resim ?>);"> <div class="container"> <div class="row justify-content-center"> <div class="col"> <div class="banner-heading"> <h1 class="banner-title"><?php echo $adi ?></span></h1> <ol class="breadcrumb"> <li><a href="<?php echo $ayar->base_url; ?>">Anasayfa</a></li> <li><a href="#"><?php echo $adi ?></a></li> </ol> </div> </div> </div> </div> </div> <section id="main-container" class="main-container pb-120"> <div class="container"> <div class="row"> <div class="col-lg-8 col-md-12"> <div class="post-content post-single"> <div class="post-media post-image"> <img src="<?php echo $ayar->base_url; ?>uploads/haberler/<?php echo $resim; ?>" class="img-fluid" alt="<?php echo $adi ?>"> <div class="post-date"> <span><?php echo $tarihs; ?></span> </div> </div> <div class="post-body clearfix"> <div class="entry-header"> <div class="post-meta"> <span class="post-cat"> <i class="icon icon-folder"></i><a href="#"><?php echo $hit; ?> kez okundu.</a> </span> </div> <h2 class="entry-title"> <?php echo $adi; ?> </h2> </div> <div class="entry-content"> <p><?php echo $aciklama; ?></p> </div> </div> </div> </div> <div class="col-lg-4 col-md-12"> <div class="sidebar sidebar-right"> <div class="widget widget-search"> <div class="input-group"> <input class="form-control" placeholder="Ara" type="search"> <span class="input-group-btn"> <i class="fa fa-search"></i> </span> </div> </div> <div class="widget recent-posts"> <h3 class="widget-title">Diğer Bilgiler <span class="widget-title-dash"></span></h3> <ul class="unstyled clearfix"> <?php $Sorguneleryaptik = Sorgu("SELECT * FROM haberler order by id desc limit 5"); while($Sonucneleryaptik = Sonuc($Sorguneleryaptik)) { ?> <li class="media"> <div class="media-left media-middle"> <img class="img-fluid" alt="img" src="<?php echo $ayar->base_url; ?>uploads/haberler/<?php echo $Sonucneleryaptik->resim ?>"> </div> <div class="media-body media-middle"> <span class="post-date"> <a href="#"> <?php echo $Sonucneleryaptik->tarih ?></a> </span> <h4 class="entry-title"> <a href="news-single.html"><?php echo substr($Sonucneleryaptik->adi,0,30) ?>...</a> </h4> </div> <div class="clearfix"></div> </li> <?php } ?> </ul> </div> <div class="widget widget-tags"> <h3 class="widget-title">Etiketler <span class="widget-title-dash"></span></h3> <ul class="unstyled clearfix"> <?php $Sorgum = Sorgu("SELECT * FROM haberler WHERE seo = '$yazi' ORDER BY id ASC "); $Sonucum = Sonuc($Sorgum); $parcala = explode("," ,$Sonucum->keywords); $index = end($parcala); foreach($parcala as $etiket){?> <li><a href="#"><?php echo $etiket ?></a></li> <?php } ?></ul> </div><!-- Tags end --> </div><!-- Sidebar end --> </div><!-- Sidebar Col end --> </div><!-- Main row end --> </div><!-- Container end --> </section> <?php include("footer.php");?> </body> </html>
💾 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