X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/7dcd592544ae0b55d0e205ff83631067a0d0aa6b..53e6e11d2b3ffd73abdd166c3a3d983479fc3040:/www/index.php diff --git a/www/index.php b/www/index.php index 898c443..54b1e3a 100644 --- a/www/index.php +++ b/www/index.php @@ -1,5 +1,5 @@ process($_POST)) { $phork = array( '1' => new File(null, null) ); +$db = new Database(); render( 'index', array( - 'files' => $phork, + 'files' => $phork, 'description' => '', - 'htmlhelper' => new HtmlHelper(), + 'htmlhelper' => new HtmlHelper(), + 'recents' => $db->getSearch()->listAll(0, 5, 'crdate', 'desc'), + 'dh' => new \Date_HumanDiff(), ) ); ?>