20 lines
No EOL
991 B
PHP
20 lines
No EOL
991 B
PHP
<?php namespace ProcessWire;
|
|
|
|
$mantemento = $inicio->mantemento;
|
|
|
|
if($configuracion['mantemento']['activo'] && !$user->isLoggedin())
|
|
{
|
|
$session->redirect('/praiadeseselle');
|
|
}
|
|
else
|
|
{
|
|
$menu = renderMenu($inicio->and($inicio->children), 0, 'paxinas');
|
|
|
|
$contido .= renderMigasPan($page) . "\n";
|
|
$contido .= '<article id="' . $page->name .'">' . "\n";
|
|
$contido .= '<div class="contedor">' . "\n";
|
|
$contido .= '<h2 class="visually-hidden">' . ucfirst($page->title) . '</h2>' . "\n";
|
|
$contido .= '<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d683.7895035822396!2d-8.223894611883049!3d43.43175437259117!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0xd2e77df3b9b18d5%3A0x80036ce3d85c27cf!2sLugar%20de%20Sesella%2C%2034%2C%2015623%20Ares%2C%20La%20Coru%C3%B1a!5e1!3m2!1ses!2ses!4v1647252009787!5m2!1ses!2ses" style="border:0;" allowfullscreen="" loading="lazy"></iframe>';
|
|
$contido .= '</div>' . "\n";
|
|
$contido .= '</article>' . "\n";
|
|
} |