Priority File Manager

📁 public_html
Base Directory:
/home/ecedu/public_html/cce/Views/layouts
NameTypeSizeActions
📁 .. Folder -
📄 aboutus-layout.php File 1676
Edit Download
📄 article-layout.php File 21975
Edit Download
📄 back-top.php File 706
Edit Download
📄 body-layout.php File 1313
Edit Download
📄 contactus-layout.php File 4025
Edit Download
📄 department-layout.php File 3736
Edit Download
📄 footer-layout.php File 5862
Edit Download
📄 header-layout.php File 451
Edit Download
📄 header-second.php File 827
Edit Download
📄 index-layout.php File 4027
Edit Download
📄 list-languages.php File 5393
Edit Download
📄 list-news-layout.php File 6488
Edit Download
📄 list-pdf-layout.php File 4459
Edit Download
📄 main-func.php File 59102
Edit Download
📄 main-layout.php File 8313
Edit Download
📄 main-menu.php File 3613
Edit Download
📄 mobile-menu.php File 5453
Edit Download
📄 mobile-side.php File 14998
Edit Download
📄 pdf-layout.php File 3
Edit Download
📄 right_sidebar.php File 3970
Edit Download
📄 search-layout.php File 5408
Edit Download
📄 top-menu.php File 1175
Edit Download
📄 top_slider.php File 2320
Edit Download

View File: footer-layout.php

<!-- ============================  Footer  ============================ -->
<footer>
    <!--== محتوى التذييل ==-->
    <div id="footer" class="footer-dark bg-dark bg-footer py-1 px-3">
        <div class="container">
            <div class="row"> 
                <!--=====  ودجِت: معلومات عنا  =====-->
                <div class="widget col-sm-6 col-md-4">
                    <h3 class="h5 widget-title border-bottom border-smooth">
                        <?= htmlspecialchars($L['about_us']) ?>
                    </h3>
                    <div class="widget-content"> 
                             <a href="index.php?lang=<?= $lang ?>" target="_blank">
                                  <img class="footer-logo  img-fluid lazy  mb-1" 
                                    src="<?= htmlspecialchars($logo3) ?>" 
                                     data-src="<?= htmlspecialchars($logo3) ?>"  
                                     alt="<?= $logo3;?>"> 
                            </a>
                          <?=  edit_image(3);?> 

                        <p class="footer-info mb-1"> 
                         <?= subText( strip_tags($_aboutus),228) ?>
                         <?=  edit_about();?>
                       </p>
                        <p class="footer-info mb-2"> 
                            <?= $address ?>
                        </p>
                        <p class="footer-info mb-2"> 
                            <?= $siteInfo['phone'] ?>
                        </p>
                        <p class="footer-info mb-2"> 
                            <?= $siteInfo['email'] ?>
                        </p>
                        
                        <!-- روابط التواصل -->
                        <div class="social mb-2">
                         <?php foreach ($socialPlatforms as $platform): 
                          if (!empty($platform['url'])): ?>
                        <span class="my-2 me-3">
                          <a href="<?= htmlspecialchars($platform['url']) ?>" target="_blank" rel="noopener noreferrer" aria-label="<?= htmlspecialchars($platform['name']) ?>">
                            <?= getSocialIconSvg($platform['icon'],1.5) ?> 
                          </a>
                        </span>
                       <?php endif; endforeach; ?><?=  edit_social();?>   
                        </div>  
                         
                        <?php
  // اللغة الحالية
  $lang = $lang ?? 'ar';
  // تحويل اللغة لرمز مدعوم في Google Maps Embed
  switch ($lang) {
    case 'ar':
        $google_lang = 'ar';
        break;
    case 'en':
        $google_lang = 'en';
        break;
    case 'ku':
        $google_lang = 'ar'; // أو 'en' حسب تفضيلك
        break;
    default:
        $google_lang = 'ar';
        break;
  }

  // رابط Google Maps المباشر بلغة مناسبة
  $map_embed_url = "https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d26655.412050639763!2d44.39113941896974!3d33.372984698866134!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x1557787d32cf871f%3A0x2542a34e1d0d1278!2z2KfZhNmD2YTZitmHINin2YTYqtix2KjZiNmK2Ycg2KfZhNmF2YHYqtmI2K3YqQ!5e0!3m2!1s{$google_lang}!2siq!4v1688113701699!5m2!1s{$google_lang}!2siq";
?>
<div class="social">
  <iframe 
    src="<?= htmlspecialchars($map_embed_url) ?>"
    width="100%" height="180"
    style="border:0;" allowfullscreen
    loading="lazy"
    referrerpolicy="no-referrer-when-downgrade">
  </iframe>
</div>

                     


                    </div>
                </div>

                <!--=====  ودجِت: منشورات شائعة  =====-->
                <div class="widget col-sm-6 col-md-4">
                    <h3 class="h5 widget-title border-bottom border-smooth">
                        <?= htmlspecialchars($L['events_participations']) ?>
                    </h3>
                    
                   <?php
                    echo renderSimpleNewsList($eventsNews, 6, $lang, $tables, $L);
                   ?>
                    
                </div>

                <!--=====  ودجِت: معرض الأخبار  =====-->
                <div class="widget col-sm-6 col-md-4">
                       <div id="bootnews_gallerypost-1" class="widget widget_categories widget_categories_custom">
                          <h3 class="h5 widget-title border-bottom border-smooth"><?= htmlspecialchars($L['gallery_news']) ?></h3>
                          
                   <?php
                         echo renderInstagramPhotos($sliderNews, 1, $lang, $tables, $L, 12);
                   ?>

                </div>
              </div>

            </div><!-- /.row -->
        </div><!-- /.container -->
    </div><!-- /.footer-dark -->

     <div class="social mb-0" style="margin-top:-40px;">

    <!--== شريط الحقوق ==-->
    <div class="footer-copyright bg-secondary">
        <div class="container">
            <nav class="navbar navbar-expand navbar-dark px-0">
                <!-- القائمة اليسرى -->
                <ul class="navbar-nav footer-nav first-start-lg-0">
                    <?php foreach ($footerPages as [$href, $label]): ?>
                        <li class="nav-item">
                            <a class="nav-link" href="<?= $href ?>">
                                <?= htmlspecialchars($label) ?>
                            </a>
                        </li>
                    <?php endforeach; ?>
                </ul>

                <!-- حقوق النشر -->
                <ul class="navbar-nav ms-auto">
                    <li class="navbar-text">
                        <?= htmlspecialchars($L['copyright']) ?>
                    </li>
                </ul>
            </nav>
        </div>
    </div>
</footer>