blob: f3b92bf16b7541d4ef0162375d40d8569da3b830 [file] [log] [blame]
<?php
/*******************************************************************************
* Copyright (c) 2013-2015 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)
*******************************************************************************/
// 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();
}
if (!isset($var_welcomeback['friend'])){
$var_welcomeback = $Sitelogin->getVariables('welcomeback');
}
if ($var_welcomeback['friend']['is_benefit']) :
?>
<p>As a Friend of Eclipse, you can use the Friends mirror to get fast downloads
from the eclipse.org servers. *</p>
<div class="clearfix">
<label class="col-sm-6 control-label">Friend Since:</label>
<div class="col-sm-16">
<p><?php print $var_welcomeback['friend']['date_joined']; ?></p>
</div>
</div>
<div class="clearfix">
<label class="col-sm-6 control-label">Benefits Expire:</label>
<div class="col-sm-16">
<p><?php print $var_welcomeback['friend']['date_expired']; ?></p>
</div>
</div>
<p><small>* Eclipse Foundation Inc. cannot guarantee that the Friends mirror will be
faster than its other mirrors, however it will give users of this mirror priority.</small></p>
<h2>Logo</h2>
<p>If you wish to link to the Friends of Eclipse Logo on your website or blog
please use of the codes below:</p>
<div class="row padding-bottom-15">
<div class="col-md-10">
<img src="images/friendslogo.png" class="img-responsive"/>
</div>
<div class="col-md-14">
<textarea class="margin-top-15 form-control" rows="3">
<img src="http://eclipse.org/donate/images/friendslogo.png"/>
</textarea>
</div>
</div>
<div class="row padding-bottom-15">
<div class="col-md-10"><img src="images/friendslogo200.png" class="img-responsive"/></div>
<div class="col-md-14">
<textarea class="form-control" rows="3">
<img src="http://eclipse.org/donate/images/friendslogo200.png">
</textarea>
</div>
</div>
<div class="row padding-bottom-15">
<div class="col-md-10">
<img src="images/friendslogo160.png" class="img-responsive"/>
</div>
<div class="col-md-14">
<textarea class="form-control" rows="3">
<img src="http://eclipse.org/donate/images/friendslogo160.png">
</textarea>
</div>
</div>
<?php endif;?>