2022-03-09 18:09:44 +01:00
|
|
|
<?php namespace ProcessWire;
|
|
|
|
|
|
|
|
$mantemento = $inicio->mantemento;
|
|
|
|
|
|
|
|
if($mantemento && !$user->isLoggedin())
|
|
|
|
{
|
|
|
|
$menu = '';
|
2022-03-10 01:47:18 +01:00
|
|
|
$menu = renderMenu($inicio, 0, 'paxinas');
|
2022-03-09 18:09:44 +01:00
|
|
|
$contido = '';
|
|
|
|
|
|
|
|
if(count($inicio->seccion_destacada))
|
|
|
|
{
|
|
|
|
$contido .= getSeccions($inicio->seccion_destacada, true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
2022-03-10 01:47:18 +01:00
|
|
|
$menu = renderMenu($inicio->and($inicio->children), 0, 'paxinas');
|
2022-03-09 18:09:44 +01:00
|
|
|
$contido = '';
|
|
|
|
}
|