blob: d9f52d6ff05b2b4fe7b1d3dd12d38c9ed9c3f6a0 [file] [log] [blame]
<?php
/*******************************************************************************
* Copyright (c) 2013 Eclipse Foundation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Christopher Guindon (Eclipse Foundation)- initial API and implementation
*******************************************************************************/
//if name of the file requested is the same as the current file, the script will exit directly.
if(basename(__FILE__) == basename($_SERVER['PHP_SELF'])){exit();}
require_once ($_SERVER['DOCUMENT_ROOT'] . "/membership/promo/promos.php");
?>
<div class="ad">
<?php
$adNo = (isset($_GET['adNo'])) ? $_GET['adNo'] : '';
$promo = chooseDownloadAd($adNo);
print $promo;
?>
</div>
<div class="sideitem">
<h6>Related Links</h6>
<ul id="installingEclipse">
<li><a href="compare.php?release=<?php print($Downloads->getRelease());?>">Compare &amp; Combine Packages</a></li>
<li><a href="/indigo/">Eclipse Indigo (3.7)</a></li>
<li><a href="/juno/">Eclipse Juno (4.2)</a></li>
<li><a href="//wiki.eclipse.org/Eclipse/Installation">Install Guide</a></li>
<li><a href="http://help.eclipse.org">Documentation</a></li>
<li><a href="http://help.eclipse.org/juno/index.jsp?topic=/org.eclipse.platform.doc.user/tasks/tasks-129.htm">Updating Eclipse</a></li>
<li><a href="/forums/">Forums</a></li>
<li><a href="//wiki.eclipse.org/Older_Versions_Of_Eclipse">Older Versions</a></li>
</ul>
</div>
<?php
$release = $Downloads->getReleaseName();
if ($release == 'kepler' && isset($_GET['testing'])) :?>
<div id="composite_repo">
<p class="jre">
<strong>Kepler composite repository:</strong><br/>
<input type="text" value="http://download.eclipse.org/releases/kepler/" name="kepler_update_site"/>
<span class="description">
<a href="http://help.eclipse.org/kepler/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Fguide%2Fp2_composite_repositories.htm">What is this?</a></span>
</p>
</div>
<?php endif;?>
<h3 class="">Hint</h3>
<p class="jre">You will need a <a href="/downloads/moreinfo/jre.php">Java runtime environment (JRE)</a> to use Eclipse (Java SE 6 or greater is recommended). All downloads are provided under the terms and conditions of the <a href="/legal/epl/notice.php">Eclipse Foundation Software User Agreement</a> unless otherwise specified.</p>