<?php /*-------------------------------------------------------+ | PHP-Fusion Content Management System | Copyright (C) PHP-Fusion Inc | http://www.php-fusion.co.uk/ +--------------------------------------------------------+ | Filename: news.php | Author: PHP-Fusion Development Team | Co Author: Frederick MC Chan (Chan) +--------------------------------------------------------+ | This program is released as free software under the | Affero GPL license. You can redistribute it and/or | modify it under the terms of this license which you | can read by viewing the included agpl.txt or online | at www.gnu.org/licenses/agpl.html. Removal of this | copyright header is strictly prohibited without | written permission from the original author(s). +--------------------------------------------------------*/ require_once file_exists('maincore.php') ? 'maincore.php' : __DIR__ . "/../../maincore.php"; if (!db_exists(DB_NEWS)) { redirect(BASEDIR . "error.php?code=404"); } require_once THEMES . "templates/header.php"; require_once INCLUDES . "infusions_include.php"; require_once INFUSIONS . "news/infusion_db.php"; require_once NEWS_CLASS . "autoloader.php"; require_once INFUSIONS . "news/templates/news.php"; \PHPFusion\News\NewsServer::news()->display_news(); require_once THEMES . "templates/footer.php";