Wow, ok. I've read your first few threads... but it still looks like you haven't fixed your fundamental error in any of your later posts.
Here's your code:
if (*user has level 1 job*){
//level one code
if (*user has level 2 job*){
//level two code
if (*user has level 3 job*){
//level three code
}
}
}
Now if you follow this knowing that the the user only has a level 2 job they wont pass the first if statement so they skip all the code in the middle and never get to check if they have a level two job.
What your code should look like:
if (*user has level 1 job*){
//level one code
} else {
if (*user has level 2 job*){
//level two code
} else {
if (*user has level 3 job*){
//level three code
} else {
//"restricted page"
}
}
}
This checks if the user has a level one job and if they do the level one code shown then they skip the rest of the code. Only if the first check returns false is the level 2 check run.
So far as I know this is exactly what your looking for.