<?php
require_once("admin/inc/protecao-final.php");

$total_avisos_ativos = mysqli_num_rows(mysqli_query($conexao,"SELECT * FROM avisos WHERE area = 'streaming'"));
$checar_status_aviso = mysqli_num_rows(mysqli_query($conexao,"SELECT * FROM avisos_desativados WHERE area = 'streaming' AND login = '".$dados_stm["login"]."'"));
$total_avisos_exibir = ($total_avisos_ativos > $checar_status_aviso) ? $total_avisos_ativos-$checar_status_aviso : 0;

if($_POST) {

mysqli_query($conexao,"Update streamings set pagina_inicial = '".$_POST["pagina_inicial"]."', idioma_painel = '".$_POST["idioma_painel"]."', timezone = '".$_POST["timezone"]."', formato_data = '".$_POST["formato_data"]."', tema_dark = '".$_POST["tema_dark"]."' where codigo = '".$dados_stm["codigo"]."'");

// Cria o sessão do status das ações executadas e redireciona.
$_SESSION["status_acao"] = '<div class="alert alert-success text-center" role="alert">'.$lang['lang_info_config_painel_resultado_ok'].'</div>';

header("Location: /configuracoes-painel");
exit();
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  <title>Streaming <?php echo $dados_stm["login"]; ?></title>
  <link rel="stylesheet" href="/inc/materialdesignicons.min.css">
  <link rel="stylesheet" href="/inc/font-awesome.min.css">
  <link rel="stylesheet" href="/inc/vendor.bundle.base.css">
  <link rel="stylesheet" href="/inc/vendor.bundle.addons.css">  
  <?php if($dados_stm["tema_dark"] == "sim") { ?>
  <link rel="stylesheet" href="/inc/theme-dark.css">
  <?php } else { ?>
  <link rel="stylesheet" href="/inc/theme.css">
  <?php } ?>
  <link rel="shortcut icon" href="/img/favicon.ico" />
  <script type="text/javascript" src="/inc/ajax-streaming.js"></script>
  <script type="text/javascript" src="/inc/javascript.js"></script>
</head>
<body>
  <div class="container-scroller">
    <nav class="navbar col-lg-12 col-12 p-0 fixed-top d-flex flex-row">
      <div class="text-center navbar-brand-wrapper d-flex align-items-center justify-content-center">
        <?php if($dados_revenda["url_logo"]) { ?>
        <a class="navbar-brand brand-logo" href="/dashboard"><img id="logo" src="<?php echo $dados_revenda["url_logo"]; ?>" title="Painel" height="60" border="0"></a>
        <?php } else { ?>
        <a class="navbar-brand brand-logo" href="/dashboard"><span>Painel Streaming</span></a>
        <?php } ?>
        <a class="navbar-brand brand-logo-mini" href="/dashboard"><i class="fa fa-video-camera text-muted"></i></a>
      </div>
      <div class="navbar-menu-wrapper d-flex align-items-center justify-content-end justify-content-lg-start">
        <button class="navbar-toggler navbar-toggler align-self-center" type="button" data-toggle="minimize">
          <span class="mdi mdi-menu text-icones"></span>
        </button>
        <ul class="navbar-nav navbar-nav-right">
          <li class="nav-item nav-profile dropdown show">
            <a class="nav-link dropdown-toggle" href="#" data-toggle="dropdown" id="profileDropdown" aria-expanded="true">
              <i class="fa fa-power-off f-18 text-icones" data-toggle="tooltip" data-placement="bottom" title="<?php echo $lang['lang_botao_titulo_ligar']; ?>/<?php echo $lang['lang_botao_titulo_desligar']; ?>"></i>
            </a>
            <div class="dropdown-menu dropdown-menu-right navbar-dropdown" aria-labelledby="profileDropdown">
              <a class="dropdown-item text-success" href="javascript:ligar_streaming('<?php echo $login_code; ?>');"> <?php echo $lang['lang_botao_titulo_ligar']; ?> Streaming</a>
              <a class="dropdown-item text-warning" href="javascript:reiniciar_streaming('<?php echo $login_code; ?>');"> <?php echo $lang['lang_botao_titulo_reiniciar']; ?> Streaming</a>
              <?php if($dados_stm["srt_status"] == 'sim') { ?>
              <a class="dropdown-item text-primary" href="javascript:reiniciar_srt('<?php echo $login_code; ?>');"> <?php echo $lang['lang_botao_titulo_reiniciar']; ?> SRT</a>
              <?php } ?>
            </div>
          </li>
          <li class="nav-item dropdown">
            <a class="nav-link count-indicator dropdown-toggle d-flex align-items-center justify-content-center" id="notificationDropdown" href="#" data-toggle="dropdown" aria-expanded="false">
              <i class="mdi mdi-bell f-22 text-icones" data-toggle="tooltip" data-placement="bottom" title="<?php echo $lang['lang_info_pagina_informacoes_tab_avisos']; ?>"></i>
              <?php if($total_avisos_exibir > 0) { ?><span class="count bg-success"><?php echo $total_avisos_exibir; ?></span><?php } ?>           
            </a>
            <div class="dropdown-menu dropdown-menu-right navbar-dropdown preview-list" aria-labelledby="notificationDropdown">
              <a class="dropdown-item">
                <p class="mb-0 font-weight-normal float-left"><?php echo $lang['lang_info_pagina_informacoes_tab_avisos']; ?></p>
              </a>
              <div class="dropdown-divider"></div>
              <?php carregar_avisos_streaming($conexao,$dados_stm["porta"],$dados_servidor["codigo"]); ?>
            </div>
          </li>
          <li class="nav-item">
            <a class="nav-link" href="/sair"><i class="mdi mdi-logout f-22 text-icones" data-toggle="tooltip" data-placement="bottom" title="Sair/logout"></i></a>
          </li>
          <li>
            <button type="button" class="btn btn-info" id="status-streaming" onClick="status_streaming('<?php echo $login_code; ?>');" style="margin: 10px;min-width: 150px; min-height: 40px"><i class="fa fa-refresh"></i></button>
          </li>
        </ul>
        <button class="navbar-toggler navbar-toggler-right d-lg-none align-self-center" type="button" data-toggle="offcanvas">
          <span class="mdi mdi-menu text-icones"></span>
        </button>
      </div>
    </nav>
    <div class="container-fluid page-body-wrapper">
      <?php require_once("menu.php"); ?>
      <!-- partial -->
      <div class="main-panel">
        <div class="content-wrapper">
          <div id="local-status-acoes"><?php echo $_SESSION['status_acao'];unset($_SESSION['status_acao']); ?></div>
          <div class="row">            

            <div class="col-lg-12">
              <div class="card">
                  <div class="card-header">
                    <header><?php echo $lang['lang_info_config_painel_tab_titulo']; ?></header>
                  </div>
                <div class="card-body">
                    <form method="post" action="/configuracoes-painel" name="config_painel">
                                        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                                          <tr>
                                            <td width="150" height="50" align="left" style="padding-left:5px;"><strong><?php echo $lang['lang_info_config_painel_pagina_inicial']; ?></strong></td>
                                            <td align="left">
                                            <select name="pagina_inicial" class="form-control" id="pagina_inicial" style="width:100%;">
                                                <option value="/dashboard"<?php if($dados_stm["pagina_inicial"] == "/dashboard") { echo ' selected="selected"'; } ?>>Dashboard</option>
                                                <option value="/espectadores-conectados"<?php if($dados_stm["pagina_inicial"] == "/espectadores-conectados") { echo ' selected="selected"'; } ?>><?php echo $lang['lang_info_config_painel_pagina_inicial_espectadores']; ?></option>
                                            </select>            </td>
                                          </tr>
                                          <tr>
                                            <td height="50" align="left" style="padding-left:5px;"><strong><?php echo $lang['lang_info_config_painel_idioma']; ?></strong></td>
                                            <td align="left">
                                            <select name="idioma_painel" class="form-control" id="idioma_painel" style="width:100%;">
                                                <option value="pt-br"<?php if($dados_stm["idioma_painel"] == "pt-br") { echo ' selected="selected"'; } ?>>Portugu&ecirc;s(Brasil)</option>
                                                <option value="es"<?php if($dados_stm["idioma_painel"] == "es") { echo ' selected="selected"'; } ?>>Espa&ntilde;ol</option>
                                                <option value="en-us"<?php if($dados_stm["idioma_painel"] == "en-us") { echo ' selected="selected"'; } ?>>English(USA)</option>       
                                            </select>
                                        </td>
                                         </tr>
                                         <tr>
                                            <td height="50" align="left" style="padding-left:5px;"><strong><?php echo $lang['lang_info_config_painel_time_zone']; ?></strong></td>
                                            <td align="left">
                                            <select name="timezone" id="timezone" class="form-control" style="width:100%;">
                                <optgroup label="Afeganistão (AF)">
                                <option <?php if($dados_stm["timezone"] == "Asia/Kabul") { echo 'selected="selected"'; } ?> value="Asia/Kabul">Cabul</option>
                                </optgroup>
                                <optgroup label="África do Sul (ZA)">
                                <option <?php if($dados_stm["timezone"] == "Africa/Johannesburg") { echo 'selected="selected"'; } ?> value="Africa/Johannesburg">Joanesburgo</option>
                                </optgroup>
                                <optgroup label="Albânia (AL)">
                                <option <?php if($dados_stm["timezone"] == "Europe/Tirane") { echo 'selected="selected"'; } ?> value="Europe/Tirane">Tirana</option>
                                </optgroup>
                                <optgroup label="Alemanha (DE)">
                                <option <?php if($dados_stm["timezone"] == "Europe/Berlin") { echo 'selected="selected"'; } ?> value="Europe/Berlin">Berlim</option>
                                <option <?php if($dados_stm["timezone"] == "Europe/Busingen") { echo 'selected="selected"'; } ?> value="Europe/Busingen">B&uuml;singen</option>
                                </optgroup>
                                <optgroup label="Andorra (AD)">
                                <option <?php if($dados_stm["timezone"] == "Europe/Andorra") { echo 'selected="selected"'; } ?> value="Europe/Andorra">Andorra</option>
                                </optgroup>
                                <optgroup label="Angola (AO)">
                                <option <?php if($dados_stm["timezone"] == "Africa/Luanda") { echo 'selected="selected"'; } ?> value="Africa/Luanda">Luanda</option>
                                </optgroup>
                                <optgroup label="Anguilla (AI)">
                                <option <?php if($dados_stm["timezone"] == "America/Anguilla") { echo 'selected="selected"'; } ?> value="America/Anguilla">Anguilla</option>
                                </optgroup>
                                <optgroup label="Antártica (AQ)">
                                <option <?php if($dados_stm["timezone"] == "Antarctica/Casey") { echo 'selected="selected"'; } ?> value="Antarctica/Casey">Casey</option>
                                <option <?php if($dados_stm["timezone"] == "Antarctica/Davis") { echo 'selected="selected"'; } ?> value="Antarctica/Davis">Davis</option>
                                <option <?php if($dados_stm["timezone"] == "Antarctica/DumontDUrville") { echo 'selected="selected"'; } ?> value="Antarctica/DumontDUrville">Dumont D'Urville</option>
                                <option <?php if($dados_stm["timezone"] == "Antarctica/Mawson") { echo 'selected="selected"'; } ?> value="Antarctica/Mawson">Mawson</option>
                                <option <?php if($dados_stm["timezone"] == "Antarctica/McMurdo") { echo 'selected="selected"'; } ?> value="Antarctica/McMurdo">McMurdo</option>
                                <option <?php if($dados_stm["timezone"] == "Antarctica/Palmer") { echo 'selected="selected"'; } ?> value="Antarctica/Palmer">Palmer</option>
                                <option <?php if($dados_stm["timezone"] == "Antarctica/South_Pole") { echo 'selected="selected"'; } ?> value="Antarctica/South_Pole">Pólo Sul</option>
                                <option <?php if($dados_stm["timezone"] == "Antarctica/Rothera") { echo 'selected="selected"'; } ?> value="Antarctica/Rothera">Rothera</option>
                                <option <?php if($dados_stm["timezone"] == "Antarctica/Syowa") { echo 'selected="selected"'; } ?> value="Antarctica/Syowa">Syowa</option>
                                <option <?php if($dados_stm["timezone"] == "Antarctica/Vostok") { echo 'selected="selected"'; } ?> value="Antarctica/Vostok">Vostok</option>
                                </optgroup>
                                <optgroup label="Antígua e Barbuda (AG)">
                                <option <?php if($dados_stm["timezone"] == "America/Antigua") { echo 'selected="selected"'; } ?> value="America/Antigua">Antigua</option>
                                </optgroup>
                                <optgroup label="Antilhas Neerlandesas (AN)"></optgroup>
                                <optgroup label="Arábia Saudita (SA)">
                                <option <?php if($dados_stm["timezone"] == "Asia/Riyadh") { echo 'selected="selected"'; } ?> value="Asia/Riyadh">Riade</option>
                                </optgroup>
                                <optgroup label="Argélia (DZ)">
                                <option <?php if($dados_stm["timezone"] == "Africa/Algiers") { echo 'selected="selected"'; } ?> value="Africa/Algiers">Algéria</option>
                                </optgroup>
                                <optgroup label="Argentina (AR)">
                                <option <?php if($dados_stm["timezone"] == "America/Argentina/Buenos_Aires") { echo 'selected="selected"'; } ?> value="America/Argentina/Buenos_Aires">Buenos Aires</option>
                                <option <?php if($dados_stm["timezone"] == "America/Argentina/Catamarca") { echo 'selected="selected"'; } ?> value="America/Argentina/Catamarca">Catamarca</option>
                                <option <?php if($dados_stm["timezone"] == "America/Argentina/Cordoba") { echo 'selected="selected"'; } ?> value="America/Argentina/Cordoba">Córdoba</option>
                                <option <?php if($dados_stm["timezone"] == "America/Argentina/Jujuy") { echo 'selected="selected"'; } ?> value="America/Argentina/Jujuy">Jujuy</option>
                                <option <?php if($dados_stm["timezone"] == "America/Argentina/La_Rioja") { echo 'selected="selected"'; } ?> value="America/Argentina/La_Rioja">La Rioja</option>
                                <option <?php if($dados_stm["timezone"] == "America/Argentina/Mendoza") { echo 'selected="selected"'; } ?> value="America/Argentina/Mendoza">Mendoza</option>
                                <option <?php if($dados_stm["timezone"] == "America/Argentina/Rio_Gallegos") { echo 'selected="selected"'; } ?> value="America/Argentina/Rio_Gallegos">Rio Gallegos</option>
                                <option <?php if($dados_stm["timezone"] == "America/Argentina/Salta") { echo 'selected="selected"'; } ?> value="America/Argentina/Salta">Salta</option>
                                <option <?php if($dados_stm["timezone"] == "America/Argentina/San_Juan") { echo 'selected="selected"'; } ?> value="America/Argentina/San_Juan">San Juan</option>
                                <option <?php if($dados_stm["timezone"] == "America/Argentina/San_Luis") { echo 'selected="selected"'; } ?> value="America/Argentina/San_Luis">San Luís</option>
                                <option <?php if($dados_stm["timezone"] == "America/Argentina/Tucuman") { echo 'selected="selected"'; } ?> value="America/Argentina/Tucuman">Tucumán</option>
                                <option <?php if($dados_stm["timezone"] == "America/Argentina/Ushuaia") { echo 'selected="selected"'; } ?> value="America/Argentina/Ushuaia">Ushuaia</option>
                                </optgroup>
                                <optgroup label="Armênia (AM)">
                                <option <?php if($dados_stm["timezone"] == "Asia/Yerevan") { echo 'selected="selected"'; } ?> value="Asia/Yerevan">Yerevan</option>
                                </optgroup>
                                <optgroup label="Aruba (AW)">
                                <option <?php if($dados_stm["timezone"] == "America/Aruba") { echo 'selected="selected"'; } ?> value="America/Aruba">Aruba</option>
                                </optgroup>
                                <optgroup label="Austrália (AU)">
                                <option <?php if($dados_stm["timezone"] == "Australia/Adelaide") { echo 'selected="selected"'; } ?> value="Australia/Adelaide">Adelaide</option>
                                <option <?php if($dados_stm["timezone"] == "Australia/Brisbane") { echo 'selected="selected"'; } ?> value="Australia/Brisbane">Brisbane</option>
                                <option <?php if($dados_stm["timezone"] == "Australia/Broken_Hill") { echo 'selected="selected"'; } ?> value="Australia/Broken_Hill">Broken Hill</option>
                                <option <?php if($dados_stm["timezone"] == "Australia/Currie") { echo 'selected="selected"'; } ?> value="Australia/Currie">Currie</option>
                                <option <?php if($dados_stm["timezone"] == "Australia/Darwin") { echo 'selected="selected"'; } ?> value="Australia/Darwin">Darwin</option>
                                <option <?php if($dados_stm["timezone"] == "Australia/Eucla") { echo 'selected="selected"'; } ?> value="Australia/Eucla">Eucla</option>
                                <option <?php if($dados_stm["timezone"] == "Australia/Hobart") { echo 'selected="selected"'; } ?> value="Australia/Hobart">Hobart</option>
                                <option <?php if($dados_stm["timezone"] == "Australia/Lindeman") { echo 'selected="selected"'; } ?> value="Australia/Lindeman">Lindeman</option>
                                <option <?php if($dados_stm["timezone"] == "Australia/Lord_Howe") { echo 'selected="selected"'; } ?> value="Australia/Lord_Howe">Lord Howe</option>
                                <option <?php if($dados_stm["timezone"] == "Australia/Macquarie") { echo 'selected="selected"'; } ?> value="Antarctica/Macquarie">Macquarie</option>
                                <option <?php if($dados_stm["timezone"] == "Australia/Melbourne") { echo 'selected="selected"'; } ?> value="Australia/Melbourne">Melbourne</option>
                                <option <?php if($dados_stm["timezone"] == "Australia/Perth") { echo 'selected="selected"'; } ?> value="Australia/Perth">Perth</option>
                                <option <?php if($dados_stm["timezone"] == "Australia/Sydney") { echo 'selected="selected"'; } ?> value="Australia/Sydney">Sydney</option>
                                </optgroup>
                                <optgroup label="Áustria (AT)">
                                <option <?php if($dados_stm["timezone"] == "Europe/Vienna") { echo 'selected="selected"'; } ?> value="Europe/Vienna">Viena</option>
                                </optgroup>
                                <optgroup label="Azerbaijão (AZ)">
                                <option <?php if($dados_stm["timezone"] == "Asia/Baku") { echo 'selected="selected"'; } ?> value="Asia/Baku">Baku</option>
                                </optgroup>
                                <optgroup label="Bahamas (BS)">
                                <option <?php if($dados_stm["timezone"] == "America/Nassau") { echo 'selected="selected"'; } ?> value="America/Nassau">Nassau</option>
                                </optgroup>
                                <optgroup label="Bahrein (BH)">
                                <option <?php if($dados_stm["timezone"] == "Asia/Bahrain") { echo 'selected="selected"'; } ?> value="Asia/Bahrain">Bahrain</option>
                                </optgroup>
                                <optgroup label="Bangladesh (BD)">
                                <option <?php if($dados_stm["timezone"] == "Asia/Dhaka") { echo 'selected="selected"'; } ?> value="Asia/Dhaka">Dhaka</option>
                                </optgroup>
                                <optgroup label="Barbados (BB)">
                                <option <?php if($dados_stm["timezone"] == "America/Barbados") { echo 'selected="selected"'; } ?> value="America/Barbados">Barbados</option>
                                </optgroup>
                                <optgroup label="Bélgica (BE)">
                                <option <?php if($dados_stm["timezone"] == "Europe/Brussels") { echo 'selected="selected"'; } ?> value="Europe/Brussels">Bruxelas</option>
                                </optgroup>
                                <optgroup label="Belize (BZ)">
                                <option <?php if($dados_stm["timezone"] == "America/Belize") { echo 'selected="selected"'; } ?> value="America/Belize">Belize</option>
                                </optgroup>
                                <optgroup label="Benim (BJ)">
                                <option <?php if($dados_stm["timezone"] == "Africa/Porto-Novo") { echo 'selected="selected"'; } ?> value="Africa/Porto-Novo">Porto-Novo</option>
                                </optgroup>
                                <optgroup label="Bermudas (BM)">
                                <option <?php if($dados_stm["timezone"] == "Atlantic/Bermuda") { echo 'selected="selected"'; } ?> value="Atlantic/Bermuda">Bermuda</option>
                                </optgroup>
                                <optgroup label="Bielorrússia (BY)">
                                <option <?php if($dados_stm["timezone"] == "Europe/Minsk") { echo 'selected="selected"'; } ?> value="Europe/Minsk">Minsk</option>
                                </optgroup>
                                <optgroup label="Bolívia (BO)">
                                <option <?php if($dados_stm["timezone"] == "America/La_Paz") { echo 'selected="selected"'; } ?> value="America/La_Paz">La Paz</option>
                                </optgroup>
                                <optgroup label="Bonaire, Santo Eustáquio e Saba (BQ)">
                                <option <?php if($dados_stm["timezone"] == "America/Kralendijk") { echo 'selected="selected"'; } ?> value="America/Kralendijk">Kralendijk</option>
                                </optgroup>
                                <optgroup label="Bósnia e Herzegovina (BA)">
                                <option <?php if($dados_stm["timezone"] == "Europe/Sarajevo") { echo 'selected="selected"'; } ?> value="Europe/Sarajevo">Sarajevo</option>
                                </optgroup>
                                <optgroup label="Botswana (BW)">
                                <option <?php if($dados_stm["timezone"] == "Africa/Gaborone") { echo 'selected="selected"'; } ?> value="Africa/Gaborone">Gaborone</option>
                                </optgroup>
                                <optgroup label="Brasil (BR)">
                                <option <?php if($dados_stm["timezone"] == "America/Araguaina") { echo 'selected="selected"'; } ?> value="America/Araguaina">Aragua&iacute;na</option>
                                <option <?php if($dados_stm["timezone"] == "America/Bahia") { echo 'selected="selected"'; } ?> value="America/Bahia">Bahia</option>
                                <option <?php if($dados_stm["timezone"] == "America/Belem") { echo 'selected="selected"'; } ?> value="America/Belem">Bel&eacute;m</option>
                                <option <?php if($dados_stm["timezone"] == "America/Boa_Vista") { echo 'selected="selected"'; } ?> value="America/Boa_Vista">Boa Vista</option>
                                <option <?php if($dados_stm["timezone"] == "America/Campo_Grande") { echo 'selected="selected"'; } ?> value="America/Campo_Grande">Campo Grande</option>
                                <option <?php if($dados_stm["timezone"] == "America/Cuiaba") { echo 'selected="selected"'; } ?> value="America/Cuiaba">Cuiab&aacute;</option>
                                <option <?php if($dados_stm["timezone"] == "America/Eirunepe") { echo 'selected="selected"'; } ?> value="America/Eirunepe">Eirunep&eacute;</option>
                                <option <?php if($dados_stm["timezone"] == "America/Noronha") { echo 'selected="selected"'; } ?> value="America/Noronha">Fernando de Noronha</option>
                                <option <?php if($dados_stm["timezone"] == "America/Fortaleza") { echo 'selected="selected"'; } ?> value="America/Fortaleza">Fortaleza</option>
                                <option <?php if($dados_stm["timezone"] == "America/Maceio") { echo 'selected="selected"'; } ?> value="America/Maceio">Macei&oacute;</option>
                                <option <?php if($dados_stm["timezone"] == "America/Manaus") { echo 'selected="selected"'; } ?> value="America/Manaus">Manaus</option>
                                <option <?php if($dados_stm["timezone"] == "America/Porto_Velho") { echo 'selected="selected"'; } ?> value="America/Porto_Velho">Porto Velho</option>
                                <option <?php if($dados_stm["timezone"] == "America/Recife") { echo 'selected="selected"'; } ?> value="America/Recife">Recife</option>
                                <option <?php if($dados_stm["timezone"] == "America/Rio_Branco") { echo 'selected="selected"'; } ?> value="America/Rio_Branco">Rio Branco</option>
                                <option <?php if($dados_stm["timezone"] == "America/Santarem") { echo 'selected="selected"'; } ?> value="America/Santarem">Santar&eacute;m</option>
                                <option <?php if($dados_stm["timezone"] == "America/Sao_Paulo") { echo 'selected="selected"'; } ?> value="America/Sao_Paulo">S&atilde;o Paulo (Hor&aacute;rio de Brasilia)</option>
                                </optgroup>
                                <optgroup label="Brunei (BN)">
                                <option <?php if($dados_stm["timezone"] == "Asia/Brunei") { echo 'selected="selected"'; } ?> value="Asia/Brunei">Brunei</option>
                                </optgroup>
                                <optgroup label="Bulgária (BG)">
                                <option <?php if($dados_stm["timezone"] == "Europe/Sofia") { echo 'selected="selected"'; } ?> value="Europe/Sofia">Sofia</option>
                                </optgroup>
                                <optgroup label="Burkina Faso (BF)">
                                <option <?php if($dados_stm["timezone"] == "Africa/Ouagadougou") { echo 'selected="selected"'; } ?> value="Africa/Ouagadougou">Ouagadougou</option>
                                </optgroup>
                                <optgroup label="Burúndi (BI)">
                                <option <?php if($dados_stm["timezone"] == "Africa/Bujumbura") { echo 'selected="selected"'; } ?> value="Africa/Bujumbura">Bujumbura</option>
                                </optgroup>
                                <optgroup label="Butão (BT)">
                                <option <?php if($dados_stm["timezone"] == "Asia/Thimphu") { echo 'selected="selected"'; } ?> value="Asia/Thimphu">Thimphu</option>
                                </optgroup>
                                <optgroup label="Cabo Verde (CV)">
                                <option <?php if($dados_stm["timezone"] == "Atlantic/Cape_Verde") { echo 'selected="selected"'; } ?> value="Atlantic/Cape_Verde">Cabo Verde</option>
                                </optgroup>
                                <optgroup label="Camarões (CM)">
                                <option <?php if($dados_stm["timezone"] == "Africa/Douala") { echo 'selected="selected"'; } ?> value="Africa/Douala">Douala</option>
                                </optgroup>
                                <optgroup label="Camboja (KH)">
                                <option <?php if($dados_stm["timezone"] == "Asia/Phnom_Penh") { echo 'selected="selected"'; } ?> value="Asia/Phnom_Penh">Phnom Penh</option>
                                </optgroup>
                                <optgroup label="Canadá (CA)">
                                <option <?php if($dados_stm["timezone"] == "America/Atikokan") { echo 'selected="selected"'; } ?> value="America/Atikokan">Atikokan</option>
                                <option <?php if($dados_stm["timezone"] == "America/Blanc-Sablon") { echo 'selected="selected"'; } ?> value="America/Blanc-Sablon">Blanc-Sablon</option>
                                <option <?php if($dados_stm["timezone"] == "America/Cambridge_Bay") { echo 'selected="selected"'; } ?> value="America/Cambridge_Bay">Cambridge Bay</option>
                                <option <?php if($dados_stm["timezone"] == "America/Creston") { echo 'selected="selected"'; } ?> value="America/Creston">Creston</option>
                                <option <?php if($dados_stm["timezone"] == "America/Dawson") { echo 'selected="selected"'; } ?> value="America/Dawson">Dawson</option>
                                <option <?php if($dados_stm["timezone"] == "America/Dawson_Creek") { echo 'selected="selected"'; } ?> value="America/Dawson_Creek">Dawson Creek</option>
                                <option <?php if($dados_stm["timezone"] == "America/Edmonton") { echo 'selected="selected"'; } ?> value="America/Edmonton">Edmonton</option>
                                <option <?php if($dados_stm["timezone"] == "America/Glace_Bay") { echo 'selected="selected"'; } ?> value="America/Glace_Bay">Glace Bay</option>
                                <option <?php if($dados_stm["timezone"] == "America/Goose_Bay") { echo 'selected="selected"'; } ?> value="America/Goose_Bay">Goose Bay</option>
                                <option <?php if($dados_stm["timezone"] == "America/Halifax") { echo 'selected="selected"'; } ?> value="America/Halifax">Halifax</option>
                                <option <?php if($dados_stm["timezone"] == "America/Inuvik") { echo 'selected="selected"'; } ?> value="America/Inuvik">Inuvik</option>
                                <option <?php if($dados_stm["timezone"] == "America/Iqaluit") { echo 'selected="selected"'; } ?> value="America/Iqaluit">Iqaluit</option>
                                <option <?php if($dados_stm["timezone"] == "America/Moncton") { echo 'selected="selected"'; } ?> value="America/Moncton">Moncton</option>
                                <option <?php if($dados_stm["timezone"] == "America/Montreal") { echo 'selected="selected"'; } ?> value="America/Montreal">Montreal</option>
                                <option <?php if($dados_stm["timezone"] == "America/Nipigon") { echo 'selected="selected"'; } ?> value="America/Nipigon">Nipigon</option>
                                <option <?php if($dados_stm["timezone"] == "America/Pangnirtung") { echo 'selected="selected"'; } ?> value="America/Pangnirtung">Pangnirtung</option>
                                <option <?php if($dados_stm["timezone"] == "America/Rainy_River") { echo 'selected="selected"'; } ?> value="America/Rainy_River">Rainy River</option>
                                <option <?php if($dados_stm["timezone"] == "America/Rankin_Inlet") { echo 'selected="selected"'; } ?> value="America/Rankin_Inlet">Rankin Inlet</option>
                                <option <?php if($dados_stm["timezone"] == "America/Regina") { echo 'selected="selected"'; } ?> value="America/Regina">Regina</option>
                                <option <?php if($dados_stm["timezone"] == "America/Resolute") { echo 'selected="selected"'; } ?> value="America/Resolute">Resolute</option>
                                <option <?php if($dados_stm["timezone"] == "America/St_Johns") { echo 'selected="selected"'; } ?> value="America/St_Johns">St Johns</option>
                                <option <?php if($dados_stm["timezone"] == "America/Swift_Current") { echo 'selected="selected"'; } ?> value="America/Swift_Current">Swift Current</option>
                                <option <?php if($dados_stm["timezone"] == "America/Thunder_Bay") { echo 'selected="selected"'; } ?> value="America/Thunder_Bay">Thunder Bay</option>
                                <option <?php if($dados_stm["timezone"] == "America/Toronto") { echo 'selected="selected"'; } ?> value="America/Toronto">Toronto</option>
                                <option <?php if($dados_stm["timezone"] == "America/Vancouver") { echo 'selected="selected"'; } ?> value="America/Vancouver">Vancouver</option>
                                <option <?php if($dados_stm["timezone"] == "America/Whitehorse") { echo 'selected="selected"'; } ?> value="America/Whitehorse">Whitehorse</option>
                                <option <?php if($dados_stm["timezone"] == "America/Winnipeg") { echo 'selected="selected"'; } ?> value="America/Winnipeg">Winnipeg</option>
                                <option <?php if($dados_stm["timezone"] == "America/Yellowknife") { echo 'selected="selected"'; } ?> value="America/Yellowknife">Yellowknife</option>
                                </optgroup>
                                <optgroup label="Catar (QA)">
                                <option <?php if($dados_stm["timezone"] == "Asia/Qatar") { echo 'selected="selected"'; } ?> value="Asia/Qatar">Qatar</option>
                                </optgroup>
                                <optgroup label="Cazaquistão (KZ)">
                                <option <?php if($dados_stm["timezone"] == "Asia/Almaty") { echo 'selected="selected"'; } ?> value="Asia/Almaty">Almaty</option>
                                <option <?php if($dados_stm["timezone"] == "Asia/Aqtau") { echo 'selected="selected"'; } ?> value="Asia/Aqtau">Aqtau</option>
                                <option <?php if($dados_stm["timezone"] == "Asia/Aqtobe") { echo 'selected="selected"'; } ?> value="Asia/Aqtobe">Aqtobe</option>
                                <option <?php if($dados_stm["timezone"] == "Asia/Oral") { echo 'selected="selected"'; } ?> value="Asia/Oral">Oral</option>
                                <option <?php if($dados_stm["timezone"] == "Asia/Qyzylorda") { echo 'selected="selected"'; } ?> value="Asia/Qyzylorda">Qyzylorda</option>
                                </optgroup>
                                <optgroup label="Chade (TD)">
                                <option <?php if($dados_stm["timezone"] == "Africa/Ndjamena") { echo 'selected="selected"'; } ?> value="Africa/Ndjamena">Ndjamena</option>
                                </optgroup>
                                <optgroup label="Chile (CL)">
                                <option <?php if($dados_stm["timezone"] == "Pacific/Easter") { echo 'selected="selected"'; } ?> value="Pacific/Easter">Páscoa</option>
                                <option <?php if($dados_stm["timezone"] == "America/Santiago") { echo 'selected="selected"'; } ?> value="America/Santiago">Santiago</option>
                                </optgroup>
                                <optgroup label="China (CN)">
                                <option <?php if($dados_stm["timezone"] == "Asia/Chongqing") { echo 'selected="selected"'; } ?> value="Asia/Chongqing">Chongqing</option>
                                <option <?php if($dados_stm["timezone"] == "Asia/Harbin") { echo 'selected="selected"'; } ?> value="Asia/Harbin">Harbin</option>
                                <option <?php if($dados_stm["timezone"] == "Asia/Kashgar") { echo 'selected="selected"'; } ?> value="Asia/Kashgar">Kashgar</option>
                                <option <?php if($dados_stm["timezone"] == "Asia/Urumqi") { echo 'selected="selected"'; } ?> value="Asia/Urumqi">Urumqi</option>
                                <option <?php if($dados_stm["timezone"] == "Asia/Shanghai") { echo 'selected="selected"'; } ?> value="Asia/Shanghai">Xangai</option>
                                </optgroup>
                                <optgroup label="Chipre (CY)">
                                <option <?php if($dados_stm["timezone"] == "Asia/Nicosia") { echo 'selected="selected"'; } ?> value="Asia/Nicosia">Nicosia</option>
                                </optgroup>
                                <optgroup label="Coletividade de São Martinho (MF)">
                                <option <?php if($dados_stm["timezone"] == "America/Marigot") { echo 'selected="selected"'; } ?> value="America/Marigot">Marigot</option>
                                </optgroup>
                                <optgroup label="Colômbia (CO)">
                                <option <?php if($dados_stm["timezone"] == "America/Bogota") { echo 'selected="selected"'; } ?> value="America/Bogota">Bogotá</option>
                                </optgroup>
                                <optgroup label="Comores (KM)">
                                <option <?php if($dados_stm["timezone"] == "Indian/Comoro") { echo 'selected="selected"'; } ?> value="Indian/Comoro">Comoro</option>
                                </optgroup>
                                <optgroup label="Coreia do Norte (KP)">
                                <option <?php if($dados_stm["timezone"] == "Asia/Pyongyang") { echo 'selected="selected"'; } ?> value="Asia/Pyongyang">Pyongyang</option>
                                </optgroup>
                                <optgroup label="Coreia do Sul (KR)">
                                <option <?php if($dados_stm["timezone"] == "Asia/Seoul") { echo 'selected="selected"'; } ?> value="Asia/Seoul">Seoul</option>
                                </optgroup>
                                <optgroup label="Costa do Marfim (CI)">
                                <option <?php if($dados_stm["timezone"] == "Africa/Abidjan") { echo 'selected="selected"'; } ?> value="Africa/Abidjan">Abidjan</option>
                                </optgroup>
                                <optgroup label="Costa Rica (CR)">
                                <option <?php if($dados_stm["timezone"] == "America/Costa_Rica") { echo 'selected="selected"'; } ?> value="America/Costa_Rica">Costa Rica</option>
                                </optgroup>
                                <optgroup label="Croácia (HR)">
                                <option <?php if($dados_stm["timezone"] == "Europe/Zagreb") { echo 'selected="selected"'; } ?> value="Europe/Zagreb">Zagreb</option>
                                </optgroup>
                                <optgroup label="Cuba (CU)">
                                <option <?php if($dados_stm["timezone"] == "America/Havana") { echo 'selected="selected"'; } ?> value="America/Havana">Havana</option>
                                </optgroup>
                                <optgroup label="Curaçao (CW)">
                                <option <?php if($dados_stm["timezone"] == "America/Curacao") { echo 'selected="selected"'; } ?> value="America/Curacao">Curaçao</option>
                                </optgroup>
                                <optgroup label="Dinamarca (DK)">
                                <option <?php if($dados_stm["timezone"] == "Europe/Copenhagen") { echo 'selected="selected"'; } ?> value="Europe/Copenhagen">Copenhaga</option>
                                </optgroup>
                                <optgroup label="Domínica (DM)">
                                <option <?php if($dados_stm["timezone"] == "America/Dominica") { echo 'selected="selected"'; } ?> value="America/Dominica">Dominica</option>
                                </optgroup>
                                <optgroup label="Egito (EG)">
                                <option <?php if($dados_stm["timezone"] == "Africa/Cairo") { echo 'selected="selected"'; } ?> value="Africa/Cairo">Cairo</option>
                                </optgroup>
                                <optgroup label="El Salvador (SV)">
                                <option <?php if($dados_stm["timezone"] == "America/El_Salvador") { echo 'selected="selected"'; } ?> value="America/El_Salvador">El Salvador</option>
                                </optgroup>
                                <optgroup label="Emirados Árabes Unidos (AE)">
                                <option <?php if($dados_stm["timezone"] == "Asia/Dubai") { echo 'selected="selected"'; } ?> value="Asia/Dubai">Dubai</option>
                                </optgroup>
                                <optgroup label="Equador (EC)">
                                <option <?php if($dados_stm["timezone"] == "Pacific/Galapagos") { echo 'selected="selected"'; } ?> value="Pacific/Galapagos">Galápagos</option>
                                <option <?php if($dados_stm["timezone"] == "America/Guayaquil") { echo 'selected="selected"'; } ?> value="America/Guayaquil">Guayaquil</option>
                                </optgroup>
                                <optgroup label="Eritreia (ER)">
                                <option <?php if($dados_stm["timezone"] == "Africa/Asmara") { echo 'selected="selected"'; } ?> value="Africa/Asmara">Asmara</option>
                                </optgroup>
                                <optgroup label="Eslováquia (SK)">
                                <option <?php if($dados_stm["timezone"] == "Europe/Bratislava") { echo 'selected="selected"'; } ?> value="Europe/Bratislava">Bratislava</option>
                                </optgroup>
                                <optgroup label="Eslovênia (SI)">
                                <option <?php if($dados_stm["timezone"] == "Europe/Ljubljana") { echo 'selected="selected"'; } ?> value="Europe/Ljubljana">Ljubljana</option>
                                </optgroup>
                                <optgroup label="Espanha (ES)">
                                <option <?php if($dados_stm["timezone"] == "Atlantic/Canary") { echo 'selected="selected"'; } ?> value="Atlantic/Canary">Canárias</option>
                                <option <?php if($dados_stm["timezone"] == "Africa/Ceuta") { echo 'selected="selected"'; } ?> value="Africa/Ceuta">Ceuta</option>
                                <option <?php if($dados_stm["timezone"] == "Europe/Madrid") { echo 'selected="selected"'; } ?> value="Europe/Madrid">Madrid</option>
                                </optgroup>
                                <optgroup label="Estados Unidos (US)">
                                <option <?php if($dados_stm["timezone"] == "America/Adak") { echo 'selected="selected"'; } ?> value="America/Adak">Adak</option>
                                <option <?php if($dados_stm["timezone"] == "America/Anchorage") { echo 'selected="selected"'; } ?> value="America/Anchorage">Anchorage</option>
                                <option <?php if($dados_stm["timezone"] == "America/Boise") { echo 'selected="selected"'; } ?> value="America/Boise">Boise</option>
                                <option <?php if($dados_stm["timezone"] == "America/Chicago") { echo 'selected="selected"'; } ?> value="America/Chicago">Chicago</option>
                                <option <?php if($dados_stm["timezone"] == "America/North_Dakota/Beulah") { echo 'selected="selected"'; } ?> value="America/North_Dakota/Beulah">Dakota do Norte - Beulah</option>
                                <option <?php if($dados_stm["timezone"] == "America/North_Dakota/Center") { echo 'selected="selected"'; } ?> value="America/North_Dakota/Center">Dakota do Norte - Center</option>
                                <option <?php if($dados_stm["timezone"] == "America/North_Dakota/New_Salem") { echo 'selected="selected"'; } ?> value="America/North_Dakota/New_Salem">Dakota do Norte - New Salem</option>
                                <option <?php if($dados_stm["timezone"] == "America/Denver") { echo 'selected="selected"'; } ?> value="America/Denver">Denver</option>
                                <option <?php if($dados_stm["timezone"] == "America/Detroit") { echo 'selected="selected"'; } ?> value="America/Detroit">Detroit</option>
                                <option <?php if($dados_stm["timezone"] == "Pacific/Honolulu") { echo 'selected="selected"'; } ?> value="Pacific/Honolulu">Honolulu</option>
                                <option <?php if($dados_stm["timezone"] == "America/Indiana/Indianapolis") { echo 'selected="selected"'; } ?> value="America/Indiana/Indianapolis">Indiana - Indianápolis</option>
                                <option <?php if($dados_stm["timezone"] == "America/Indiana/Knox") { echo 'selected="selected"'; } ?> value="America/Indiana/Knox">Indiana - Knox</option>
                                <option <?php if($dados_stm["timezone"] == "America/Indiana/Marengo") { echo 'selected="selected"'; } ?> value="America/Indiana/Marengo">Indiana - Marengo</option>
                                <option <?php if($dados_stm["timezone"] == "America/Indiana/Petersburg") { echo 'selected="selected"'; } ?> value="America/Indiana/Petersburg">Indiana - Petersburg</option>
                                <option <?php if($dados_stm["timezone"] == "America/Indiana/Tell_City") { echo 'selected="selected"'; } ?> value="America/Indiana/Tell_City">Indiana - Tell City</option>
                                <option <?php if($dados_stm["timezone"] == "America/Indiana/Vevay") { echo 'selected="selected"'; } ?> value="America/Indiana/Vevay">Indiana - Vevay</option>
                                <option <?php if($dados_stm["timezone"] == "America/Indiana/Vincennes") { echo 'selected="selected"'; } ?> value="America/Indiana/Vincennes">Indiana - Vincennes</option>
                                <option <?php if($dados_stm["timezone"] == "America/Indiana/Winamac") { echo 'selected="selected"'; } ?> value="America/Indiana/Winamac">Indiana - Winamac</option>
                                <option <?php if($dados_stm["timezone"] == "America/Juneau") { echo 'selected="selected"'; } ?> value="America/Juneau">Juneau</option>
                                <option <?php if($dados_stm["timezone"] == "America/Kentucky/Louisville") { echo 'selected="selected"'; } ?> value="America/Kentucky/Louisville">Kentucky - Louisville</option>
                                <option <?php if($dados_stm["timezone"] == "America/Kentucky/Monticello") { echo 'selected="selected"'; } ?> value="America/Kentucky/Monticello">Kentucky - Monticello</option>
                                <option <?php if($dados_stm["timezone"] == "America/Los_Angeles") { echo 'selected="selected"'; } ?> value="America/Los_Angeles">Los Angeles</option>
                                <option <?php if($dados_stm["timezone"] == "America/Menominee") { echo 'selected="selected"'; } ?> value="America/Menominee">Menominee</option>
                                <option <?php if($dados_stm["timezone"] == "America/Metlakatla") { echo 'selected="selected"'; } ?> value="America/Metlakatla">Metlakatla</option>
                                <option <?php if($dados_stm["timezone"] == "America/Nome") { echo 'selected="selected"'; } ?> value="America/Nome">Nome</option>
                                <option <?php if($dados_stm["timezone"] == "America/New_York") { echo 'selected="selected"'; } ?> value="America/New_York">Nova Iorque</option>
                                <option <?php if($dados_stm["timezone"] == "America/Phoenix") { echo 'selected="selected"'; } ?> value="America/Phoenix">Phoenix</option>
                                <option <?php if($dados_stm["timezone"] == "America/Shiprock") { echo 'selected="selected"'; } ?> value="America/Shiprock">Shiprock</option>
                                <option <?php if($dados_stm["timezone"] == "America/Sitka") { echo 'selected="selected"'; } ?> value="America/Sitka">Sitka</option>
                                <option <?php if($dados_stm["timezone"] == "America/Yakutat") { echo 'selected="selected"'; } ?> value="America/Yakutat">Yakutat</option>
                                </optgroup>
                                <optgroup label="Estónia (EE)">
                                <option <?php if($dados_stm["timezone"] == "Europe/Tallinn") { echo 'selected="selected"'; } ?> value="Europe/Tallinn">Tallinn</option>
                                </optgroup>
                                <optgroup label="Etiópia (ET)">
                                <option <?php if($dados_stm["timezone"] == "Africa/Addis_Ababa") { echo 'selected="selected"'; } ?> value="Africa/Addis_Ababa">Adis Abeba</option>
                                </optgroup>
                                <optgroup label="Fiji (FJ)">
                                <option <?php if($dados_stm["timezone"] == "Pacific/Fiji") { echo 'selected="selected"'; } ?> value="Pacific/Fiji">Fiji</option>
                                </optgroup>
                                <optgroup label="Filipinas (PH)">
                                <option <?php if($dados_stm["timezone"] == "Asia/Manila") { echo 'selected="selected"'; } ?> value="Asia/Manila">Manila</option>
                                </optgroup>
                                <optgroup label="Finlândia (FI)">
                                <option <?php if($dados_stm["timezone"] == "Europe/Helsinki") { echo 'selected="selected"'; } ?> value="Europe/Helsinki">Helsínquia</option>
                                </optgroup>
                                <optgroup label="França (FR)">
                                <option <?php if($dados_stm["timezone"] == "Europe/Paris") { echo 'selected="selected"'; } ?> value="Europe/Paris">Paris</option>
                                </optgroup>
                                <optgroup label="Gabão (GA)">
                                <option <?php if($dados_stm["timezone"] == "Africa/Libreville") { echo 'selected="selected"'; } ?> value="Africa/Libreville">Libreville</option>
                                </optgroup>
                                <optgroup label="Gâmbia (GM)">
                                <option <?php if($dados_stm["timezone"] == "Africa/Banjul") { echo 'selected="selected"'; } ?> value="Africa/Banjul">Banjul</option>
                                </optgroup>
                                <optgroup label="Gana (GH)">
                                <option <?php if($dados_stm["timezone"] == "Africa/Accra") { echo 'selected="selected"'; } ?> value="Africa/Accra">Accra</option>
                                </optgroup>
                                <optgroup label="Geórgia (GE)">
                                <option <?php if($dados_stm["timezone"] == "Asia/Tbilisi") { echo 'selected="selected"'; } ?> value="Asia/Tbilisi">Tbilisi</option>
                                </optgroup>
                                <optgroup label="Gibraltar (GI)">
                                <option <?php if($dados_stm["timezone"] == "Europe/Gibraltar") { echo 'selected="selected"'; } ?> value="Europe/Gibraltar">Gibraltar</option>
                                </optgroup>
                                <optgroup label="Granada (GD)">
                                <option <?php if($dados_stm["timezone"] == "America/Grenada") { echo 'selected="selected"'; } ?> value="America/Grenada">Grenada</option>
                                </optgroup>
                                <optgroup label="Grécia (GR)">
                                <option <?php if($dados_stm["timezone"] == "Europe/Athens") { echo 'selected="selected"'; } ?> value="Europe/Athens">Atenas</option>
                                </optgroup>
                                <optgroup label="Groelândia (GL)">
                                <option <?php if($dados_stm["timezone"] == "America/Danmarkshavn") { echo 'selected="selected"'; } ?> value="America/Danmarkshavn">Danmarkshavn</option>
                                <option <?php if($dados_stm["timezone"] == "America/Godthab") { echo 'selected="selected"'; } ?> value="America/Godthab">Godthab</option>
                                <option <?php if($dados_stm["timezone"] == "America/Scoresbysund") { echo 'selected="selected"'; } ?> value="America/Scoresbysund">Scoresbysund</option>
                                <option <?php if($dados_stm["timezone"] == "America/Thule") { echo 'selected="selected"'; } ?> value="America/Thule">Thule</option>
                                </optgroup>
                                <optgroup label="Guadalupe (GP)">
                                <option <?php if($dados_stm["timezone"] == "America/Guadeloupe") { echo 'selected="selected"'; } ?> value="America/Guadeloupe">Guadalupe</option>
                                </optgroup>
                                <optgroup label="Guam (GU)">
                                <option <?php if($dados_stm["timezone"] == "Pacific/Guam") { echo 'selected="selected"'; } ?> value="Pacific/Guam">Guam</option>
                                </optgroup>
                                <optgroup label="Guatemala (GT)">
                                <option <?php if($dados_stm["timezone"] == "America/Guatemala") { echo 'selected="selected"'; } ?> value="America/Guatemala">Guatemala</option>
                                </optgroup>
                                <optgroup label="Guernsey (GG)">
                                <option <?php if($dados_stm["timezone"] == "Europe/Guernsey") { echo 'selected="selected"'; } ?> value="Europe/Guernsey">Guernsey</option>
                                </optgroup>
                                <optgroup label="Guiana (GY)">
                                <option <?php if($dados_stm["timezone"] == "America/Guyana") { echo 'selected="selected"'; } ?> value="America/Guyana">Guiana</option>
                                </optgroup>
                                <optgroup label="Guiana Francesa (GF)">
                                <option <?php if($dados_stm["timezone"] == "America/Cayenne") { echo 'selected="selected"'; } ?> value="America/Cayenne">Cayenne</option>
                                </optgroup>
                                <optgroup label="Guiné (GN)">
                                <option <?php if($dados_stm["timezone"] == "Africa/Conakry") { echo 'selected="selected"'; } ?> value="Africa/Conakry">Conakry</option>
                                </optgroup>
                                <optgroup label="Guiné Equatorial (GQ)">
                                <option <?php if($dados_stm["timezone"] == "Africa/Malabo") { echo 'selected="selected"'; } ?> value="Africa/Malabo">Malabo</option>
                                </optgroup>
                                <optgroup label="Guiné-Bissau (GW)">
                                <option <?php if($dados_stm["timezone"] == "Africa/Bissau") { echo 'selected="selected"'; } ?> value="Africa/Bissau">Bissau</option>
                                </optgroup>
                                <optgroup label="Haiti (HT)">
                                <option <?php if($dados_stm["timezone"] == "America/Port-au-Prince") { echo 'selected="selected"'; } ?> value="America/Port-au-Prince">Port-au-Prince</option>
                                </optgroup>
                                <optgroup label="Honduras (HN)">
                                <option <?php if($dados_stm["timezone"] == "America/Tegucigalpa") { echo 'selected="selected"'; } ?> value="America/Tegucigalpa">Tegucigalpa</option>
                                </optgroup>
                                <optgroup label="Hong Kong (HK)">
                                <option <?php if($dados_stm["timezone"] == "Asia/Hong_Kong") { echo 'selected="selected"'; } ?> value="Asia/Hong_Kong">Hong Kong</option>
                                </optgroup>
                                <optgroup label="Hungria (HU)">
                                <option <?php if($dados_stm["timezone"] == "Europe/Budapest") { echo 'selected="selected"'; } ?> value="Europe/Budapest">Budapeste</option>
                                </optgroup>
                                <optgroup label="Iêmen (YE)">
                                <option <?php if($dados_stm["timezone"] == "Asia/Aden") { echo 'selected="selected"'; } ?> value="Asia/Aden">Aden</option>
                                </optgroup>
                                <optgroup label="Ilha Bouvet (BV)"></optgroup>
                                <optgroup label="Ilha Christmas (CX)">
                                <option <?php if($dados_stm["timezone"] == "Indian/Christmas") { echo 'selected="selected"'; } ?> value="Indian/Christmas">Natal</option>
                                </optgroup>
                                <optgroup label="Ilha de Man (IM)">
                                <option <?php if($dados_stm["timezone"] == "Europe/Isle_of_Man") { echo 'selected="selected"'; } ?> value="Europe/Isle_of_Man">Ilha de Man</option>
                                </optgroup>
                                <optgroup label="Ilha Heard e Ilhas McDonald (HM)"></optgroup>
                                <optgroup label="Ilha Norfolk (NF)">
                                <option <?php if($dados_stm["timezone"] == "Pacific/Norfolk") { echo 'selected="selected"'; } ?> value="Pacific/Norfolk">Norfolk</option>
                                </optgroup>
                                <optgroup label="Ilhas Aland (AX)">
                                <option <?php if($dados_stm["timezone"] == "Europe/Mariehamn") { echo 'selected="selected"'; } ?> value="Europe/Mariehamn">Mariehamn</option>
                                </optgroup>
                                <optgroup label="Ilhas Cayman (KY)">
                                <option <?php if($dados_stm["timezone"] == "America/Cayman") { echo 'selected="selected"'; } ?> value="America/Cayman">Ilhas Cayman</option>
                                </optgroup>
                                <optgroup label="Ilhas Cocos (CC)">
                                <option <?php if($dados_stm["timezone"] == "Indian/Cocos") { echo 'selected="selected"'; } ?> value="Indian/Cocos">Cocos</option>
                                </optgroup>
                                <optgroup label="Ilhas Cook (CK)">
                                <option <?php if($dados_stm["timezone"] == "Pacific/Rarotonga") { echo 'selected="selected"'; } ?> value="Pacific/Rarotonga">Rarotonga</option>
                                </optgroup>
                                <optgroup label="Ilhas Feroé (FO)">
                                <option <?php if($dados_stm["timezone"] == "Atlantic/Faroe") { echo 'selected="selected"'; } ?> value="Atlantic/Faroe">Faroé</option>
                                </optgroup>
                                <optgroup label="Ilhas Geórgia do Sul e Sandwich do Sul (GS)">
                                <option <?php if($dados_stm["timezone"] == "Atlantic/South_Georgia") { echo 'selected="selected"'; } ?> value="Atlantic/South_Georgia">South Georgia</option>
                                </optgroup>
                                <optgroup label="Ilhas Malvinas (FK)">
                                <option <?php if($dados_stm["timezone"] == "Atlantic/Stanley") { echo 'selected="selected"'; } ?> value="Atlantic/Stanley">Stanley</option>
                                </optgroup>
                                <optgroup label="Ilhas Marianas do Norte (MP)">
                                <option <?php if($dados_stm["timezone"] == "Pacific/Saipan") { echo 'selected="selected"'; } ?> value="Pacific/Saipan">Saipan</option>
                                </optgroup>
                                <optgroup label="Ilhas Marshall (MH)">
                                <option <?php if($dados_stm["timezone"] == "Pacific/Kwajalein") { echo 'selected="selected"'; } ?> value="Pacific/Kwajalein">Kwajalein</option>
                                <option <?php if($dados_stm["timezone"] == "Pacific/Majuro") { echo 'selected="selected"'; } ?> value="Pacific/Majuro">Majuro</option>
                                </optgroup>
                                <optgroup label="Ilhas Menores Distantes dos Estados Unidos (UM)">
                                <option <?php if($dados_stm["timezone"] == "Pacific/Johnston") { echo 'selected="selected"'; } ?> value="Pacific/Johnston">Johnston</option>
                                <option <?php if($dados_stm["timezone"] == "Pacific/Midway") { echo 'selected="selected"'; } ?> value="Pacific/Midway">Midway</option>
                                <option <?php if($dados_stm["timezone"] == "Pacific/Wake") { echo 'selected="selected"'; } ?> value="Pacific/Wake">Wake</option>
                                </optgroup>
                                <optgroup label="Ilhas Pitcairn (PN)">
                                <option <?php if($dados_stm["timezone"] == "Pacific/Pitcairn") { echo 'selected="selected"'; } ?> value="Pacific/Pitcairn">Pitcairn</option>
                                </optgroup>
                                <optgroup label="Ilhas Salomão (SB)">
                                <option <?php if($dados_stm["timezone"] == "Pacific/Guadalcanal") { echo 'selected="selected"'; } ?> value="Pacific/Guadalcanal">Guadalcanal</option>
                                </optgroup>
                                <optgroup label="Ilhas Turcas e Caicos (TC)">
                                <option <?php if($dados_stm["timezone"] == "America/Grand_Turk") { echo 'selected="selected"'; } ?> value="America/Grand_Turk">Grand Turk</option>
                                </optgroup>
                                <optgroup label="Ilhas Virgens Americanas (VI)">
                                <option <?php if($dados_stm["timezone"] == "America/St_Thomas") { echo 'selected="selected"'; } ?> value="America/St_Thomas">St Thomas</option>
                                </optgroup>
                                <optgroup label="Ilhas Virgens Britânicas (VG)">
                                <option <?php if($dados_stm["timezone"] == "America/Tortola") { echo 'selected="selected"'; } ?> value="America/Tortola">Tortola</option>
                                </optgroup>
                                <optgroup label="Índia (IN)">
                                <option <?php if($dados_stm["timezone"] == "Asia/Kolkata") { echo 'selected="selected"'; } ?> value="Asia/Kolkata">Kolkata</option>
                                </optgroup>
                                <optgroup label="Indonésia (ID)">
                                <option <?php if($dados_stm["timezone"] == "Asia/Jakarta") { echo 'selected="selected"'; } ?> value="Asia/Jakarta">Jakarta</option>
                                <option <?php if($dados_stm["timezone"] == "Asia/Jayapura") { echo 'selected="selected"'; } ?> value="Asia/Jayapura">Jayapura</option>
                                <option <?php if($dados_stm["timezone"] == "Asia/Makassar") { echo 'selected="selected"'; } ?> value="Asia/Makassar">Makassar</option>
                                <option <?php if($dados_stm["timezone"] == "Asia/Pontianak") { echo 'selected="selected"'; } ?> value="Asia/Pontianak">Pontianak</option>
                                </optgroup>
                                <optgroup label="Irã (IR)">
                                <option <?php if($dados_stm["timezone"] == "Asia/Tehran") { echo 'selected="selected"'; } ?> value="Asia/Tehran">Teerão</option>
                                </optgroup>
                                <optgroup label="Iraque (IQ)">
                                <option <?php if($dados_stm["timezone"] == "Asia/Baghdad") { echo 'selected="selected"'; } ?> value="Asia/Baghdad">Bagdade</option>
                                </optgroup>
                                <optgroup label="Irlanda (IE)">
                                <option <?php if($dados_stm["timezone"] == "Europe/Dublin") { echo 'selected="selected"'; } ?> value="Europe/Dublin">Dublim</option>
                                </optgroup>
                                <optgroup label="Islândia (IS)">
                                <option <?php if($dados_stm["timezone"] == "Atlantic/Reykjavik") { echo 'selected="selected"'; } ?> value="Atlantic/Reykjavik">Reykjavik</option>
                                </optgroup>
                                <optgroup label="Israel (IL)">
                                <option <?php if($dados_stm["timezone"] == "Asia/Jerusalem") { echo 'selected="selected"'; } ?> value="Asia/Jerusalem">Jerusalém</option>
                                </optgroup>
                                <optgroup label="Itália (IT)">
                                <option <?php if($dados_stm["timezone"] == "Europe/Rome") { echo 'selected="selected"'; } ?> value="Europe/Rome">Roma</option>
                                </optgroup>
                                <optgroup label="Jamaica (JM)">
                                <option <?php if($dados_stm["timezone"] == "America/Jamaica") { echo 'selected="selected"'; } ?> value="America/Jamaica">Jamaica</option>
                                </optgroup>
                                <optgroup label="Japão (JP)">
                                <option <?php if($dados_stm["timezone"] == "Asia/Tokyo") { echo 'selected="selected"'; } ?> value="Asia/Tokyo">Tóquio</option>
                                </optgroup>
                                <optgroup label="Jersey (JE)">
                                <option <?php if($dados_stm["timezone"] == "Europe/Jersey") { echo 'selected="selected"'; } ?> value="Europe/Jersey">Jersey</option>
                                </optgroup>
                                <optgroup label="Jibuti (DJ)">
                                <option <?php if($dados_stm["timezone"] == "Africa/Djibouti") { echo 'selected="selected"'; } ?> value="Africa/Djibouti">Djibuti</option>
                                </optgroup>
                                <optgroup label="Jordânia (JO)">
                                <option <?php if($dados_stm["timezone"] == "Asia/Amman") { echo 'selected="selected"'; } ?> value="Asia/Amman">Amã</option>
                                </optgroup>
                                <optgroup label="Kiribati (KI)">
                                <option <?php if($dados_stm["timezone"] == "Pacific/Enderbury") { echo 'selected="selected"'; } ?> value="Pacific/Enderbury">Enderbury</option>
                                <option <?php if($dados_stm["timezone"] == "Pacific/Kiritimati") { echo 'selected="selected"'; } ?> value="Pacific/Kiritimati">Kiritimati</option>
                                <option <?php if($dados_stm["timezone"] == "Pacific/Tarawa") { echo 'selected="selected"'; } ?> value="Pacific/Tarawa">Tarawa</option>
                                </optgroup>
                                <optgroup label="Kosovo (XK)"></optgroup>
                                <optgroup label="Kuwait (KW)">
                                <option <?php if($dados_stm["timezone"] == "Asia/Kuwait") { echo 'selected="selected"'; } ?> value="Asia/Kuwait">Kuwait</option>
                                </optgroup>
                                <optgroup label="Laos (LA)">
                                <option <?php if($dados_stm["timezone"] == "Asia/Vientiane") { echo 'selected="selected"'; } ?> value="Asia/Vientiane">Vientiane</option>
                                </optgroup>
                                <optgroup label="Lesoto (LS)">
                                <option <?php if($dados_stm["timezone"] == "Africa/Maseru") { echo 'selected="selected"'; } ?> value="Africa/Maseru">Maseru</option>
                                </optgroup>
                                <optgroup label="Letônia (LV)">
                                <option <?php if($dados_stm["timezone"] == "Europe/Riga") { echo 'selected="selected"'; } ?> value="Europe/Riga">Riga</option>
                                </optgroup>
                                <optgroup label="Líbano (LB)">
                                <option <?php if($dados_stm["timezone"] == "Asia/Beirut") { echo 'selected="selected"'; } ?> value="Asia/Beirut">Beirute</option>
                                </optgroup>
                                <optgroup label="Libéria (LR)">
                                <option <?php if($dados_stm["timezone"] == "Africa/Monrovia") { echo 'selected="selected"'; } ?> value="Africa/Monrovia">Monrovia</option>
                                </optgroup>
                                <optgroup label="Líbia (LY)">
                                <option <?php if($dados_stm["timezone"] == "Africa/Tripoli") { echo 'selected="selected"'; } ?> value="Africa/Tripoli">Trípoli</option>
                                </optgroup>
                                <optgroup label="Liechtenstein (LI)">
                                <option <?php if($dados_stm["timezone"] == "Europe/Vaduz") { echo 'selected="selected"'; } ?> value="Europe/Vaduz">Vaduz</option>
                                </optgroup>
                                <optgroup label="Lituânia (LT)">
                                <option <?php if($dados_stm["timezone"] == "Europe/Vilnius") { echo 'selected="selected"'; } ?> value="Europe/Vilnius">Vilnius</option>
                                </optgroup>
                                <optgroup label="Luxemburgo (LU)">
                                <option <?php if($dados_stm["timezone"] == "Europe/Luxembourg") { echo 'selected="selected"'; } ?> value="Europe/Luxembourg">Luxemburgo</option>
                                </optgroup>
                                <optgroup label="Macau (MO)">
                                <option <?php if($dados_stm["timezone"] == "Asia/Macau") { echo 'selected="selected"'; } ?> value="Asia/Macau">Macau</option>
                                </optgroup>
                                <optgroup label="Macedônia (MK)">
                                <option <?php if($dados_stm["timezone"] == "Europe/Skopje") { echo 'selected="selected"'; } ?> value="Europe/Skopje">Skopje</option>
                                </optgroup>
                                <optgroup label="Madagascar (MG)">
                                <option <?php if($dados_stm["timezone"] == "Indian/Antananarivo") { echo 'selected="selected"'; } ?> value="Indian/Antananarivo">Antananarivo</option>
                                </optgroup>
                                <optgroup label="Malásia (MY)">
                                <option <?php if($dados_stm["timezone"] == "Asia/Kuala_Lumpur") { echo 'selected="selected"'; } ?> value="Asia/Kuala_Lumpur">Kuala Lumpur</option>
                                <option <?php if($dados_stm["timezone"] == "Asia/Kuching") { echo 'selected="selected"'; } ?> value="Asia/Kuching">Kuching</option>
                                </optgroup>
                                <optgroup label="Malawi (MW)">
                                <option <?php if($dados_stm["timezone"] == "Africa/Blantyre") { echo 'selected="selected"'; } ?> value="Africa/Blantyre">Blantyre</option>
                                </optgroup>
                                <optgroup label="Maldivas (MV)">
                                <option <?php if($dados_stm["timezone"] == "Indian/Maldives") { echo 'selected="selected"'; } ?> value="Indian/Maldives">Maldivas</option>
                                </optgroup>
                                <optgroup label="Mali (ML)">
                                <option <?php if($dados_stm["timezone"] == "Africa/Bamako") { echo 'selected="selected"'; } ?> value="Africa/Bamako">Bamako</option>
                                </optgroup>
                                <optgroup label="Malta (MT)">
                                <option <?php if($dados_stm["timezone"] == "Europe/Malta") { echo 'selected="selected"'; } ?> value="Europe/Malta">Malta</option>
                                </optgroup>
                                <optgroup label="Marrocos (MA)">
                                <option <?php if($dados_stm["timezone"] == "Africa/Casablanca") { echo 'selected="selected"'; } ?> value="Africa/Casablanca">Casablanca</option>
                                </optgroup>
                                <optgroup label="Martinica (MQ)">
                                <option <?php if($dados_stm["timezone"] == "America/Martinique") { echo 'selected="selected"'; } ?> value="America/Martinique">Martinica</option>
                                </optgroup>
                                <optgroup label="Maurício (MU)">
                                <option <?php if($dados_stm["timezone"] == "Indian/Mauritius") { echo 'selected="selected"'; } ?> value="Indian/Mauritius">Maurícias</option>
                                </optgroup>
                                <optgroup label="Mauritânia (MR)">
                                <option <?php if($dados_stm["timezone"] == "Africa/Nouakchott") { echo 'selected="selected"'; } ?> value="Africa/Nouakchott">Nouakchott</option>
                                </optgroup>
                                <optgroup label="Mayotte (YT)">
                                <option <?php if($dados_stm["timezone"] == "Indian/Mayotte") { echo 'selected="selected"'; } ?> value="Indian/Mayotte">Mayotte</option>
                                </optgroup>
                                <optgroup label="México (MX)">
                                <option <?php if($dados_stm["timezone"] == "America/Bahia_Banderas") { echo 'selected="selected"'; } ?> value="America/Bahia_Banderas">Bahia Banderas</option>
                                <option <?php if($dados_stm["timezone"] == "America/Cancun") { echo 'selected="selected"'; } ?> value="America/Cancun">Cancún</option>
                                <option <?php if($dados_stm["timezone"] == "America/Chihuahua") { echo 'selected="selected"'; } ?> value="America/Chihuahua">Chihuahua</option>
                                <option <?php if($dados_stm["timezone"] == "America/Mexico_City") { echo 'selected="selected"'; } ?> value="America/Mexico_City">Cidade do México</option>
                                <option <?php if($dados_stm["timezone"] == "America/Hermosillo") { echo 'selected="selected"'; } ?> value="America/Hermosillo">Hermosillo</option>
                                <option <?php if($dados_stm["timezone"] == "America/Matamoros") { echo 'selected="selected"'; } ?> value="America/Matamoros">Matamoros</option>
                                <option <?php if($dados_stm["timezone"] == "America/Mazatlan") { echo 'selected="selected"'; } ?> value="America/Mazatlan">Mazatlan</option>
                                <option <?php if($dados_stm["timezone"] == "America/Merida") { echo 'selected="selected"'; } ?> value="America/Merida">Mérida</option>
                                <option <?php if($dados_stm["timezone"] == "America/Monterrey") { echo 'selected="selected"'; } ?> value="America/Monterrey">Monterrey</option>
                                <option <?php if($dados_stm["timezone"] == "America/Ojinaga") { echo 'selected="selected"'; } ?> value="America/Ojinaga">Ojinaga</option>
                                <option <?php if($dados_stm["timezone"] == "America/Santa_Isabel") { echo 'selected="selected"'; } ?> value="America/Santa_Isabel">Santa Isabel</option>
                                <option <?php if($dados_stm["timezone"] == "America/Tijuana") { echo 'selected="selected"'; } ?> value="America/Tijuana">Tijuana</option>
                                </optgroup>
                                <optgroup label="Micronésia (FM)">
                                <option <?php if($dados_stm["timezone"] == "Pacific/Chuuk") { echo 'selected="selected"'; } ?> value="Pacific/Chuuk">Chuuk</option>
                                <option <?php if($dados_stm["timezone"] == "Pacific/Kosrae") { echo 'selected="selected"'; } ?> value="Pacific/Kosrae">Kosrae</option>
                                <option <?php if($dados_stm["timezone"] == "Pacific/Pohnpei") { echo 'selected="selected"'; } ?> value="Pacific/Pohnpei">Pohnpei</option>
                                </optgroup>
                                <optgroup label="Moçambique (MZ)">
                                <option <?php if($dados_stm["timezone"] == "Africa/Maputo") { echo 'selected="selected"'; } ?> value="Africa/Maputo">Maputo</option>
                                </optgroup>
                                <optgroup label="Moldávia (MD)">
                                <option <?php if($dados_stm["timezone"] == "Europe/Chisinau") { echo 'selected="selected"'; } ?> value="Europe/Chisinau">Chisinau</option>
                                </optgroup>
                                <optgroup label="Mônaco (MC)">
                                <option <?php if($dados_stm["timezone"] == "Europe/Monaco") { echo 'selected="selected"'; } ?> value="Europe/Monaco">Mónaco</option>
                                </optgroup>
                                <optgroup label="Mongólia (MN)">
                                <option <?php if($dados_stm["timezone"] == "Asia/Choibalsan") { echo 'selected="selected"'; } ?> value="Asia/Choibalsan">Choibalsan</option>
                                <option <?php if($dados_stm["timezone"] == "Asia/Hovd") { echo 'selected="selected"'; } ?> value="Asia/Hovd">Hovd</option>
                                <option <?php if($dados_stm["timezone"] == "Asia/Ulaanbaatar") { echo 'selected="selected"'; } ?> value="Asia/Ulaanbaatar">Ulaanbaatar</option>
                                </optgroup>
                                <optgroup label="Montenegro (ME)">
                                <option <?php if($dados_stm["timezone"] == "Europe/Podgorica") { echo 'selected="selected"'; } ?> value="Europe/Podgorica">Podgorica</option>
                                </optgroup>
                                <optgroup label="Montserrat (MS)">
                                <option <?php if($dados_stm["timezone"] == "America/Montserrat") { echo 'selected="selected"'; } ?> value="America/Montserrat">Montserrat</option>
                                </optgroup>
                                <optgroup label="Myanmar (MM)">
                                <option <?php if($dados_stm["timezone"] == "Asia/Rangoon") { echo 'selected="selected"'; } ?> value="Asia/Rangoon">Rangoon</option>
                                </optgroup>
                                <optgroup label="Namíbia (NA)">
                                <option <?php if($dados_stm["timezone"] == "Africa/Windhoek") { echo 'selected="selected"'; } ?> value="Africa/Windhoek">Windhoek</option>
                                </optgroup>
                                <optgroup label="Nauru (NR)">
                                <option <?php if($dados_stm["timezone"] == "Pacific/Nauru") { echo 'selected="selected"'; } ?> value="Pacific/Nauru">Nauru</option>
                                </optgroup>
                                <optgroup label="Nepal (NP)">
                                <option <?php if($dados_stm["timezone"] == "Asia/Kathmandu") { echo 'selected="selected"'; } ?> value="Asia/Kathmandu">Kathmandu</option>
                                </optgroup>
                                <optgroup label="Nicarágua (NI)">
                                <option <?php if($dados_stm["timezone"] == "America/Managua") { echo 'selected="selected"'; } ?> value="America/Managua">Manágua</option>
                                </optgroup>
                                <optgroup label="Níger (NE)">
                                <option <?php if($dados_stm["timezone"] == "Africa/Niamey") { echo 'selected="selected"'; } ?> value="Africa/Niamey">Niamey</option>
                                </optgroup>
                                <optgroup label="Nigéria (NG)">
                                <option <?php if($dados_stm["timezone"] == "Africa/Lagos") { echo 'selected="selected"'; } ?> value="Africa/Lagos">Lagos</option>
                                </optgroup>
                                <optgroup label="Niue (NU)">
                                <option <?php if($dados_stm["timezone"] == "Pacific/Niue") { echo 'selected="selected"'; } ?> value="Pacific/Niue">Niue</option>
                                </optgroup>
                                <optgroup label="Noruega (NO)">
                                <option <?php if($dados_stm["timezone"] == "Europe/Oslo") { echo 'selected="selected"'; } ?> value="Europe/Oslo">Oslo</option>
                                </optgroup>
                                <optgroup label="Nova Caledônia (NC)">
                                <option <?php if($dados_stm["timezone"] == "Pacific/Noumea") { echo 'selected="selected"'; } ?> value="Pacific/Noumea">Noumea</option>
                                </optgroup>
                                <optgroup label="Nova Zelândia (NZ)">
                                <option <?php if($dados_stm["timezone"] == "Pacific/Auckland") { echo 'selected="selected"'; } ?> value="Pacific/Auckland">Auckland</option>
                                <option <?php if($dados_stm["timezone"] == "Pacific/Chatham") { echo 'selected="selected"'; } ?> value="Pacific/Chatham">Chatham</option>
                                </optgroup>
                                <optgroup label="Omã (OM)">
                                <option <?php if($dados_stm["timezone"] == "Asia/Muscat") { echo 'selected="selected"'; } ?> value="Asia/Muscat">Muscat</option>
                                </optgroup>
                                <optgroup label="Países Baixos (NL)">
                                <option <?php if($dados_stm["timezone"] == "Europe/Amsterdam") { echo 'selected="selected"'; } ?> value="Europe/Amsterdam">Amsterdão</option>
                                </optgroup>
                                <optgroup label="Palau (PW)">
                                <option <?php if($dados_stm["timezone"] == "Pacific/Palau") { echo 'selected="selected"'; } ?> value="Pacific/Palau">Palau</option>
                                </optgroup>
                                <optgroup label="Panamá (PA)">
                                <option <?php if($dados_stm["timezone"] == "America/Panama") { echo 'selected="selected"'; } ?> value="America/Panama">Panamá</option>
                                </optgroup>
                                <optgroup label="Papua-Nova Guiné (PG)">
                                <option <?php if($dados_stm["timezone"] == "Pacific/Port_Moresby") { echo 'selected="selected"'; } ?> value="Pacific/Port_Moresby">Port Moresby</option>
                                </optgroup>
                                <optgroup label="Paquistão (PK)">
                                <option <?php if($dados_stm["timezone"] == "Asia/Karachi") { echo 'selected="selected"'; } ?> value="Asia/Karachi">Karachi</option>
                                </optgroup>
                                <optgroup label="Paraguai (PY)">
                                <option <?php if($dados_stm["timezone"] == "America/Asuncion") { echo 'selected="selected"'; } ?> value="America/Asuncion">Asunción</option>
                                </optgroup>
                                <optgroup label="Peru (PE)">
                                <option <?php if($dados_stm["timezone"] == "America/Lima") { echo 'selected="selected"'; } ?> value="America/Lima">Lima</option>
                                </optgroup>
                                <optgroup label="Polinésia Francesa (PF)">
                                <option <?php if($dados_stm["timezone"] == "Pacific/Gambier") { echo 'selected="selected"'; } ?> value="Pacific/Gambier">Gambier</option>
                                <option <?php if($dados_stm["timezone"] == "Pacific/Marquesas") { echo 'selected="selected"'; } ?> value="Pacific/Marquesas">Marquesas</option>
                                <option <?php if($dados_stm["timezone"] == "Pacific/Tahiti") { echo 'selected="selected"'; } ?> value="Pacific/Tahiti">Tahiti</option>
                                </optgroup>
                                <optgroup label="Polônia (PL)">
                                <option <?php if($dados_stm["timezone"] == "Europe/Warsaw") { echo 'selected="selected"'; } ?> value="Europe/Warsaw">Varsóvia</option>
                                </optgroup>
                                <optgroup label="Porto Rico (PR)">
                                <option <?php if($dados_stm["timezone"] == "America/Puerto_Rico") { echo 'selected="selected"'; } ?> value="America/Puerto_Rico">Porto Rico</option>
                                </optgroup>
                                <optgroup label="Portugal (PT)">
                                <option <?php if($dados_stm["timezone"] == "Atlantic/Azores") { echo 'selected="selected"'; } ?> value="Atlantic/Azores">Açores</option>
                                <option <?php if($dados_stm["timezone"] == "Europe/Lisbon") { echo 'selected="selected"'; } ?> value="Europe/Lisbon">Lisboa</option>
                                <option <?php if($dados_stm["timezone"] == "Atlantic/Madeira") { echo 'selected="selected"'; } ?> value="Atlantic/Madeira">Madeira</option>
                                </optgroup>
                                <optgroup label="Quênia (KE)">
                                <option <?php if($dados_stm["timezone"] == "Africa/Nairobi") { echo 'selected="selected"'; } ?> value="Africa/Nairobi">Nairobi</option>
                                </optgroup>
                                <optgroup label="Quirguistão (KG)">
                                <option <?php if($dados_stm["timezone"] == "Asia/Bishkek") { echo 'selected="selected"'; } ?> value="Asia/Bishkek">Bishkek</option>
                                </optgroup>
                                <optgroup label="Reino Unido (GB)">
                                <option <?php if($dados_stm["timezone"] == "Europe/London") { echo 'selected="selected"'; } ?> value="Europe/London">Londres</option>
                                </optgroup>
                                <optgroup label="República Centro-Africana (CF)">
                                <option <?php if($dados_stm["timezone"] == "Africa/Bangui") { echo 'selected="selected"'; } ?> value="Africa/Bangui">Bangui</option>
                                </optgroup>
                                <optgroup label="República Democrática do Congo (CD)">
                                <option <?php if($dados_stm["timezone"] == "Africa/Kinshasa") { echo 'selected="selected"'; } ?> value="Africa/Kinshasa">Kinshasa</option>
                                <option <?php if($dados_stm["timezone"] == "Africa/Lubumbashi") { echo 'selected="selected"'; } ?> value="Africa/Lubumbashi">Lubumbashi</option>
                                </optgroup>
                                <optgroup label="República do Congo (CG)">
                                <option <?php if($dados_stm["timezone"] == "Africa/Brazzaville") { echo 'selected="selected"'; } ?> value="Africa/Brazzaville">Brazzaville</option>
                                </optgroup>
                                <optgroup label="República Dominicana (DO)">
                                <option <?php if($dados_stm["timezone"] == "America/Santo_Domingo") { echo 'selected="selected"'; } ?> value="America/Santo_Domingo">Santo Domingo</option>
                                </optgroup>
                                <optgroup label="República Tcheca (CZ)">
                                <option <?php if($dados_stm["timezone"] == "Europe/Prague") { echo 'selected="selected"'; } ?> value="Europe/Prague">Praga</option>
                                </optgroup>
                                <optgroup label="Reunião (RE)">
                                <option <?php if($dados_stm["timezone"] == "Indian/Reunion") { echo 'selected="selected"'; } ?> value="Indian/Reunion">Reunião</option>
                                </optgroup>
                                <optgroup label="Romênia (RO)">
                                <option <?php if($dados_stm["timezone"] == "Europe/Bucharest") { echo 'selected="selected"'; } ?> value="Europe/Bucharest">Bucareste</option>
                                </optgroup>
                                <optgroup label="Ruanda (RW)">
                                <option <?php if($dados_stm["timezone"] == "Africa/Kigali") { echo 'selected="selected"'; } ?> value="Africa/Kigali">Kigali</option>
                                </optgroup>
                                <optgroup label="Rússia (RU)">
                                <option <?php if($dados_stm["timezone"] == "Asia/Anadyr") { echo 'selected="selected"'; } ?> value="Asia/Anadyr">Anadyr</option>
                                <option <?php if($dados_stm["timezone"] == "Asia/Irkutsk") { echo 'selected="selected"'; } ?> value="Asia/Irkutsk">Irkutsk</option>
                                <option <?php if($dados_stm["timezone"] == "Europe/Kaliningrad") { echo 'selected="selected"'; } ?> value="Europe/Kaliningrad">Kaliningrad</option>
                                <option <?php if($dados_stm["timezone"] == "Asia/Kamchatka") { echo 'selected="selected"'; } ?> value="Asia/Kamchatka">Kamchatka</option>
                                <option <?php if($dados_stm["timezone"] == "Asia/Khandyga") { echo 'selected="selected"'; } ?> value="Asia/Khandyga">Khandyga</option>
                                <option <?php if($dados_stm["timezone"] == "Asia/Krasnoyarsk") { echo 'selected="selected"'; } ?> value="Asia/Krasnoyarsk">Krasnoyarsk</option>
                                <option <?php if($dados_stm["timezone"] == "Asia/Magadan") { echo 'selected="selected"'; } ?> value="Asia/Magadan">Magadan</option>
                                <option <?php if($dados_stm["timezone"] == "Europe/Moscow") { echo 'selected="selected"'; } ?> value="Europe/Moscow">Moscovo</option>
                                <option <?php if($dados_stm["timezone"] == "Asia/Novokuznetsk") { echo 'selected="selected"'; } ?> value="Asia/Novokuznetsk">Novokuznetsk</option>
                                <option <?php if($dados_stm["timezone"] == "Asia/Novosibirsk") { echo 'selected="selected"'; } ?> value="Asia/Novosibirsk">Novosibirsk</option>
                                <option <?php if($dados_stm["timezone"] == "Asia/Omsk") { echo 'selected="selected"'; } ?> value="Asia/Omsk">Omsk</option>
                                <option <?php if($dados_stm["timezone"] == "Asia/Sakhalin") { echo 'selected="selected"'; } ?> value="Asia/Sakhalin">Sakhalin</option>
                                <option <?php if($dados_stm["timezone"] == "Europe/Samara") { echo 'selected="selected"'; } ?> value="Europe/Samara">Samara</option>
                                <option <?php if($dados_stm["timezone"] == "Asia/Ust-Nera") { echo 'selected="selected"'; } ?> value="Asia/Ust-Nera">Ust-Nera</option>
                                <option <?php if($dados_stm["timezone"] == "Asia/Vladivostok") { echo 'selected="selected"'; } ?> value="Asia/Vladivostok">Vladivostok</option>
                                <option <?php if($dados_stm["timezone"] == "Europe/Volgograd") { echo 'selected="selected"'; } ?> value="Europe/Volgograd">Volgograd</option>
                                <option <?php if($dados_stm["timezone"] == "Asia/Yakutsk") { echo 'selected="selected"'; } ?> value="Asia/Yakutsk">Yakutsk</option>
                                <option <?php if($dados_stm["timezone"] == "Asia/Yekaterinburg") { echo 'selected="selected"'; } ?> value="Asia/Yekaterinburg">Yekaterinburg</option>
                                </optgroup>
                                <optgroup label="Saara Ocidental (EH)">
                                <option <?php if($dados_stm["timezone"] == "Africa/El_Aaiun") { echo 'selected="selected"'; } ?> value="Africa/El_Aaiun">El Aaiun</option>
                                </optgroup>
                                <optgroup label="Saint-Pierre e Miquelon (PM)">
                                <option <?php if($dados_stm["timezone"] == "America/Miquelon") { echo 'selected="selected"'; } ?> value="America/Miquelon">Miquelon</option>
                                </optgroup>
                                <optgroup label="Samoa (WS)">
                                <option <?php if($dados_stm["timezone"] == "Pacific/Apia") { echo 'selected="selected"'; } ?> value="Pacific/Apia">Apia</option>
                                </optgroup>
                                <optgroup label="Samoa Americana (AS)">
                                <option <?php if($dados_stm["timezone"] == "Pacific/Pago_Pago") { echo 'selected="selected"'; } ?> value="Pacific/Pago_Pago">Pago Pago</option>
                                </optgroup>
                                <optgroup label="San Marino (SM)">
                                <option <?php if($dados_stm["timezone"] == "Europe/San_Marino") { echo 'selected="selected"'; } ?> value="Europe/San_Marino">San Marino</option>
                                </optgroup>
                                <optgroup label="Santa Helena (SH)">
                                <option <?php if($dados_stm["timezone"] == "Atlantic/St_Helena") { echo 'selected="selected"'; } ?> value="Atlantic/St_Helena">St Helena</option>
                                </optgroup>
                                <optgroup label="Santa Lúcia (LC)">
                                <option <?php if($dados_stm["timezone"] == "America/St_Lucia") { echo 'selected="selected"'; } ?> value="America/St_Lucia">St Lucia</option>
                                </optgroup>
                                <optgroup label="São Bartolomeu (BL)">
                                <option <?php if($dados_stm["timezone"] == "America/St_Barthelemy") { echo 'selected="selected"'; } ?> value="America/St_Barthelemy">St Barthelemy</option>
                                </optgroup>
                                <optgroup label="São Cristóvão e Nevis (KN)">
                                <option <?php if($dados_stm["timezone"] == "America/St_Kitts") { echo 'selected="selected"'; } ?> value="America/St_Kitts">St Kitts</option>
                                </optgroup>
                                <optgroup label="São Martinho (Países Baixos) (SX)">
                                <option <?php if($dados_stm["timezone"] == "America/Lower_Princes") { echo 'selected="selected"'; } ?> value="America/Lower_Princes">Lower Princes</option>
                                </optgroup>
                                <optgroup label="São Tomé e Príncipe (ST)">
                                <option <?php if($dados_stm["timezone"] == "Africa/Sao_Tome") { echo 'selected="selected"'; } ?> value="Africa/Sao_Tome">São Tomé</option>
                                </optgroup>
                                <optgroup label="São Vicente e Granadinas (VC)">
                                <option <?php if($dados_stm["timezone"] == "America/St_Vincent") { echo 'selected="selected"'; } ?> value="America/St_Vincent">St Vincent</option>
                                </optgroup>
                                <optgroup label="Senegal (SN)">
                                <option <?php if($dados_stm["timezone"] == "Africa/Dakar") { echo 'selected="selected"'; } ?> value="Africa/Dakar">Dakar</option>
                                </optgroup>
                                <optgroup label="Serra Leoa (SL)">
                                <option <?php if($dados_stm["timezone"] == "Africa/Freetown") { echo 'selected="selected"'; } ?> value="Africa/Freetown">Freetown</option>
                                </optgroup>
                                <optgroup label="Sérvia (RS)">
                                <option <?php if($dados_stm["timezone"] == "Europe/Belgrade") { echo 'selected="selected"'; } ?> value="Europe/Belgrade">Belgrado</option>
                                </optgroup>
                                <optgroup label="Sérvia e Montenegro (CS)"></optgroup>
                                <optgroup label="Seychelles (SC)">
                                <option <?php if($dados_stm["timezone"] == "Indian/Mahe") { echo 'selected="selected"'; } ?> value="Indian/Mahe">Mahe</option>
                                </optgroup>
                                <optgroup label="Singapura (SG)">
                                <option <?php if($dados_stm["timezone"] == "Asia/Singapore") { echo 'selected="selected"'; } ?> value="Asia/Singapore">Singapura</option>
                                </optgroup>
                                <optgroup label="Síria (SY)">
                                <option <?php if($dados_stm["timezone"] == "Asia/Damascus") { echo 'selected="selected"'; } ?> value="Asia/Damascus">Damasco</option>
                                </optgroup>
                                <optgroup label="Somália (SO)">
                                <option <?php if($dados_stm["timezone"] == "Africa/Mogadishu") { echo 'selected="selected"'; } ?> value="Africa/Mogadishu">Mogadíscio</option>
                                </optgroup>
                                <optgroup label="Sri Lanka (LK)">
                                <option <?php if($dados_stm["timezone"] == "Asia/Colombo") { echo 'selected="selected"'; } ?> value="Asia/Colombo">Colombo</option>
                                </optgroup>
                                <optgroup label="Suazilândia (SZ)">
                                <option <?php if($dados_stm["timezone"] == "Africa/Mbabane") { echo 'selected="selected"'; } ?> value="Africa/Mbabane">Mbabane</option>
                                </optgroup>
                                <optgroup label="Sudão (SD)">
                                <option <?php if($dados_stm["timezone"] == "Africa/Khartoum") { echo 'selected="selected"'; } ?> value="Africa/Khartoum">Cartum</option>
                                </optgroup>
                                <optgroup label="Sudão do Sul (SS)">
                                <option <?php if($dados_stm["timezone"] == "Africa/Juba") { echo 'selected="selected"'; } ?> value="Africa/Juba">Juba</option>
                                </optgroup>
                                <optgroup label="Suécia (SE)">
                                <option <?php if($dados_stm["timezone"] == "Europe/Stockholm") { echo 'selected="selected"'; } ?> value="Europe/Stockholm">Estocolmo</option>
                                </optgroup>
                                <optgroup label="Suíça (CH)">
                                <option <?php if($dados_stm["timezone"] == "Europe/Zurich") { echo 'selected="selected"'; } ?> value="Europe/Zurich">Zurique</option>
                                </optgroup>
                                <optgroup label="Suriname (SR)">
                                <option <?php if($dados_stm["timezone"] == "America/Paramaribo") { echo 'selected="selected"'; } ?> value="America/Paramaribo">Paramaribo</option>
                                </optgroup>
                                <optgroup label="Svalbard e Jan Mayen (SJ)">
                                <option <?php if($dados_stm["timezone"] == "Arctic/Longyearbyen") { echo 'selected="selected"'; } ?> value="Arctic/Longyearbyen">Longyearbyen</option>
                                </optgroup>
                                <optgroup label="Tailândia (TH)">
                                <option <?php if($dados_stm["timezone"] == "Asia/Bangkok") { echo 'selected="selected"'; } ?> value="Asia/Bangkok">Banguecoque</option>
                                </optgroup>
                                <optgroup label="Taiwan (TW)">
                                <option <?php if($dados_stm["timezone"] == "Asia/Taipei") { echo 'selected="selected"'; } ?> value="Asia/Taipei">Taipe</option>
                                </optgroup>
                                <optgroup label="Tajiquistão (TJ)">
                                <option <?php if($dados_stm["timezone"] == "Asia/Dushanbe") { echo 'selected="selected"'; } ?> value="Asia/Dushanbe">Dushanbe</option>
                                </optgroup>
                                <optgroup label="Tanzânia (TZ)">
                                <option <?php if($dados_stm["timezone"] == "Africa/Dar_es_Salaam") { echo 'selected="selected"'; } ?> value="Africa/Dar_es_Salaam">Dar es Salaam</option>
                                </optgroup>
                                <optgroup label="Terras Austrais e Antárticas Francesas (TF)">
                                <option <?php if($dados_stm["timezone"] == "Indian/Kerguelen") { echo 'selected="selected"'; } ?> value="Indian/Kerguelen">Kerguelen</option>
                                </optgroup>
                                <optgroup label="Território Britânico do Oceano Índico (IO)">
                                <option <?php if($dados_stm["timezone"] == "Indian/Chagos") { echo 'selected="selected"'; } ?> value="Indian/Chagos">Chagos</option>
                                </optgroup>
                                <optgroup label="Territórios Palestinianos (PS)">
                                <option <?php if($dados_stm["timezone"] == "Asia/Gaza") { echo 'selected="selected"'; } ?> value="Asia/Gaza">Gaza</option>
                                <option <?php if($dados_stm["timezone"] == "Asia/Hebron") { echo 'selected="selected"'; } ?> value="Asia/Hebron">Hebron</option>
                                </optgroup>
                                <optgroup label="Timor-Leste (TL)">
                                <option <?php if($dados_stm["timezone"] == "Asia/Dili") { echo 'selected="selected"'; } ?> value="Asia/Dili">Dili</option>
                                </optgroup>
                                <optgroup label="Togo (TG)">
                                <option <?php if($dados_stm["timezone"] == "Africa/Lome") { echo 'selected="selected"'; } ?> value="Africa/Lome">Lomé</option>
                                </optgroup>
                                <optgroup label="Tokelau (TK)">
                                <option <?php if($dados_stm["timezone"] == "Pacific/Fakaofo") { echo 'selected="selected"'; } ?> value="Pacific/Fakaofo">Fakaofo</option>
                                </optgroup>
                                <optgroup label="Tonga (TO)">
                                <option <?php if($dados_stm["timezone"] == "Pacific/Tongatapu") { echo 'selected="selected"'; } ?> value="Pacific/Tongatapu">Tongatapu</option>
                                </optgroup>
                                <optgroup label="Trinidad e Tobago (TT)">
                                <option <?php if($dados_stm["timezone"] == "America/Port_of_Spain") { echo 'selected="selected"'; } ?> value="America/Port_of_Spain">Port of Spain</option>
                                </optgroup>
                                <optgroup label="Tunísia (TN)">
                                <option <?php if($dados_stm["timezone"] == "Africa/Tunis") { echo 'selected="selected"'; } ?> value="Africa/Tunis">Túnis</option>
                                </optgroup>
                                <optgroup label="Turquemenistão (TM)">
                                <option <?php if($dados_stm["timezone"] == "Asia/Ashgabat") { echo 'selected="selected"'; } ?> value="Asia/Ashgabat">Ashgabat</option>
                                </optgroup>
                                <optgroup label="Turquia (TR)">
                                <option <?php if($dados_stm["timezone"] == "Europe/Istanbul") { echo 'selected="selected"'; } ?> value="Europe/Istanbul">Istanbul</option>
                                </optgroup>
                                <optgroup label="Tuvalu (TV)">
                                <option <?php if($dados_stm["timezone"] == "Pacific/Funafuti") { echo 'selected="selected"'; } ?> value="Pacific/Funafuti">Funafuti</option>
                                </optgroup>
                                <optgroup label="Ucrânia (UA)">
                                <option <?php if($dados_stm["timezone"] == "Europe/Kiev") { echo 'selected="selected"'; } ?> value="Europe/Kiev">Kiev</option>
                                <option <?php if($dados_stm["timezone"] == "Europe/Simferopol") { echo 'selected="selected"'; } ?> value="Europe/Simferopol">Simferopol</option>
                                <option <?php if($dados_stm["timezone"] == "Europe/Uzhgorod") { echo 'selected="selected"'; } ?> value="Europe/Uzhgorod">Uzhgorod</option>
                                <option <?php if($dados_stm["timezone"] == "Europe/Zaporozhye") { echo 'selected="selected"'; } ?> value="Europe/Zaporozhye">Zaporozhye</option>
                                </optgroup>
                                <optgroup label="Uganda (UG)">
                                <option <?php if($dados_stm["timezone"] == "Africa/Kampala") { echo 'selected="selected"'; } ?> value="Africa/Kampala">Kampala</option>
                                </optgroup>
                                <optgroup label="Uruguai (UY)">
                                <option <?php if($dados_stm["timezone"] == "America/Montevideo") { echo 'selected="selected"'; } ?> value="America/Montevideo">Montevidéu</option>
                                </optgroup>
                                <optgroup label="Uzbequistão (UZ)">
                                <option <?php if($dados_stm["timezone"] == "Asia/Samarkand") { echo 'selected="selected"'; } ?> value="Asia/Samarkand">Samarkand</option>
                                <option <?php if($dados_stm["timezone"] == "Asia/Tashkent") { echo 'selected="selected"'; } ?> value="Asia/Tashkent">Tashkent</option>
                                </optgroup>
                                <optgroup label="Vanuatu (VU)">
                                <option <?php if($dados_stm["timezone"] == "Pacific/Efate") { echo 'selected="selected"'; } ?> value="Pacific/Efate">Efate</option>
                                </optgroup>
                                <optgroup label="Vaticano (VA)">
                                <option <?php if($dados_stm["timezone"] == "Europe/Vatican") { echo 'selected="selected"'; } ?> value="Europe/Vatican">Vaticano</option>
                                </optgroup>
                                <optgroup label="Venezuela (VE)">
                                <option <?php if($dados_stm["timezone"] == "America/Caracas") { echo 'selected="selected"'; } ?> value="America/Caracas">Caracas</option>
                                </optgroup>
                                <optgroup label="Vietnã (VN)">
                                <option <?php if($dados_stm["timezone"] == "Asia/Ho_Chi_Minh") { echo 'selected="selected"'; } ?> value="Asia/Ho_Chi_Minh">Ho Chi Minh</option>
                                </optgroup>
                                <optgroup label="Wallis e Futuna (WF)">
                                <option <?php if($dados_stm["timezone"] == "Pacific/Wallis") { echo 'selected="selected"'; } ?> value="Pacific/Wallis">Wallis</option>
                                </optgroup>
                                <optgroup label="Zâmbia (ZM)">
                                <option <?php if($dados_stm["timezone"] == "Africa/Lusaka") { echo 'selected="selected"'; } ?> value="Africa/Lusaka">Lusaka</option>
                                </optgroup>
                                <optgroup label="Zimbábue (ZW)">
                                <option <?php if($dados_stm["timezone"] == "Africa/Harare") { echo 'selected="selected"'; } ?> value="Africa/Harare">Harare</option>
                                </optgroup>
                                </select>
                                           </td>
                                                      </tr>
                                                      <tr>
                                                        <td height="50" align="left" style="padding-left:5px;"><strong><?php echo $lang['lang_info_config_painel_formato_data']; ?></strong></td>
                                                        <td align="left" class="texto_padrao_vermelho">
                                                        <select name="formato_data" class="form-control" id="formato_data" style="width:100%;">
                                                            <option value="d/m/Y H:i:s"<?php if($dados_stm["formato_data"] == "d/m/Y H:i:s") { echo ' selected="selected"'; } ?>>DD/MM/YYYY</option>
                                                            <option value="m/d/Y H:i:s"<?php if($dados_stm["formato_data"] == "m/d/Y H:i:s") { echo ' selected="selected"'; } ?>>MM/DD/YYYY</option>
                                                            <option value="Y-m-d H:i:s"<?php if($dados_stm["formato_data"] == "Y-m-d H:i:s") { echo ' selected="selected"'; } ?>>YYYY-MM-DD</option>          
                                                        </select><code><?php echo formatar_data($dados_stm["formato_data"], date("Y-m-d H:i:s"), $dados_stm["timezone"]); ?></code></td>
                                                     </tr>
                                          <tr>
                                            <td height="40" align="left" style="padding-left:5px;"><strong>Tema Dark</strong></td>
                                            <td align="left"><input type="checkbox" name="tema_dark" id="tema_dark" value="sim" <?php if($dados_stm["tema_dark"] == "sim") { echo ' checked="checked"'; } ?> /></td>
                                         </tr>
                                                     <tr>
                                                        <td height="50" colspan="2" align="right"><button type="button" class="btn btn-info" onClick="document.config_painel.submit();"><?php echo $lang['lang_botao_titulo_alterar_config']; ?></button></td>
                                                      </tr>
                                                    </table>
                                                </form>
                </div>
              </div>
            </div>

          </div>
        </div>
      </div>
      <!-- modal -->
      <div class="modal fade" id="avisos" tabindex="-1" role="dialog" aria-hidden="true">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <h5 class="modal-title"><?php echo $lang['lang_info_pagina_informacoes_tab_avisos']; ?></h5>
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                </div>
                <div class="modal-body" id="avisos-conteudo"><img src="/img/ajax-loader.gif" align="center" /></div>
            </div>
        </div>
        </div>
                
        <div class="modal fade" id="log-sistema" tabindex="-1" role="dialog" aria-hidden="true">
        <div class="modal-dialog modal-dialog-centered" role="document">
            <div class="modal-content">
                <div class="modal-body" id="log-sistema-conteudo" style="text-align:center"><img src="/img/ajax-loader.gif" /></div>
            </div>
        </div>
      </div>
    </div>
  </div>
  <script src="/inc/vendor.bundle.base.js"></script>
  <script src="/inc/vendor.bundle.addons.js"></script>
  <script src="/inc/theme.js"></script>
  <script>
  status_streaming('<?php echo $login_code; ?>');
  setInterval("status_streaming('<?php echo $login_code; ?>')",60000);
  </script>
</body>
</html>