ÿØÿà 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/domains/lionuluslararasidanismanlik.com/public_ftp/incoming/sistem/ |
Upload File : |
<?php
$id = guvenlik($_GET['id']);
$sql = $db->query("UPDATE haberler SET hit = hit+1 WHERE haberId = '$id' LIMIT 1");
$sql = $db->prepare("SELECT * FROM haberler WHERE haberId = ?");
$sql->execute(array(
$id
));
$a = $sql->fetch(PDO::FETCH_ASSOC);
$baslik = html_entity_decode($a["baslik$dil2"]);
$icerik = html_entity_decode($a["icerik$dil2"]);
$seolu = "haber-" . seo($a["baslik$dil2"]) . "-" . $a["haberId"] . ".html";
?>
<!-- Start main-content -->
<div class="main-content">
<section class="inner-header divider parallax layer-overlay overlay-dark-5" data-bg-img="style/images/ust-bg.jpg">
<div class="container pt-60 pb-60">
<!-- Section Content -->
<div class="section-content">
<div class="row">
<div class="col-sm-8 text-left flip xs-text-center">
<h2 class="title text-white"><span class="text-theme-white"> <?php echo $hdil["hhaber"]; ?></span></h2>
</div>
<div class="col-sm-4">
<ol class="breadcrumb text-right sm-text-center mt-10">
<li class="white"><a href="index.php"> <?php echo $hdil["hanasayfa"]; ?></a></li>
<li class="white"><a href="haberler-1.html"><?php echo $hdil["hhaber"]; ?></a></li>
<li class="active text-theme-colored"><a href="<?php echo $seolu; ?>"><?php echo $baslik; ?></a></li>
</ol>
</div>
</div>
</div>
</div>
</section>
<!-- Section: Blog -->
<section>
<div class="container mt-30 mb-30 pt-30 pb-30">
<div class="row">
<div class="col-md-9 pull-right flip sm-pull-none">
<div class="blog-posts single-post">
<article class="post clearfix mb-0">
<div class="entry-header">
<div class="post-thumb thumb"> <img src="upload/blog/<?php echo $a["resim"]; ?>" alt="<?php echo $a["baslik$dil2"]; ?>" class="img-responsive img-fullwidth"> </div>
</div>
<div class="entry-content">
<div class="entry-meta media no-bg no-border mt-15 pb-20">
<div class="entry-date media-left text-center flip bg-theme-colored pt-5 pr-15 pb-5 pl-15">
<ul>
<li class="font-16 text-white font-weight-600"><?php echo $a["tarih"]; ?></li>
<li class="font-12 text-white text-uppercase"><?php echo $a["ay"]; ?></li>
</ul>
</div>
<div class="media-body pl-15">
<div class="event-content pull-left flip">
<h3 class="entry-title text-white text-uppercase pt-0 mt-0"><a href="<?php echo $seolu; ?>"><?php echo $a["baslik$dil2"]; ?></a></h3>
<span class="mb-10 text-gray-darkgray mr-10 font-13"><i class="fa fa-users mr-5 text-theme-colored"></i> <?php echo $a["hit"]; ?> <?php echo $hdil["hgoruntulenme"]; ?></span>
</div>
</div>
</div>
<p><?php echo $icerik; ?></p>
</div>
</article>
</div>
</div>
<div class="col-md-3">
<div class="sidebar sidebar-left mt-sm-30">
<div class="widget">
<h5 class="widget-title line-bottom"><?php echo $hdil["hdiger"]; ?></h5>
<div class="latest-posts">
<?php
$sql = $db->query("SELECT * FROM haberler ORDER BY haberId DESC LIMIT 7", PDO::FETCH_ASSOC);
foreach ($sql as $a) {
$baslik = html_entity_decode($a["baslik$dil2"]);
$baslik = strip_tags($baslik);
$baslik = substr($baslik, 0, 45);
$tarih = $a["tarih"];
$ay = $a["ay"];
$yil = $a["yil"];
$resim = $a["resim"];
$seolu = "haber-" . seo($a["baslik$dil2"]) . "-" . $a["haberId"] . ".html";
echo '<article class="post media-post clearfix pb-0 mb-10">
<a class="post-thumb" href="'.$seolu.'"><img src="upload/blog/'.$resim.'" height="55" style="max-height:55px; max-width:75px" alt="'.$baslik.'"></a>
<div class="post-right">
<h5 class="post-title mt-0"><a href="'.$seolu.'">'.$baslik.'</a></h5>
<p>'.$tarih.'.'.$ay.'.'.$yil.'</p>
</div>
</article>
';
}
?>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
</div>
<!-- end main-content -->