Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php if(empty($_GET['page'])) {
- echo ('<div id="newsx">');
- include ("noticias/news.php");
- echo ('</div>');
- } elseif(file_exists($_GET['page'].'.php'))
- {
- include ($_GET['page'].'.php');} else
- { echo '<font color="#FF0000" size="4" face="Verdana, Arial, Helvetica, sans-serif">Erro: Página não encontrada!</font>'; }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement