<?php
include("../../../vi_connect.php");
include("../../../vi_global.php");

## Global Mysql Ayarları
$genel_getir=mysql_query("SELECT * FROM genelayarlar WHERE id='1'"); 
$getir=mysql_fetch_array($genel_getir); 
$geayar_telefon = $getir['geayar_telefon'];
$geayar_mail = $getir['geayar_mail'];
$geayar_siteadresi = $getir['geayar_siteadresi'];
$geayar_logo = $getir['resim'];

## -> Dil Fonkisyonu
$lang = g("lang");
if(empty($lang)){}else{$_SESSION['dil_secim']   = "$lang";}
if(empty($_SESSION['dil_secim'])){ $_SESSION['dil_secim'] = "tr";}
$dil_no = $_SESSION['dil_secim']; 
$dil_getir=mysql_query("SELECT * FROM diller WHERE seo_url='$dil_no'"); 
$dil_v_getir=mysql_fetch_array($dil_getir); 
$dil_durum = $dil_v_getir['id'];
$_SESSION['dil_ara_at'] = "$dil_durum";
$d_g_site_baslik = $dil_v_getir['m5'];

## -> Modül Ayarları
$modul_getir=mysql_query("SELECT * FROM moduller WHERE modul_adi='bakim'"); 
$getir=mysql_fetch_array($modul_getir); 
$modul_v1 = $getir['modul_v1'];
$modul_v2 = $getir['modul_v2'];
$modul_v3 = $getir['modul_v3'];
$modul_v4 = $getir['modul_v4'];
?>
	<!DOCTYPE html>
	<html>
	<base href="<?php echo $geayar_siteadresi;?>/vi-includes/moduller/bakim/" />
	<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
	<meta name="description" content="">
	<meta name="keywords" content="nc,ncodeart,slideshow,animation,youtube background,coming-soon,underconstruction">
	<meta name="author" content="NCodeArt">
	
	<title><?php echo $d_g_site_baslik;?></title>

	
	<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic,800,800italic' rel='stylesheet' type='text/css'>

	<link rel="stylesheet" type="text/css" href="lib/et-line-font/style.css">
	<link rel="stylesheet" type="text/css" href="lib/font-awesome/css/font-awesome.min.css">
	<link rel="stylesheet" type="text/css" href="lib/Icon-font-7-stroke-PIXEDEN/css/pe-icon-7-stroke.css">
	<link rel="stylesheet" type="text/css" href="lib/themify-icons/themify-icons.css">

	
	<link rel="stylesheet" type="text/css" href="lib/animation/animate.css">
	<link rel="stylesheet" type="text/css" href="lib/owl-carousel/owl.carousel.css">
	<link rel="stylesheet" type="text/css" href="lib/malihu-custom-scrollbar-plugin-master/jquery.mCustomScrollbar.min.css">
	<link rel="stylesheet" type="text/css" href="lib/Magnific-Popup/magnific-popup.css">
	<link rel="stylesheet" type="text/css" href="lib/cloud/cloud.css">


	<link rel="stylesheet" type="text/css" href="lib/bootstrap/css/bootstrap.min.css">
	<link rel="stylesheet" type="text/css" href="css/nc-structure.css">
	<link rel="stylesheet" type="text/css" href="css/nc-main.css">
	<link rel="stylesheet" type="text/css" href="css/nc-helper.css">
	<link rel="stylesheet" type="text/css" href="css/nc-responsive.css">
	<link rel="stylesheet" type="text/css" href="css/custom.css">

	</head>
	<body>
	



	<div id="main-wrapper" class="main-wrapper">
		
		
	<div class="bg-section bg-cover bg-cc" data-bgImage="images/bg-26.jpg">
	<div class="overlay" style="background-color: rgba(0,0,0,0.35);"></div>

	<div class="sky" style="top: 62%;">
	<div class="clouds_one"></div>
	<div class="clouds_two"></div>
	<div class="clouds_three"></div>
	</div>
	</div>

		
	<div id="home-wrapper" class="flex-cc page-wrapper">
	<div class="inner-wrapper">
				
			
	<div class="intro-section intro-section-1 animated s0-8" data-animOut="fadeOut" data-animIn="fadeIn">
	<div class="container">
						
					
	<?php if($modul_v3 == "evet"){?><center><img src="../../../<?php echo $geayar_logo;?>"></center> <br><?php } ?>
	<div class="text-animation">
	<div class="hd-text">
	<h2 class="main-text"><?php echo $modul_v1;?></h2>
	</div>
	<div class="carousel-widget" data-anim="fadeInUp" id="carousel-widget" data-items="1" data-itemrange="false" data-tdrag="false" data-mdrag="false" data-pdrag="false" data-autoplay="true" data-in="fadeIn" data-loop="true" data-hstop="true">

	<div class="item"><h4><?php echo $modul_v2;?></h4></div>

	</div>
	</div>
	</div>
	</div>
				

	</div>

	<?php if($modul_v4 == "evet"){?>
	<div id='ss_menu' class="animated s0-8" data-animOut="fadeOut" data-animIn="fadeIn">
	<?php
	$icerik_al = mysql_query("SELECT * FROM sosyal_medya ORDER BY id ASC limit 0,4");
	while($yaz=mysql_fetch_array($icerik_al)){
	$id = $yaz['id'];
	$sc_icon = $yaz['sc_icon'];
	$sc_baslik = $yaz['sc_baslik'];
	$sc_renk = $yaz['sc_renk'];
	$sc_link = $yaz['sc_link'];
	
	echo '
	<a href="'.$sc_link.'" target="_blank" title="'.$sc_baslik.' alt='.$sc_baslik.'"><i class="fa fa-'.$sc_icon.'"></i></a>
	';
	
	}?>
	<div class='menu'>
	<div class='share' id='ss_toggle' data-rot='180'>
	<div class='circle'></div>
	<div class='bar'></div>
	</div>
	</div>
	</div>
	<?php } ?>

	</div>
	


	</div>

	
	<script src="lib/jquery/jquery-1.11.3.min.js"></script>
	<script src="lib/bootstrap/js/bootstrap.min.js"></script>
	<script src="lib/jquery-validation/jquery.validate.min.js"></script>
	<script src="js/plugins.js"></script>
	<script src="js/nc-common.js"></script>

</body>

</html>