Add SPOTA core PHP application
Add the main admin, dosen, mahasiswa, API, and service code needed to run the core legacy application with configurable upload storage.
This commit is contained in:
19
admin/page/user/user.php
Normal file
19
admin/page/user/user.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
switch ($_GET['menu']) {
|
||||
case 'man-user':
|
||||
if($_SESSION['login-admin']['lvl']=='S'){
|
||||
include "daftar-user.php";
|
||||
}else{
|
||||
//page not found 404
|
||||
}
|
||||
break;
|
||||
|
||||
case 'my-profile':
|
||||
include "my-profile.php";
|
||||
break;
|
||||
|
||||
default:
|
||||
echo "<script>location.href='".ADMIN_PAGE."dashboard.php?page=user&menu=man-user'</script>";
|
||||
break;
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user