getNumber("id")) || ($article->getNumber("id") <= 0)) { $articleMsg = "Article not found!"; } elseif ($article->getString("status") != "A") { $articleMsg = "Article not available!"; } elseif ($article->getString("publication_date") > date("Y-m-d")) { $articleMsg = "Article not available!"; } elseif ($level->getDetail($article->getNumber("level")) != "y") { $articleMsg = "Article not available!"; } else { // Loging the access. $objReports = new ArticleReports(); $objReports->setString("article_id", $id); $objReports->setString("report_type", ARTICLE_REPORT_DETAIL_VIEW); $objReports->setString("ip", getenv("REMOTE_ADDR")); $objReports->Save(); } } else { header("Location: /articles.php"); exit; } # ---------------------------------------------------------------------------------------------------- # HEADER # ---------------------------------------------------------------------------------------------------- if (($article->getNumber("id")) && ($article->getNumber("id") > 0)) { $artCategs = $article->getCategories(); if ($artCategs) { foreach ($artCategs as $artCateg) { $category_id[] = $artCateg->getNumber("id"); } } } $_POST["category_id"] = $category_id; $extrastyle = array(DEFAULT_URL."/layout/article_detail.css", DEFAULT_URL."/layout/article_color.css"); $banner_section = "article"; include(EDIRECTORY_ROOT."/layout/header.php"); ?>
getNumber("level").".inc"); } else { echo "

".$articleMsg."

"; } ?>
Retirement Media

Article Content
"; include(INCLUDES_DIR."/code/google_ads.php"); echo ""; } ?> Advertisers