htdocs/include/searchform.php
Call to method __construct
from undeclared class \icms_form_Theme
Open
Open
$search_form = new icms_form_Theme(_SR_SEARCH, "search", "search.php", 'get');
- Exclude checks
Variable $queries
is undeclared Open
Open
$search_form->addElement(new icms_form_elements_Text(_SR_KEYWORDS, "query", 30, 255, htmlspecialchars(stripslashes(implode(" ", $queries)), ENT_QUOTES)), true);
- Exclude checks
Reference to undeclared constant \_SR_TYPE
Open
Open
$type_select = new icms_form_elements_Select(_SR_TYPE, "andor", $andor);
- Exclude checks
Call to method addOptionArray
from undeclared class \icms_form_elements_Select
Open
Open
$type_select->addOptionArray(array("AND"=>_SR_ALL, "OR"=>_SR_ANY, "exact"=>_SR_EXACT));
- Exclude checks
Reference to undeclared constant \_SR_ALL
Open
Open
$type_select->addOptionArray(array("AND"=>_SR_ALL, "OR"=>_SR_ANY, "exact"=>_SR_EXACT));
- Exclude checks
Call to method addElement
from undeclared class \icms_form_Theme
Open
Open
$search_form->addElement($mods_checkbox);
- Exclude checks
Reference to undeclared constant \_SR_ANY
Open
Open
$type_select->addOptionArray(array("AND"=>_SR_ALL, "OR"=>_SR_ANY, "exact"=>_SR_EXACT));
- Exclude checks
Call to method __construct
from undeclared class \icms_db_criteria_Compo
Open
Open
$criteria = new icms_db_criteria_Compo();
- Exclude checks
Variable $module
is undeclared Open
Open
unset($module);
- Exclude checks
Reference to undeclared constant \_SR_SEARCHIN
Open
Open
$mods_checkbox = new icms_form_elements_Checkbox(_SR_SEARCHIN, "mids[]", $mids);
- Exclude checks
Call to method add
from undeclared class \icms_db_criteria_Compo
Open
Open
$criteria->add(new icms_db_criteria_Item('hassearch', 1));
- Exclude checks
Variable $icmsConfigSearch
is undeclared Open
Open
if ($icmsConfigSearch['keyword_min'] > 0) {
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Checkbox
Open
Open
$mods_checkbox = new icms_form_elements_Checkbox(_SR_SEARCHIN, "mids[]", $mid);
- Exclude checks
Call to method add
from undeclared class \icms_db_criteria_Compo
Open
Open
$criteria->add(new icms_db_criteria_Item('isactive', 1));
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Hidden
Open
Open
$search_form->addElement(new icms_form_elements_Hidden("action", "results"));
- Exclude checks
Call to method addElement
from undeclared class \icms_form_Theme
Open
Open
$search_form->addElement(new icms_form_elements_Hidden("action", "results"));
- Exclude checks
Call to method render
from undeclared class \icms_form_Theme
Open
Open
return $search_form->render();
- Exclude checks
Variable $icmsConfigSearch
is undeclared Open
Open
$search_form->addElement(new icms_form_elements_Label(_SR_SEARCHRULE, sprintf(_SR_KEYIGNORE, icms_conv_nr2local($icmsConfigSearch['keyword_min']))));
- Exclude checks
Reference to undeclared constant \_SR_SEARCH
Open
Open
$search_form->addElement(new icms_form_elements_Button("", "submit", _SR_SEARCH, "submit"));
- Exclude checks
Call to method __construct
from undeclared class \icms_db_criteria_Item
Open
Open
$criteria->add(new icms_db_criteria_Item('hassearch', 1));
- Exclude checks
Call to method addOptionArray
from undeclared class \icms_form_elements_Checkbox
Open
Open
$mods_checkbox->addOptionArray($module_handler->getList($criteria));
- Exclude checks
Reference to undeclared constant \_SR_KEYWORDS
Open
Open
$search_form->addElement(new icms_form_elements_Text(_SR_KEYWORDS, "query", 30, 255, htmlspecialchars(stripslashes(implode(" ", $queries)), ENT_QUOTES)), true);
- Exclude checks
Call to method addElement
from undeclared class \icms_form_Theme
Open
Open
$search_form->addElement(new icms_form_elements_Button("", "submit", _SR_SEARCH, "submit"));
- Exclude checks
Reference to undeclared constant \_SR_SEARCHIN
Open
Open
$mods_checkbox = new icms_form_elements_Checkbox(_SR_SEARCHIN, "mids[]", $mid);
- Exclude checks
Call to method __construct
from undeclared class \icms_db_criteria_Item
Open
Open
$criteria->add(new icms_db_criteria_Item('isactive', 1));
- Exclude checks
Call to method __construct
from undeclared class \icms_db_criteria_Item
Open
Open
$criteria->add(new icms_db_criteria_Item('mid', "(" . implode(',', $available_modules) . ")", 'IN'));
- Exclude checks
Variable $module_array
was undeclared, but array fields are being added to it. Open
Open
foreach (array_keys($modules) as $mid) $module_array[$mid] = $modules[$mid]->getVar('name');
- Exclude checks
Call to method addElement
from undeclared class \icms_form_Theme
Open
Open
$search_form->addElement(new icms_form_elements_Label(_SR_SEARCHRULE, sprintf(_SR_KEYIGNORE, icms_conv_nr2local($icmsConfigSearch['keyword_min']))));
- Exclude checks
Reference to undeclared constant \_SR_EXACT
Open
Open
$type_select->addOptionArray(array("AND"=>_SR_ALL, "OR"=>_SR_ANY, "exact"=>_SR_EXACT));
- Exclude checks
Reference to undeclared constant \_SR_SEARCHRULE
Open
Open
$search_form->addElement(new icms_form_elements_Label(_SR_SEARCHRULE, sprintf(_SR_KEYIGNORE, icms_conv_nr2local($icmsConfigSearch['keyword_min']))));
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Hiddentoken
Open
Open
$search_form->addElement(new icms_form_elements_Hiddentoken('id'));
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Select
Open
Open
$type_select = new icms_form_elements_Select(_SR_TYPE, "andor", $andor);
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Label
Open
Open
$search_form->addElement(new icms_form_elements_Label(_SR_SEARCHRULE, sprintf(_SR_KEYIGNORE, icms_conv_nr2local($icmsConfigSearch['keyword_min']))));
- Exclude checks
Reference to undeclared constant \_SR_SEARCH
Open
Open
$search_form = new icms_form_Theme(_SR_SEARCH, "search", "search.php", 'get');
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Checkbox
Open
Open
$mods_checkbox = new icms_form_elements_Checkbox(_SR_SEARCHIN, "mids[]", $mids);
- Exclude checks
Reference to undeclared constant \_SR_KEYIGNORE
Open
Open
$search_form->addElement(new icms_form_elements_Label(_SR_SEARCHRULE, sprintf(_SR_KEYIGNORE, icms_conv_nr2local($icmsConfigSearch['keyword_min']))));
- Exclude checks
Call to method add
from undeclared class \icms_db_criteria_Compo
Open
Open
$criteria->add(new icms_db_criteria_Item('mid', "(" . implode(',', $available_modules) . ")", 'IN'));
- Exclude checks
Call to method addOptionArray
from undeclared class \icms_form_elements_Checkbox
Open
Open
$mods_checkbox->addOptionArray($module_array);
- Exclude checks
Call to method addElement
from undeclared class \icms_form_Theme
Open
Open
$search_form->addElement(new icms_form_elements_Hiddentoken('id'));
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Text
Open
Open
$search_form->addElement(new icms_form_elements_Text(_SR_KEYWORDS, "query", 30, 255, htmlspecialchars(stripslashes(implode(" ", $queries)), ENT_QUOTES)), true);
- Exclude checks
Call to method addElement
from undeclared class \icms_form_Theme
Open
Open
$search_form->addElement(new icms_form_elements_Text(_SR_KEYWORDS, "query", 30, 255, htmlspecialchars(stripslashes(implode(" ", $queries)), ENT_QUOTES)), true);
- Exclude checks
Call to method addElement
from undeclared class \icms_form_Theme
Open
Open
$search_form->addElement($type_select);
- Exclude checks
Call to method handler
from undeclared class \icms
Open
Open
$module_handler = icms::handler('icms_module');
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Button
Open
Open
$search_form->addElement(new icms_form_elements_Button("", "submit", _SR_SEARCH, "submit"));
- Exclude checks
Expected 1 blank line at end of file; 2 found Open
Open
return $search_form->render();
- Exclude checks
Inline control structures are not allowed Open
Open
foreach (array_keys($modules) as $mid) $module_array[$mid] = $modules[$mid]->getVar('name');
- Exclude checks