3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php /** * @file showListaCabecera.php * @brief muestra la lista de Módulos de la cabecera */ /* * ************** */ require_once("lib/tModulosCabeceraE.inc.php"); require_once("lib/tconfiguracionWebGlobalE.inc.php"); require_once("lib/tRedesModulosE.inc.php"); require_once("lib/listatimezones_por_pais.inc.php"); require_once("lib/ttimezoneoffset.inc.php"); $modulosCabecera = new tModulosCabeceraE(); $ConfiguracionWebGlobal = new tConfiguracionWebGlobalE(); $redes_modulos = new tRedesModulosE(); $mantenimientoConf = $ConfiguracionWebGlobal->getCurrentMantenimientoGlobalConfig($GLOBALS["sqlConfigGlobal"]); $modo_mantenimiento = $mantenimientoConf["mantenimiento_modo"]->valor(); $confTimezone = $ConfiguracionWebGlobal->getTimezoneReloj( $GLOBALS["sqlConfigGlobal"] ); $subzona_localtime = getSubzonasHorariasZona($confTimezone['idtimezone']); if(count($subzona_localtime)>1) { date_default_timezone_set($subzona_localtime[count($subzona_localtime) - $confTimezone['subtimezone']]); } else { date_default_timezone_set($subzona_localtime[0]); } //if($modo_mantenimiento) // return ("showDatosCabecera"); //return("InfoGeneralGlobal"); function printLogArray($lines, $RedesModulos_Rows) { include("lib/logsystem.php"); $class = "listaCanalesPrint"; // Loop through our array foreach (array_reverse($lines) as $line_num => $line) { $info = explode("~", $line); $levels = $info[0]; $dates = $info[1]; $hostnames = $info[2]; $msg = explode(":::", $info[3]); if (count($msg) > 1) { $subsystems = strtolower($msg[0]); $subsystem_text = $SubSystemText[strtoupper(trim($subsystems))]; $msgs = $msg[1]; } else { $subsystems = ""; $subsystem_text = ""; $msgs = $msg[0]; } if (trim($levels) == SYSLOG_NOTICE) { $signal = "img_led_ok"; $signalTitle = __("Notice"); } else if (trim($levels) == SYSLOG_WARNING) { $signal = "img_led_warning"; $signalTitle = __("Warning"); } else if (trim($levels) == SYSLOG_ERROR) { $signal = "img_led_alarm"; $signalTitle = __("Error"); } $labelName = ""; foreach ($RedesModulos_Rows as $Modulo) { if (strtolower($Modulo->Hostname()) == strtolower(trim($hostnames))) $labelName = $Modulo->Labelname(); } $time = strtotime($dates.' UTC'); $dateInLocal = date("M d H:i:s", $time); $GLOBALS["XMLBUF"] .= ' <li subsystem="' . trim($subsystems) . '" level="' . trim($levels) . '" module="' . strtolower(trim($hostnames)) . '"> <table class="' . $class . ' ui-corner-all" style="width:100%;" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="10%"> <div class="' . $signal . '" title="' . $signalTitle . '" alt="' . $signal . '"> </div> </td> <td width="10%"> ' . trim($dateInLocal) . ' </td> <td width="10%"> ' . trim($labelName) . ' </td> <td width="10%"> ' . $subsystem_text . ' </td> <td width="60%"> ' . trim($msgs) . ' </td> </tr> </table> </li> '; } } $GLOBALS["XMLBUF"] = ' <script type="text/javascript" src="javascript/jquery-1.9.1.js?ver=1"></script> <script type="text/javascript" src="javascript/jquery-ui-1.10.1.custom.js?ver=1"></script> <script type="text/javascript" src="javascript/jquery-numeric.js?ver=1"></script> <script type="text/javascript" src="javascript/jquery.form.js?ver=1"></script> <script type="text/javascript" src="javascript/configuracionTransporteGlobal.js?ver=1"></script> <link rel="stylesheet" type="text/css" href="css/' . $GLOBALS["CSS_Theme"] . '/jquery-ui-1.10.1.custom.css?ver=1"> <link rel="stylesheet" type="text/css" href="css/demos.css?ver=1"> <style> #contenido h4 { line-height: 16px; margin: 0 0 0.4em; padding: .4em; font-size: 15px} ul { margin: 0; padding: 0; list-style-type:none;} li { margin: 0; padding: 0;} table { height: 3em; } th { background: #000000; font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 15px; padding: 2px 4px; text-align: left; vertical-align: middle; font-weight:bold; color: #FFFFFF; } td { font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 11px; padding: 4px 6px; text-align: left; vertical-align: middle; font-weight:bold; } .err {background: white; color: red;} .warning {color: orange; } .notice {background: white;} #loglevelbar label:hover { border: 1px solid #05a364; background: #ffffef font-weight: bold; color: #000000;} #subsystembar label:hover { border: 1px solid #05a364; background: #ffffef font-weight: bold; color: #000000;} h3 { padding: .2em; margin: 0; } </style> <style> #loglevelbar { padding: 4px; display: inline-block; } /* support: IE7 */ *+html #loglevelbar { display: inline; } #subsystembar { padding: 4px; display: inline-block; } /* support: IE7 */ *+html #subsystembar { display: inline; } #modulebar { padding: 4px; display: inline-block; } /* support: IE7 */ *+html #modulebar { display: inline; } </style> <script language="JavaScript"> function checkAllSystemLogs() { var Selected_Module = $("#modulebar option:selected").prop("value"); if ( $("#subsystem_all").prop("checked") && $("#loglevel_all").prop("checked") && (Selected_Module == "ALL") ) { //Los filtros estan desactivados, sacamos todos por pantalla $( "#Lista_SystemLogs > li ").each (function () { $(this).show(); }); } else { //Algun filtro esta activado, analizamos todo y ponemos lo necesario $( "#Lista_SystemLogs > li ").each (function () { var li_subsystem = $(this).attr("subsystem"); var li_level = $(this).attr("level"); var li_module = $(this).attr("module"); if ( ( $("#"+li_subsystem).prop("checked") || $("#subsystem_all").prop("checked") ) && ( $("#"+li_level).prop("checked") || $("#loglevel_all").prop("checked") ) && ( (Selected_Module == li_module) || (Selected_Module == "ALL") ) ) { $(this).show(); } else { $(this).hide(); } }); } } $(document).ready(function (){ $( "#menu" ).menu(); actualizaEstadoHeadend(); $("#msg-ok").hide(); $("#msg-error").hide(); $("#msg-notice").hide(); $( "input, button").button(); $( "#loglevel" ).buttonset(); $( "#subsystem" ).buttonset(); $( "#modulebar" ).buttonset(); $( "#ts" ).click(function(){ $("#ts").focus(); return true; }); $("#subsystem_all").click(); $("#loglevel_all").click(); $("#subsystem_all").click(function () { $(this).blur(); }); $("#subsystem > input").each(function () { if ( $(this).prop("id") == "subsystem_all" ) { $(this).click(function () { if ( $(this).prop("checked") ) { $("#subsystem > input").each(function () { if ( $(this).prop("id") != "subsystem_all" ) { $(this).prop("checked", false); $(this).button( "refresh" ); } }); } checkAllSystemLogs(); $(this).blur(); }); } else { $(this).click(function () { if ( $(this).prop("checked") ) { $("#subsystem_all").prop("checked", false); $("#subsystem_all").button( "refresh" ); } checkAllSystemLogs(); $(this).blur(); }); } }); $("#loglevel > input").each(function () { if ( $(this).prop("id") == "loglevel_all" ) { $(this).click(function () { if ( $(this).prop("checked") ) { $("#loglevel > input").each(function () { if ( $(this).prop("id") != "loglevel_all" ) { $(this).prop("checked", false); $(this).button( "refresh" ); } }); } checkAllSystemLogs(); $(this).blur(); }); } else { $(this).click(function () { if ( $(this).prop("checked") ) { $("#loglevel_all").prop("checked", false); $("#loglevel_all").button( "refresh" ); } checkAllSystemLogs(); $(this).blur(); }); } }); $("#modulebar").change(function () { $(this).click(function () { checkAllSystemLogs(); $(this).blur(); }); }); }); </script> </head> <body> '; include ("leftmenu.php"); $class = "listaCanalesPrint"; $GLOBALS["XMLBUF"] .= ' <div id="contenido" style="width:85%; position: absolute; right: .5em; top: 2%; margin-top: -8px;"> <h4 class="ui-widget-header ui-corner-all"> ' . __("System Logs") . ' </h4> <div class="contenido"> <form action="' . INDEX . '" name="systemLogs" id="systemLogs" method="POST" enctype="multpart/form-data"> <div class="ui-widget" style="padding-left:10px;"> <div id="msg-notice" class="ui-state-highlight ui-corner-all" style="margin-top: 20px; padding: 0pt 0.7em;"> <p><span class="ui-icon ui-icon-notice" style="float: left; margin-right: 0.3em;"></span> <strong><span id="msg-notice_text"> </span></strong></p> </div> <div id="msg-ok" class="ui-state-highlight ui-corner-all" style="margin-top: 20px; padding: 0pt 0.7em;"> <p><span class="ui-icon ui-icon-check" style="float: left; margin-right: 0.3em;"></span> <strong>' . __("OK!") . '</strong> <span id="msg-ok_text"> </span></p> </div> <div id="msg-error" class="ui-state-error ui-corner-all" style="margin-top: 20px; padding: 0pt 0.7em;"> <p><span class="ui-icon ui-icon-alert" style="float: left; margin-right: 0.3em;"></span> <strong>' . __("Alert!") . '</strong> <span id="msg-error_text"> </span></p> </div> </div> <br/> <div style="margin:1%;"> <div id="subsystembar" class="ui-widget-header ui-corner-all" style="margin:1%; float:left;"> <span id="subsystem"> <input type="checkbox" id="subsystem_all" /><label for="subsystem_all" alt="' . __("ALL") . '" title="' . __("ALL") . '" >' . __("ALL") . '</label> <input type="checkbox" id="headend" /><label for="headend" alt="' . __("HEADEND") . '" title="' . __("HEADEND") . '">' . __("HEADEND") . '</label> <input type="checkbox" id="ui" /><label for="ui" alt="' . __("UI") . '" title="' . __("UI") . '">' . __("UI") . '</label> <input type="checkbox" id="system" /><label for="system" alt="' . __("SYSTEM") . '" title="' . __("SYSTEM") . '">' . __("SYSTEM") . '</label> <input type="checkbox" id="input" /><label for="input" alt="' . __("INPUT") . '" title="' . __("INPUT") . '" >' . __("INPUT") . '</label> <input type="checkbox" id="output" /><label for="output" alt="' . __("OUTPUT") . '" title="' . __("OUTPUT") . '">' . __("OUTPUT") . '</label> <input type="checkbox" id="cam" /><label for="cam" alt="' . __("CAM") . '" title="' . __("CAM") . '">' . __("CAM") . '</label> <input type="checkbox" id="xcoder" /><label for="xcoder" alt="' . __("TRANSCODING_") . '" title="' . __("TRANSCODING_") . '">' . __("TRANSCODING_") . '</label> </span> </div> <div id="loglevelbar" class="ui-widget-header ui-corner-all" style="margin:1%; margin-left:10%; float:left;"> <span id="loglevel"> <input type="checkbox" id="loglevel_all" /><label for="loglevel_all">' . __("All") . '</label> <input type="checkbox" id="err" /><label for="err">' . __("Error") . '</label> <input type="checkbox" id="warning" /><label for="warning">' . __("Warning") . '</label> <input type="checkbox" id="notice" /><label for="notice">' . __("Notice") . '</label> </span> </div> '; $RedesModulos_Rows = $redes_modulos->locateAll($GLOBALS["sqlConfigGlobal"]); $GLOBALS["XMLBUF"] .= ' <div id="modulebar" class="ui-widget-header ui-corner-all" style="margin:1%; float:right;"> <select id="moduleSelector"> <option value="ALL" Selected> ' . __("All Modules") . '</option> '; foreach ($RedesModulos_Rows as $Modulo) { $GLOBALS["XMLBUF"] .= ' <option value="' . strtolower($Modulo->Hostname()) . '"> ' . $Modulo->Labelname() . '</option> '; } $GLOBALS["XMLBUF"] .= ' </select> </div> '; $GLOBALS["XMLBUF"] .= ' </div> <br> <div style="margin:2%;"> <table class="' . $class . ' ui-corner-all" style="width:100%;" border="0" cellspacing="0" cellpadding="0"> <th width="10%"> ' . __("LogLevel") . ' </th> <th width="10%"> ' . __("Date") . ' </th> <th width="10%"> ' . __("Hostname") . ' </th> <th width="10%"> ' . __("Subsystem") . ' </th> <th width="60%"> ' . __("Msg") . ' </th> </table> <ul id="Lista_SystemLogs"> '; /* Ahora leemos el fichero temporal de hoy */ // Get a file into an array. $logSizeLimit = 1024; $totalFileSize= ( filesize('/var/log/ikunet_log') / 1024 ); printLogArray(file('/var/log/ikunet_log'), $RedesModulos_Rows); $LogDir = "/ikusi/ikunet_logs/"; /* Leemos todos los logs de días anteriores */ foreach (array_reverse(glob($LogDir . '*')) as $Logfilename) { $fileSize = ( filesize($Logfilename) / 1024 ); if ( $logSizeLimit > ($totalFileSize + $fileSize) ) { $totalFileSize = $totalFileSize + $fileSize; // Get a file into an array. printLogArray(file($Logfilename), $RedesModulos_Rows); } else { break; } } $GLOBALS["XMLBUF"] .= ' </ul> </div> </form> </div> </div> </body> </html> '; ?>
Finding entry points
Branch analysis from position: 0
Jump found. (Code = 43) Position 1 = 38, Position 2 = 46
Branch analysis from position: 38
Jump found. (Code = 42) Position 1 = 50
Branch analysis from position: 50
Jump found. (Code = 77) Position 1 = 236, Position 2 = 252
Branch analysis from position: 236
Jump found. (Code = 78) Position 1 = 237, Position 2 = 252
Branch analysis from position: 237
Jump found. (Code = 42) Position 1 = 236
Branch analysis from position: 236
Branch analysis from position: 252
Jump found. (Code = 77) Position 1 = 308, Position 2 = 329
Branch analysis from position: 308
Jump found. (Code = 78) Position 1 = 309, Position 2 = 329
Branch analysis from position: 309
Jump found. (Code = 43) Position 1 = 317, Position 2 = 327
Branch analysis from position: 317
Jump found. (Code = 42) Position 1 = 328
Branch analysis from position: 328
Jump found. (Code = 42) Position 1 = 308
Branch analysis from position: 308
Branch analysis from position: 327
Jump found. (Code = 42) Position 1 = 329
Branch analysis from position: 329
Jump found. (Code = 62) Position 1 = -2
Branch analysis from position: 329
Branch analysis from position: 329
Branch analysis from position: 252
Branch analysis from position: 46
Jump found. (Code = 77) Position 1 = 236, Position 2 = 252
Branch analysis from position: 236
Branch analysis from position: 252
filename:       /in/VU1Lj
function name:  (null)
number of ops:  334
compiled vars:  !0 = $modulosCabecera, !1 = $ConfiguracionWebGlobal, !2 = $redes_modulos, !3 = $mantenimientoConf, !4 = $modo_mantenimiento, !5 = $confTimezone, !6 = $subzona_localtime, !7 = $class, !8 = $RedesModulos_Rows, !9 = $Modulo, !10 = $logSizeLimit, !11 = $totalFileSize, !12 = $LogDir, !13 = $Logfilename, !14 = $fileSize
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   9     0  E >   INCLUDE_OR_EVAL                                          'lib%2FtModulosCabeceraE.inc.php', REQUIRE_ONCE
  10     1        INCLUDE_OR_EVAL                                          'lib%2FtconfiguracionWebGlobalE.inc.php', REQUIRE_ONCE
  11     2        INCLUDE_OR_EVAL                                          'lib%2FtRedesModulosE.inc.php', REQUIRE_ONCE
  12     3        INCLUDE_OR_EVAL                                          'lib%2Flistatimezones_por_pais.inc.php', REQUIRE_ONCE
  13     4        INCLUDE_OR_EVAL                                          'lib%2Fttimezoneoffset.inc.php', REQUIRE_ONCE
  15     5        NEW                                              $20     :0
         6        DO_FCALL                                      0          
         7        ASSIGN                                                   !0, $20
  16     8        NEW                                              $23     :2
         9        DO_FCALL                                      0          
        10        ASSIGN                                                   !1, $23
  17    11        NEW                                              $26     :4
        12        DO_FCALL                                      0          
        13        ASSIGN                                                   !2, $26
  19    14        INIT_METHOD_CALL                                         !1, 'getCurrentMantenimientoGlobalConfig'
        15        FETCH_FUNC_ARG               unknown             $29     'GLOBALS'
        16        FETCH_DIM_FUNC_ARG                               $30     $29, 'sqlConfigGlobal'
        17        SEND_VAR_EX                                              $30
        18        DO_FCALL                                      0  $31     
        19        ASSIGN                                                   !3, $31
  21    20        FETCH_DIM_R                                      $33     !3, 'mantenimiento_modo'
        21        INIT_METHOD_CALL                                         $33, 'valor'
        22        DO_FCALL                                      0  $34     
        23        ASSIGN                                                   !4, $34
  23    24        INIT_METHOD_CALL                                         !1, 'getTimezoneReloj'
        25        FETCH_FUNC_ARG               unknown             $36     'GLOBALS'
        26        FETCH_DIM_FUNC_ARG                               $37     $36, 'sqlConfigGlobal'
        27        SEND_VAR_EX                                              $37
        28        DO_FCALL                                      0  $38     
        29        ASSIGN                                                   !5, $38
  24    30        INIT_FCALL_BY_NAME                                       'getSubzonasHorariasZona'
        31        FETCH_DIM_FUNC_ARG                               $40     !5, 'idtimezone'
        32        SEND_VAR_EX                                              $40
        33        DO_FCALL                                      0  $41     
        34        ASSIGN                                                   !6, $41
  25    35        <190>                                            ~43     !6
        36        IS_SMALLER                                       ~44     1, ~43
        37      > JMPZ                                                     ~44, ->46
  27    38    >   INIT_FCALL                                               'date_default_timezone_set'
        39        <190>                                            ~45     !6
        40        FETCH_DIM_R                                      $46     !5, 'subtimezone'
        41        SUB                                              ~47     ~45, $46
        42        FETCH_DIM_R                                      $48     !6, ~47
        43        SEND_VAR                                                 $48
        44        DO_ICALL                                                 
        45      > JMP                                                      ->50
  31    46    >   INIT_FCALL                                               'date_default_timezone_set'
        47        FETCH_DIM_R                                      $50     !6, 0
        48        SEND_VAR                                                 $50
        49        DO_ICALL                                                 
  37    50    >   NOP                                                      
 102    51        FETCH_R                      global              $54     'GLOBALS'
        52        FETCH_DIM_R                                      $55     $54, 'CSS_Theme'
        53        CONCAT                                           ~56     '+%0A++++%3Cscript+type%3D%22text%2Fjavascript%22+src%3D%22javascript%2Fjquery-1.9.1.js%3Fver%3D1%22%3E%3C%2Fscript%3E%0A++++%3Cscript+type%3D%22text%2Fjavascript%22+src%3D%22javascript%2Fjquery-ui-1.10.1.custom.js%3Fver%3D1%22%3E%3C%2Fscript%3E%0A++++%3Cscript+type%3D%22text%2Fjavascript%22+src%3D%22javascript%2Fjquery-numeric.js%3Fver%3D1%22%3E%3C%2Fscript%3E%0A++++%3Cscript+type%3D%22text%2Fjavascript%22+src%3D%22javascript%2Fjquery.form.js%3Fver%3D1%22%3E%3C%2Fscript%3E+%0A++++%3Cscript+type%3D%22text%2Fjavascript%22+src%3D%22javascript%2FconfiguracionTransporteGlobal.js%3Fver%3D1%22%3E%3C%2Fscript%3E%0A++++%0A++++%3Clink+rel%3D%22stylesheet%22+type%3D%22text%2Fcss%22+href%3D%22css%2F', $55
        54        CONCAT                                           ~57     ~56, '%2Fjquery-ui-1.10.1.custom.css%3Fver%3D1%22%3E%0A++++%3Clink+rel%3D%22stylesheet%22+type%3D%22text%2Fcss%22+href%3D%22css%2Fdemos.css%3Fver%3D1%22%3E%0A%0A++++%3Cstyle%3E++++++++++++%0A++++++++%23contenido+h4+%7B+line-height%3A+16px%3B+margin%3A+0+0+0.4em%3B++padding%3A+.4em%3B+font-size%3A+15px%7D++++++++%0A++++++++%0A++++++++ul+%7B+margin%3A+0%3B+padding%3A+0%3B+list-style-type%3Anone%3B%7D%0A++++++++li+%7B+margin%3A+0%3B+padding%3A+0%3B%7D%0A++++++++table+%7B+height%3A+3em%3B+%7D%0A++++++++th+%7B+background%3A+%23000000%3B+font-family%3A+Verdana%2CArial%2CHelvetica%2Csans-serif%3B%0A+++++++++++++font-size%3A+15px%3B+padding%3A+2px+4px%3B+text-align%3A+left%3B%0A+++++++++++++vertical-align%3A+middle%3B+font-weight%3Abold%3B+color%3A+%23FFFFFF%3B%0A+++++++++++%7D%0A++++++++td+%7B+font-family%3A+Verdana%2CArial%2CHelvetica%2Csans-serif%3B%0A+++++++++++++font-size%3A+11px%3B+padding%3A+4px+6px%3B+text-align%3A+left%3B%0A+++++++++++++vertical-align%3A+middle%3B+font-weight%3Abold%3B%0A+++++++++++%7D%0A++++++++.err+%7Bbackground%3A+white%3B+color%3A+red%3B%7D%0A++++++++.warning+%7Bcolor%3A+orange%3B+%7D%0A++++++++.notice+%7Bbackground%3A+white%3B%7D%0A++++++++%0A++++++++%0A++++++++%23loglevelbar+label%3Ahover+%7B++border%3A+1px+solid+%2305a364%3B+background%3A+%23ffffef++font-weight%3A+bold%3B+color%3A+%23000000%3B%7D%0A++++++++%23subsystembar+label%3Ahover+%7B++border%3A+1px+solid+%2305a364%3B+background%3A+%23ffffef++font-weight%3A+bold%3B+color%3A+%23000000%3B%7D%0A++++++++h3+%7B+padding%3A+.2em%3B+margin%3A+0%3B+%7D%0A++++%3C%2Fstyle%3E%0A++++%3Cstyle%3E%0A++++++++%23loglevelbar+%7B%0A++++++++++++padding%3A+4px%3B%0A++++++++++++display%3A+inline-block%3B%0A++++++++%7D%0A++++++++%2F%2A+support%3A+IE7+%2A%2F%0A++++++++%2A%2Bhtml+%23loglevelbar+%7B%0A++++++++++++display%3A+inline%3B%0A++++++++%7D%0A++++++++%23subsystembar+%7B%0A++++++++++++padding%3A+4px%3B%0A++++++++++++display%3A+inline-block%3B%0A++++++++%7D%0A++++++++%2F%2A+support%3A+IE7+%2A%2F%0A++++++++%2A%2Bhtml+%23subsystembar+%7B%0A++++++++++++display%3A+inline%3B%0A++++++++%7D%0A++++++++%0A++++++++%23modulebar+%7B%0A++++++++++++padding%3A+4px%3B%0A++++++++++++display%3A+inline-block%3B%0A++++++++%7D%0A++++++++%2F%2A+support%3A+IE7+%2A%2F%0A++++++++%2A%2Bhtml+%23modulebar+%7B%0A++++++++++++display%3A+inline%3B%0A++++++++%7D%0A++++%3C%2Fstyle%3E%0A%0A%3Cscript+language%3D%22JavaScript%22%3E%0A%0A++++function+checkAllSystemLogs%28%29%0A++++%7B%0A++++++++var+Selected_Module+%3D+%24%28%22%23modulebar+option%3Aselected%22%29.prop%28%22value%22%29%3B%0A%0A++++++++if+%28+%24%28%22%23subsystem_all%22%29.prop%28%22checked%22%29+%26%26+%24%28%22%23loglevel_all%22%29.prop%28%22checked%22%29+%26%26+%28Selected_Module+%3D%3D+%22ALL%22%29+%29%0A++++++++%7B%0A++++++++++++%2F%2FLos+filtros+estan+desactivados%2C+sacamos+todos+por+pantalla%0A++++++++++++%24%28+%22%23Lista_SystemLogs+%3E+li+%22%29.each+%28function+%28%29+%7B%0A++++++++++++++++%24%28this%29.show%28%29%3B%0A++++++++++++%7D%29%3B%0A++++++++%7D%0A++++++++else%0A++++++++%7B%0A++++++++++++%2F%2FAlgun+filtro+esta+activado%2C+analizamos+todo+y+ponemos+lo+necesario%0A++++++++++++%24%28+%22%23Lista_SystemLogs+%3E+li+%22%29.each+%28function+%28%29+%7B%0A++++++++++++++++var+li_subsystem+%3D+%24%28this%29.attr%28%22subsystem%22%29%3B%0A++++++++++++++++var+li_level+%3D+%24%28this%29.attr%28%22level%22%29%3B%0A++++++++++++++++var+li_module+%3D+%24%28this%29.attr%28%22module%22%29%3B%0A%0A++++++++++++++++if+%28+%28+%24%28%22%23%22%2Bli_subsystem%29.prop%28%22checked%22%29+%7C%7C+%24%28%22%23subsystem_all%22%29.prop%28%22checked%22%29+%29+%26%26+%28+%24%28%22%23%22%2Bli_level%29.prop%28%22checked%22%29+%7C%7C+%24%28%22%23loglevel_all%22%29.prop%28%22checked%22%29+%29+%26%26+%28+%28Selected_Module+%3D%3D+li_module%29+%7C%7C+%28Selected_Module+%3D%3D+%22ALL%22%29+%29+%29%0A++++++++++++++++%7B%0A++++++++++++++++++++%24%28this%29.show%28%29%3B%0A++++++++++++++++%7D%0A++++++++++++++++else%0A++++++++++++++++%7B%0A++++++++++++++++++++%24%28this%29.hide%28%29%3B%0A++++++++++++++++%7D%0A++++++++++++%7D%29%3B%0A++++++++%7D%0A++++%7D%0A%0A++++%24%28document%29.ready%28function+%28%29%7B%0A++++++++%24%28+%22%23menu%22+%29.menu%28%29%3B%0A++++++++actualizaEstadoHeadend%28%29%3B%0A%0A++++++++%24%28%22%23msg-ok%22%29.hide%28%29%3B%0A++++++++%24%28%22%23msg-error%22%29.hide%28%29%3B%0A++++++++%24%28%22%23msg-notice%22%29.hide%28%29%3B%0A%0A++++++++%24%28+%22input%2C+button%22%29.button%28%29%3B%0A++++++++%0A%0A++++++++%24%28+%22%23loglevel%22+%29.buttonset%28%29%3B%0A++++++++%24%28+%22%23subsystem%22+%29.buttonset%28%29%3B%0A++++++++%24%28+%22%23modulebar%22+%29.buttonset%28%29%3B%0A++++++++%0A++++++++%24%28+%22%23ts%22+%29.click%28function%28%29%7B%0A++++++++++++%24%28%22%23ts%22%29.focus%28%29%3B%0A++++++++++++return+true%3B%0A++++++++%7D%29%3B%0A%0A++++++++%24%28%22%23subsystem_all%22%29.click%28%29%3B%0A++++++++%24%28%22%23loglevel_all%22%29.click%28%29%3B%0A++++++++%0A++++++++%24%28%22%23subsystem_all%22%29.click%28function+%28%29+%7B%0A++++++++++++++++%0A++++++++++++%0A++++++++++++%24%28this%29.blur%28%29%3B%0A++++++++%7D%29%3B%0A++++++++%0A%0A+++++++%24%28%22%23subsystem+%3E+input%22%29.each%28function+%28%29+%7B%0A++++++++++++if+%28+%24%28this%29.prop%28%22id%22%29+%3D%3D+%22subsystem_all%22+%29%0A++++++++++++%7B%0A++++++++++++++++%24%28this%29.click%28function+%28%29+%7B%0A++++++++++++++++++++if+%28+%24%28this%29.prop%28%22checked%22%29+%29%0A++++++++++++++++++++%7B%0A++++++++++++++++++++++++%24%28%22%23subsystem+%3E+input%22%29.each%28function+%28%29+%7B%0A++++++++++++++++++++++++++++if+%28+%24%28this%29.prop%28%22id%22%29+%21%3D+%22subsystem_all%22+%29%0A++++++++++++++++++++++++++++%7B%0A++++++++++++++++++++++++++++++++%24%28this%29.prop%28%22checked%22%2C+false%29%3B%0A++++++++++++++++++++++++++++++++%24%28this%29.button%28+%22refresh%22+%29%3B%0A++++++++++++++++++++++++++++%7D%0A++++++++++++++++++++++++%7D%29%3B%0A++++++++++++++++++++%7D%0A++++++++++++++++++++checkAllSystemLogs%28%29%3B%0A++++++++++++++++++++%24%28this%29.blur%28%29%3B%0A++++++++++++++++%7D%29%3B%0A++++++++++++%7D%0A++++++++++++else%0A++++++++++++%7B%0A++++++++++++++++%24%28this%29.click%28function+%28%29+%7B%0A++++++++++++++++++++if+%28+%24%28this%29.prop%28%22checked%22%29+%29%0A++++++++++++++++++++%7B%0A++++++++++++++++++++++++%24%28%22%23subsystem_all%22%29.prop%28%22checked%22%2C+false%29%3B%0A++++++++++++++++++++++++%24%28%22%23subsystem_all%22%29.button%28+%22refresh%22+%29%3B%0A++++++++++++++++++++%7D%0A++++++++++++++++++++checkAllSystemLogs%28%29%3B%0A++++++++++++++++++++%24%28this%29.blur%28%29%3B%0A++++++++++++++++%7D%29%3B%0A++++++++++++%7D%0A++++++++%7D%29%3B%0A++++++++%0A+++++++%24%28%22%23loglevel+%3E+input%22%29.each%28function+%28%29+%7B%0A+++++++++++if+%28+%24%28this%29.prop%28%22id%22%29+%3D%3D+%22loglevel_all%22+%29%0A++++++++++++%7B%0A++++++++++++++++%24%28this%29.click%28function+%28%29+%7B%0A++++++++++++++++++++if+%28+%24%28this%29.prop%28%22checked%22%29+%29%0A++++++++++++++++++++%7B%0A++++++++++++++++++++++++%24%28%22%23loglevel+%3E+input%22%29.each%28function+%28%29+%7B%0A++++++++++++++++++++++++++++if+%28+%24%28this%29.prop%28%22id%22%29+%21%3D+%22loglevel_all%22+%29%0A++++++++++++++++++++++++++++%7B%0A++++++++++++++++++++++++++++++++%24%28this%29.prop%28%22checked%22%2C+false%29%3B%0A++++++++++++++++++++++++++++++++%24%28this%29.button%28+%22refresh%22+%29%3B%0A++++++++++++++++++++++++++++%7D%0A++++++++++++++++++++++++%7D%29%3B%0A++++++++++++++++++++%7D%0A++++++++++++++++++++checkAllSystemLogs%28%29%3B%0A++++++++++++++++++++%24%28this%29.blur%28%29%3B%0A++++++++++++++++%7D%29%3B%0A++++++++++++%7D%0A++++++++++++else%0A++++++++++++%7B%0A++++++++++++++++%24%28this%29.click%28function+%28%29+%7B%0A++++++++++++++++++++if+%28+%24%28this%29.prop%28%22checked%22%29+%29%0A++++++++++++++++++++%7B%0A++++++++++++++++++++++++%24%28%22%23loglevel_all%22%29.prop%28%22checked%22%2C+false%29%3B%0A++++++++++++++++++++++++%24%28%22%23loglevel_all%22%29.button%28+%22refresh%22+%29%3B%0A++++++++++++++++++++%7D%0A++++++++++++++++++++checkAllSystemLogs%28%29%3B%0A++++++++++++++++++++%24%28this%29.blur%28%29%3B%0A++++++++++++++++%7D%29%3B%0A++++++++++++%7D%0A++++++++%7D%29%3B%0A%0A++++++++%24%28%22%23modulebar%22%29.change%28function+%28%29+%7B%0A++++++++++++%24%28this%29.click%28function+%28%29+%7B%0A++++++++++++++++checkAllSystemLogs%28%29%3B%0A++++++++++++++++%24%28this%29.blur%28%29%3B%0A++++++++++++%7D%29%3B%0A++++++++%7D%29%3B%0A+++%7D%29%3B%0A%3C%2Fscript%3E%0A%0A%3C%2Fhead%3E%0A%0A%3Cbody%3E%0A'
  94    55        FETCH_W                      global              $52     'GLOBALS'
        56        ASSIGN_DIM                                               $52, 'XMLBUF'
 102    57        OP_DATA                                                  ~57
 297    58        INCLUDE_OR_EVAL                                          'leftmenu.php', INCLUDE
 299    59        ASSIGN                                                   !7, 'listaCanalesPrint'
 303    60        INIT_FCALL_BY_NAME                                       '__'
        61        SEND_VAL_EX                                              'System+Logs'
        62        DO_FCALL                                      0  $62     
        63        CONCAT                                           ~63     '%0A++++%3Cdiv+id%3D%22contenido%22+style%3D%22width%3A85%25%3B+position%3A+absolute%3B+right%3A+.5em%3B+top%3A+2%25%3B+margin-top%3A+-8px%3B%22%3E%0A++++++++%3Ch4+class%3D%22ui-widget-header+ui-corner-all%22%3E+', $62
        64        CONCAT                                           ~64     ~63, '+%3C%2Fh4%3E%0A++++++++%3Cdiv+class%3D%22contenido%22%3E%0A++++++++++++%3Cform+action%3D%22'
 305    65        FETCH_CONSTANT                                   ~65     'INDEX'
        66        CONCAT                                           ~66     ~64, ~65
        67        CONCAT                                           ~67     ~66, '%22+name%3D%22systemLogs%22+id%3D%22systemLogs%22+method%3D%22POST%22+enctype%3D%22multpart%2Fform-data%22%3E%0A++++++++++++++++%3Cdiv+class%3D%22ui-widget%22+style%3D%22padding-left%3A10px%3B%22%3E%0A++++++++++++++++++++%3Cdiv+id%3D%22msg-notice%22+class%3D%22ui-state-highlight+ui-corner-all%22+style%3D%22margin-top%3A+20px%3B+padding%3A+0pt+0.7em%3B%22%3E+%0A++++++++++++++++++++++++%3Cp%3E%3Cspan+class%3D%22ui-icon+ui-icon-notice%22+style%3D%22float%3A+left%3B+margin-right%3A+0.3em%3B%22%3E%3C%2Fspan%3E%0A++++++++++++++++++++++++%3Cstrong%3E%3Cspan+id%3D%22msg-notice_text%22%3E+%3C%2Fspan%3E%3C%2Fstrong%3E%3C%2Fp%3E%0A++++++++++++++++++++%3C%2Fdiv%3E%0A++++++++++++++++++++%3Cdiv+id%3D%22msg-ok%22+class%3D%22ui-state-highlight+ui-corner-all%22+style%3D%22margin-top%3A+20px%3B+padding%3A+0pt+0.7em%3B%22%3E+%0A++++++++++++++++++++++++++++%3Cp%3E%3Cspan+class%3D%22ui-icon+ui-icon-check%22+style%3D%22float%3A+left%3B+margin-right%3A+0.3em%3B%22%3E%3C%2Fspan%3E%0A++++++++++++++++++++++++++++%3Cstrong%3E'
 313    68        INIT_FCALL_BY_NAME                                       '__'
        69        SEND_VAL_EX                                              'OK%21'
        70        DO_FCALL                                      0  $68     
        71        CONCAT                                           ~69     ~67, $68
        72        CONCAT                                           ~70     ~69, '%3C%2Fstrong%3E+%3Cspan+id%3D%22msg-ok_text%22%3E++%3C%2Fspan%3E%3C%2Fp%3E%0A++++++++++++++++++++%3C%2Fdiv%3E%0A%0A++++++++++++++++++++%3Cdiv+id%3D%22msg-error%22+class%3D%22ui-state-error+ui-corner-all%22+style%3D%22margin-top%3A+20px%3B+padding%3A+0pt+0.7em%3B%22%3E+%0A++++++++++++++++++++++++++++%3Cp%3E%3Cspan+class%3D%22ui-icon+ui-icon-alert%22+style%3D%22float%3A+left%3B+margin-right%3A+0.3em%3B%22%3E%3C%2Fspan%3E+%0A++++++++++++++++++++++++++++%3Cstrong%3E'
 318    73        INIT_FCALL_BY_NAME                                       '__'
        74        SEND_VAL_EX                                              'Alert%21'
        75        DO_FCALL                                      0  $71     
        76        CONCAT                                           ~72     ~70, $71
        77        CONCAT                                           ~73     ~72, '%3C%2Fstrong%3E+%3Cspan+id%3D%22msg-error_text%22%3E+%3C%2Fspan%3E%3C%2Fp%3E%0A++++++++++++++++++++%3C%2Fdiv%3E%0A++++++++++++++++%3C%2Fdiv%3E%0A++++++++++++++++%3Cbr%2F%3E%0A++++++++++++++++%3Cdiv+style%3D%22margin%3A1%25%3B%22%3E%0A++++++++++++++++++++%3Cdiv+id%3D%22subsystembar%22+class%3D%22ui-widget-header+ui-corner-all%22+style%3D%22margin%3A1%25%3B+float%3Aleft%3B%22%3E%0A++++++++++++++++++++++++%3Cspan+id%3D%22subsystem%22%3E%0A++++++++++++++++++++++++++++%3Cinput+type%3D%22checkbox%22+id%3D%22subsystem_all%22+%2F%3E%3Clabel+for%3D%22subsystem_all%22+alt%3D%22'
 325    78        INIT_FCALL_BY_NAME                                       '__'
        79        SEND_VAL_EX                                              'ALL'
        80        DO_FCALL                                      0  $74     
        81        CONCAT                                           ~75     ~73, $74
        82        CONCAT                                           ~76     ~75, '%22+title%3D%22'
        83        INIT_FCALL_BY_NAME                                       '__'
        84        SEND_VAL_EX                                              'ALL'
        85        DO_FCALL                                      0  $77     
        86        CONCAT                                           ~78     ~76, $77
        87        CONCAT                                           ~79     ~78, '%22+%3E'
        88        INIT_FCALL_BY_NAME                                       '__'
        89        SEND_VAL_EX                                              'ALL'
        90        DO_FCALL                                      0  $80     
        91        CONCAT                                           ~81     ~79, $80
        92        CONCAT                                           ~82     ~81, '%3C%2Flabel%3E%0A++++++++++++++++++++++++++++%3Cinput+type%3D%22checkbox%22+id%3D%22headend%22+%2F%3E%3Clabel+for%3D%22headend%22+alt%3D%22'
 326    93        INIT_FCALL_BY_NAME                                       '__'
        94        SEND_VAL_EX                                              'HEADEND'
        95        DO_FCALL                                      0  $83     
        96        CONCAT                                           ~84     ~82, $83
        97        CONCAT                                           ~85     ~84, '%22+title%3D%22'
        98        INIT_FCALL_BY_NAME                                       '__'
        99        SEND_VAL_EX                                              'HEADEND'
       100        DO_FCALL                                      0  $86     
       101        CONCAT                                           ~87     ~85, $86
       102        CONCAT                                           ~88     ~87, '%22%3E'
       103        INIT_FCALL_BY_NAME                                       '__'
       104        SEND_VAL_EX                                              'HEADEND'
       105        DO_FCALL                                      0  $89     
       106        CONCAT                                           ~90     ~88, $89
       107        CONCAT                                           ~91     ~90, '%3C%2Flabel%3E%0A++++++++++++++++++++++++++++%3Cinput+type%3D%22checkbox%22+id%3D%22ui%22+%2F%3E%3Clabel+for%3D%22ui%22+alt%3D%22'
 327   108        INIT_FCALL_BY_NAME                                       '__'
       109        SEND_VAL_EX                                              'UI'
       110        DO_FCALL                                      0  $92     
       111        CONCAT                                           ~93     ~91, $92
       112        CONCAT                                           ~94     ~93, '%22+title%3D%22'
       113        INIT_FCALL_BY_NAME                                       '__'
       114        SEND_VAL_EX                                              'UI'
       115        DO_FCALL                                      0  $95     
       116        CONCAT                                           ~96     ~94, $95
       117        CONCAT                                           ~97     ~96, '%22%3E'
       118        INIT_FCALL_BY_NAME                                       '__'
       119        SEND_VAL_EX                                              'UI'
       120        DO_FCALL                                      0  $98     
       121        CONCAT                                           ~99     ~97, $98
       122        CONCAT                                           ~100    ~99, '%3C%2Flabel%3E%0A++++++++++++++++++++++++++++%3Cinput+type%3D%22checkbox%22+id%3D%22system%22+%2F%3E%3Clabel+for%3D%22system%22+alt%3D%22'
 328   123        INIT_FCALL_BY_NAME                                       '__'
       124        SEND_VAL_EX                                              'SYSTEM'
       125        DO_FCALL                                      0  $101    
       126        CONCAT                                           ~102    ~100, $101
       127        CONCAT                                           ~103    ~102, '%22+title%3D%22'
       128        INIT_FCALL_BY_NAME                                       '__'
       129        SEND_VAL_EX                                              'SYSTEM'
       130        DO_FCALL                                      0  $104    
       131        CONCAT                                           ~105    ~103, $104
       132        CONCAT                                           ~106    ~105, '%22%3E'
       133        INIT_FCALL_BY_NAME                                       '__'
       134        SEND_VAL_EX                                              'SYSTEM'
       135        DO_FCALL                                      0  $107    
       136        CONCAT                                           ~108    ~106, $107
       137        CONCAT                                           ~109    ~108, '%3C%2Flabel%3E%0A++++++++++++++++++++++++++++%3Cinput+type%3D%22checkbox%22+id%3D%22input%22+%2F%3E%3Clabel+for%3D%22input%22+alt%3D%22'
 329   138        INIT_FCALL_BY_NAME                                       '__'
       139        SEND_VAL_EX                                              'INPUT'
       140        DO_FCALL                                      0  $110    
       141        CONCAT                                           ~111    ~109, $110
       142        CONCAT                                           ~112    ~111, '%22+title%3D%22'
       143        INIT_FCALL_BY_NAME                                       '__'
       144        SEND_VAL_EX                                              'INPUT'
       145        DO_FCALL                                      0  $113    
       146        CONCAT                                           ~114    ~112, $113
       147        CONCAT                                           ~115    ~114, '%22+%3E'
       148        INIT_FCALL_BY_NAME                                       '__'
       149        SEND_VAL_EX                                              'INPUT'
       150        DO_FCALL                                      0  $116    
       151        CONCAT                                           ~117    ~115, $116
       152        CONCAT                                           ~118    ~117, '%3C%2Flabel%3E%0A++++++++++++++++++++++++++++%3Cinput+type%3D%22checkbox%22+id%3D%22output%22+%2F%3E%3Clabel+for%3D%22output%22+alt%3D%22'
 330   153        INIT_FCALL_BY_NAME                                       '__'
       154        SEND_VAL_EX                                              'OUTPUT'
       155        DO_FCALL                                      0  $119    
       156        CONCAT                                           ~120    ~118, $119
       157        CONCAT                                           ~121    ~120, '%22+title%3D%22'
       158        INIT_FCALL_BY_NAME                                       '__'
       159        SEND_VAL_EX                                              'OUTPUT'
       160        DO_FCALL                                      0  $122    
       161        CONCAT                                           ~123    ~121, $122
       162        CONCAT                                           ~124    ~123, '%22%3E'
       163        INIT_FCALL_BY_NAME                                       '__'
       164        SEND_VAL_EX                                              'OUTPUT'
       165        DO_FCALL                                      0  $125    
       166        CONCAT                                           ~126    ~124, $125
       167        CONCAT                                           ~127    ~126, '%3C%2Flabel%3E%0A++++++++++++++++++++++++++++%3Cinput+type%3D%22checkbox%22+id%3D%22cam%22+%2F%3E%3Clabel+for%3D%22cam%22+alt%3D%22'
 331   168        INIT_FCALL_BY_NAME                                       '__'
       169        SEND_VAL_EX                                              'CAM'
       170        DO_FCALL                                      0  $128    
       171        CONCAT                                           ~129    ~127, $128
       172        CONCAT                                           ~130    ~129, '%22+title%3D%22'
       173        INIT_FCALL_BY_NAME                                       '__'
       174        SEND_VAL_EX                                              'CAM'
       175        DO_FCALL                                      0  $131    
       176        CONCAT                                           ~132    ~130, $131
       177        CONCAT                                           ~133    ~132, '%22%3E'
       178        INIT_FCALL_BY_NAME                                       '__'
       179        SEND_VAL_EX                                              'CAM'
       180        DO_FCALL                                      0  $134    
       181        CONCAT                                           ~135    ~133, $134
       182        CONCAT                                           ~136    ~135, '%3C%2Flabel%3E%0A++++++++++++++++++++++++++++%3Cinput+type%3D%22checkbox%22+id%3D%22xcoder%22+%2F%3E%3Clabel+for%3D%22xcoder%22+alt%3D%22'
 332   183        INIT_FCALL_BY_NAME                                       '__'
       184        SEND_VAL_EX                                              'TRANSCODING_'
       185        DO_FCALL                                      0  $137    
       186        CONCAT                                           ~138    ~136, $137
       187        CONCAT                                           ~139    ~138, '%22+title%3D%22'
       188        INIT_FCALL_BY_NAME                                       '__'
       189        SEND_VAL_EX                                              'TRANSCODING_'
       190        DO_FCALL                                      0  $140    
       191        CONCAT                                           ~141    ~139, $140
       192        CONCAT                                           ~142    ~141, '%22%3E'
       193        INIT_FCALL_BY_NAME                                       '__'
       194        SEND_VAL_EX                                              'TRANSCODING_'
       195        DO_FCALL                                      0  $143    
       196        CONCAT                                           ~144    ~142, $143
       197        CONCAT                                           ~145    ~144, '%3C%2Flabel%3E%0A++++++++++++++++++++++++%3C%2Fspan%3E%0A++++++++++++++++++++%3C%2Fdiv%3E++++%0A%0A++++++++++++++++++++%3Cdiv+id%3D%22loglevelbar%22+class%3D%22ui-widget-header+ui-corner-all%22+style%3D%22margin%3A1%25%3B+margin-left%3A10%25%3B+float%3Aleft%3B%22%3E%0A++++++++++++++++++++++++%3Cspan+id%3D%22loglevel%22%3E%0A++++++++++++++++++++++++++++%3Cinput+type%3D%22checkbox%22+id%3D%22loglevel_all%22+%2F%3E%3Clabel+for%3D%22loglevel_all%22%3E'
 338   198        INIT_FCALL_BY_NAME                                       '__'
       199        SEND_VAL_EX                                              'All'
       200        DO_FCALL                                      0  $146    
       201        CONCAT                                           ~147    ~145, $146
       202        CONCAT                                           ~148    ~147, '%3C%2Flabel%3E%0A++++++++++++++++++++++++++++%3Cinput+type%3D%22checkbox%22+id%3D%22err%22+%2F%3E%3Clabel+for%3D%22err%22%3E'
 339   203        INIT_FCALL_BY_NAME                                       '__'
       204        SEND_VAL_EX                                              'Error'
       205        DO_FCALL                                      0  $149    
       206        CONCAT                                           ~150    ~148, $149
       207        CONCAT                                           ~151    ~150, '%3C%2Flabel%3E%0A++++++++++++++++++++++++++++%3Cinput+type%3D%22checkbox%22+id%3D%22warning%22+%2F%3E%3Clabel+for%3D%22warning%22%3E'
 340   208        INIT_FCALL_BY_NAME       

Generated using Vulcan Logic Dumper, using php 7.3.0