setDataByDB( $db ); if (!$article->isPublished()) { header("Location: index.php"); exit(); } $categoryID = $article->getCategoryID(); pageStart( $article->getHeader() ); ?>