</table> </div>'; //***********************// //***AlineaSol Premium***// //***********************// $subQueryHiddenFieldsHtml = asol_ReportsUtils::managePremiumFeature("subQuerySQLEditor", "reportFunctions.php", "getSubQueryHiddenFields", null); echo $subQueryHiddenFieldsHtml !== false ? $subQueryHiddenFieldsHtml : ''; $subQueryActionButtons = asol_ReportsUtils::managePremiumFeature("subQuerySQLEditor", "reportFunctions.php", "getSubQueryActionButtons", null); $subQueryActionButtonsHtml = $subQueryActionButtons !== false ? $subQueryActionButtons : ''; $subQuerySqlEditor = asol_ReportsUtils::managePremiumFeature("subQuerySQLEditor", "reportFunctions.php", "getSubQuerySqlEditorPanel", array('jsonSqlTemplates' => $predefinedTemplates['sql'])); $subQuerySqlEditorHtml = $subQuerySqlEditor !== false ? $subQuerySqlEditor : ''; $matchedTablesResult = asol_ReportsUtils::managePremiumFeature("dynamicTablesReport", "reportFunctions.php", "getMatchTablesResult", array('isDynamic' => $dynamic_tables == '1', 'usedDb' => $focus->alternative_database, 'dynamicTableValue' => $dynamic_sql)); $selectedModule = $matchedTablesResult !== false ? array_pop($matchedTablesResult) : $selectedModule; $extraParams = array('database' => $focus->alternative_database, 'selectedModule' => $selectedModule, 'isDynamic' => $dynamic_tables == '1', 'auditedReport' => $audited_report); $fieldsPanelTreeHtml = asol_ReportsUtils::managePremiumFeature("reportFieldsTreeSelector", "reportFunctions.php", "getReportFieldsTreeSelector", $extraParams); $fieldsPanelHtml = $fieldsPanelTreeHtml !== false ? $fieldsPanelTreeHtml : asol_ReportsManagementFunctions::getFieldsPanelHtml($focus->alternative_database, $dynamic_tables == '1' ? '' : $selectedModule, $dynamic_tables == '1', $audited_report, $sel_autorefresh, $disabledGeneralData); //***********************// //***AlineaSol Premium***// //***********************// echo ' <div id="fieldsFilters" class="reportPanel" style="z-index: 500; position: relative;"> <h4 class="reportPanelHeader">' . asol_ReportsManagementFunctions::getCollapsableHeader('LBL_REPORT_FIELDS_FILTERS', 'fieldsFilters') . '</h4> <table class="edit view"> <tbody> ' . $subQueryActionButtonsHtml . ' <tr> <td> ' . $fieldsPanelHtml . ' </td> <td width="100%" valign="top">