<?php
include 'cp_header.php';
/****************************************** صفحة قالوا عنا ***************************************/ 
?>
	
	<!-- هيدر الصفحات  الداخلية-->
	<?php include('inside_header.php'); ?>
    <!-- هيدر الصفحات  الداخلية-->
	
  <!-- ================ بداية السيكشن ================= -->
  <section class="contact-section" style='padding-bottom:0px;background:var(--white_bg);padding-bottom:100px;overflow:hidden;'>
	<div class="container-fluid p-0"  >


      <div class="row " style='padding-bottom:0px;' >
	 
	    <!-- ================ صورة تعبيرية للقسم ================= --> 
		<div class="col-lg-12 backcolor_3 page_head page_title_background" >
			<span class='page_title  text-center'  >
			
			<img  style='width: 150px;margin-bottom: 20px;' src='<?php echo $img_path; ?>talkabout.webp' alt='قالوا عنا' />
			<br>
			<h1 style='color:var(--white)'>قالوا عنا</h1>
			
			
			</span>
		</div>
    

		<!-- ================ اية قرآنية ================= --> 
		<?php //include 'aya.php'; ?>


		
		
		<div class="col-lg-12 contact_padding" style='background:var(--white_bg);margin-bottom:0px' >
		
		<div class='container'>
		<div class="row">
		
		<div class='col-md-12'>
			
   <!-- ================ عنوان الصقحة ================= --> 
   <div class="page_title_right_white"> مقتطفات من اراء المستفيدين </div>
			<div class="right_lines"></div>
			<div class="right_lines l2"></div>
		
		</div>
		
		
				  
				  <?php
						
												
						/*  اسم الجدول وبداية الكويرى */  
						$table='impressions';
						$impressions_query="select `id`,`name`,`job_desc`,`desc`,`evaluation`,`view`,`images`  from impressions where active=1 order by `priority` desc , `sort` desc , id desc ";

						$impressions_result=mysqli_query($conn,$impressions_query);
						$impressions_num_rows=mysqli_num_rows($impressions_result);
						
						while($impressions_fetch = mysqli_fetch_array($impressions_result)) {
   		 $impressions_fetch = clean_array($impressions_fetch);	

							/*الصورة الاساسية*/  
							$first_image= 'img_'.$impressions_fetch['images'].'.webp';
								
					?>
					
					
				  
							  
    <!-- ================ بداية تكرار المحتوى ================= --> 
	<div class="col col-12 col-sm-6 col-md-4 col-lg-4">
								<div style='border:solid 2px var(--magenta_light3);' class="item-boxes wow fadeInUp" data-wow-delay="0.1s">
								  <div class="icon">
									<img src='<?php echo $img_path; ?>impressions/<?php echo $first_image; ?>' />
								  </div>
									  <h3><?php echo $impressions_fetch['name'] ;?></h3>
									  <span class='light_color'>
										<p><?php echo $impressions_fetch['job_desc'] ;?></p>
									  </span>
									  <hr>
									 
									  <h3 class='impressions_desc'><?php echo $impressions_fetch['desc'] ;?></h3>
									  
									  <hr>
									  <div class='stars'>
										  <?php for($i=1;$i<=$impressions_fetch['evaluation'];$i++){ ?>
												<i class="las la-star" aria-hidden="true"></i>
										  <?php } ?>
									  </div>
								</div>
							  </div>
							
							<?php }?>
				
		
		
	
	


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

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

 

	
	

  
 
<!-- ================ صفحة الفوتر ================= --> 
 <?php include'cp_footer.php'; ?>