2022-10-25 14:47:38 +02:00
|
|
|
<?php namespace ProcessWire;
|
|
|
|
|
|
|
|
$mantemento = $inicio->mantemento;
|
|
|
|
|
|
|
|
if($mantemento && !$user->isLoggedin())
|
|
|
|
{
|
|
|
|
$session->redirect($inicio->url);
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
2022-10-27 14:10:14 +02:00
|
|
|
$menu = renderMenu($inicio->and($inicio->children), 0, 'paxinas');
|
|
|
|
$contido = '';
|
2022-10-25 14:47:38 +02:00
|
|
|
|
2022-10-27 14:10:14 +02:00
|
|
|
$contido .= renderMigasPan($page) . "\n";
|
|
|
|
$contido .= '<div class="contedor">' . "\n";
|
|
|
|
$contido .= renderArtigos($page, $languages->getLocale(), false);
|
2022-10-25 14:47:38 +02:00
|
|
|
$contido .= '</div>' . "\n";
|
|
|
|
}
|