<main class="container bg-light shadow-sm rounded border my-2">
    <div class="row">
        <div class="col-12 col-lg-8">
            <div id="catInfo">
                <?php echo getAds($AdsPath . '/category_before'); ?>
                   <div class="mt-2"> <h1 class="p-2 mb-3 text-dark text-truncate fs-5 fw-normal text-uppercase border-bottom">
                            <img style="width: 50px; margin-top: -10px; height: 50px; padding: 5px; float: left;" data-bs-toggle="tooltip" title="<?php echo $category['name']; ?>"
                                src="<?php echo APP_URL . '/assets/images/folder.png'; ?>"
                                data-src="<?php echo $catThumb; ?>" alt="<?php echo $category['name']; ?>"
                                class="lazy mx-auto d-block rounded" width="<?php echo $thumbWH[0]; ?>"
                                height="<?php echo $thumbWH[1]; ?>"> <?php echo $heading; ?> 2023</h1>
                        </div> 
            </div>
            <div id="listItems">
                <?php if ($category['is_cat'] != 1)
                    echo '<h3><i class="fa fa-music" aria-hidden="true"></i> Songs Charts</h3>'; ?>
                <div class="row row-cols-2 row-cols-sm-4 row-cols-md-4 bg-light g-1 g-sm-2 mb-3">
                    <?php
                    require_once __DIR__ . '/_files_list.php';
                      ?>
                            </div>

                    <ul class="list-group sb-list">
                      <?php
                    require_once __DIR__ . '/_category_list.php';
                    ?>
                </ul> 
            
                <?php
                echo skyPageNavigate($totalPage, $page, $pagelimit, $pageLink);
                ?>
            </div>
            <?php echo getAds($AdsPath . '/category_after'); ?>
        </div>
        <div class="col-12 col-lg-4">
            <aside>
                <div id="youMayAlso"> <?php echo getAds($AdsPath . '/sidebar_before'); ?> <h3><i class="fa fa-random" aria-hidden="true"></i> Posibil să-ți placă și...</h3>
<? require'ads.php'; ?>
                <div class="row row-cols-2 row-cols-sm-1 row-cols-md-1 bg-light g-1 g-sm-2">
                 <?php
                        $listitems = $YouMayFiles;
                        require_once __DIR__ . '/_list_item.php';
                        ?>
                        </div>
                        <ul class="list-group sb-list">
                        <?php
                        $listitems = $YouMayMovies;
                        require_once __DIR__ . '/_list_category.php';
                        unset($YouMayFiles, $YouMayMovies); ?>
                    </ul>
                      </div>
                </div>
            </aside>
        </div>
    </div>
</main>