0) { $catalias = $alias; $articles_count = get_articles_count($alias); $articles = get_articles_list($from, $alias); } else { $article = get_article_alias($alias); if (isset($article["id"])&&$article["id"]>0) { $categories = get_category_list(); } else { $articles_count = get_articles_count(); $categories = get_category_list(); $articles = get_articles_list($from); } } } else { $articles_count = get_articles_count(); $categories = get_category_list(); $articles = get_articles_list($from); } include ("../include/templates/news/index.tpl.php"); ?>