alert('Usuário não pertence ao SIC que está tentando acessar!');"; else Redirect("../index/"); //---------------------- if(usaRecaptcha($login)) $usarecap = true; else $usarecap = false; if ($_POST['btsub']) { if ($usarecap) { $error = null; $recaptcha_ok = (strtoupper($_POST["palavra"]) == strtoupper($_SESSION["palavra"])); } else $recaptcha_ok = true; if ($recaptcha_ok) { if (autentica($login, $password, $tipo)) { Redirect("../index/"); } else { $msg = "Erro: falha no login."; $usarecap = true; } } else { $msg = "Erro: falha no login."; } } if (!empty($token)) { if (autentica("", "", "", $token)) { Redirect("../index/"); } else { $msg = "Erro: falha no login."; } } if (!empty($token2)) { if (autentica("", "", "", "", $token2)) { if (empty($notRedir)) { Redirect("../index/"); echo 'loggin...'; } } else { $msg = "Erro: falha no login."; } } ?> Lei de Acesso
Clique aqui para recarregar a imagem
$x_value) { $link = $x; break; } if (isset($_GET['p'])) $page = $_GET['p'] . '.php'; else $page = 'index.php'; if (!empty($link) && $link <> 'dashboard') include("../".$link."/".$page); else include("dashboard/".$page); //echo getSession('sic')[getSession("idsecretaria")][2]; //echo $link; //echo '
' . $page; ?>