| <table border="1"> |
| <tr> |
| <td align="center"> </td> |
| <td align="center"><b>Current State</b></td> |
| </tr> |
| <?php |
| include_once($_SERVER['DOCUMENT_ROOT'] . "/projects/fragments/parse-projects-file.php"); |
| $all = new AllInfo(); |
| $all->load(); |
| foreach( $all->_proposals as $proposal) { |
| $color = "#CCFFCC"; |
| if( $proposal->is_more_than_two_weeks_old() ) |
| $color = "white"; |
| if( $proposal->is_more_than_one_month_old() ) |
| $color = "#FFFFCC"; |
| if( $proposal->status() == "P5" ) { |
| ?> |
| <tr> |
| <td bgcolor="<?= $color ?>"><b><a href="<?= $proposal->get("Proposal URL") ?>" target="_top"><?= $proposal->get("Proposal Name") ?></a></b></td> |
| <td bgcolor="<?= $color ?>" align="center">waiting for project lead</td> |
| </tr> |
| |
| <?php |
| } |
| if( $proposal->status() == "PW" ) { |
| ?> |
| <tr> |
| <td bgcolor="<?= $color ?>"><b><a href="<?= $proposal->get("Proposal URL") ?>" target="_top"><?= $proposal->get("Proposal Name") ?></a></b></td> |
| <td bgcolor="<?= $color ?>" align="center">waiting for webmaster@</td> |
| </tr> |
| |
| <?php |
| } |
| if( $proposal->status() == "PP" ) { |
| ?> |
| <tr> |
| <td bgcolor="<?= $color ?>"><b><a href="<?= $proposal->get("Proposal URL") ?>" target="_top"><?= $proposal->get("Proposal Name") ?></a></b></td> |
| <?php |
| if( $proposal->get("Project Top-Level") == "" ) { |
| ?> |
| <td bgcolor="<?= $color ?>" align="center">pending approval by Board</td> |
| <?php |
| } else { |
| ?> |
| <td bgcolor="<?= $color ?>" align="center">pending approval by PMC</td> |
| <?php |
| } |
| ?> |
| </tr> |
| |
| <?php |
| } |
| } |
| foreach( $all->_reviews as $review) { |
| if( $review->status() == "JP" ) { |
| ?> |
| <tr> |
| <td ><b><a href="<?= $review->get("Project URL") ?>" target="_top"><?= $review->get("Project Name") ?> <?= $review->get("Review Name") ?> Release Review </a></b> |
| (<?php |
| if( $review->get("Slides URL") == "" ) { |
| ?>slides missing<?php |
| } else { |
| ?><a href="<?= $review->get("Slides URL") ?>">slides</a><?php |
| } |
| if( $review->get("IP Log URL") == "" ) { |
| ?>, project log missing<?php |
| } else { |
| ?>, <a href="<?= $review->get("IP Log URL") ?>">project log</a><?php |
| } |
| ?>)</td> |
| <td align="center">pending resolution of issues</td> |
| </tr> |
| |
| <?php |
| } |
| } |
| ?> |
| </table> |