Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if (isset($_SESSION['username'])) {
- # code...
- if ($_SESSION['id_jabatan']==1) {
- # code...
- header("location :../admin/index.php");
- } else if ($_SESSION['id_jabatan']==2) {
- # code...
- header("location : ../entry/index.php");
- }
- }
- else if (!isset($_SESSION['username'])) {
- # code...
- header("location: index.php");
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement