blob: a40008c0f12ae76c85f28a8ce25f841e9ac9b0ea [file] [log] [blame]
<?php
/**
* Copyright (c) 2014, 2018 Eclipse Foundation and others.
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* Contributors:
* Christopher Guindon (Eclipse Foundation) - initial API and implementation
* Eric Poirier (Eclipse Foundation)
*
* SPDX-License-Identifier: EPL-2.0
*/
?>
<!-- Featured story and ad -->
<?php if(time() >= strtotime("4 March 2019") && time() < strtotime("20 March 2019 10:00")): ?>
<div class="featured-story featured-jakarta-developer-survey">
<div class="container">
<div class="row">
<div class="col-sm-12 col-sm-offset-2 col-md-16 col-md-offset-0 featured-story-block featured-story-block-content match-height-item-by-row" data-mh="featured-story">
<h2 class="white"><strong>The Jakarta EE 2019<br> Developer Survey <br>is now available</strong></h2>
<a class="btn btn-primary btn-lg" href="https://www.surveymonkey.com/r/fdnbanner">Take the Survey</a>
</div>
<div class="col-sm-9 col-md-8 featured-ad featured-story-block match-height-item-by-row" data-mh="featured-story">
<div class="featured-ad-content">
<?php print $Theme->getRandomPromo(TRUE);?>
<p class="featured-story-description">Sponsored Ad</p>
</div>
</div>
</div>
</div>
</div>
<?php else: ?>
<div class="featured-story featured-eclipseide">
<div class="container">
<div class="row">
<div class="col-sm-12 col-sm-offset-2 col-md-16 col-md-offset-0 featured-story-block match-height-item-by-row" data-mh="featured-story">
<p class="featured-story-description margin-top-30 margin-bottom-0">Now Available</p>
<h2><strong>Eclipse IDE 2019-03</strong></h2>
<p>Get the latest version of the Eclipse IDE 2019-03</p>
<ul class="list-inline">
<li><a class="btn btn-primary btn-lg" href="<?php print $Theme->buildUrl("/go/PROMO_ECLIPSEIDE_FOOTER", array('query' => array('utm_source' => "eclipse_foundation",'utm_medium' => "featured_story",'utm_campaign' => "eclipse_ide_2019_03")));?>">Download</a></li>
<li><a class="btn btn-default btn-lg" href="/eclipseide/">Learn More</a></li>
</ul>
</div>
<div class="col-sm-9 col-md-8 featured-ad featured-story-block match-height-item-by-row" data-mh="featured-story">
<div class="featured-ad-content">
<?php print $Theme->getRandomPromo(TRUE);?>
<p class="featured-story-description">Sponsored Ad</p>
</div>
</div>
</div>
</div>
</div>
<?php endif; ?>
<!-- Announcements and Community news -->
<div class="news-list news-list-match-height news-list-top-shape">
<div class="container">
<div class="row">
<div class="col-lg-10 col-lg-offset-2 col-md-12 news-list-col padding-bottom-50">
<div class="news-list-icon text-center"><i data-feather="activity" stroke-width="1"></i></div>
<h2 class="text-center">Announcements</h2>
<?php
$Announcements = new FeedParser();
$Announcements->addPath($_SERVER['DOCUMENT_ROOT'] . "/community/news/2005newsarchive.rss");
$Announcements->setViewMoreLink('/community/news/eclipsenews.php');
$Announcements->setRssLink('http://feeds.feedburner.com/eclipse/fnews');
$Announcements->setLimit(120);
$Announcements->setMatchHeight(TRUE);
print $Announcements->output();
?>
<ul class="list-inline news-list-links">
<li class="news-list-links-view-all"><a href="/community/news/eclipsenews.php?archive=true">View all</a></li>
<li class="news-list-links-rss"><a href="http://feeds.feedburner.com/eclipse/fnews" title="Subscribe to our RSS-feed">Subscribe to our RSS-feed <i class="fa fa-rss"></i></a></li>
</ul>
</div>
<div class="col-lg-10 col-md-12 news-list-col padding-bottom-50">
<div class="news-list-icon text-center"><i data-feather="tv" stroke-width="1"></i></div>
<h2 class="text-center">Community News</h2>
<?php
$Community = new FeedParser();
$Community->addPath($_SERVER['DOCUMENT_ROOT'] . "/community/news/2005inthenewsarchive.rss");
$Community->setViewMoreLink('/community/news/eclipseinthenews.php');
$Community->setRssLink('http://feeds.feedburner.com/eclipse/cnews');
$Community->setLimit(120);
$Community->setMatchHeight(TRUE);
print $Community->output();
?>
<ul class="list-inline news-list-links">
<li class="news-list-links-view-all"><a href="/community/news/eclipseinthenews.php?archive=true">View all</a></li>
<li class="news-list-links-rss"><a href="http://feeds.feedburner.com/eclipse/cnews" title="Subscribe to our RSS-feed">Subscribe to our RSS-feed <i class="fa fa-rss"></i></a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="featured-stats">
<div class="container margin-top-20">
<h2 class="margin-bottom-30 margin-top-0">Eclipse Foundation by the Numbers</h2>
<div class="row">
<div class="col-md-5 col-sm-6 col-md-offset-2 col-xs-12">
<div class="row">
<a href="/projects" class="featured-stats-link">
<span class="col-xs-12 featured-stats-icon-container">
<span class="featured-circle featured-circle-stats"><i data-feather="code" stroke-width="1"></i></span>
</span>
<span class="col-xs-12 featured-stats-text-container">
<span class="featured-stats-number">350+</span><br>
Projects
</span>
</a>
</div>
</div>
<div class="col-md-5 col-sm-6 col-xs-12">
<div class="row">
<a href="/membership/become_a_member/committer.php" class="featured-stats-link">
<span class="col-xs-12 featured-stats-icon-container">
<span class="featured-circle featured-circle-stats"><i data-feather="users" stroke-width="1"></i></span>
</span>
<span class="col-xs-12 featured-stats-text-container">
<span class="featured-stats-number">1550+</span><br>
Committers
</span>
</a>
</div>
</div>
<div class="col-md-5 col-sm-6 col-xs-12">
<div class="row">
<a href="/membership/exploreMembership.php" class="featured-stats-link">
<span class="col-xs-12 featured-stats-icon-container">
<span class="featured-circle featured-circle-stats"><i data-feather="briefcase" stroke-width="1"></i></span>
</span>
<span class="col-xs-12 featured-stats-text-container">
<span class="featured-stats-number">275+</span><br>
Members
</span>
</a>
</div>
</div>
<div class="col-md-5 col-sm-6 col-xs-12">
<div class="row">
<a href="/org/workinggroups/" class="featured-stats-link">
<span class="col-xs-12 featured-stats-icon-container">
<span class="featured-circle featured-circle-stats"><i data-feather="share-2" stroke-width="1"></i></span>
</span>
<span class="col-xs-12 featured-stats-text-container">
<span class="featured-stats-number">10</span><br>
Working Groups
</span>
</a>
</div>
</div>
</div>
</div>
</div>