fetch_all('sys_menu') as $isi) { if (in_array($isi->url, $role_user)) { if ($path_url!='' && $path_url==$isi->url) { include "modul/".$isi->nav_act."/".$isi->nav_act.".php"; } } } include "footer.php"; } else { redirect(base_admin() . "login.php"); } ?>