| <?php 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"); $App = new App(); $Nav = new Nav(); $Menu = new Menu(); include($App->getProjectCommon()); # All on the same line to unclutter the user's desktop' | |
| /******************************************************************************* | |
| * Copyright (c) 2009 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: | |
| * Wayne Beaton (Eclipse Foundation)- initial API and implementation | |
| *******************************************************************************/ | |
| header("Content-type: text/xml"); | |
| echo "<proposals>"; | |
| include_once($_SERVER['DOCUMENT_ROOT'] . "/projects/fragments/project-review-data.php"); | |
| $all = new AllInfo(); | |
| $all->load(); | |
| foreach( $all->_proposals as $proposal) { | |
| if( $proposal->status() == "P1" | |
| || $proposal->status() == "P2" | |
| || $proposal->status() == "P3" | |
| || $proposal->status() == "P4" | |
| || $proposal->status() == "P6" ) { | |
| $name = $proposal->get("ProposalName"); | |
| $age = $proposal->proposal_age(); | |
| $url = $proposal->get("ProposalURL"); | |
| echo "<proposal name=\"$name\" age=\"$age\" url=\"$url\"/>"; | |
| } | |
| } | |
| echo "</proposals>"; | |
| ?> |