Källkod

Välj en PHP-fil för att visa dess källkod.

incl/footer.php

    </main>
    <footer id="bottom" class="site-footer">
        <?php if (!empty($includeExerciseFooter)): ?>
            <div class="include-exercise-footer">
                <hr>
                <p>Simon Andersson · <?= date('Y-m-d') ?></p>
            </div>
        <?php endif; ?>
        <p>Webbserverprogrammering · Simon Andersson</p>
        <p><a href="<?= htmlspecialchars($baseUrl . 'viewsource.php', ENT_QUOTES, 'UTF-8') ?>">Källkod</a></p>
        <?php if (isset($pageTimeGeneration)): ?>
            <p>Sidan skapades på <?= round(microtime(true) - $pageTimeGeneration, 5) ?> sekunder</p>
        <?php endif; ?>
    </footer>
</body>
</html>