daily pastebin goal
21%
SHARE
TWEET

Untitled

a guest Oct 31st, 2011 109 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  
  3. include('classes/Cache.php');
  4.  
  5. $cache    =  new Cache('content/noticias.php');
  6. $noticias  = $cache->getContent();
  7.  
  8.  
  9. $cache    =  new Cache('content/produtos.php');
  10. $produtos  = $cache->getContent();
  11.  
  12. ?>
  13.  
  14. <!DOCTYPE HTML>
  15. <html lang="en-US">
  16. <head>
  17.         <meta charset="UTF-8">
  18.         <title></title>
  19. </head>
  20. <body>
  21.  
  22. <div id="main">
  23.         <div id="header"></div>
  24.         <div id="nav"></div>
  25.         <div id="content">
  26.                         <h1>Produtos</h1>
  27.                         <?php echo $produtos ?>
  28.                        
  29.                         <h1>Noticias</h1>
  30.                         <?php echo $noticias ?>
  31.         </div>
  32.         <div id="footer"></div>
  33. </div>
  34.        
  35. </body>
  36. </html>
  37.  
  38.  
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top