blob: 445c00f707d276671a759135ce36183ddfd736b5 [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
*/
?>
<div class="featured-story featured-alternate margin-bottom-60">
<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">
<?php if (!empty($featured_story['prefix'])) { print $featured_story['prefix']; }?>
<?php print $featured_story['title']; ?>
<?php print $featured_story['body']; ?>
<?php print $featured_story['link']; ?>
</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 margin-0">Sponsored Ad</p>
</div>
</div>
</div>
</div>
</div>
<!-- Announcements and Community news -->
<div class="container">
<div class="row">
<div class="col-lg-10 col-lg-offset-2 col-md-12 padding-bottom-50">
<div class="block-summary-title">
<i class="center-block" data-feather="activity" stroke-width="1"></i>
<h2>Announcements</h2>
</div>
<?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 block-summary-more">
<li><a href="/community/news/eclipsenews.php?archive=true">View all</a></li>
<li><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 padding-bottom-50">
<div class="block-summary-title">
<i class="center-block" data-feather="tv" stroke-width="1"></i>
<h2>Community News</h2>
</div>
<?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 block-summary-more">
<li><a href="/community/news/eclipseinthenews.php?archive=true">View all</a></li>
<li><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 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">360+</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>