> select_simple("contents","*","permalink='".$krnl->make_permalink($krnl->lng($_GET['parameters'][1]))."' AND id_parent='0' AND id_language='".$krnl->lng_content_get()."'"); if($seccion=$db->fetch_array($c)) { $c1=$db->select_simple("contents","*","permalink='".$_GET['parameters'][2]."' AND id_parent='".$seccion['id']."' AND id_language='".$krnl->lng_content_get()."'"); if(!$subseccion=$db->fetch_array($c1)) { $c1=$db->select_simple("contents","*","id_parent='".$seccion['id']."' AND id_language='".$krnl->lng_content_get()."'",array('order'=>'position DESC')); $subseccion=$db->fetch_array($c1); $_GET['parameters'][2]=$subseccion['permalink']; } } $activesub[$contenido['permalink']]="active"; $c3=$db->select_simple("contents","*","id_parent='".$subseccion['id']."' AND permalink='".$_GET['parameters'][3]."' AND id_language='".$krnl->lng_content_get()."'"); if(!$contenido=$db->fetch_array($c3)) { $c3=$db->select_simple("contents","*","id_parent='".$subseccion['id']."' AND id_language='".$krnl->lng_content_get()."'"); $contenido=$db->fetch_array($c3); } $id_contenido=$contenido['id']; $active[$subseccion['permalink']]="class='active'"; $activesub[$contenido['permalink']]="active"; $title.=" - ".$subseccion['subtitle']; if($contenido['title']) { $title.=" - ".$contenido['title']; } if($_GET['parameters'][4]) { $c4=$db->select_simple("contents","*","id_parent='".$contenido['id']."' AND id_language='".$krnl->lng_content_get()."' AND permalink='".$_GET['parameters'][4]."'"); if($cont=$db->fetch_array($c4)) { $contenido=$cont; $activesubsub[$contenido['permalink']]="active"; $title.=" - ".$contenido['title']; } } ?>

lng('hacer'); ?>

