<?php
require_once 'ayar/Config.php';
include "header.php";
?>
<!--===== Başlık =====-->
<section class="padding bg_light">

	<div class="container">
		<div class="row">
			<div class="col-md-12 bottom20"><br>
				<br>
				<br>
				<br>
				<h2 class="text-uppercase"><span class="color_red"> SIKÇA SORULAN SORULAR </span></h2>
				<br>
				<span style="font-size:12px; color:#000000;"><a href="./">ANA SAYFA</a> / <a href="sss>">SIKÇA SORULAN SORULAR</a></span> </div>
		</div>
</section>
<br>
	<div class="container">
		<div class="row">
			<div class="col-6">
				<div class=" panel-group" id="accordion">
					<?php
						$hizmetler = $Site->hizmetler_listele();
						foreach ($hizmetler as $key => $value){
							if($value['aktifkontrol']=="aktif" || $Site->adminyetki(session("id"),'yetki')==1){
					?>
					<div class="panel panel-default">
						<div class="panel-heading">
							<h4 class="vpanel-title">
								<a data-toggle="collapse" data-parent="#accordion" href="#collapse<?php echo $value['sayfa_id']; ?>">
								 <i class="fa <?php echo $value['hizmeticon']; ?>"></i> &nbsp; <?php echo $value['sayfa_baslik']; ?></a>          </h4> </div>
						<div id="collapse<?php echo $value['sayfa_id']; ?>" class="panel-collapse collapse">
							<div class="panel-body">
								<?php echo $value['sayfa_text']; ?> </div>
						</div>
					</div>
				<?php }} ?> </div>
			</div>
		</div>
	</div>
	<?php include "footer.php"; ?>
