|  | <?php | 
|  | include_once($_SERVER['DOCUMENT_ROOT'] . "/projects/fragments/project-review-data.php"); | 
|  | function generate_header($the_name) { | 
|  | $found = 0; | 
|  | $all = new AllInfo(); | 
|  | $all->load(); | 
|  | foreach( $all->_proposals as $proposal) { | 
|  | if( $proposal->get("ProposalName") == $the_name ) { | 
|  | $found = 1; | 
|  | if( $proposal->status() == "P1" | 
|  | || $proposal->status() == "P2" ) { | 
|  | $age = $proposal->proposal_age(); | 
|  | $trans = array(" " => " "); | 
|  | $age = strtr( $age, $trans); | 
|  | ?> | 
|  | <p align="center">Proposal posted <?= $age ?> ago</p> | 
|  | <?php | 
|  | } | 
|  | if( $proposal->status() == "P3" | 
|  | || $proposal->status() == "P4" ) { | 
|  | ?> | 
|  | <p align="center"><font size="+1"><a href="/projects/">Creation Review</a> is potentially scheduled for | 
|  | <a href="<?= time_and_date_url($proposal->get("ReviewDate")) ?>"><?= date("D, j M Y", strtotime($proposal->get("ReviewDate"))); ?> | 
|  | at <?= date('Hi', strtotime($proposal->get('ReviewDate'))); ?> UTC</a></font><br> | 
|  | Please note that this call will only be held if a member requests that it be held; if nobody<br> | 
|  | requests that the call be held, the proposal will be approved by default.<br> | 
|  | If the call is requested, the call-in information is available on | 
|  | the <a href="http://portal.eclipse.org/">portal</a>.</p> | 
|  | <?php | 
|  | } | 
|  | if( $proposal->status() == "P5" | 
|  | || $proposal->status() == "PW") { | 
|  | ?> | 
|  | <p align="center"><font size="+2">The project has been approved and is awaiting provisioning.</font></p> | 
|  | <?php | 
|  | } | 
|  | if( $proposal->status() == "PP" ) { | 
|  | if( $proposal->get("ProjectTopLevel") == "" ) { | 
|  | ?> | 
|  | <p align="center"><font size="+1">The project creation review has been completed and the project is waiting for a Board decision.</font></p> | 
|  | <?php | 
|  | } else { | 
|  | ?> | 
|  | <p align="center"><font size="+1">The project creation review has been completed and the project is waiting for a PMC decision.</font></p> | 
|  | <?php | 
|  | } | 
|  | } | 
|  | if( $proposal->status() == "P7" ) { | 
|  | ?> | 
|  | <p align="center"><font size="+2"><a href="<?= $proposal->get("ProjectURL") ?>" target="_top">The project has been created. | 
|  | Please visit the project page.</a></font></p> | 
|  | <?php | 
|  | } | 
|  | if( $proposal->status() == "P8" ) { | 
|  | ?> | 
|  | <p align="center"><font size="+1">This proposal has been withdrawn.</font></p> | 
|  | <?php | 
|  | } | 
|  | if( $proposal->status() == "P9" ) { | 
|  | ?> | 
|  | <p align="center"><a href="/technology/archived.php"><font size="+1">This project has been archived.</font></a></p> | 
|  | <?php | 
|  | } | 
|  | if( ($proposal->status() == "P4" | 
|  | || $proposal->status() == "P5" | 
|  | || $proposal->status() == "PW" | 
|  | || $proposal->status() == "PP" | 
|  | || $proposal->status() == "P6" | 
|  | || $proposal->status() == "P7" | 
|  | || $proposal->status() == "P8" | 
|  | || $proposal->status() == "P9" ) | 
|  | && ($proposal->get("Slides URL") != "") ) { | 
|  | ?> | 
|  | <p align="center"><font size="+1"><a href="<?= $proposal->get("SlidesURL") ?>">Download the creation review | 
|  | docuware<img src="/projects/images/pdf.gif" border="0"/></a></font><?php | 
|  | if( $proposal->get("BugNumber") != "" ) { | 
|  | ?><br><font size="+1"><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=<?= $proposal->get("BugNumber") ?>"><?php | 
|  | if( $proposal->status() == "P4" ) { | 
|  | ?>Comment on the creation review<?php | 
|  | } else { | 
|  | ?>Read the creation review comments<?php | 
|  | } | 
|  | ?></a></font><?php | 
|  | } | 
|  | ?></p> | 
|  | <?php | 
|  | } | 
|  | } | 
|  | } | 
|  | if( !$found ) { | 
|  | ?> | 
|  | <p align="center"><font color="red" size="+1"> | 
|  | This is a draft of a proposal. This is not an official Eclipse proposal. | 
|  | This draft is not for publication or linking at this time. | 
|  | </font></p> | 
|  | <?php | 
|  | } | 
|  | } | 
|  | ?> |