'".$valorFecha."' and tipo<=".$_REQUEST['db_tipo']." $whereUsuario ORDER BY iderror DESC"; $resultDatos = $conexion->getAll($select,null,DB_FETCHMODE_ASSOC); if(DB::isError($resultDatos)) $resultDatos = array(); } $htmlResult = ''; $htmlResult.= '
'; $htmlResult.= ''; $htmlResult.= 'Nº'; $htmlResult.= ' | '; $htmlResult.= ''; $htmlResult.= 'FECHA'; $htmlResult.= ' | '; if(empty($valorUsuario)){ $htmlResult.= ''; $htmlResult.= 'USUARIO'; $htmlResult.= ' | '; } $htmlResult.= ''; $htmlResult.= 'TIPO'; $htmlResult.= ' | '; $htmlResult.= ''; $htmlResult.= 'MENSAJE'; $htmlResult.= ' | '; $htmlResult.= '||||
---|---|---|---|---|---|---|---|---|
'; else $htmlResult.= ' | '; $htmlResult.= 'NO HAY DATOS'; $htmlResult.= ' | '; $htmlResult.= '|||||||
'; $htmlResult.= ($indice+1); $htmlResult.= ' | '; $htmlResult.= ''; $htmlResult.= $tupla['fecha']; $htmlResult.= ' | '; if(empty($valorUsuario)){ $htmlResult.= ''; $htmlResult.= $tupla['usuario']; $htmlResult.= ' | '; } $htmlResult.= ''; switch($tupla['tipo']){ case 0: $htmlResult.= 'PANIC'; break; case 1: $htmlResult.= 'ERROR'; break; case 2: $htmlResult.= 'WARNING'; break; case 3: $htmlResult.= 'NOTICE'; break; case 4: $htmlResult.= 'DEBUG_USER'; break; case 5: $htmlResult.= 'DEBUG_IGEP'; break; } $htmlResult.= ' | '; $htmlResult.= ''; $htmlResult.= $tupla['mensaje']; $htmlResult.= ' | '; $htmlResult.= '