 <?php /****************************************** صفحة عرض الخدمات ***************************************/ ?>

 
 <section class="">
        <div class="container-fluid reviews_part">

                    
				<div class="row" >
					<div class="widget_title page_title" style='width:100%;font-size:18px;margin: 20px auto 0px auto;'>اقسام</div>
					<?php
					
						$departs_reviews_query="select `id`,`images`,`title` from departs_servicies where active=1 order by `priority` desc , `sort` desc , id asc ";
						$departs_reviews_result=mysqli_query($conn,$departs_reviews_query);	
						// بداية التكرار
						while($departs_reviews_fetch = mysqli_fetch_array($departs_reviews_result)) {
   		 $departs_reviews_fetch = clean_array($departs_reviews_fetch);	
							
     
  
							/*استخراج جميع الصور*/  
							$current_image=explode(",",$departs_reviews_fetch['images']);
							$current_image_split=explode(".",$current_image[1]);
					?>

					
                          <div class='col-lg-3 col-md-2 col-sm-2 col-2 small_left_div' >
							
		                    <a  rel='nofollow'    href="<?php echo $website_url ;?>/reviews/<?php echo $departs_reviews_fetch['id']; ?>/<?php echo  url_dash($departs_reviews_fetch['title']); ?>">
								<img loading='lazy' alt='<?php echo $_SESSION['comp_title'] ;?>' src="<?php echo $img_path; ?>departs_reviews/<?php echo $current_image_split[0] ?>_tiny.<?php echo $current_image_split[1] ?>"  alt='<?php echo  url_dash($departs_reviews_fetch['title']); ?>'>
							</a>
                            
							<a  rel='nofollow'   style='display:none;' href="<?php echo $website_url ;?>/reviews/<?php echo $departs_reviews_fetch['id']; ?>/<?php echo  url_dash($departs_reviews_fetch['title']); ?>"><?php echo $departs_reviews_fetch['title']; ?></a>

					 	  </div>

						
					<?php } ?>
				</div>
                       

                
					
				
			
        </div>
    </section>