Cost-Benefit-Projection/site/views/publicresults/tmpl/default_contact_form_public.php

111 lines
5.5 KiB
PHP
Raw Normal View History

<?php
/*----------------------------------------------------------------------------------| www.giz.de |----/
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 14th January, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage default_contact_form_public.php
@author Llewellyn van der Merwe <http://www.vdm.io>
@owner Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
@copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
/-------------------------------------------------------------------------------------------------------/
Cost Benefit Projection Tool.
/------------------------------------------------------------------------------------------------------*/
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
?>
<div class="uk-grid">
<div class="uk-width-medium-1-1">
<div class="uk-panel uk-panel-space" style="z-index: -1;">
<h3 class="uk-text-info uk-text-center uk-animation-scale-up">Enter your details here for access to the full tool and technical support in establishing your Cost-Benefit Profile for a healthier workplace.</h3>
</div>
</div>
</div>
<div class="uk-grid" data-uk-grid-match>
<div class="uk-width-medium-1-2 uk-push-1-2 uk-animation-slide-bottom">
<div class="uk-panel uk-panel-box" style="z-index: -1;">
<p class="uk-text-large uk-text-muted uk-text-center uk-animation-scale-up">Please note that the tool itself is FREE TO USE</p>
<p class="uk-text-large uk-text-info uk-animation-slide-bottom">Benefits of Registering:</p>
<ul class="uk-list uk-list-line uk-list-space uk-animation-slide-bottom">
<li>Access to Technical Support in using model and creating/running/monitoring workplace wellness programmes</li>
<li>Use of full tool functions including:
<ul class="uk-list uk-list-striped">
<li>Create Epidemiological Profiles for diseases and risks affecting your company</li>
<li>Detailed information on projected work days lost and costs</li>
<li>Create and edit activities and wellness responses for your workplace</li>
<li>Access to Small Business Modelling</li>
<li>Results displayed by gender</li>
</ul>
</li>
<li>Network with other companies and wellness professionals</li>
</ul>
<?php if (isset($this->item->country_publicname)): ?>
<div class="uk-grid">
<div class="uk-width-1-1">
<p class="uk-text-large uk-text-muted uk-text-center">Contact <?php echo $this->item->country_publicname; ?></p>
</div>
<div class="uk-width-1-3">
<img data-uk-scrollspy="{cls:'uk-animation-fade', delay:500, repeat: true}" class="uk-thumbnail" src="<?php echo '#'; ?>" title="<?php echo $this->item->country_publicname; ?>" alt="image" />
</div>
<div class="uk-width-2-3">
<ul class="uk-list uk-list-line">
<?php if ($this->item->country_publicemail): ?>
<li><i class="uk-icon-envelope-o" data-uk-scrollspy="{cls:'uk-animation-fade', delay:200, repeat: true}"></i>
<a href="mailto:<?php echo $this->item->country_publicemail; ?>" target="_blank" title="email us"><?php echo $this->item->country_publicemail; ?></a>
</li>
<?php endif; ?>
<?php if (isset($this->item->country_publicnumber)): ?>
<li><i class="uk-icon-phone" data-uk-scrollspy="{cls:'uk-animation-fade', delay:300, repeat: true}"></i> <?php echo $this->item->country_publicnumber; ?></li>
<?php endif; ?>
<?php if ($this->item->country_publicaddress): ?>
<li><i class="uk-icon-map-marker" data-uk-scrollspy="{cls:'uk-animation-fade', delay:400, repeat: true}"></i> <?php echo $this->item->country_publicaddress; ?></li>
<?php endif; ?>
</ul>
</div>
</div>
<?php endif; ?>
</div>
</div>
<div class="uk-width-medium-1-2 uk-pull-1-2 uk-animation-slide-left">
<?php if($this->getModules('publicForm')) echo $this->getModules('publicForm'); ?>
</div>
</div>
<script type="text/javascript">
// set Countries
jQuery( document ).ready(function() {
var Countries = {
<?php $i=0;foreach($this->countries as $country): ?>
<?php if(!$i):?>
"<?php echo $country->id; ?>":"<?php echo $country->name; ?>"
<?php else: ?>
,"<?php echo $country->id; ?>":"<?php echo $country->name; ?>"
<?php endif; ?>
<?php $i++; ?>
<?php endforeach; ?>
};
var selectedCountry = <?php echo $this->item->country; ?>;
jQuery.each(Countries, function(key, value) {
if (selectedCountry == key){
jQuery('#Country')
.append(jQuery("<option></option>")
.attr("value",key)
.attr("selected","selected")
.text(value));
}
});
});
</script>