Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- session_start();
- define("PCMS",1);
- if (file_exists('config.php')) require_once ('config.php');
- define( 'CPATH', dirname(__FILE__) . '/' );
- define('PLIB', 'lib');
- define('PFUNC', 'functions');
- $id = trim(strtolower(str_replace("_"," ",$_GET['p'])));
- if ($id=='') $id = $_POST['p'];
- require (CPATH.PLIB.'/elements.php');
- $a["menu"] = get_menu();
- $a["isi"] = get_content();
- $a["kiri"] = get_sidebar($pos);
- $a["path"] = $alan;
- require (CPATH.PLIB.'/parsing.php');
- Parse($alan."index.tpl.htm",$a);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement