top.window.location = '../../index.php'"; exit; } require_once __DIR__ . "/" . "../../includes/include_geral_new.inc.php"; require_once __DIR__ . "/" . "../../includes/classes/ConnectPDO.php"; use includes\classes\ConnectPDO; $conn = ConnectPDO::getInstance(); $auth = new AuthNew($_SESSION['s_logado'], $_SESSION['s_nivel'], 1); /* Configuraçoes gerais */ $config = getConfig($conn); if (!$config['conf_updated_issues']) { redirect('update_issues_areas.php'); exit; } if (!defined('ALLOWED_LANGUAGES')) { $langLabels = [ 'pt_BR.php' => TRANS('LANG_PT_BR'), 'en.php' => TRANS('LANG_EN'), 'es_ES.php' => TRANS('LANG_ES_ES') ]; } else { $langLabels = ALLOWED_LANGUAGES; } array_multisort($langLabels, SORT_LOCALE_STRING); $categoriesLabels = [ 1 => $config['conf_prob_tipo_1'], 2 => $config['conf_prob_tipo_2'], 3 => $config['conf_prob_tipo_3'], 4 => $config['conf_prob_tipo_4'], 5 => $config['conf_prob_tipo_5'], 6 => $config['conf_prob_tipo_6'] ]; $categories[] = ["tag" => $config['conf_prob_tipo_1'], "value" => 1]; $categories[] = ["tag" => $config['conf_prob_tipo_2'], "value" => 2]; $categories[] = ["tag" => $config['conf_prob_tipo_3'], "value" => 3]; $categories[] = ["tag" => $config['conf_prob_tipo_4'], "value" => 4]; $categories[] = ["tag" => $config['conf_prob_tipo_5'], "value" => 5]; $categories[] = ["tag" => $config['conf_prob_tipo_6'], "value" => 6]; $categories = json_encode($categories); $categories_setted = $config['conf_cat_chain_at_opening']; $textCategoriesSetted = TRANS('NO_PRE_FILTERS_DEFINED'); if (!empty($categories_setted)) { $textCategoriesSetted = "
    "; $array_categories_setted = explode(',', $categories_setted); foreach ($array_categories_setted as $cat) { $textCategoriesSetted .= "
  1. " . $categoriesLabels[$cat] . "
  2. "; } $textCategoriesSetted .= "
"; } $response_at_routing = [ 'never' => TRANS('NEVER'), 'always' => TRANS('ALWAYS'), 'choice' => TRANS('OPERATOR_DECIDES') ]; array_multisort($response_at_routing, SORT_LOCALE_STRING); /* Possíveis posições do campo descrição dos chamados */ $descriptionFieldPositions = [ 'default' => TRANS('COL_DEFAULT'), 'top' => TRANS('TOP'), 'bottom' => TRANS('BOTTOM'), ]; array_multisort($descriptionFieldPositions, SORT_LOCALE_STRING); $descriptionCurrentPos = getConfigValue($conn, 'TICKET_DESCRIPTION_POS') ?? 'default'; $panels = [ '1' => TRANS('PANEL_UPPER'), '2' => TRANS('PANEL_MAIN'), '3' => TRANS('HIDDEN_PANEL'), ]; $timeFreeze = [ '0' => TRANS('HAS_NOT_TIME_FREEZE'), '1' => TRANS('HAS_TIME_FREEZE') ]; $ratingLabels = ratingLabels(); $_SESSION['s_page_admin'] = $_SERVER['PHP_SELF']; ?> <?= APP_NAME; ?> <?= VERSAO; ?>

 



 
 
disabled /> disabled />
 
disabled /> disabled />
 
 
 
' . getStatusInfo($conn, $statInactive)['status'] . ''; } } ?>
 
 
 
disabled /> disabled />
 
disabled /> disabled />
 
disabled /> disabled />
 
 
 
disabled /> disabled />
 
%
 
disabled /> disabled />
 
disabled /> disabled />
 
(MB)
 
disabled /> disabled />
disabled /> disabled />
disabled /> disabled />
disabled /> disabled />
disabled /> disabled />
disabled /> disabled />
disabled /> disabled />
disabled /> disabled />
disabled /> disabled />
disabled /> disabled />
 
px
px
 
disabled /> disabled />
disabled /> disabled />
 
 
 
 
disabled /> disabled />
disabled /> disabled />
 
 
/> />
 
/> />
 
  >
 
  >
 
 
/> />
 
/> />
 
/> />
 
 
 
/> />
 
 
/> />
 
/> />
 
 
/> />
/> />
/> />
/> />
/> />
/> />
/> />
/> />
/> />
/> />
 
 
/> />
/> />
 
 
 
 
/> />
/> />