| Current Path : /home/purehotels/public_html/modules/mod_pure_footer/tmpl/ |
| Current File : /home/purehotels/public_html/modules/mod_pure_footer/tmpl/default.php |
<?php
/**
*
*
*/
// no direct access
defined('_JEXEC') or die;
$document = JFactory::getDocument();
$document->addStyleSheet('modules/mod_pure_footer/css/module.css');
$document->addScript('/media/com_acymailing/js/acymailing_module.js?v=510');
$user = JFactory::getUser();
$userToken = JSession::getFormToken();
$param = new stdClass();
$param->phone = $params->get('phone');
$param->email = $params->get('email');
$param->instagram = $params->get('instagram');
$param->facebook = $params->get('facebook');
$param->tripadvisor = $params->get('tripadvisor');
$param->linkedin = $params->get('linkedin');
?>
<div id="footer">
<div class="row follow">
<div class="col-xs-12 col-sm-6 newsletter">
<div class="subscribe">
<form id="formAcymailing22671" action="/no/" onsubmit="return submitacymailingform('optin','formAcymailing22671')" method="post" name="formAcymailing22671">
<div class="acymailing_module_form">
<h4><?php echo JText::_('TPL_PUREHOTELS_NEWSLETTER'); ?></h4>
<input type="text" class="input input-text newsletter" name="user[email]" placeholder="<?php echo JText::_('TPL_PUREHOTELS_NEWSLETTER_LASTEST_NEWS'); ?>">
<input class="button button-white" type="submit" value="<?php echo JText::_('TPL_PUREHOTELS_SEND'); ?>" onclick="try{ return submitacymailingform('optin','formAcymailing22671'); }catch(err){alert('The form could not be submitted '+err);return false;}">
<input type="hidden" name="ajax" value="0">
<input type="hidden" name="acy_source" value="module_95">
<input type="hidden" name="ctrl" value="sub">
<input type="hidden" name="task" value="notask">
<input type="hidden" name="redirect" value="http://www.purehotels.no">
<input type="hidden" name="redirectunsub" value="http://www.purehotels.no">
<input type="hidden" name="option" value="com_acymailing">
<input type="hidden" name="hiddenlists" value="1">
<input type="hidden" name="acyformname" value="formAcymailing22671">
</div>
</form>
</div>
<div class="info">
<?php echo $params->subscribeText; ?>
</div>
</div>
<div class="col-xs-12 col-sm-6 social" align="right">
<p><?php echo JText::_('TPL_PUREHOTELS_FOLLOW_US'); ?>:
<?php if ($param->instagram): ?>
<a href="<?php echo $param->instagram; ?>" class="social-link"><img src="modules/mod_pure_footer/images/social/instagram.png" alt="" height="29" width="29"></a>
<?php endif; ?>
<?php if ($param->facebook): ?>
<a href="<?php echo $param->facebook; ?>" class="social-link"><img src="modules/mod_pure_footer/images/social/facebook.png" alt="" height="29" width="29"></a>
<?php endif; ?>
<?php if ($param->tripadvisor): ?>
<a href="<?php echo $param->tripadvisor; ?>" class="social-link"><img src="modules/mod_pure_footer/images/social/tripadvisor.png" alt="" height="29" width="29"></a>
<?php endif; ?>
<?php if ($param->linkedin): ?>
<a href="<?php echo $param->linkedin; ?>" class="social-link"><img src="modules/mod_pure_footer/images/social/linkedin.png" alt="" height="29" width="29"></a>
<?php endif; ?>
</p>
</div>
</div>
<div class="row">
<div class="col-sm-3 loyalty">
<a href="satisfaction/">
<img src="modules/mod_pure_footer/images/satisfaction.png" alt="" height="100" style="margin-bottom: 10px;">
</a>
</div>
<div class="col-sm-3 menu">
<a href="press/"><?php echo JText::_('TPL_PUREHOTELS_PRESS'); ?></a><br>
<a href="about/"><?php echo JText::_('TPL_PUREHOTELS_ABOUT'); ?></a><br>
<a href="faq/"><?php echo JText::_('TPL_PUREHOTELS_FAQ'); ?></a><br>
<a href="terms/"><?php echo JText::_('TPL_PUREHOTELS_TERMS'); ?></a><br>
<a href="franchise/"><?php echo JText::_('TPL_PUREHOTELS_FRANCHISE'); ?></a><br>
<?php if ($user->id): ?>
<a href="index.php?option=com_users&task=user.logout&<?php echo $userToken; ?>=1">LOGG UT</a>
<?php else: ?>
<a href="component/users">LOGG INN</a><br>
<?php endif; ?>
<a href="<?php echo JURI::base(); ?>images/PDF/businessconditions.pdf" target="_blank">Business Conditions</a><br>
</div>
<div class="col-sm-3 contact">
<div class="footer-phone">
<?php echo JText::_('TPL_PUREHOTELS_CONTACT_US'); ?>:<br>
Pure Hospitality Group AS
<?php if ($param->phone): ?>
<p class="phone-number"><i class="icon2 icon2-phone"></i> <?php echo $param->phone; ?></p>
<?php endif; ?>
<?php if ($param->email): ?>
<p class="phone-number"><i class="icon2 icon2-mail"></i> <a href="mailto:<?php echo $param->email; ?>"><?php echo $param->email; ?></a></p>
<?php endif; ?>
</div>
</div>
<div class="col-sm-3 logo">
<a href="/"><img src="templates/purehotels/images/logo-small.png" alt=""></a>
</div>
</div>
</div>