3v4l.org

run code in 300+ PHP versions simultaneously
<?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
2 jumps found. (Code = 43) Position 1 = 41, Position 2 = 49
Branch analysis from position: 41
1 jumps found. (Code = 42) Position 1 = 53
Branch analysis from position: 53
2 jumps found. (Code = 77) Position 1 = 239, Position 2 = 255
Branch analysis from position: 239
2 jumps found. (Code = 78) Position 1 = 240, Position 2 = 255
Branch analysis from position: 240
1 jumps found. (Code = 42) Position 1 = 239
Branch analysis from position: 239
Branch analysis from position: 255
2 jumps found. (Code = 77) Position 1 = 311, Position 2 = 332
Branch analysis from position: 311
2 jumps found. (Code = 78) Position 1 = 312, Position 2 = 332
Branch analysis from position: 312
2 jumps found. (Code = 43) Position 1 = 320, Position 2 = 330
Branch analysis from position: 320
1 jumps found. (Code = 42) Position 1 = 331
Branch analysis from position: 331
1 jumps found. (Code = 42) Position 1 = 311
Branch analysis from position: 311
Branch analysis from position: 330
1 jumps found. (Code = 42) Position 1 = 332
Branch analysis from position: 332
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 332
Branch analysis from position: 332
Branch analysis from position: 255
Branch analysis from position: 49
2 jumps found. (Code = 77) Position 1 = 239, Position 2 = 255
Branch analysis from position: 239
Branch analysis from position: 255
filename:       /in/VU1Lj
function name:  (null)
number of ops:  337
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     'tModulosCabeceraE'
          6        DO_FCALL                                      0          
          7        ASSIGN                                                   !0, $20
   16     8        NEW                                              $23     'tConfiguracionWebGlobalE'
          9        DO_FCALL                                      0          
         10        ASSIGN                                                   !1, $23
   17    11        NEW                                              $26     'tRedesModulosE'
         12        DO_FCALL                                      0          
         13        ASSIGN                                                   !2, $26
   19    14        INIT_METHOD_CALL                                         !1, 'getCurrentMantenimientoGlobalConfig'
         15        CHECK_FUNC_ARG                                           
         16        FETCH_FUNC_ARG               global              $29     'GLOBALS'
         17        FETCH_DIM_FUNC_ARG                               $30     $29, 'sqlConfigGlobal'
         18        SEND_FUNC_ARG                                            $30
         19        DO_FCALL                                      0  $31     
         20        ASSIGN                                                   !3, $31
   21    21        FETCH_DIM_R                                      ~33     !3, 'mantenimiento_modo'
         22        INIT_METHOD_CALL                                         ~33, 'valor'
         23        DO_FCALL                                      0  $34     
         24        ASSIGN                                                   !4, $34
   23    25        INIT_METHOD_CALL                                         !1, 'getTimezoneReloj'
         26        CHECK_FUNC_ARG                                           
         27        FETCH_FUNC_ARG               global              $36     'GLOBALS'
         28        FETCH_DIM_FUNC_ARG                               $37     $36, 'sqlConfigGlobal'
         29        SEND_FUNC_ARG                                            $37
         30        DO_FCALL                                      0  $38     
         31        ASSIGN                                                   !5, $38
   24    32        INIT_FCALL_BY_NAME                                       'getSubzonasHorariasZona'
         33        CHECK_FUNC_ARG                                           
         34        FETCH_DIM_FUNC_ARG                               $40     !5, 'idtimezone'
         35        SEND_FUNC_ARG                                            $40
         36        DO_FCALL                                      0  $41     
         37        ASSIGN                                                   !6, $41
   25    38        COUNT                                            ~43     !6
         39        IS_SMALLER                                               1, ~43
         40      > JMPZ                                                     ~44, ->49
   27    41    >   INIT_FCALL                                               'date_default_timezone_set'
         42        COUNT                                            ~45     !6
         43        FETCH_DIM_R                                      ~46     !5, 'subtimezone'
         44        SUB                                              ~47     ~45, ~46
         45        FETCH_DIM_R                                      ~48     !6, ~47
         46        SEND_VAL                                                 ~48
         47        DO_ICALL                                                 
         48      > JMP                                                      ->53
   31    49    >   INIT_FCALL                                               'date_default_timezone_set'
         50        FETCH_DIM_R                                      ~50     !6, 0
         51        SEND_VAL                                                 ~50
         52        DO_ICALL                                                 
  102    53    >   FETCH_R                      global              ~54     'GLOBALS'
         54        FETCH_DIM_R                                      ~55     ~54, 'CSS_Theme'
         55        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
         56        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    57        FETCH_W                      global              $52     'GLOBALS'
         58        ASSIGN_DIM                                               $52, 'XMLBUF'
  102    59        OP_DATA                                                  ~57
  297    60        INCLUDE_OR_EVAL                                          'leftmenu.php', INCLUDE
  299    61        ASSIGN                                                   !7, 'listaCanalesPrint'
  303    62        INIT_FCALL_BY_NAME                                       '__'
         63        SEND_VAL_EX                                              'System+Logs'
         64        DO_FCALL                                      0  $62     
         65        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
         66        CONCAT                                           ~64     ~63, '+%3C%2Fh4%3E%0A++++++++%3Cdiv+class%3D%22contenido%22%3E%0A++++++++++++%3Cform+action%3D%22'
  305    67        FETCH_CONSTANT                                   ~65     'INDEX'
         68        CONCAT                                           ~66     ~64, ~65
         69        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    70        INIT_FCALL_BY_NAME                                       '__'
         71        SEND_VAL_EX                                              'OK%21'
         72        DO_FCALL                                      0  $68     
         73        CONCAT                                           ~69     ~67, $68
         74        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    75        INIT_FCALL_BY_NAME                                       '__'
         76        SEND_VAL_EX                                              'Alert%21'
         77        DO_FCALL                                      0  $71     
         78        CONCAT                                           ~72     ~70, $71
         79        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    80        INIT_FCALL_BY_NAME                                       '__'
         81        SEND_VAL_EX                                              'ALL'
         82        DO_FCALL                                      0  $74     
         83        CONCAT                                           ~75     ~73, $74
         84        CONCAT                                           ~76     ~75, '%22+title%3D%22'
         85        INIT_FCALL_BY_NAME                                       '__'
         86        SEND_VAL_EX                                              'ALL'
         87        DO_FCALL                                      0  $77     
         88        CONCAT                                           ~78     ~76, $77
         89        CONCAT                                           ~79     ~78, '%22+%3E'
         90        INIT_FCALL_BY_NAME                                       '__'
         91        SEND_VAL_EX                                              'ALL'
         92        DO_FCALL                                      0  $80     
         93        CONCAT                                           ~81     ~79, $80
         94        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    95        INIT_FCALL_BY_NAME                                       '__'
         96        SEND_VAL_EX                                              'HEADEND'
         97        DO_FCALL                                      0  $83     
         98        CONCAT                                           ~84     ~82, $83
         99        CONCAT                                           ~85     ~84, '%22+title%3D%22'
        100        INIT_FCALL_BY_NAME                                       '__'
        101        SEND_VAL_EX                                              'HEADEND'
        102        DO_FCALL                                      0  $86     
        103        CONCAT                                           ~87     ~85, $86
        104        CONCAT                                           ~88     ~87, '%22%3E'
        105        INIT_FCALL_BY_NAME                                       '__'
        106        SEND_VAL_EX                                              'HEADEND'
        107        DO_FCALL                                      0  $89     
        108        CONCAT                                           ~90     ~88, $89
        109        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   110        INIT_FCALL_BY_NAME                                       '__'
        111        SEND_VAL_EX                                              'UI'
        112        DO_FCALL                                      0  $92     
        113        CONCAT                                           ~93     ~91, $92
        114        CONCAT                                           ~94     ~93, '%22+title%3D%22'
        115        INIT_FCALL_BY_NAME                                       '__'
        116        SEND_VAL_EX                                              'UI'
        117        DO_FCALL                                      0  $95     
        118        CONCAT                                           ~96     ~94, $95
        119        CONCAT                                           ~97     ~96, '%22%3E'
        120        INIT_FCALL_BY_NAME                                       '__'
        121        SEND_VAL_EX                                              'UI'
        122        DO_FCALL                                      0  $98     
        123        CONCAT                                           ~99     ~97, $98
        124        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   125        INIT_FCALL_BY_NAME                                       '__'
        126        SEND_VAL_EX                                              'SYSTEM'
        127        DO_FCALL                                      0  $101    
        128        CONCAT                                           ~102    ~100, $101
        129        CONCAT                                           ~103    ~102, '%22+title%3D%22'
        130        INIT_FCALL_BY_NAME                                       '__'
        131        SEND_VAL_EX                                              'SYSTEM'
        132        DO_FCALL                                      0  $104    
        133        CONCAT                                           ~105    ~103, $104
        134        CONCAT                                           ~106    ~105, '%22%3E'
        135        INIT_FCALL_BY_NAME                                       '__'
        136        SEND_VAL_EX                                              'SYSTEM'
        137        DO_FCALL                                      0  $107    
        138        CONCAT                                           ~108    ~106, $107
        139        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   140        INIT_FCALL_BY_NAME                                       '__'
        141        SEND_VAL_EX                                              'INPUT'
        142        DO_FCALL                                      0  $110    
        143        CONCAT                                           ~111    ~109, $110
        144        CONCAT                                           ~112    ~111, '%22+title%3D%22'
        145        INIT_FCALL_BY_NAME                                       '__'
        146        SEND_VAL_EX                                              'INPUT'
        147        DO_FCALL                                      0  $113    
        148        CONCAT                                           ~114    ~112, $113
        149        CONCAT                                           ~115    ~114, '%22+%3E'
        150        INIT_FCALL_BY_NAME                                       '__'
        151        SEND_VAL_EX                                              'INPUT'
        152        DO_FCALL                                      0  $116    
        153        CONCAT                                           ~117    ~115, $116
        154        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   155        INIT_FCALL_BY_NAME                                       '__'
        156        SEND_VAL_EX                                              'OUTPUT'
        157        DO_FCALL                                      0  $119    
        158        CONCAT                                           ~120    ~118, $119
        159        CONCAT                                           ~121    ~120, '%22+title%3D%22'
        160        INIT_FCALL_BY_NAME                                       '__'
        161        SEND_VAL_EX                                              'OUTPUT'
        162        DO_FCALL                                      0  $122    
        163        CONCAT                                           ~123    ~121, $122
        164        CONCAT                                           ~124    ~123, '%22%3E'
        165        INIT_FCALL_BY_NAME                                       '__'
        166        SEND_VAL_EX                                              'OUTPUT'
        167        DO_FCALL                                      0  $125    
        168        CONCAT                                           ~126    ~124, $125
        169        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   170        INIT_FCALL_BY_NAME                                       '__'
        171        SEND_VAL_EX                                              'CAM'
        172        DO_FCALL                                      0  $128    
        173        CONCAT                                           ~129    ~127, $128
        174        CONCAT                                           ~130    ~129, '%22+title%3D%22'
        175        INIT_FCALL_BY_NAME                                       '__'
        176        SEND_VAL_EX                                              'CAM'
        177        DO_FCALL                                      0  $131    
        178        CONCAT                                           ~132    ~130, $131
        179        CONCAT                                           ~133    ~132, '%22%3E'
        180        INIT_FCALL_BY_NAME                                       '__'
        181        SEND_VAL_EX                                              'CAM'
        182        DO_FCALL                                      0  $134    
        183        CONCAT                                           ~135    ~133, $134
        184        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   185        INIT_FCALL_BY_NAME                                       '__'
        186        SEND_VAL_EX                                              'TRANSCODING_'
        187        DO_FCALL                                      0  $137    
        188        CONCAT                                           ~138    ~136, $137
        189        CONCAT                                           ~139    ~138, '%22+title%3D%22'
        190        INIT_FCALL_BY_NAME                                       '__'
        191        SEND_VAL_EX                                              'TRANSCODING_'
        192        DO_FCALL                                      0  $140    
        193        CONCAT                                           ~141    ~139, $140
        194        CONCAT                                           ~142    ~141, '%22%3E'
        195        INIT_FCALL_BY_NAME                                       '__'
        196        SEND_VAL_EX                                              'TRANSCODING_'
        197        DO_FCALL                                      0  $143    
        198        CONCAT                                           ~144    ~142, $143
        199        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   200        INIT_FCALL_BY_NAME                                       '__'
        201        SEND_VAL_EX                                              'All'
        202        DO_FCALL                                      0  $146    
        203        CONCAT                                           ~147    ~145, $146
        204        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   205        INIT_FCALL_BY_NAME                                       '__'
        206        SEND_VAL_EX                     

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.01 ms | 1428 KiB | 15 Q