Array
(
    [0] => Array
        (
            [file] => /var/www/onetouch/sites/ar.rudn.ru/public_html/models/Education/ProgramModel.php
            [line] => 209
            [function] => getAllWithPrepere
            [class] => DB
            [type] => ::
            [args] => Array
                (
                    [0] => SELECT tree FROM one_data WHERE (path='in_departament' AND value_text != '') AND tree in ()
                    [1] => Array
                        (
                        )

                    [2] => tree
                )

        )

    [1] => Array
        (
            [file] => /var/www/onetouch/sites/ar.rudn.ru/public_html/models/Education/ProgramModel.php
            [line] => 133
            [function] => getProgramByDirection
            [class] => Program
            [object] => Program Object
                (
                    [condition_name:protected] => Array
                        (
                            [direction] => getProgramByDirection
                            [level_of_training] => getProgramByLevel
                            [departament] => getProgramByDepartament
                            [mode_of_study] => getProgramsByModeOfStudy
                            [conditions_of_education] => getProgramsByCondOfEducation
                            [second_diploma] => getProgramsBySecondDiplom
                            [institute] => getProgramByDepartament
                            [directions] => getProgramsByDirection
                            [towns] => getProgramsByTowns
                            [language] => getProgrammsByLanguage
                            [price_from] => getProgramsFromPrice
                            [price_to] => getProgramsToPrice
                        )

                    [conditionIds:protected] => Array
                        (
                        )

                    [reference_name:protected] => Array
                        (
                            [level_of_training] => Array
                                (
                                    [function] => getLevelOfTrainingByPrograms
                                    [type_element] => select
                                    [path] => level_of_training
                                    [table] => reference
                                )

                            [direction] => Array
                                (
                                    [function] => getReferenceFormSelect
                                    [type_element] => select
                                    [path] => direction
                                    [table] => tree
                                )

                            [institute] => Array
                                (
                                    [function] => getReferenceFormSelect
                                    [type_element] => select
                                    [path] => in_departament
                                    [table] => tree
                                )

                            [language] => Array
                                (
                                    [function] => getReferenceFormTreeSelect
                                    [type] => multiselect
                                    [path] => language
                                    [table] => reference
                                    [type_element] => select
                                )

                            [towns] => Array
                                (
                                    [function] => getReferenceFormTreeSelect
                                    [type] => multiselect
                                    [path] => towns
                                    [table] => reference
                                    [type_element] => checkbox
                                )

                            [mode_of_study] => Array
                                (
                                    [function] => getGmoduleOrder
                                    [type_element] => checkbox
                                    [path] => mode_of_study
                                    [table] => reference
                                    [type] => select
                                )

                            [conditions_of_education] => Array
                                (
                                    [function] => getConditionsOfEducationByPrograms
                                    [type_element] => checkbox
                                )

                            [second_diploma] => Array
                                (
                                    [function] => getSecondDiplomByPrograms
                                    [type_element] => checkbox
                                )

                        )

                    [order:Program:private] => name
                    [index_module:Program:private] => educational_programs
                    [direction_module:Program:private] => direction
                    [module:Program:private] => programs
                    [gm_name:Program:private] => mode_of_study
                    [gm_path:Program:private] => price_for_foreigners_dollar
                    [limit:Program:private] => 500
                    [functionOne] => getOne
                )

            [type] => ->
            [args] => Array
                (
                    [0] => Array
                        (
                            [20774] => 20774
                            [20130] => 20130
                            [20114] => 20114
                            [20103] => 20103
                            [20095] => 20095
                            [20084] => 20084
                            [20066] => 20066
                            [20081] => 20081
                            [20078] => 20078
                            [20127] => 20127
                            [20119] => 20119
                            [20111] => 20111
                            [20108] => 20108
                            [20100] => 20100
                            [20092] => 20092
                            [20076] => 20076
                            [20124] => 20124
                            [20116] => 20116
                            [20105] => 20105
                            [20097] => 20097
                            [20089] => 20089
                            [20086] => 20086
                            [20062] => 20062
                            [20080] => 20080
                            [20773] => 20773
                            [20129] => 20129
                            [20121] => 20121
                            [20113] => 20113
                            [20102] => 20102
                            [20094] => 20094
                            [20083] => 20083
                            [20126] => 20126
                            [20118] => 20118
                            [20110] => 20110
                            [20107] => 20107
                            [20099] => 20099
                            [20091] => 20091
                            [20061] => 20061
                            [20068] => 20068
                            [20070] => 20070
                            [20069] => 20069
                            [20079] => 20079
                            [20077] => 20077
                            [20123] => 20123
                            [20115] => 20115
                            [20104] => 20104
                            [20096] => 20096
                            [20088] => 20088
                            [20085] => 20085
                            [20063] => 20063
                            [20071] => 20071
                            [20139] => 20139
                            [20120] => 20120
                            [20112] => 20112
                            [20101] => 20101
                            [20093] => 20093
                            [20060] => 20060
                            [20064] => 20064
                            [20067] => 20067
                            [20073] => 20073
                            [20074] => 20074
                            [20082] => 20082
                            [20075] => 20075
                            [20125] => 20125
                            [20117] => 20117
                            [20109] => 20109
                            [20106] => 20106
                            [20090] => 20090
                            [20087] => 20087
                            [20065] => 20065
                        )

                    [1] => Array
                        (
                            [0] => 10698
                        )

                )

        )

    [2] => Array
        (
            [file] => /var/www/onetouch/sites/ar.rudn.ru/public_html/models/Education/ProgramModel.php
            [line] => 103
            [function] => getItemsList
            [class] => Program
            [object] => Program Object
                (
                    [condition_name:protected] => Array
                        (
                            [direction] => getProgramByDirection
                            [level_of_training] => getProgramByLevel
                            [departament] => getProgramByDepartament
                            [mode_of_study] => getProgramsByModeOfStudy
                            [conditions_of_education] => getProgramsByCondOfEducation
                            [second_diploma] => getProgramsBySecondDiplom
                            [institute] => getProgramByDepartament
                            [directions] => getProgramsByDirection
                            [towns] => getProgramsByTowns
                            [language] => getProgrammsByLanguage
                            [price_from] => getProgramsFromPrice
                            [price_to] => getProgramsToPrice
                        )

                    [conditionIds:protected] => Array
                        (
                        )

                    [reference_name:protected] => Array
                        (
                            [level_of_training] => Array
                                (
                                    [function] => getLevelOfTrainingByPrograms
                                    [type_element] => select
                                    [path] => level_of_training
                                    [table] => reference
                                )

                            [direction] => Array
                                (
                                    [function] => getReferenceFormSelect
                                    [type_element] => select
                                    [path] => direction
                                    [table] => tree
                                )

                            [institute] => Array
                                (
                                    [function] => getReferenceFormSelect
                                    [type_element] => select
                                    [path] => in_departament
                                    [table] => tree
                                )

                            [language] => Array
                                (
                                    [function] => getReferenceFormTreeSelect
                                    [type] => multiselect
                                    [path] => language
                                    [table] => reference
                                    [type_element] => select
                                )

                            [towns] => Array
                                (
                                    [function] => getReferenceFormTreeSelect
                                    [type] => multiselect
                                    [path] => towns
                                    [table] => reference
                                    [type_element] => checkbox
                                )

                            [mode_of_study] => Array
                                (
                                    [function] => getGmoduleOrder
                                    [type_element] => checkbox
                                    [path] => mode_of_study
                                    [table] => reference
                                    [type] => select
                                )

                            [conditions_of_education] => Array
                                (
                                    [function] => getConditionsOfEducationByPrograms
                                    [type_element] => checkbox
                                )

                            [second_diploma] => Array
                                (
                                    [function] => getSecondDiplomByPrograms
                                    [type_element] => checkbox
                                )

                        )

                    [order:Program:private] => name
                    [index_module:Program:private] => educational_programs
                    [direction_module:Program:private] => direction
                    [module:Program:private] => programs
                    [gm_name:Program:private] => mode_of_study
                    [gm_path:Program:private] => price_for_foreigners_dollar
                    [limit:Program:private] => 500
                    [functionOne] => getOne
                )

            [type] => ->
            [args] => Array
                (
                    [0] => Array
                        (
                            [direction] => 10698
                        )

                    [1] => 
                )

        )

    [3] => Array
        (
            [file] => /var/www/onetouch/sites/ar.rudn.ru/public_html/onessarudnru/class/BaseModel.php
            [line] => 313
            [function] => getList
            [class] => Program
            [object] => Program Object
                (
                    [condition_name:protected] => Array
                        (
                            [direction] => getProgramByDirection
                            [level_of_training] => getProgramByLevel
                            [departament] => getProgramByDepartament
                            [mode_of_study] => getProgramsByModeOfStudy
                            [conditions_of_education] => getProgramsByCondOfEducation
                            [second_diploma] => getProgramsBySecondDiplom
                            [institute] => getProgramByDepartament
                            [directions] => getProgramsByDirection
                            [towns] => getProgramsByTowns
                            [language] => getProgrammsByLanguage
                            [price_from] => getProgramsFromPrice
                            [price_to] => getProgramsToPrice
                        )

                    [conditionIds:protected] => Array
                        (
                        )

                    [reference_name:protected] => Array
                        (
                            [level_of_training] => Array
                                (
                                    [function] => getLevelOfTrainingByPrograms
                                    [type_element] => select
                                    [path] => level_of_training
                                    [table] => reference
                                )

                            [direction] => Array
                                (
                                    [function] => getReferenceFormSelect
                                    [type_element] => select
                                    [path] => direction
                                    [table] => tree
                                )

                            [institute] => Array
                                (
                                    [function] => getReferenceFormSelect
                                    [type_element] => select
                                    [path] => in_departament
                                    [table] => tree
                                )

                            [language] => Array
                                (
                                    [function] => getReferenceFormTreeSelect
                                    [type] => multiselect
                                    [path] => language
                                    [table] => reference
                                    [type_element] => select
                                )

                            [towns] => Array
                                (
                                    [function] => getReferenceFormTreeSelect
                                    [type] => multiselect
                                    [path] => towns
                                    [table] => reference
                                    [type_element] => checkbox
                                )

                            [mode_of_study] => Array
                                (
                                    [function] => getGmoduleOrder
                                    [type_element] => checkbox
                                    [path] => mode_of_study
                                    [table] => reference
                                    [type] => select
                                )

                            [conditions_of_education] => Array
                                (
                                    [function] => getConditionsOfEducationByPrograms
                                    [type_element] => checkbox
                                )

                            [second_diploma] => Array
                                (
                                    [function] => getSecondDiplomByPrograms
                                    [type_element] => checkbox
                                )

                        )

                    [order:Program:private] => name
                    [index_module:Program:private] => educational_programs
                    [direction_module:Program:private] => direction
                    [module:Program:private] => programs
                    [gm_name:Program:private] => mode_of_study
                    [gm_path:Program:private] => price_for_foreigners_dollar
                    [limit:Program:private] => 500
                    [functionOne] => getOne
                )

            [type] => ->
            [args] => Array
                (
                    [0] => Array
                        (
                            [direction] => 10698
                        )

                    [1] => 1
                )

        )

    [4] => Array
        (
            [file] => /var/www/onetouch/sites/ar.rudn.ru/public_html/controllers/Education/EducationController.php
            [line] => 368
            [function] => getReferences
            [class] => Base
            [object] => Program Object
                (
                    [condition_name:protected] => Array
                        (
                            [direction] => getProgramByDirection
                            [level_of_training] => getProgramByLevel
                            [departament] => getProgramByDepartament
                            [mode_of_study] => getProgramsByModeOfStudy
                            [conditions_of_education] => getProgramsByCondOfEducation
                            [second_diploma] => getProgramsBySecondDiplom
                            [institute] => getProgramByDepartament
                            [directions] => getProgramsByDirection
                            [towns] => getProgramsByTowns
                            [language] => getProgrammsByLanguage
                            [price_from] => getProgramsFromPrice
                            [price_to] => getProgramsToPrice
                        )

                    [conditionIds:protected] => Array
                        (
                        )

                    [reference_name:protected] => Array
                        (
                            [level_of_training] => Array
                                (
                                    [function] => getLevelOfTrainingByPrograms
                                    [type_element] => select
                                    [path] => level_of_training
                                    [table] => reference
                                )

                            [direction] => Array
                                (
                                    [function] => getReferenceFormSelect
                                    [type_element] => select
                                    [path] => direction
                                    [table] => tree
                                )

                            [institute] => Array
                                (
                                    [function] => getReferenceFormSelect
                                    [type_element] => select
                                    [path] => in_departament
                                    [table] => tree
                                )

                            [language] => Array
                                (
                                    [function] => getReferenceFormTreeSelect
                                    [type] => multiselect
                                    [path] => language
                                    [table] => reference
                                    [type_element] => select
                                )

                            [towns] => Array
                                (
                                    [function] => getReferenceFormTreeSelect
                                    [type] => multiselect
                                    [path] => towns
                                    [table] => reference
                                    [type_element] => checkbox
                                )

                            [mode_of_study] => Array
                                (
                                    [function] => getGmoduleOrder
                                    [type_element] => checkbox
                                    [path] => mode_of_study
                                    [table] => reference
                                    [type] => select
                                )

                            [conditions_of_education] => Array
                                (
                                    [function] => getConditionsOfEducationByPrograms
                                    [type_element] => checkbox
                                )

                            [second_diploma] => Array
                                (
                                    [function] => getSecondDiplomByPrograms
                                    [type_element] => checkbox
                                )

                        )

                    [order:Program:private] => name
                    [index_module:Program:private] => educational_programs
                    [direction_module:Program:private] => direction
                    [module:Program:private] => programs
                    [gm_name:Program:private] => mode_of_study
                    [gm_path:Program:private] => price_for_foreigners_dollar
                    [limit:Program:private] => 500
                    [functionOne] => getOne
                )

            [type] => ->
            [args] => Array
                (
                    [0] => Array
                        (
                            [direction] => 10698
                        )

                )

        )

    [5] => Array
        (
            [file] => /var/www/onetouch/sites/ar.rudn.ru/public_html/controllers/Education/EducationController.php
            [line] => 66
            [function] => directionList
            [class] => EducationController
            [object] => EducationController Object
                (
                    [rules:protected] => Array
                        (
                            [q] => Array
                                (
                                    [type] => string
                                )

                            [action] => Array
                                (
                                    [type] => string
                                )

                            [mode_of_study] => Array
                                (
                                    [type] => string
                                    [options] => Array
                                        (
                                            [default] => 0
                                            [array] => 1
                                        )

                                )

                            [level_of_training] => Array
                                (
                                    [type] => int
                                    [options] => Array
                                        (
                                            [default] => 0
                                        )

                                )

                            [institute] => Array
                                (
                                    [type] => int
                                    [options] => Array
                                        (
                                            [default] => 0
                                        )

                                )

                            [language] => Array
                                (
                                    [type] => int
                                    [options] => Array
                                        (
                                            [default] => 0
                                        )

                                )

                            [direction] => Array
                                (
                                    [type] => int
                                    [options] => Array
                                        (
                                            [default] => 0
                                        )

                                )

                            [conditions_of_education] => Array
                                (
                                    [type] => string
                                    [options] => Array
                                        (
                                            [default] => 0
                                            [array] => 1
                                            [value] => Array
                                                (
                                                    [0] => state_funded
                                                    [1] => contract
                                                )

                                        )

                                )

                            [towns] => Array
                                (
                                    [type] => int
                                    [options] => Array
                                        (
                                            [default] => 0
                                        )

                                )

                            [second_diploma] => Array
                                (
                                    [type] => int
                                    [options] => Array
                                        (
                                            [default] => 0
                                        )

                                )

                            [price_from] => Array
                                (
                                    [type] => float
                                    [options] => Array
                                        (
                                            [default] => 0
                                        )

                                )

                            [price_to] => Array
                                (
                                    [type] => float
                                    [options] => Array
                                        (
                                            [default] => 0
                                        )

                                )

                            [change_input] => Array
                                (
                                    [type] => string
                                )

                            [tab] => Array
                                (
                                    [type] => string
                                )

                            [page] => Array
                                (
                                    [type] => int
                                    [options] => Array
                                        (
                                            [default] => 0
                                        )

                                )

                        )

                    [departmentLimit:EducationController:private] => 10
                )

            [type] => ->
            [args] => Array
                (
                    [0] => Array
                        (
                            [id] => 235
                            [level] => 3
                            [left_key] => 10265
                            [right_key] => 31116
                            [parent] => 121
                            [name] => البرامج التعليمية
                            [name_ru] => Образовательные программы
                            [seo_title] => البرامج التعليمية
                            [seo_description] => البرامج التعليمية
                            [site] => 1
                            [path] => educational-programs
                            [visible] => 1
                            [num] => 20
                            [cdate] => 2017-02-25 18:45:11
                            [mdate] => 2026-11-02 22:21:39
                            [seo_keywords] => البرامج التعليمية
                            [cuser] => 1
                            [modul] => 0
                            [search] => 1
                            [menu] => 1
                            [link] => 
                            [sitemap] => 1
                            [target_blank] => 0
                            [udate] => 2017-02-25 20:45:00
                            [fields] => Array
                                (
                                    [preview] => 
                                    [fulltext] => 
                                )

                            [info] => Array
                                (
                                    [id] => 34
                                    [modul1] => tree
                                    [modul2] => educational_programs
                                    [id1] => 235
                                    [id2] => 1
                                    [cdate] => 2017-02-28 19:12:35
                                    [name] => Образование: Образовательные программы
                                    [path] => educational_programs
                                    [type] => spage
                                    [num] => 1980
                                    [params] => 
                                    [module_catalog] => 0
                                )

                        )

                )

        )

    [6] => Array
        (
            [file] => /var/www/onetouch/sites/ar.rudn.ru/public_html/onessarudnru/index.php
            [line] => 250
            [function] => __construct
            [class] => EducationController
            [object] => EducationController Object
                (
                    [rules:protected] => Array
                        (
                            [q] => Array
                                (
                                    [type] => string
                                )

                            [action] => Array
                                (
                                    [type] => string
                                )

                            [mode_of_study] => Array
                                (
                                    [type] => string
                                    [options] => Array
                                        (
                                            [default] => 0
                                            [array] => 1
                                        )

                                )

                            [level_of_training] => Array
                                (
                                    [type] => int
                                    [options] => Array
                                        (
                                            [default] => 0
                                        )

                                )

                            [institute] => Array
                                (
                                    [type] => int
                                    [options] => Array
                                        (
                                            [default] => 0
                                        )

                                )

                            [language] => Array
                                (
                                    [type] => int
                                    [options] => Array
                                        (
                                            [default] => 0
                                        )

                                )

                            [direction] => Array
                                (
                                    [type] => int
                                    [options] => Array
                                        (
                                            [default] => 0
                                        )

                                )

                            [conditions_of_education] => Array
                                (
                                    [type] => string
                                    [options] => Array
                                        (
                                            [default] => 0
                                            [array] => 1
                                            [value] => Array
                                                (
                                                    [0] => state_funded
                                                    [1] => contract
                                                )

                                        )

                                )

                            [towns] => Array
                                (
                                    [type] => int
                                    [options] => Array
                                        (
                                            [default] => 0
                                        )

                                )

                            [second_diploma] => Array
                                (
                                    [type] => int
                                    [options] => Array
                                        (
                                            [default] => 0
                                        )

                                )

                            [price_from] => Array
                                (
                                    [type] => float
                                    [options] => Array
                                        (
                                            [default] => 0
                                        )

                                )

                            [price_to] => Array
                                (
                                    [type] => float
                                    [options] => Array
                                        (
                                            [default] => 0
                                        )

                                )

                            [change_input] => Array
                                (
                                    [type] => string
                                )

                            [tab] => Array
                                (
                                    [type] => string
                                )

                            [page] => Array
                                (
                                    [type] => int
                                    [options] => Array
                                        (
                                            [default] => 0
                                        )

                                )

                        )

                    [departmentLimit:EducationController:private] => 10
                )

            [type] => ->
            [args] => Array
                (
                )

        )

    [7] => Array
        (
            [file] => /var/www/onetouch/sites/ar.rudn.ru/public_html/index.php
            [line] => 4
            [args] => Array
                (
                    [0] => /var/www/onetouch/sites/ar.rudn.ru/public_html/onessarudnru/index.php
                )

            [function] => require_once
        )

)

SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 1