make_permalink($krnl->lng('playas')): case $krnl->make_permalink($krnl->lng('areas_recreativas')): $center="43.61874078951569, -5.844407696386726"; $zoom=12; if($_GET['parameters'][3]) { $data['select']="coordenadas.id as id_marca,coordenadas.*,coordenadas.permalink as pm,coordenadas_grupos.*,multimedia.url, multimedia.title as alt"; $data['table']="coordenadas"; $data['where']="coordenadas.id_language='".$GLOBALS['krnl']->lng_content_get()."' AND coordenadas.permalink='".$_GET['parameters'][3]."'"; $data['joins'][0]['type'] = 'inner'; $data['joins'][0]['table']="coordenadas_grupos"; $data['joins'][0]['where']="coordenadas.id_grupos=coordenadas_grupos.id AND coordenadas_grupos.permalink='".$_GET['parameters'][2]."'"; $data['joins'][1]['type'] = 'left'; $data['joins'][1]['table']="coordenadas_multimedia"; $data['joins'][1]['where']="coordenadas.id=coordenadas_multimedia.id_coordenadas"; $data['joins'][2]['type'] = 'left'; $data['joins'][2]['table']="multimedia"; $data['joins'][2]['where']="multimedia.id=coordenadas_multimedia.id_multimedia"; $data['order']="coordenadas.title ASC"; //$data['joins'][3]['type'] = 'inner'; //$data['joins'][3]['table']="establecimientos"; //$data['joins'][3]['select']="establecimientos.permalink as pm,establecimientos.id_establecimientos_categorias,establecimientos.tipo as tp"; //$data['joins'][3]['where']="coordenadas.id=establecimientos.id_coordenadas"; $c=$GLOBALS['db']->select_query($data); $coordenada=$db->fetch_array($c); $subseccion['text']=$coordenada['descripcion']; $zoom=15; $center=$coordenada['coordenadas']; $coordenadas[]=$coordenada; $subseccion['url']=1; } else { $data['select']="coordenadas.id as id_marca,coordenadas.*,coordenadas.permalink as pm,coordenadas_grupos.*,multimedia.url, multimedia.title as alt"; $data['table']="coordenadas"; $data['where']="coordenadas.id_language='".$GLOBALS['krnl']->lng_content_get()."'"; $data['joins'][0]['type'] = 'inner'; $data['joins'][0]['table']="coordenadas_grupos"; $data['joins'][0]['where']="coordenadas.id_grupos=coordenadas_grupos.id AND coordenadas_grupos.permalink='".$_GET['parameters'][2]."'"; $data['joins'][1]['type'] = 'left'; $data['joins'][1]['table']="coordenadas_multimedia"; $data['joins'][1]['where']="coordenadas.id=coordenadas_multimedia.id_coordenadas"; $data['joins'][2]['type'] = 'left'; $data['joins'][2]['table']="multimedia"; $data['joins'][2]['where']="multimedia.id=coordenadas_multimedia.id_multimedia"; $data['order']="coordenadas.title ASC"; //$data['joins'][3]['type'] = 'inner'; //$data['joins'][3]['table']="establecimientos"; //$data['joins'][3]['select']="establecimientos.permalink as pm,establecimientos.id_establecimientos_categorias,establecimientos.tipo as tp"; //$data['joins'][3]['where']="coordenadas.id=establecimientos.id_coordenadas"; $c=$GLOBALS['db']->select_query($data); while($coordenada=$db->fetch_array($c)) { $select[$coordenada['id_grupos']]=$coordenada['grupo']; $coordenadas[]=$coordenada; } ob_start(); ?> select_simple("coordenadas","*","id_language='".$krnl->lng_content_get()."'"); ?>

make_permalink($krnl->lng("rutas")): ?>
lng_content_get()."' AND contents.id_parent='".$subseccion['id']."'"; $data['joins'][1]['type'] = 'left'; $data['joins'][1]['table']="contents_multimedia"; $data['joins'][1]['where']="contents.id=contents_multimedia.id_contents"; $data['joins'][2]['type'] = 'left'; $data['joins'][2]['table']="multimedia"; $data['joins'][2]['where']="multimedia.id=contents_multimedia.id_multimedia"; $data['order']="position DESC"; $data['group']="contents.id"; //$c4=$db->select_simple("contents","*","id_parent='".$subseccion['id']."' AND id_language='".$krnl->lng_content_get()."'",array('order'=>'position DESC')); $c4=$db->select_query($data); while($ruta=$db->fetch_array($c4)) { $rutas[]=$ruta; } /*ob_start(); ?>

make_permalink($krnl->lng('arquitectura')): ?>
select_simple("contents","*","id_parent='".$contenido['id']."' AND permalink='".$_GET['parameters'][4]."' AND id_language='".$krnl->lng_content_get()."'"); if(!$subnivel=$db->fetch_array($c4)) { $c4=$db->select_simple("contents","*","id_parent='".$contenido['id']."' AND id_language='".$krnl->lng_content_get()."'"); $subnivel=$db->fetch_array($c4); } $_GET['parameters'][4]=$subnivel['permalink']; $c4=$db->select_simple("contents","*","id_parent='".$contenido['id']."' AND id_language='".$krnl->lng_content_get()."'"); ob_start(); $seccion_active[$_GET['parameters'][4]]="active"; while($seccion=$db->fetch_array($c4)) { ?> " title="">" alt="" />

make_permalink($krnl->lng('artesania')): ?>
select_simple("contents","*","id_parent='".$contenido['id']."' AND permalink='".$_GET['parameters'][4]."' AND id_language='".$krnl->lng_content_get()."'"); if($cont=$db->fetch_array($c4)) { $contenido=$cont; } ?>

make_permalink($krnl->lng('alojamientos')): $titulo_est=$krnl->lng('alojamientos'); case $krnl->make_permalink($krnl->lng('restaurantes')): if(!$titulo_est) { $titulo_est=$krnl->lng('restaurantes'); } case $krnl->make_permalink($krnl->lng('comercios')): if(!$titulo_est) { $titulo_est=$krnl->lng('comercios'); } require(INSTALATION_DIR_ABS."/public/establecimientos.php"); $no_mostrar_derecha=1; break; } ?>
lng_content_get()."'"; $data['joins'][0]['type'] = 'inner'; $data['joins'][0]['table']="contents_multimedia"; $data['joins'][0]['where']="contents_multimedia.id_contents='".$id_contenido."' AND contents_multimedia.id_multimedia=multimedia.id"; $c4=$GLOBALS['db']->select_query($data); while($imagen=$GLOBALS['db']->fetch_array($c4)) { ?>
<? echo $imagen['title'];?>

get_header('Portada'); echo $cont; $tpl->get_footer(); function mapa($id,$class,$tam_img) { ?>
$concejo) { ?> make_permalink($concejo['subtitle']).".png";?>" alt="" /> " alt="Gozón" />

" alt="Leyenda Mapa Gozón" />