blob: 70e44e85d6755cb54a1dc16e71e4527b4ef3833a [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:
* Wayne Beaton (Eclipse Foundation)- initial API and implementation
* Christopher Guindon (Eclipse Foundation) - Re-implementation for the new solstice theme
*
* SPDX-License-Identifier: EPL-2.0
*/
require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/app.class.php");
$App = new App();
$App->PageRSS = "/projects/reviews-rss.php";
$Theme = $App->getThemeClass();
$pageTitle = "Eclipse Membership";
$Theme->setPageTitle($pageTitle);
$Theme->setPageKeywords("eclipse membership, become a member, membership faq, membership expire");
$Theme->setPageAuthor("Christopher Guindon");
$Theme->setTitle("Eclipse Membership Benefits");
$hide_tips = TRUE;
$hide_faqs = TRUE;
$show_corporate_sponsors_block = TRUE;
$show_membership_contact = TRUE;
ob_start();
?>
<div class="jumbotron featured-jumbotron margin-bottom-0">
<div class="container">
<div class="row">
<div class="col-md-20 col-md-offset-2 col-sm-18 col-sm-offset-3">
<h1><?php print $pageTitle; ?></h1>
<p>Supported by our member organizations, the Eclipse Foundation provides our community with Intellectual Property, Mentorship, Marketing, Event and IT Services.</p>
<ul class="list-inline margin-top-30">
<li><a class="btn btn-primary" href="https://accounts.eclipse.org/contact/membership">Contact Us About Membership</a></li>
<li><a class="btn btn-primary" href="https://eclipse.org/membership/exploreMembership.php">Explore Our Members</a></li>
<li><a class="btn btn-primary" href="https://www.eclipse.org/europe/">Learn About Our Move to Europe</a></li>
</ul>
</div>
</div>
</div>
</div>
<?php
$extra_header_html = ob_get_clean();
$Theme->setExtraHeaderHtml($extra_header_html);
// Place your html content in a file called content/en_pagename.php
ob_start();
include("content/en_" . $App->getScriptName());
$html = ob_get_clean();
$Theme->setHtml($html);
$Theme->setAttributes('header-wrapper', 'header-alternate-bg-img-1');
$Theme->removeAttributes('breadcrumbs', 'breadcrumbs-default-margin');
$Theme->setAttributes('main', 'background-white');
$Theme->generatePage();