Advertisement
Guest User

Untitled

a guest
Aug 16th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.51 KB | None | 0 0
  1. <?php
  2. session_start();
  3. define("PCMS",1);
  4. if (file_exists('config.php')) require_once ('config.php');
  5. define( 'CPATH', dirname(__FILE__) . '/' );
  6. define('PLIB', 'lib');
  7. define('PFUNC', 'functions');
  8. $id = trim(strtolower(str_replace("_"," ",$_GET['p'])));
  9. if ($id=='')  $id = $_POST['p'];
  10. require (CPATH.PLIB.'/elements.php');
  11. $a["menu"] = get_menu();
  12. $a["isi"] = get_content();
  13. $a["kiri"] = get_sidebar($pos);
  14. $a["path"] = $alan;
  15. require (CPATH.PLIB.'/parsing.php');
  16. Parse($alan."index.tpl.htm",$a);
  17.  
  18. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement