OKIEWARDOYO

PHP MYSQL No.10 - index.php

Aug 27th, 2012
2,572
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.30 KB | None | 0 0
  1. <?php
  2.  
  3. /*
  4.  * MediaTutorial.web.id
  5.  */
  6. @include 'process.php';
  7.  
  8. $page = (isset($_GET['page']))?$_GET['page']:'';
  9. $action = (isset($_GET['action']))?$_GET['action']:'';
  10.  
  11. if($action == 'save'){
  12.     echo saveBlock();
  13.     exit();
  14. }
  15.  
  16. echo showHeader();
  17. echo showBlocks($page);
  18. echo showFooter();
  19. ?>
Advertisement
Add Comment
Please, Sign In to add comment