<div id="sidebar">

    <!-- Sidebar -->
    <section>
        <h3>TOP in <?php echo $destinationName;?></h3>
        <p>
        <ul>
            <?php
            $db = new Db();
            $rows = $db->select("SELECT `Id`,`Name` FROM `restaurants` WHERE Recommended=1 AND destinationId=".$destinationId,filter_var(FILTER_SANITIZE_NUMBER_INT)." ORDER BY name ASC LIMIT 10");
            ?>

            <?php
            foreach ($rows as $row) {
                echo "<li><a href='".Init::HOMEURL."restaurant/" . filter_var($row['Id'],FILTER_SANITIZE_NUMBER_INT) . "' title='Restaurant - " . $row['Name'] ."'>" . $row['Name'] . '</a></li>';
            }
            ?>
        </ul>
        </p>
        <!--        <footer>
                    <a href="#" class="button icon fa-info-circle">Find out more</a>
                </footer>-->
    </section>

</div>