blob: b0d6d3447b17ed47cf79aae012358beb0bc64c5c [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("11 February 2019") && time() < strtotime("8 March 2019 10:00")): ?>
<div class="featured-story featured-iot-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">
<h2 class="white"><strong>The 2019 IoT Developer Survey is here! Complete it today!</strong></h2>
<p><a class="btn btn-primary btn-lg" href="https://www.surveymonkey.com/r/H6VJWDJ">Click Here</a></p>
</div>
<div class="col-sm-9 col-md-8 featured-ad featured-story-block">
<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">
<p class="featured-story-description margin-top-30 white">Now Available</p>
<h2 class="white"><strong>Eclipse IDE 2018-12</strong></h2>
<p class="white">Get the latest version of the Eclipse IDE!</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_2018_12")));?>">Download</a></li>
<li><a class="btn btn-simple btn-lg" href="/eclipseide/">Learn More</a></li>
</ul>
</div>
<div class="col-sm-9 col-md-8 featured-ad featured-story-block">
<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);
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);
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>