<?php
header('Content-Type: text/html; charset=utf-8');
$path="../../../../"; $path2="config/";
include("".$path."deppo/tools/script/cevir.php");
include("".$path."config/map.php");
include("".$path."deppo/tools/script/fonksiyon".$ver.".php");
?>
<div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
  <!-- Indicators -->
  <ol class="carousel-indicators">
    <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
    <li data-target="#carousel-example-generic" data-slide-to="1"></li>
    <li data-target="#carousel-example-generic" data-slide-to="2"></li>
  </ol>
  <!-- Wrapper for slides -->
  <div class="carousel-inner" role="listbox">
<?php
	$s=0;$sql=mysqli_query($conn, "select * from medya where ne='slide' and (t2='All' or t2='".$_SESSION["lang"]."') order by s1 asc"); while($slide=mysqli_fetch_assoc($sql)){$s++;
	$jssi = json_decode($slide["n6"],true);
	$jssm = json_decode($slide["n7"],true);
	?>
		<div class="item <?php if($s==1){echo "active";}?>">
			<img src="<?php echo $weburl;?>/deppo/slide/<?php echo $slide["n1"];?>">
		</div>
	<?php }?>
  </div>
  <!-- Controls -->
  <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
    <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
    <span class="sr-only">Previous</span>
  </a>
  <a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
    <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
    <span class="sr-only">Next</span>
  </a>
</div>