require_once("includes/termos.php"); //print_r($_SESSION); $url_atual = 'index.php'; if(!isset($_SESSION['lingua'])) $_SESSION['lingua'] = 'pt'; $act = ''; if(isset($_GET['act'])){ $act = $_GET['act']; } $url_atual .= '?act='.$act; if(isset($_GET['l'])){ $_SESSION["lingua"] = $_GET['l']; } else { $_SESSION["lingua"] = 'pt'; } ?>