fb tw yt g+
window.location.href="index.php?pagina=login/error";'); } //LOGIN VERIFICATION END ?>
Directorio
VID Nombre Piloto ATC '; while($row = mysqli_fetch_array($result)) { $vid = $row['vid']; $resultStaff = mysqli_query($con, "SELECT * FROM staff_members WHERE vid = '$vid'"); $rowStaff = $resultStaff->fetch_assoc(); $rango_portal = $rowStaff['permisos']; $rango_ivao = $row['rango_ivao']; $rango_atc = $row['rango_atc']; $rango_piloto = $row['rango_piloto']; if($rowStaff['permisos'] == 'ADM') {$rango = '
ADM
';} else{ if ($rango_ivao == 0){$rango = '
SUSP
';} elseif ($rango_ivao == 1){$rango = '
INACT
';} elseif ($rango_ivao == 3){$rango = '
';} elseif ($rango_ivao == 11){$rango = '
SUP
';} elseif ($rango_ivao == 12){$rango = '
ADM
';} else {$rango = '
';} } echo ''; echo ' '. $rango .' ' .$row['vid']. ' ' .$row['nombre']. ' ' .$row['apellido']. ' '; } echo ' '; } mysqli_close($conexion); ?>