<?php if ($page) { $page->head(null); } ?> </head> <body> <?php //TRATA A ACTION if ($action) { Proxy::mountAction($action); //TRATA A PAGINA } else { ?> <?php $hasPopup = Proxy::mountPopup(); $hasAlert = Proxy::mountAlert(); Proxy::mountPage($page); ?> <?php } ?> </body> </html>