$router = $_GET['router']; $router_file = __DIR__ . "/includes/router/$router.php"; if (file_exists($router_file)) { include_once __DIR__ . "/includes/router/$router.php"; }else{ die('No router found!. Error @ form.php @@ line 10'); } } else if (!empty($_GET['class_name'])) { $class_names = $_GET['class_name']; } else if (!empty($_GET['module_code'])) { $class_names = 'ino_generic'; $type = !empty($_GET['type']) ? $_GET['type'] : null; include_once('includes/basics/basics.inc'); $path = new path(); if (!empty($_GET['path_id'])) { $ino_generic_html = $path->findBy_moduleCode($_GET['module_code'], $type, array($_GET['path_id'])); } else { $ino_generic_html = $path->findBy_moduleCode($_GET['module_code'], $type, null); } include_once('includes/functions/loader.inc'); if (!empty($_GET['window_type']) && $_GET['window_type'] == 'popup') { include_once(THEME_DIR . '/popup_main_template.inc'); } else { include_once(THEME_DIR . '/main_template.inc'); } return; } else { die('No class found!. Error @ form.php @@ line 15'); } ?> <?php