top.window.location = '../../index.php'"; exit; } require_once __DIR__ . "/" . "../../includes/include_basics_only.php"; require_once __DIR__ . "/" . "../../includes/classes/ConnectPDO.php"; use includes\classes\ConnectPDO; $conn = ConnectPDO::getInstance(); $auth = new AuthNew($_SESSION['s_logado'], $_SESSION['s_nivel'], 3, 1); $post = ""; if (isset($_POST)) { $post = $_POST; } $_SESSION['dash_filter_areas'] = (isset($post['area']) ? implode(',', $post['area']) : ""); $_SESSION['dash_filter_clients'] = (isset($post['client']) ? implode(',', $post['client']) : ""); $_SESSION['requester_areas'] = (isset($post['requester_areas']) ? ($post['requester_areas'] == "yes" ? 1 : 0) : 0); $_SESSION['render_custom_fields'] = (isset($post['render_custom_fields']) ? ($post['render_custom_fields'] == "yes" ? 1 : 0) : 0); return true;