
    <div class="loader">
      <div class="page-lines">
        <div class="container">
          <div class="col-line col-xs-4">
            <div class="line"></div>
          </div>
          <div class="col-line col-xs-4">
            <div class="line"></div>
          </div>
          <div class="col-line col-xs-4">
            <div class="line"></div>
            <div class="line"></div>
          </div>
        </div>
      </div>
      <div class="loader-brand"> 
        <div class="sk-folding-cube">
          <div class="sk-cube1 sk-cube"></div>
          <div class="sk-cube2 sk-cube"></div>
          <div class="sk-cube4 sk-cube"></div>
          <div class="sk-cube3 sk-cube"></div>
        </div>
      </div>
    </div>
<? if ($is_index==1){?>
	<header id="top" class="header-home">
		<div class="brand-panel">
			<a href="#top" class="brand js-target-scroll">
			  <img src="img/logo.png" width="250" />
			</a>
			<div class="brand-name">Beyza Aksöz</div>
			<div class="slide-number">
			  <span class="current-number text-primary">0<span class="count">1</span></span>
			  <sup><span class="delimiter">/</span> 0<span class="total-count"></span></sup>
			</div>
		</div>
      
      
      <div class="vertical-panel"></div>
      <div class="vertical-panel-content">
        <div class="vertical-panel-info">
            <div class="vertical-panel-title">Bizi Takip Edin!</div>
            <div class="line"></div>
         </div>
        <ul class="social-list">
          <li><a href="" class="fa fa-instagram"></a></li>
          <li><a href="" class="fa fa-twitter"></a></li>
          <li><a href="" class="fa fa-behance"></a></li>
          <li><a href="" class="fa fa-facebook"></a></li>
         </ul>  
      </div>
	

<? }else{?>
	<header id="top" class="header-inner">
      <div class="brand-panel">
        <a href="#top" class="brand js-target-scroll">
		  <img src="img/logo.png" width="250" />
		</a>
        <div class="brand-name">Beyza Aksöz</div>
      </div>
      
      <div class="vertical-panel-content">
        <div class="vertical-panel-info">
            <div class="line"></div>
         </div>
        <ul class="social-list">
          <li><a href="" class="fa fa-instagram"></a></li>
          <li><a href="" class="fa fa-twitter"></a></li>
          <li><a href="" class="fa fa-behance"></a></li>
          <li><a href="" class="fa fa-facebook"></a></li>
         </ul>  
      </div>
     
<? }?>
      <!-- Navigation Desctop -->

      <nav class="navbar-desctop visible-md visible-lg">
        <div class="container">
          <a href="index.html#top" class="brand js-target-scroll">
            <img src="img/logo.png" width="120" />
          </a>
          <ul class="navbar-desctop-menu">
            <li>
              <a href="index.html">ANASAYFA</a>
            </li>
            <? $q1=mysql_query("Select * from pages where parent='0' and parents='0' order by priority asc")?>
			<? while ($d1=mysql_fetch_assoc($q1)){?>
			<? $l1=mysql_fetch_assoc(mysql_query("Select * from l_pages where page='".$d1['id']."' and language='".$language."'"))?>
			<li>

				<? if ($l1['url_rewrite']!=''){?>
				<a href="<?=stripslashes($l1['url_rewrite'])?>" title="<?=stripslashes($l1['title'])?>">
					<?=stripslashes($l1['title'])?>
				</a>
				<? }else{?>
				<a href="<?=stripslashes($l1['link'])?>" title="<?=stripslashes($l1['title'])?>">
					<?=stripslashes($l1['title'])?>
				</a>
				<? }?>
				<? $q2=mysql_query("Select * from pages where parent='".$d1['id']."' order by priority asc")?>
				<? if (mysql_num_rows($q2)>0){?>
				<ul>
					<? while ($d2=mysql_fetch_assoc($q2)){?>
					<? $l2=mysql_fetch_assoc(mysql_query("Select * from l_pages where page='".$d2['id']."' and language='".$language."'"))?>

					<? if ($l2['url_rewrite']!=''){?>
					<a href="<?=stripslashes($l2['url_rewrite'])?>" title="<?=stripslashes($l2['title'])?>">
						<?=stripslashes($l2['title'])?>
					</a>
					<? }else{?>
					<a href="<?=stripslashes($l2['link'])?>" title="<?=stripslashes($l2['title'])?>">
						<?=stripslashes($l2['title'])?>
					</a>
					<? }?>
					<? }?>
				</ul>
				<? }?>
			</li>
			<? }?>
            <li>
              <a href="projelerimiz.html">PROJELERİMİZ</a>
            </li>  
            <li>
              <a href="javascript:void(0)">BLOG</a>
              
            </li>
            <li>
              <a href="iletisim.html">İLETİŞİM</a>
            </li>
          </ul>
        </div>
      </nav>

      <!-- Navigation Mobile -->

      <nav class="navbar-mobile">
        <a href="#top" class="brand js-target-scroll">
          <img src="img/logo.png" width="120" />
        </a>

        <!-- Navbar Collapse -->

        <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-mobile">
          <span class="sr-only">Toggle navigation</span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </button>

        <div class="collapse navbar-collapse" id="navbar-mobile"> 
          <ul class="navbar-nav-mobile">
            <li>
              <a href="index.html">ANASAYFA</a>
            </li>
            <? $q1=mysql_query("Select * from pages where parent='0' and parents='0' order by priority asc")?>
			<? while ($d1=mysql_fetch_assoc($q1)){?>
			<? $l1=mysql_fetch_assoc(mysql_query("Select * from l_pages where page='".$d1['id']."' and language='".$language."'"))?>
			<li>

				<? if ($l1['url_rewrite']!=''){?>
				<a href="<?=stripslashes($l1['url_rewrite'])?>" title="<?=stripslashes($l1['title'])?>">
					<?=stripslashes($l1['title'])?>
				</a>
				<? }else{?>
				<a href="<?=stripslashes($l1['link'])?>" title="<?=stripslashes($l1['title'])?>">
					<?=stripslashes($l1['title'])?>
				</a>
				<? }?>
				<? $q2=mysql_query("Select * from pages where parent='".$d1['id']."' order by priority asc")?>
				<? if (mysql_num_rows($q2)>0){?>
				<ul>
					<? while ($d2=mysql_fetch_assoc($q2)){?>
					<? $l2=mysql_fetch_assoc(mysql_query("Select * from l_pages where page='".$d2['id']."' and language='".$language."'"))?>

					<? if ($l2['url_rewrite']!=''){?>
					<a href="<?=stripslashes($l2['url_rewrite'])?>" title="<?=stripslashes($l2['title'])?>">
						<?=stripslashes($l2['title'])?>
					</a>
					<? }else{?>
					<a href="<?=stripslashes($l2['link'])?>" title="<?=stripslashes($l2['title'])?>">
						<?=stripslashes($l2['title'])?>
					</a>
					<? }?>
					<? }?>
				</ul>
				<? }?>
			</li>
			<? }?>
            <li>
              <a href="projelerimiz.html">PROJELERİMİZ</a>
            </li>  
            <li>
              <a href="blog.html">BLOG</a>
              
            </li>
            <li>
              <a href="iletisim.html">İLETİŞİM</a>
            </li>
          </ul>
        </div>
      </nav> 
    </header>