exist($_GET['id'])) {
$art = $app->get($_GET['id']);
if (isset($_GET['edit']) and $_GET['edit'] == 1 and $app->session() >= $app::EDITOR) {
echo '';
$aff->edit($art, $app, $app->getlister(['id', 'titre']), $config->fontsize(), $app->getlistermedia($app::MEDIA_DIR, 'image'));
//$aff->copy($art, $app->getlister(['id', 'titre']));
$aff->aside($app);
echo '';
} else {
echo '';
$art->autotaglistupdate($app->taglist($app->getlister(['id', 'titre', 'intro', 'tag']), $art->autotaglist()));
$aff->lecture($art, $app);
echo '';
}
} else {
echo 'This article does not exist yet';
if ($app->session() >= $app::EDITOR) {
echo '
';
}
}
?>