Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- include('classes/Cache.php');
- $cache = new Cache('content/noticias.php');
- $noticias = $cache->getContent();
- $cache = new Cache('content/produtos.php');
- $produtos = $cache->getContent();
- ?>
- <!DOCTYPE HTML>
- <html lang="en-US">
- <head>
- <meta charset="UTF-8">
- <title></title>
- </head>
- <body>
- <div id="main">
- <div id="header"></div>
- <div id="nav"></div>
- <div id="content">
- <h1>Produtos</h1>
- <?php echo $produtos ?>
- <h1>Noticias</h1>
- <?php echo $noticias ?>
- </div>
- <div id="footer"></div>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement