<!-- SIDEBAR -->
<aside class="Sidebar" id="Sidebar">

    <h2 class="GLOB-Title">Sponsor:</h2>
    <div class="Ad"><?php echo $set['ads_code']; ?></div>

    <h2 class="GLOB-Title">Categories: <span class="FR"><?php echo fetch_rows("SELECT id FROM categories"); ?></span></h2>
    <?php fetch_elements("SELECT * FROM categories ORDER BY name ASC", 'elements/categories/sidebar.php', 'a'); ?>

</aside>
<!-- SIDEBAR -->