function CheckFilter() { global $Report16; // Check paper_name popup filter if (!ewrpt_MatchedArray($Report16->paper_name->DefaultSelectionList, $Report16->paper_name->SelectionList)) { return TRUE; } // Check grade popup filter if (!ewrpt_MatchedArray($Report16->grade->DefaultSelectionList, $Report16->grade->SelectionList)) { return TRUE; } return FALSE; }
function CheckFilter() { global $Report13; // Check First Name popup filter if (!ewrpt_MatchedArray($Report13->First_Name->DefaultSelectionList, $Report13->First_Name->SelectionList)) { return TRUE; } // Check Paper Name popup filter if (!ewrpt_MatchedArray($Report13->Paper_Name->DefaultSelectionList, $Report13->Paper_Name->SelectionList)) { return TRUE; } return FALSE; }
function CheckFilter() { global $Report6; // Check date popup filter if (!ewrpt_MatchedArray($Report6->date->DefaultSelectionList, $Report6->date->SelectionList)) { return TRUE; } return FALSE; }
function SetupPopup() { global $conn, $ReportLanguage; global $Report12; // Initialize popup // Process post back form if (ewrpt_IsHttpPost()) { $sName = @$_POST["popup"]; // Get popup form name if ($sName != "") { $cntValues = is_array(@$_POST["sel_{$sName}"]) ? count($_POST["sel_{$sName}"]) : 0; if ($cntValues > 0) { $arValues = ewrpt_StripSlashes($_POST["sel_{$sName}"]); if (trim($arValues[0]) == "") { // Select all $arValues = EWRPT_INIT_VALUE; } if (!ewrpt_MatchedArray($arValues, $_SESSION["sel_{$sName}"])) { if ($this->HasSessionFilterValues($sName)) { $this->ClearExtFilter = $sName; } // Clear extended filter for this field } $_SESSION["sel_{$sName}"] = $arValues; $_SESSION["rf_{$sName}"] = ewrpt_StripSlashes(@$_POST["rf_{$sName}"]); $_SESSION["rt_{$sName}"] = ewrpt_StripSlashes(@$_POST["rt_{$sName}"]); $this->ResetPager(); } } // Get 'reset' command } elseif (@$_GET["cmd"] != "") { $sCmd = $_GET["cmd"]; if (strtolower($sCmd) == "reset") { $this->ResetPager(); } } // Load selection criteria to array }
function CheckFilter() { global $Report7; // Check date text filter if ($this->TextFilterApplied($Report7->date)) { return TRUE; } // Check date popup filter if (!ewrpt_MatchedArray($Report7->date->DefaultSelectionList, $Report7->date->SelectionList)) { return TRUE; } // Check paper_name text filter if ($this->TextFilterApplied($Report7->paper_name)) { return TRUE; } return FALSE; }
function CheckFilter() { global $Report2; // Check Branch popup filter if (!ewrpt_MatchedArray($Report2->Branch->DefaultSelectionList, $Report2->Branch->SelectionList)) { return TRUE; } // Check Confirm popup filter if (!ewrpt_MatchedArray($Report2->Confirm->DefaultSelectionList, $Report2->Confirm->SelectionList)) { return TRUE; } // Check Class Name popup filter if (!ewrpt_MatchedArray($Report2->Class_Name->DefaultSelectionList, $Report2->Class_Name->SelectionList)) { return TRUE; } return FALSE; }