<?php include("header.php");?>
<?php $id= $_GET["id"];
mysql_real_escape_string($id);?>
<?php $etkinlik=mysql_fetch_object(mysql_query( "SELECT * FROM dataa WHERE durum = '1' and seo = '$id'"));?>
<title><?php echo $etkinlik->adi;?> | <?php echo $drweb->site_title; ?></title> 
<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><?php echo $etkinlik->adi;?></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-blog-box-layout1">
                    <div class="item-details">
                        <h2 class="item-title"><?php echo $etkinlik->adi;?></h2>
                        <?php echo $etkinlik->aciklama;?>
                    </div>
                </div>
            </div>
            <div class="col-lg-4 sidebar-break-md sidebar-widget-area">
                <div class="widget widget-category">
                    <div class="heading-layout4">
                        <h4>KURUMSAL SAYFALAR</h4>
                    </div>
                    <div class="category-list">               <?php
$fatal = mysql_query("select * from dataa where durum='1' ORDER BY id ASC");
while($cekele=mysql_fetch_array($fatal)){?>
                        <ul>
                                                              <li><a href="kurumsal-<?php echo $cekele['seo']; ?>"><?php echo $cekele['adi']; ?></a></li>
                                            
											     <?php } ?>
											
											
                                                    </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>

  <?php include("footer.php");?>