|
|
<?php |
|
|
include 'include/menu.php'; |
|
|
$blogsor=$db->prepare("SELECT * from blog where blog_id=:blog_id"); |
|
|
$blogsor->execute(array( |
|
|
'blog_id' => $_GET['blog_id'] |
|
|
)); |
|
|
$blogcek=$blogsor->fetch(PDO::FETCH_ASSOC); |
|
|
?> |
|
|
<title><?php echo $blogcek['blog_title'] ?></title> |
|
|
<meta name="description" content="<?php echo $blogcek['blog_descr'] ?>"> |
|
|
<meta name="keywords" content="<?php echo $blogcek['blog_keyword'] ?>"> |
|
|
</head> |
|
|
|
|
|
<!-- Page title --> |
|
|
<section class="p-t-100 p-b-50 text-light" id="page-title" data-parallax-image="admin/assets/img/genel/data.jpg"> |
|
|
<div id="particles-js" class="particles text-light"></div> |
|
|
<div class="container"> |
|
|
<div class="breadcrumb"> |
|
|
<ul> |
|
|
<li><a href="<?php echo $settingsprint['ayar_siteurl']; ?>">AnaSayfa</a> </li> |
|
|
<li><a href="blog">Haber / Duyuru / Blog</a></li> |
|
|
<li class="active"><?php echo $blogcek['blog_baslik'] ?></li> |
|
|
</ul> |
|
|
</div> |
|
|
<div class="page-title"> |
|
|
<h1><?php echo $blogcek['blog_baslik'] ?></h1> |
|
|
</div> |
|
|
</div> |
|
|
</section> |
|
|
<!-- end: Page title --> |
|
|
|
|
|
<!-- Page Content --> |
|
|
<section id="page-content"> |
|
|
<div class="container"> |
|
|
<div class="row"> |
|
|
<!-- content --> |
|
|
<div class="content col-md-9"> |
|
|
<!-- Blog --> |
|
|
<div id="blog" class="single-post"> |
|
|
<!-- Post single item--> |
|
|
<div class="post-item"> |
|
|
<div class="post-item-wrap"> |
|
|
<div class="post-image"> |
|
|
<img alt="<?php echo $blogcek['blog_baslik'] ?>" src="admin/<?php echo $blogcek['blog_resim']; ?>"> |
|
|
</div> |
|
|
<div class="post-item-description"> |
|
|
<h2><?php echo $blogcek['blog_baslik'] ?></h2> |
|
|
<div class="post-meta"> |
|
|
<span class="post-meta-date"><i class="fa fa-share-alt"></i><b>PAYLAŞ</b></span> |
|
|
<div class="post-meta-share"> |
|
|
<a class="btn btn-xs btn-slide btn-facebook" href="https://www.facebook.com/sharer/sharer.php?u=http://<? echo $_SERVER[ 'SERVER_NAME' ] . $_SERVER[ 'REQUEST_URI' ]; ?>"> |
|
|
<i class="fa fa-facebook"></i> |
|
|
<span>Facebook</span> |
|
|
</a> |
|
|
<a class="btn btn-xs btn-slide btn-twitter" href="https://twitter.com/intent/tweet?url=http://<? echo $_SERVER[ 'SERVER_NAME' ] . $_SERVER[ 'REQUEST_URI' ]; ?>" data-width="100"> |
|
|
<i class="fa fa-twitter"></i> |
|
|
<span>Twitter</span> |
|
|
</a> |
|
|
<a class="btn btn-xs btn-slide btn-linkedin" href="http://www.linkedin.com/shareArticle?mini=true&url=<? echo $_SERVER[ 'SERVER_NAME' ] . $_SERVER[ 'REQUEST_URI' ]; ?>" data-width="100"> |
|
|
<i class="fa fa-linkedin"></i> |
|
|
<span>linkedin</span> |
|
|
</a> |
|
|
<a class="btn btn-xs btn-slide btn-googleplus" href="https://plus.google.com/share?url=<? echo $_SERVER[ 'SERVER_NAME' ] . $_SERVER[ 'REQUEST_URI' ]; ?>" data-width="100"> |
|
|
<i class="fa fa-google"></i> |
|
|
<span>Google+ </span> |
|
|
</a> |
|
|
</div> |
|
|
</div> |
|
|
<p><?php echo $blogcek['blog_detay']; ?></p> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
<!-- end: Post single item--> |
|
|
<!--Portfolio Carousel --> |
|
|
<div class="hr-title hr-long center"><abbr> </abbr></div> |
|
|
<div class="hr-title hr-long center"><abbr>DİĞER <?php echo $widgetprint['widget_bblog']; ?></abbr> </div> |
|
|
<div class="carousel" data-items="3" data-items-sm="4" data-items-xs="3" data-items-xxs="2" data-margin="0" data-arrows="false" data-autoplay="true" data-autoplay-timeout="3000" data-loop="true"> |
|
|
<?php |
|
|
$blog=$db->prepare("SELECT * from blog order by blog_id Limit 5"); |
|
|
$blog->execute(); |
|
|
while($blogcek=$blog->fetch(PDO::FETCH_ASSOC)) { ?> |
|
|
<!-- Post item--> |
|
|
<div class="post-item border"> |
|
|
<div class="post-item-wrap"> |
|
|
<div class="post-image"> |
|
|
<a href="<?=seo('blog-'.$blogcek["blog_baslik"]).'-'.$blogcek["blog_id"]?>"> |
|
|
<img alt="<?php echo $blogcek['blog_baslik']; ?>" src="admin/<?php echo $blogcek['blog_resim']; ?>"> |
|
|
</a> |
|
|
</div> |
|
|
<div class="post-item-description"> |
|
|
<h4><a href="<?=seo('blog-'.$blogcek["blog_baslik"]).'-'.$blogcek["blog_id"]?>"><?php |
|
|
$karakter = strlen( $blogcek['blog_baslik'] ); |
|
|
if ( $karakter > 75 ) |
|
|
{ |
|
|
echo mb_substr( $blogcek['blog_baslik'], 0, 75, 'UTF-8' ) . '...'; |
|
|
} |
|
|
else |
|
|
{ |
|
|
echo $blogcek['blog_baslik']; |
|
|
} |
|
|
?> |
|
|
</a></h4> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<!-- end: Post item--> |
|
|
<?php } ?> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<!-- end: content --> |
|
|
<?php include'include/sidebar.php'; ?> |
|
|
</div> |
|
|
</div> |
|
|
</section> |
|
|
<!-- end: Page Content --> |
|
|
|
|
|
<?php include 'include/footer.php'; ?> |
|
|
|