<?php

use mystic\forum\orm\Topic;

render("view_topics.twig", [
    "topics" => $db->fetchCustom(Topic::class, "ORDER BY creation_date DESC"),
]);