*/?> isLoggedIn()) { echo ''; } ?> */ ?> */ ?> getCollectionTypeHandle(); ?>
Menu
display($c); ?>
display($c); ?>
array()); $translations['en']['Majoituspalvelut'] = 'Accommodation'; $translations['en']['Ravintolapalvelut'] = 'Restaurant'; $translations['en']['Ohjelmapalvelut'] = 'Activities'; $translations['en']['Kuljetuspalvelut'] = 'Transportation'; $translations['en']['Ostokset ja muut palvelut'] = 'Shopping and other services'; $translations['en']['Välinevuokraus'] = 'Equipments'; if(CURRENT_LANG == 'en') { $path = '/' . CURRENT_LANG . '/services/#cat-'; } else { $path = '/' . CURRENT_LANG . '/palvelut/#cat-'; } $services = CollectionAttributeKey::getByHandle('card_categories'); $satc = new SelectAttributeTypeController(AttributeType::getByHandle('select')); $satc->setAttributeKey($services); $values = $satc->getOptions(); $first = true; foreach ($values as $v) { if(!$first) { echo '|'; } $first = false; echo ''; if(isset($translations[CURRENT_LANG]) && isset($translations[CURRENT_LANG][$v->value])) { echo $translations[CURRENT_LANG][$v->value]; } else { echo $v->value; } echo ''; } ?>
function resizeMainImage() { $('#main-image img').each(function() { // var w = $(this).attr('width'); // var h = $(this).attr('height'); $(this).width($(window).width()); // console.log(w); }); } resizeMainImage(); $(function() { $(window).resize(resizeMainImage); }); */ ?>
display($c); ?>
' */ ?>
getCollectionTypeHandle(); $include_dir = RENDER_DIR ; if(file_exists($include_dir .'/' . $handle . '.php')) { require_once($include_dir .'/' . $handle . '.php'); if(function_exists('render_' . $handle)) { call_user_func('render_' . $handle , $c); } } else { require_once($include_dir .'/default.php'); call_user_func('render_default' , $c); } $this->inc('elements/footer.php'); ?>