Skip to main content
summaryrefslogtreecommitdiffstats
blob: 2a09bdd357c8970fbf27545e2d0e2d7ec821f464 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?php
/**
 * Copyright (c) 2014, 2018 Eclipse Foundation.
 *
 * 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 implementation
 *    Eric Poirier (Eclipse Foundation)
 *
 * SPDX-License-Identifier: EPL-2.0
 */
require_once ($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/app.class.php");

$App = new App();
$Theme = $App->getThemeClass();

$pageTitle = "Support Eclipse";
$Theme->setPageTitle($pageTitle);
$Theme->setPageKeywords("eclipse membership");
$Theme->setPageAuthor("Eclipse Foundation, Inc.");

$supporters = array(
  'cisco120.gif',
  'eads120.png',
  'rim120.png',
  'siemens.gif'
);
shuffle($supporters);
$support_logos = "";
foreach ($supporters as $p) {
  $support_logos .= '<img src="images/' . $p . '" alt="' . $p . '" style="padding:10px 0;">';
}

// Generate the web page
ob_start();
include("content/en_" . $App->getScriptName());
$html = ob_get_clean();

$Theme->setHtml($html);
$Theme->setDisplayHeaderTitle(TRUE);
$Theme->generatePage();

Back to the top