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: top_slider.php

<!-- شريط الأخبار العاجلة -->
<div class="row py-0">
    <!-- عنوان صندوق الأخبار العاجلة -->
    <div class="col-2 col-sm-1 col-md-3 col-lg-2 py-1 pe-md-0 mb-md-1">
       <a href='list-news.php?i=2&lang=<?= $lang ?>'><div class="d-inline-block d-md-block bg-primary text-white text-center breaking-caret py-1 px-2"> 
             <svg xmlns="http://www.w3.org/2000/svg" width="1rem" height="1rem" fill="currentColor" class="bi bi-lightning-fill" viewBox="0 0 16 16">
                <path d="M11.251.068a.5.5 0 0 1 .227.58L9.677 6.5H13a.5.5 0 0 1 .364.843l-8 8.5a.5.5 0 0 1-.842-.49L6.323 9.5H3a.5.5 0 0 1-.364-.843l8-8.5a.5.5 0 0 1 .615-.09z" />
            </svg> 
          <span class="d-none d-md-inline-block">   <?= htmlspecialchars($L['breaking_news']) ?></span>
        </div></a><?=  edit_news(1);?> 
    </div> 
    <!-- قائمة الأخبار العاجلة -->
    <div class="col-10 col-sm-11 col-md-9 col-lg-10 ps-1 ps-md-2">
        <div class="breaking-box position-relative py-2">
            <div class="box-carousel" data-flickity='{
          "cellAlign": "left",
          "rightToLeft": true,
          "wrapAround": true,
          "adaptiveHeight": true,
          "prevNextButtons": true,
          "autoPlay": 5000,
          "pageDots": false,
          "imagesLoaded": true
        }'>
                <?php if (!empty($sliderNews)): ?>
                <?php foreach ($sliderNews as $news): ?>
                <?php
                  $title = getLocalizedTitle( $news, $lang);
                  $type = 1;
                ?>
                <div class="col-12 aribudin">
                    <a class="h6 font-weight-light" href="article.php?id=<?= $news['news_id'] ?>&type=<?= $type ?>&lang=<?= $lang ?>">
                        <?= htmlspecialchars($title) ?>
                    </a>
                </div>
                <?php endforeach; ?>
                <?php endif; ?>
            </div>
        </div>
    </div>
</div>

<div class="col-12 mt-05">
    <div class="row featured-1 mb-4">
        <?= renderMainSlider($lastNews, $lang, 1) ?>
        <?= renderSideSliderDesktop($newsType1, $lang, 1, 8) ?>
        <?= renderSideSliderMobile($newsType1, $lang, 1, 4) ?>
    </div>  
</div>