-$repopo = new Repository_Post();
-if ($repopo->process($_POST)) {
- redirect($repopo->repo->getLink('display'));
-}
-
-$phork = array(
- '1' => new File(null, null)
-);
-$db = new Database();
-render(
- 'index',
- array(
- 'files' => $phork,
- 'description' => '',
- 'htmlhelper' => new HtmlHelper(),
- 'recents' => $db->getSearch()->listAll(0, 5, 'crdate', 'desc'),
- 'dh' => new \Date_HumanDiff(),
- )