
											<ul class='top_menu '>
											
											
											<li class="dropdown d-none d-xl-inline-block top_li">

													<a class="dropbtn inactive">الخدمات <span class=" las la-angle-down"></span></a>

													<div class="dropdown-content">

														<div class='menu_inside ' >

															


																

																<?php 

																mysqli_data_seek($services_cat_result,0);

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

																		

																?>

																 <a href="<?php echo $website_url ;?>/service/<?php echo $services_cat_fetch['id'] ?>/<?php echo url_dash($services_cat_fetch['title']) ?>"><?php echo $services_cat_fetch['title'] ?></a>

																									

																<?php } ?>


															

														

																

																

														</div>

													</div>

												</li>





											 	<?php 
												
													$keys = array_keys($_SESSION['menus']); // نحصل على كل المفاتيح كمصفوفة

													for ($i = 0; $i < count($keys); $i++) {
														$key = $keys[$i];
														$value = $_SESSION['menus'][$key];
														
												?>

											  <li class="dropdown d-none d-xl-inline-block top_li">

												<a  class="dropbtn inactive"><?php echo $value; ?> <span class=" las la-angle-down"></span></a>

												<div class="dropdown-content">

													<div class='menu_inside'>


															<?php
																// استخراج محتوى القوائم العلوية															
																$array=array_unique($_SESSION[$value]);
																foreach ($array as $x) {
																  $page=explode(',',$x);
															?>
															
															<?php if($_SESSION['pages_status'][$page[0]]==1 and $page[2]==0){?> <a href="<?php echo $website_url ;?>/<?php echo $page[0]; ?>/<?php echo str_replace(" ",'-',$page[1]); ?>"><?php echo $page[1]; ?></a>  
															
															<?php }elseif($_SESSION['pages_status'][$page[0]]==1 and $page[2]==1){ ?><a href="<?php echo $website_url ;?>/page/<?php echo $page[0]; ?>/<?php echo str_replace(" ",'-',$page[1]); ?>"><?php echo $page[1]; ?></a>   <?php } ?> 

															<?php } ?>
													

													</div>

												</div>

											  </li>

											 <?php }?>
											

											<?php	
												$array=$_SESSION['not_menued'];
												foreach ($array as $x) {
													$page=explode(',',$x);
												
													if($_SESSION['pages_status'][$page[0]]==1){ ?>
														<li class='d-none d-xl-inline-block top_li'><a rel='nofollow' href="<?php echo $website_url ;?>/<?php echo $page[0]; ?>/<?php echo str_replace(" ",'-',$page[1]); ?>"><?php echo $page[1]; ?></a></li>												
													<?php }?>
											<?php } ?>
											
											

											



												

												 <li ><a target='_blank' class='lang_icon' href='<?php echo $_SESSION['comp_donate'];  ?>'>تبرّع الآن </a></li> 
 

												



												

												

												

													<li>

															

															<span class="menu-trigger visible-xs">

																<span></span>

																<span></span>

																<span></span>



															</span>


															

															</li>





															

															

											</ul>

											

											

										

										</div>

								<!-- end slide menu -->	

						</div>

				
