<? $page_data_l=mysql_fetch_assoc(mysql_query("Select * from l_projects where link='".addslashes($_GET['link'])."'"))?>
<?
	$_SESSION['language']=$page_data_l['language'];
	$language=$page_data_l['language'];
?>
<? $page_data=mysql_fetch_assoc(mysql_query("Select * from projects where id='".addslashes($page_data_l['project'])."'"))?>
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta  charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<? $settings=mysql_fetch_assoc(mysql_query("Select * from settings where id=1"))?>
	<base href="<?=stripslashes($settings['base'])?>" /> 
	<title><?=stripslashes($page_data_l['meta_title'])?></title>
	<meta name="keywords" content="<?=stripslashes($page_data_l['meta_keywords'])?>"/>
	<meta name="description" content="<?=stripslashes($page_data_l['meta_description'])?>"/>

<!-- Favicons -->
<link rel="shortcut icon" href="favicon.png">
<link rel="apple-touch-icon" href="apple-touch-icon.png">
<link rel="apple-touch-icon" sizes="72x72" href="apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="114x114" href="apple-touch-icon-114x114.png">

<!-- Styles -->
<link href="https://fonts.googleapis.com/css?family=Oswald:300,400,700" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,700" rel="stylesheet">
<link href="css/style.css" rel="stylesheet" media="screen">
</head>
<body>
  
    <? include 'inc_header.php'?>

  <!-- Layout -->

  <div class="layout">
    
    <!-- Home -->
    
    <main class="main main-inner main-project" style="background-image:url('<?=$page_data['cover_image']?>');" data-stellar-background-ratio="0.6">
      <div class="container">
        <header class="main-header">
          <h1><?=stripslashes($page_data_l['title'])?></h1>
          <div class="project-title-info">
            <div class="project-info-item"><span class="text-primary">Lokasyon</span>: <?=stripslashes($page_data_l['location'])?></div>
            <div class="project-info-item"><span class="text-primary">Yıl:</span> <?=$page_data['project_date']?></div>
          </div>
        </header>
      </div>

      <!-- Lines -->

      <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>
    </main>

    <div class="content">   
      
      <section class="project-details">
        <div class="container">
          <div class="project-details-item">
            <div class="row">
              <div class="project-details-info wow fadeInLeft">
                <h3 class="project-details-title">
                  <?=stripslashes($page_data_l['short_content'])?>
                </h3>
                <?=stripslashes($page_data_l['content'])?>
              </div>
              <div class="project-details-img col-md-8 col-md-offset-4">
                <img alt="" class="img-responsive" src="photo/760/650/100/<?=stripslashes($page_data['image'])?>">
              </div>
            </div>
          </div>
			<? /*
			
          <div class="project-details-item">
            <div class="row">
              <div class="project-details-info wow fadeInRight">
                <h3 class="project-details-title">
                  Project description<br> is here #2
                </h3>
                <p class="project-details-descr">It is a good idea to think of your PC as an office. It stores files, programs, pictures. 
                This can be compared to an actual office’s files, machines and decorations. 
                The operating system is the boss. With this image in mind, think of an office you’ve visited that was slow and inefficient.</p>
              </div>
              <div class="project-details-img col-md-8">
                <img alt="" class="img-responsive" src="img/projects/2-780x668.jpg">
              </div>
            </div>
          </div>
          <div class="project-details-item">
            <div class="row">
              <div class="project-details-info wow fadeInLeft">
                <h3 class="project-details-title">
                  Project description<br> is here #3
                </h3>
                <p class="project-details-descr">It is a good idea to think of your PC as an office. It stores files, programs, pictures. 
                This can be compared to an actual office’s files, machines and decorations. 
                The operating system is the boss. With this image in mind, think of an office you’ve visited that was slow and inefficient.</p>
              </div>
              <div class="project-details-img col-md-8 col-md-offset-4">
                <img alt="" class="img-responsive" src="img/projects/3-780x668.jpg">
              </div>
            </div>
          </div>
		  */?>
        </div>
      </section>
      <!-- Footer -->

      <? include 'inc_footer.php'?>

      <!-- Lines -->

      
    </div>
  </div>

<!-- SCRIPTS -->

<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/smoothscroll.js"></script>
<script src="js/jquery.validate.min.js"></script>
<script src="js/wow.min.js"></script>
<script src="js/jquery.stellar.min.js"></script>
<script src="js/jquery.magnific-popup.js"></script>
<script src="js/owl.carousel.min.js"></script>
<script src="js/interface.js"></script> 
</body>
</html>