<?php
include("ust.php");
$d_g_sorular_b = $dil_v_getir['m33'];
$d_g_sorular_a = $dil_v_getir['m34'];

## PROJELER MODÜLÜ 
$m_kontrol=mysql_query("SELECT * FROM moduller WHERE modul_adi='projeler'"); 
$getir=mysql_fetch_array($m_kontrol); 
$proje_s_g_m = $getir['modul_v1'];
?>
	
	<br>
	<section class="blog-layout">
	<div class="container">
	<h2><?php echo $d_g_sorular_b;?></h2>
	<?php echo $d_g_sorular_a;?>
	<hr>
	<div class="row">
	
	<div class="col-md-12">
	<div class="faqs-main m-top-30">
	<div class="row">
	<div class="col-12">
	<div id="accordion" role="tablist">
					
	 <?php
	$sorulari_al = mysql_query("SELECT * FROM sorular WHERE veri_dil='$dil_durum' ORDER BY id ASC limit 0,1");
	while($yaz=mysql_fetch_array($sorulari_al)){
	$soru_id = $yaz['id'];
	$baslik = $yaz['baslik'];	
	$icerik = $yaz['icerik'];	


	echo '
	<div class="single-faq">
	<div class="faq-heading" role="tab" id="faq'.$soru_id.'">
	<h4 class="faq-title">
	<a data-toggle="collapse" href="#collapse'.$soru_id.'" aria-expanded="true" aria-controls="collapse'.$soru_id.'">
	<i class="fa fa-pencil"></i>'.$baslik.'
	</a>
	</h4>
	</div>
	<div id="collapse'.$soru_id.'" class="collapse show" role="tabpanel" aria-labelledby="faq1" data-parent="#accordion">
	<div class="faq-body">
	'.$icerik.'
	</div>
	</div>
	</div>
	';
	}?> 
	
	<?php
	$sorulari_al = mysql_query("SELECT * FROM sorular WHERE veri_dil='$dil_durum' ORDER BY id ASC limit 1,250");
	while($yaz=mysql_fetch_array($sorulari_al)){
	$soru_id = $yaz['id'];
	$baslik = $yaz['baslik'];	
	$icerik = $yaz['icerik'];	


	echo '
	<div class="single-faq">
	<div class="faq-heading" role="tab" id="faq'.$soru_id.'">
	<h4 class="faq-title">
	<a class="collapsed" data-toggle="collapse"  href="#collapse'.$soru_id.'" aria-expanded="true" aria-controls="collapse'.$soru_id.'">
	<i class="fa fa-pencil"></i>'.$baslik.'
	</a>
	</h4>
	</div>
	<div id="collapse'.$soru_id.'" class="collapse" role="tabpanel" aria-labelledby="faq'.$soru_id.'" data-parent="#accordion">
	<div class="faq-body">
	'.$icerik.'
	</div>
	</div>
	</div>
										
	';
	}?> 

	

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

	
	</div>
	
	</div>
	</section>
	<br>
		
<?php
include("alt.php"); 
?>		