session_start(); include 'config.php'; include 'library/main.php'; include 'library/menus.php'; include 'library/blocks.php'; include 'library/CreateForm.php'; if ($type) { include 'parts/' . $type . '/index.php'; }else{ include 'parts/pages/index.php'; } ?>