<?php
if($_GET["durum"]=='gonderildi'){
?>
<script>
   Swal.fire({
  position: 'top-end',
  icon: 'success',
  title: 'İşleminiz Başarıyla Kaydedildi',
  showConfirmButton: false,
  timer: 1500
})

</script>
<?php } else if($_GET["durum"]=='gonderilmedi') {?>
<script>
   Swal.fire({
  position: 'top-end',
  icon: 'error',
  title: 'Hata, işlem yapılamadı!',
  showConfirmButton: false,
  timer: 1500
})

</script>
<?php }?>

 <header class="main-header-two clearfix">
            <div class="main-header-two__top">
                <div class="main-header-two__top-social-box">
                    <div class="container">
                        <div class="main-header-two__top-social-box-inner">
                            <p class="main-header-two__top-social-text"> <i class="fa fa-eye"></i> <span><?=$title?></span></p>
                            <div class="main-header-two__top-menu-social-box">
                                <div class="main-header-two__top-menu-box">
                                    <ul class="list-unstyled main-header-two__top-menu">
                                        <li><a href="hakkimizda">Hakkimizda</a></li>
                                        <li><a href="hizmetler">Hizmetlerimiz</a></li>
                                        <li><a href="iletisim">İletisim</a></li>
                                    </ul>
                                </div>
                                <div class="main-header-two__top-social">
                                   	<a href="<?=$twitter?>" target="_blank"><i class="fab fa-twitter"></i></a>
									<a href="<?=$facebook?>" target="_blank"><i class="fab fa-facebook"></i></a>
									<a href="<?=$pinterest?>" target="_blank"><i class="fab fa-pinterest-p"></i></a>
									<a href="<?=$instagram?>" target="_blank"><i class="fab fa-instagram"></i></a>
                                    <a href="<?=$youtube?>" target="_blank"><i class="fab fa-youtube"></i></a>
                                    <a href="<?=$telegram?>" target="_blank"><i class="fab fa-telegram"></i></a>
                                    <a href="<?=$linkedin?>" target="_blank"><i class="fab fa-linkedin"></i></a>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="main-header-two__top-details">
                    <div class="container">
                        <div class="main-header-two__top-details-inner">
                            <div class="main-header-two__logo">
                              <?php if($seo==''){?>
									<a href="./"><img src="resimler/<?=$footerlogo?>" width="143" alt="<?=$title?>"></a>
									<?php } else {?>
										<a href="./"><img src="resimler/<?=$logo?>" width="143" alt="<?=$title?>"></a>
									<?php }?>
                            </div>
                            <ul class="list-unstyled main-header-two__top-details-list">
                                <li>
                                    <div class="icon">
                                        <span class="icon-email"></span>
                                    </div>
                                    <div class="text">
                                        <h5>E-Mail</h5>
                                        <p><a href="mailto:<?=$email1?>"><?=$email1?></a></p>
                                    </div>
                                </li>
                                <li>
                                    <div class="icon">
                                        <span class="icon-telephone-call"></span>
                                    </div>
                                    <div class="text">
                                        <h5>Telefon</h5>
                                        <p><a href="tel:<?=$telefon1?>"><?=$telefon1?></a></p>
                                    </div>
                                </li>
                                <li>
                                    <div class="icon">
                                        <span class="icon-pin"></span>
                                    </div>
                                    <div class="text">
                                        <h5><?=$adres1?></h5>
                                        <p><?=$adres2?></p>
                                    </div>
                                </li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
             <nav class="main-menu main-menu-two clearfix">
                <div class="main-menu-two__wrapper clearfix">
                    <div class="container">
                        <div class="main-menu-two__wrapper-inner clearfix">
                            <div class="main-menu-two__left">
                                <div class="main-menu-two__main-menu-box">
                                    <a href="#" class="mobile-nav__toggler"><i class="fa fa-bars"></i></a>
                                    <ul class="main-menu__list">
                                        <li class="dropdown current megamenu">
											<li>
												<a href="./">Anasayfa </a>
											</li>
											
												<?php  if($izinler["sayfa_durum"]==0){?>
											<li class="dropdown">
												<a href="#">Kurumsal</a>
												<ul>
                                                <?php foreach($sayfacek as $wa){?>
													<li><a href="<?=$wa["seo"]?>"><?=$wa["adi"]?></a></li>
													<?php }?>
                                                    
                                                    <?php if($izinler["ref_durum"]==0){?>
                                                    <li><a href="referanslar">Referanslar</a></li>
                                                    <?php } if($izinler["ekip_durum"]==0){?>
                                                    <li><a href="ekibimiz">Ekibimiz</a></li>
                                                    <?php } if($izinler["banka_durum"]==0){?>
                                                    <li><a href="banka-hesaplari">Banka Hesapları</a></li>
                                                    <?php } ?>
												</ul>
											</li>
                                            	<?php }  if($izinler["urun_durum"]==0){?>
                                          <li class="dropdown">
												<a href="urunler">Ürünler</a>
												<ul>
                                                <?php foreach($urunkatcek as $wa){?>
													<li><a href="<?=$wa["seo"]?>"><?=$wa["adi"]?></a></li>
													<?php }?>
												</ul>
											</li>
                                            	<?php } if($izinler["hizmet_durum"]==0){?>
										<li class="dropdown">
												<a href="hizmetler">Hizmetler</a>
												<ul>
                                                <?php foreach($hizmetcek as $wa){?>
													<li><a href="<?=$wa["seo"]?>"><?=$wa["adi"]?></a></li>
													<?php }?>
                                                    
                                                
												</ul>
											</li>
											<?php } if($izinler["proje_durum"]==0){?>
                                               <li class="dropdown">
												<a href="projeler">Projeler</a>
												<ul>
                                                <?php foreach($projekatcek as $wa){?>
													<li><a href="<?=$wa["seo"]?>"><?=$wa["adi"]?></a></li>
													<?php }?>
												</ul>
											</li>
											<?php } if($izinler["haber_durum"]==0){?>
											<li>
												<a href="blog">Blog </a>
											</li>
											<?php }?>
											<?php if($izinler["sss_durum"]==0){?>
											<li>
												<a href="sss">S.S.S </a>
											</li>
											<?php }?>
                                              <li class="dropdown">
												<a href="#">Medya</a>
												<ul>
                                              <?php if($izinler["galeri_durum"]==0){?>
													<li><a href="galeri">Galeri</a></li>
													      <?php } if($izinler["video_durum"]==0){?>
                                                    <li><a href="video">Video</a></li>
                                                    <?php }?>

												
												</ul>
											</li>
											
											<?php if($izinler["iletisim_durum"]==0){?>
											<li>
												<a href="iletisim">İletişim</a>
											</li>
											<?php }?>
                                            &nbsp;&nbsp;&nbsp;
										</ul>
                                </div>
                            </div>
                            <div class="main-menu-two__right">
                                <div class="main-menu-two__search-box-get-quote">
                                  
                                    <div class="main-menu-two__get-quote">
                                        <a href="iletisim" class="thm-btn main-menu-two__get-quote-btn">İletişim'e Geç!</a>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </nav>
        </header>

		<div class="stricky-header stricked-menu main-menu">
			<div class="sticky-header__content"></div>
		</div>