| <?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' |
| |
| $pageTitle = "Projects"; |
| |
| $extraHtmlHeaders = "<link rel=\"alternate\" type=\"application/rss+xml\" |
| title=\"Eclipse Reviews and Proposals\" href=\"/projects/reviews-rss.php\"> |
| "; |
| $App->AddExtraHtmlHeader($extraHtmlHeaders); |
| |
| include( '_commonLeftNav.php' ); |
| |
| ob_start(); |
| ?> |
| <style> |
| a.info{ |
| position:relative; /*this is the key*/ |
| z-index:24; |
| text-decoration:none} |
| |
| a.info:hover{z-index:25; background-color:#ccc} |
| |
| a.info span{display: none} |
| |
| a.info:hover span{ /*the span will display just on :hover state*/ |
| display:block; |
| position:absolute; |
| top:2em; left:-4em; width:8em; |
| border:1px solid #000; |
| background-color:#eee; color:#000; |
| text-align: center} |
| </style> |
| <div id="maincontent"> |
| <div id="midcolumn"> |
| |
| <?php /* ------------------ R E V I E W S -------------------- */ ?> |
| <div class="homeitem3col"> |
| <h3><a href="/projects/reviews-rss.php"><img src="images/rss.gif" align="right" |
| border="0"></a>Project Reviews</h3> |
| <div align="center" style="margin-top: 10px;"> |
| <?php include("fragments/processes-page-table.php") ?> |
| <br></a></div><!-- center --> |
| <table style="margin-right: 10px; margin-left: 10px; margin-top: -10px;" width="97%" border="0"> |
| <tr><td align="left"><a href="/projects/timeline/">releases timeline</a> | <a href="ganymede.php">Ganymede Simultaneous Release</a></td> |
| <td align="right"><a href="explain/reviews.php">explain...</a></td> |
| </tr> |
| </table> |
| <p>Reviews are held on a conference call. Members and committers are directed to the |
| <a href="http://portal.eclipse.org/"> MyFoundation portal </a>for the call-in information. If you do not have access to the |
| portal, send <a href="mailto:emo@eclipse.org?Subject=Review Call Information">email to EMO</a> to request the call information.</p> |
| </div><!-- homeitem3col --> |
| |
| <?php /* ------------------ P R O J E C T S -------------------- */ ?> |
| <div class="homeitem3col"> |
| <h3><a name="Projects"></a>Eclipse Projects</h3> |
| <div style="margin: 5px 15px 15px 0;"> |
| <table> |
| <tr><th><a href="explain/projects-table-columns.php" class="info">Name & Project Web Page<span style="left: -2em; width: 20em;">Project Name and Project Web Page</span></a></th> |
| <th><a href="explain/projects-table-columns.php" class="info">Ph<span>Phase</span></a></th> |
| <th><a href="explain/projects-table-columns.php" class="info">Nw<span>Newsgroup</span></a></th> |
| <th><a href="explain/projects-table-columns.php" class="info">Ma<span>Mailing List</span></a></th> |
| <th><a href="explain/projects-table-columns.php" class="info">Wi<span>Wiki Page</span></a></th> |
| <th><a href="explain/projects-table-columns.php" class="info">IP<span>IP Log</span></a></th> |
| <th><a href="explain/projects-table-columns.php" class="info">Dn<span>Download</span></a></th> |
| </tr> |
| <?php |
| include "/home/data/httpd/eclipse-php-classes/system/dbconnection_foundation_ro.class.php"; |
| $_dbc = new DBConnectionFoundation(); |
| $_dbh = $_dbc->connect(); |
| $query = "SELECT * FROM Projects ORDER BY ProjectID"; |
| $result = mysql_query($query,$_dbh); |
| if (!$result) { |
| echo("MySQL Error: ".mysql_error()); |
| } else { |
| while( $row = mysql_fetch_assoc($result) ) { |
| // ---- Exclude internal and archived projects ---- |
| if( !$row['IsActive'] ) continue; |
| if( $row['ProjectID'] == "foundation-internal" |
| || $row['ParentProjectID'] == 'foundation-internal' ) continue; |
| if( $row['ProjectPhase'] == 'Archive' |
| || strpos( $row['Name'], "[archived]") |
| || strpos( $row['Name'], "[closed]" ) ) continue; |
| if( $row['Level'] == 0 ) continue; |
| $border = ''; |
| if( $row['Level'] == 1 ) $border = ' style="border-top: 2px solid #444;"'; |
| |
| // ---- Project name and Home page ---- |
| $spacer = ''; |
| if( $row['Level'] == 2 ) $spacer = ' '; |
| ?><tr><td <?= $border ?>><?= $spacer ?> <a href="<?= $row['UrlIndex'] ?>"><?= $row['Name'] ?></a><?php |
| ?></td><?php |
| |
| // ---- Phase ---- |
| if( $row['ProjectPhase'] == 'Regular' ) { |
| ?><td <?= $border ?>><a href="explain/projects-table-phase.php"><img src="/projects/images/ok.gif" align="middle" border="0"></a></td><?php |
| } else if( $row['ProjectPhase'] == 'Incubation' ) { |
| ?><td <?= $border ?>><a href="explain/projects-table-phase.php"><img src="/projects/images/egg.gif" align="middle" border="0"></a></td><?php |
| } else if( $row['ProjectPhase'] == 'Incubation.nc' ) { |
| ?><td <?= $border ?>><a href="explain/projects-table-phase.php"><img src="/projects/images/egg-redx.jpg" align="middle" border="0"></a></td><?php |
| } else { |
| ?><td <?= $border ?>> </td><?php |
| } |
| |
| $xml = null; |
| if( $row['UrlIndex'] ) { |
| $url = $row['UrlIndex'] . "/project-info/project-info.xml"; |
| /* if on eclipse */ |
| if(eregi("eclipse.org", $_SERVER['SERVER_NAME'])) |
| { |
| if(eregi("eclipse.org", $url)) |
| { |
| $sites = array("http://eclipse.org", "http://www.eclipse.org"); |
| $oldurl = $url; |
| $url = str_replace($sites, $_SERVER['DOCUMENT_ROOT'], $url); |
| } |
| } |
| $buffer = @file_get_contents( $url ); |
| if( $buffer ) { |
| try { |
| $xml = @new SimpleXMLElement($buffer); |
| } catch( Exception $x ) { |
| $xml = null; |
| } |
| } |
| } |
| |
| // ---- Newsgroup ---- |
| $newsurl = ''; |
| if( $xml ) { |
| $t1 = 'newsgroups'; |
| $t2 = $xml->$t1; |
| if( $t2 ) { |
| $newsurl = $t2['url']; |
| } |
| if( !$newsurl ) { |
| $t3 = $t2->newsgroup[0]; |
| if( $t3 ) { |
| # $newsurl = 'http://dev.eclipse.org/newslists/news.' . $t3['name'] . '/maillist.html'; |
| $newsurl = 'http://www.eclipse.org/newsportal/thread.php?group=' . $t3['name']; |
| } |
| } |
| } |
| if( $newsurl && $newsurl != '' ) { |
| ?><td <?= $border ?>><a href="<?= $newsurl ?>"><img src="/home/categories/images/newsgroups.gif" border="0"></a></td><?php |
| } else { |
| ?><td <?= $border ?>> </td><?php |
| } |
| |
| // ---- Mailing List ---- |
| $mailurl = ''; |
| if( $xml ) { |
| $t1 = 'mailing-lists'; |
| $t2 = $xml->$t1; |
| if( $t2 ) { |
| $mailurl = $t2['url']; |
| } |
| if( !$mailurl ) { |
| $t3 = $t2->list[0]; |
| if( $t3 ) { |
| $mailurl = 'https://dev.eclipse.org/mailman/listinfo/' . $t3['name']; |
| } |
| } |
| } |
| if( $mailurl && $mailurl != '' ) { |
| ?><td <?= $border ?>><a href="<?= $mailurl ?>"><img src="/home/categories/images/mailinglist.gif" border="0"></a></td><?php |
| } else { |
| ?><td <?= $border ?>> </td><?php |
| } |
| |
| // ---- Wiki ---- |
| $wikiurl = ''; |
| if( $xml ) { |
| $t2 = $xml->wiki; |
| if( $t2 ) { |
| $wikiurl = $t2['url']; |
| } |
| } |
| if( $wikiurl && $wikiurl != '' ) { |
| ?><td <?= $border ?>><a href="<?= $wikiurl ?>"><img src="/home/categories/images/wiki.gif" border="0"></a></td><?php |
| } else { |
| ?><td <?= $border ?>> </td><?php |
| } |
| |
| // ---- IP Log ---- |
| $logurl = ''; |
| if( $xml ) { |
| $t1 = 'ip-log'; |
| $t2 = $xml->$t1; |
| if( $t2 ) { |
| $logurl = $t2['url']; |
| } |
| } |
| if( $logurl && $logurl != '' ) { |
| ?><td <?= $border ?>><a href="<?= $logurl ?>"><img src="/home/categories/images/docs.gif" border="0"></a></td><?php |
| } else { |
| ?><td <?= $border ?>> </td><?php |
| } |
| |
| // ---- Downloads ---- |
| if( $row['UrlDownload'] ) { |
| ?><td <?= $border ?>><a href="<?= $row['UrlDownload'] ?>"><img border="0" src="/home/categories/images/download.gif"></a></td><?php |
| } else { |
| ?><td <?= $border ?>> </td><?php |
| } |
| |
| ?></tr> |
| <?php |
| } |
| } |
| ?> |
| </table> |
| </div><!-- style --> |
| <div align="right" style="margin-right: 10px; margin-top: -10px;"> |
| <a href="explain/projects-table.php">explain...</a> |
| </div><!-- right --> |
| </div><!-- homeitem3col --> |
| |
| <?php /* ------------------ P R O P O S A L S -------------------- */ ?> |
| <div class="homeitem3col"> |
| <h3>New Project Proposals</h3> |
| <div align="center" style="margin-top: 10px;"> |
| <?php include("fragments/proposals-page-proposals-table.php") ?> |
| <br></a></div><!-- center --> |
| <table style="margin-right: 10px; margin-left: 10px; margin-top: -10px;" width="97%" border="0"> |
| <tr><td align="left"><a href="/proposals/">more about proposals</a> | <a href="/org/councils/roadmap.php">official Eclipse roadmap</a></td> |
| <td align="right"><a href="explain/proposals.php">explain...</a></td> |
| </tr></table> |
| </div><!-- homeitem3col --> |
| |
| </div><!-- midcolumn --> |
| |
| <!-- NEEDS TO BE WRITTEN add quick links |
| <div id="rightcolumn"> |
| <div class="sideitem"> |
| <h6>Quick Links</h6> |
| <ul> |
| <li><a href="#Who">Who?</a></li> |
| <li><a href="#What">What?</a></li> |
| <li><a href="#Where">Where?</a></li> |
| <li><a href="#When">When?</a></li> |
| <li><a href="#How">How?</a></li> |
| </ul> |
| </div> |
| </div>--> <!-- rightcolumn --> |
| |
| </div><!-- maincontent --> |
| <?php |
| # Paste your HTML content between the EOHTML markers! |
| $html = ob_get_contents(); |
| ob_end_clean(); |
| |
| # Generate the web page |
| $App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html); |
| ?> |