| <?php |
| /******************************************************************************* |
| * Copyright(c) 2007-2015 Eclipse Foundation and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * Eric Poirier(Eclipse Foundation) |
| *******************************************************************************/ |
| require_once ($_SERVER ['DOCUMENT_ROOT'] . "/eclipse.org-common/system/app.class.php"); |
| require_once ($_SERVER ['DOCUMENT_ROOT'] . "/eclipse.org-common/system/nav.class.php"); |
| require_once ($_SERVER ['DOCUMENT_ROOT'] . "/eclipse.org-common/system/menu.class.php"); |
| require_once($_SERVER ['DOCUMENT_ROOT'] . "/eclipse.org-common/classes/ads/adReports.class.php"); |
| |
| $App = new App(); |
| $Menu = new Menu(); |
| $AdReports = new AdReports(); |
| |
| include("_projectCommon.php"); |
| |
| $pageTitle = "Eclipse Ad Reports"; |
| $pageKeywords = ""; |
| $pageAuthor = "Eclipse Foundation, Inc."; |
| header("Content-type: text/html; charset=utf-8"); |
| $App->preventCaching(); |
| |
| ob_start(); |
| print '<h1>' . $pageTitle . '</h1>'; |
| print $AdReports->outputPage(); |
| $html = ob_get_clean(); |
| |
| $App->generatePage($theme, $Menu, null, $pageAuthor, $pageKeywords, $pageTitle, $html); |