if (!isset($_SESSION['samurai']['id_sistema']) && isset($_GET['id_sistema'])) {
$_SESSION['samurai']['id_sistema'] = $_GET['id_sistema'];
}
if (!isset($_SESSION['samurai']['login']) && isset($_GET['login'])) {
$_SESSION['samurai']['login'] = $_GET['login'];
}
if (!isset($_SESSION['samurai']['id_sistema']) && isset($_GET['id_sistema'])) {
$_SESSION['samurai']['id_sistema'] = $_GET['id_sistema'];
}
if (!isset($_SESSION['samurai']['login']) && isset($_GET['login'])) {
$_SESSION['samurai']['login'] = $_GET['login'];
}