praiadeseselle/site/templates/habitacion.php

31 lines
990 B
PHP
Raw Normal View History

2022-05-03 12:18:01 +02:00
<?php namespace ProcessWire;
$menu = '';
$contido = '';
$mantemento = $inicio->mantemento;
if($mantemento && !$user->isLoggedin())
{
$session->redirect($inicio->url);
}
else
{
$menu = renderMenu($inicio->and($inicio->children), 0, 'paxinas');
$contido .= ' ' . renderMigasPan($page) . "\n";
2022-10-25 14:47:38 +02:00
$contido .= ' <article id="' . $page->name .'">' . "\n";
2022-05-03 12:18:01 +02:00
$contido .= ' <header>' . "\n";
$contido .= ' <div class="columna">' . "\n";
$contido .= ' <h2>' . ucfirst($page->title) . '</h2>' . "\n";
$contido .= ' </div>' . "\n";
$contido .= ' </header>' . "\n";
$contido .= ' <div class="contedor">' . "\n";
if(count($page->seccions))
{
$contido .= ' ' . getSeccions($page->seccions) . "\n";
}
$contido .= ' </div>' . "\n";
$contido .= ' </article>' . "\n";
}