<?php include("header.php");?>
<?php $id= $_GET["id"];
mysql_real_escape_string($id);?>
<?php $etkinlik=mysql_fetch_object(mysql_query( "SELECT * FROM dataf WHERE durum = '1' and seo = '$id'"));?>
<?php $hit_artis = Sorgu("UPDATE dataf SET hit=hit+1 WHERE seo = '$id' ");?> 
<title><?php echo $etkinlik->adi;?> | <?php echo $drweb->site_title; ?></title>
        <!-- Header Area End Here -->
<section class="inner-page-banner bg-common" data-bg-image="trex/assets/img/genel/30770.jpg">
    <div class="container">
        <div class="row">
            <div class="col-12">
                <div class="breadcrumbs-area">
                    <h1>BLOG / DUYURU</h1>
                    <ul>
                        <li>
                            <a href="anasayfa">Anasayfa</a>
                        </li>
                        <li><?php echo $etkinlik->adi;?></li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
</section>
<section class="section-padding-12">
    <div class="container">
        <div class="row">
         <div class="col-lg-8">
            <div class="single-project-box-layout1">
                <div class="single-project-slider">
                  
				     <div class="main-img">
                        <img src="resimler/dataf/<?php echo $etkinlik->resim;?>" alt="<?php echo $etkinlik->adi;?>">
                    </div>
				  
				  
            </div>
            <div class="single-project-info">
                <div class="item-content">
                    <h3 class="item-title"><?php echo $etkinlik->adi;?></h3>
                   <?php echo $etkinlik->aciklama;?>
                </div>
            </div>
        </div>
    </div>
    <div class="col-lg-4 sidebar-break-md sidebar-widget-area">
        <div class="widget widget-category">
            <div class="heading-layout4">
                <h4>KATEGORİLER</h4>
            </div>
            <div class="category-list">
                <ul>
                                       
									    <?php
$fatal = mysql_query("select * from dataf where durum='1' ORDER BY hit DESC limit 9");
while($cekele=mysql_fetch_array($fatal)){?>
									   
									   <li><a href="oku-<?php echo $cekele['seo']; ?>"><i class="flaticon-right-arrow"></i><?php echo $cekele['adi']; ?></a>
									   </li>
									   
									 <?php } ?>     
                                    
									
									
									
									
                
                <li><a href="blog.html"><i class="flaticon-right-arrow"></i>Tüm Kategoriler</a></li>
            </ul>
        </div>
    </div>

</div>
</div>
</div>
</section>
<?php include("footer.php");?>