<?php include('cp_header.php');?>



    	<!-- هيدر الصفحات  الداخلية-->
	<?php include('inside_header.php'); ?>
    <!-- هيدر الصفحات  الداخلية-->



<div class="container-fluid p-0 list_page"  >
	<div class="col-lg-12 backcolor_3 page_head page_title_background" ></div>

	<div style="width: 100%;overflow: hidden;"> 
		<div id="page_title_list" class="row  single_page_header">	  
			<h1 class="col-md-12 " style="display:none"> <?php echo $page_title ?> </h1>
			<div class="col-md-12 " > 
			<?php 
// استدعاء صفحة لينكات عن الجمعية
include 'about_list.php'; ; ?>	
			</div>
		</div>
	</div>

		
</div>		

<?php
$query_faq="select `id`,`title`,`desc`,`images` from faq where active=1 order by `priority` desc , `sort` desc , id desc";
//echo $query_faq;
$result_faq=mysqli_query($conn,$query_faq);
$x=1;
$style='';

   /*بداية التكرار */  
 while($fetch_faq = mysqli_fetch_array($result_faq)) {
   		 $fetch_faq = clean_array($fetch_faq);

     
  
   /*استخراج جميع الصور*/  
  $current_image=explode(",",$fetch_faq['images']);

     
  
   /*استخراج الصورة الاساسية*/  
  $current_image=explode(".",$current_image[1]);

if($x%2==0){
	$style='background:var(--magenta)';
}else{
	
	$style='';
}

?>



<div class="container-fluid p-0"  style='<?php //echo $style; ?>'>	
	
	<div class="row single_page_body"  style='<?php //echo $style; ?>'>	
		<div class='col-12'><div class="page_title_right ques_title las la-question-circle" ><span><?php echo $fetch_faq['title'];?></span></div></div>
			<div class="col-md-5 col-xs-12 right_image" >
				<img loading='lazy' style="width:100%"  alt=" <?php echo $_SESSION['comp_title'];?> - <?php echo $fetch_faq['title']; ?>" src="<?php echo $website_url.'/<?php echo $img_path; ?>faq/'.$current_image[0].'_480.'.$current_image[1] ?>"/>
			</div>


			<div class="col-md-7  col-xs-12 col-md-pull-1" >
				<div style="padding:0px;margin:0px" class="big_font">
					<h2>
					
					<div class='answer_title fa las la-comment-dots'><span><?php echo $fetch_faq['desc']; ?></span></div>
					</h2>
				</div>
			</div> 

	</div>
	
	







</div>

<?php $x++; }  ?>







	
<script>
$(function(){
$("b").addClass("big_font");	
})	;
</script>





<?php // ================ صفحة الفوتر =================  
 include('cp_footer.php'); ?>

</div>