Array
(
    [0] => Array
        (
            [function] => action_500
            [class] => Controller_Front_Error
            [object] => Controller_Front_Error Object
                (
                    [template] => View Object
                        (
                            [_file:protected] => /var/www/photobank/application/views/front/layout/index.php
                            [_data:protected] => Array
                                (
                                )

                        )

                    [view:protected] => View Object
                        (
                            [_file:protected] => /var/www/photobank/application/views/front/error/500.php
                            [_data:protected] => Array
                                (
                                    [page] => /file/16728
                                    [message] => Undefined variable: href
                                )

                        )

                    [popup_actions:protected] => Array
                        (
                        )

                    [popup_actions2:protected] => Array
                        (
                        )

                    [popup_noiframe_actions:protected] => Array
                        (
                        )

                    [seo_from_db:protected] => 1
                    [current_urls] => Array
                        (
                        )

                    [breadcrumbs] => Array
                        (
                            [0] => Array
                                (
                                    [0] => /
                                    [1] => foto.ashurbeyli.ru
                                )

                        )

                    [directory:protected] => front
                    [message:protected] => 
                    [errors:protected] => Array
                        (
                        )

                    [user:protected] => 
                    [user_obj:protected] => 
                    [admuser:protected] => 
                    [admacl:protected] => 
                    [current_rubric:protected] => 
                    [ajax_actions:protected] => Array
                        (
                        )

                    [current_view_dir:protected] => front/error/
                    [current_view_path:protected] => front/error/500
                    [admin_path:protected] => admin
                    [controller:protected] => error
                    [action:protected] => 500
                    [photos_path] => Array
                        (
                            [ava] => /public/user/images/
                            [notice] => /public/notice/images/
                        )

                    [auto_render] => 1
                    [request] => Request Object
                        (
                            [_requested_with:protected] => 
                            [_method:protected] => GET
                            [_protocol:protected] => HTTP/1.1
                            [_secure:protected] => 
                            [_referrer:protected] => 
                            [_route:protected] => Route Object
                                (
                                    [_callback:protected] => 
                                    [_uri:protected] => error/(/)
                                    [_regex:protected] => Array
                                        (
                                            [action] => [0-9]++
                                            [message] => .+
                                        )

                                    [_defaults:protected] => Array
                                        (
                                            [directory] => front
                                            [controller] => error
                                        )

                                    [_route_regex:protected] => #^error/(?P[0-9]++)(?:/(?P.+))?$#uD
                                )

                            [_routes:protected] => 
                            [_response:protected] => Response Object
                                (
                                    [_status:protected] => 500
                                    [_header:protected] => HTTP_Header Object
                                        (
                                            [_accept_content:protected] => 
                                            [_accept_charset:protected] => 
                                            [_accept_encoding:protected] => 
                                            [_accept_language:protected] => 
                                            [storage:ArrayObject:private] => Array
                                                (
                                                )

                                        )

                                    [_body:protected] => 
                                    [_cookies:protected] => Array
                                        (
                                        )

                                    [_protocol:protected] => HTTP/1.1
                                )

                            [_header:protected] => HTTP_Header Object
                                (
                                    [_accept_content:protected] => 
                                    [_accept_charset:protected] => 
                                    [_accept_encoding:protected] => 
                                    [_accept_language:protected] => 
                                    [storage:ArrayObject:private] => Array
                                        (
                                        )

                                )

                            [_body:protected] => 
                            [_directory:protected] => front
                            [_controller:protected] => error
                            [_action:protected] => 500
                            [_uri:protected] => error/500/Undefined%20variable%3A%20href
                            [_external:protected] => 
                            [_params:protected] => Array
                                (
                                    [message] => Undefined%20variable%3A%20href
                                )

                            [_get:protected] => Array
                                (
                                )

                            [_post:protected] => Array
                                (
                                )

                            [_cookies:protected] => Array
                                (
                                )

                            [_client:protected] => Request_Client_Internal Object
                                (
                                    [_previous_environment:protected] => 
                                    [_cache:protected] => 
                                )

                            [_injected_routes] => Array
                                (
                                )

                        )

                    [response] => Response Object
                        (
                            [_status:protected] => 500
                            [_header:protected] => HTTP_Header Object
                                (
                                    [_accept_content:protected] => 
                                    [_accept_charset:protected] => 
                                    [_accept_encoding:protected] => 
                                    [_accept_language:protected] => 
                                    [storage:ArrayObject:private] => Array
                                        (
                                        )

                                )

                            [_body:protected] => 
                            [_cookies:protected] => Array
                                (
                                )

                            [_protocol:protected] => HTTP/1.1
                        )

                )

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

        )

    [1] => Array
        (
            [file] => /var/www/photobank/miracle/system/classes/kohana/request/client/internal.php
            [line] => 118
            [function] => invoke
            [class] => ReflectionMethod
            [object] => ReflectionMethod Object
                (
                    [name] => action_500
                    [class] => Controller_Front_Error
                )

            [type] => ->
            [args] => Array
                (
                    [0] => Controller_Front_Error Object
                        (
                            [template] => View Object
                                (
                                    [_file:protected] => /var/www/photobank/application/views/front/layout/index.php
                                    [_data:protected] => Array
                                        (
                                        )

                                )

                            [view:protected] => View Object
                                (
                                    [_file:protected] => /var/www/photobank/application/views/front/error/500.php
                                    [_data:protected] => Array
                                        (
                                            [page] => /file/16728
                                            [message] => Undefined variable: href
                                        )

                                )

                            [popup_actions:protected] => Array
                                (
                                )

                            [popup_actions2:protected] => Array
                                (
                                )

                            [popup_noiframe_actions:protected] => Array
                                (
                                )

                            [seo_from_db:protected] => 1
                            [current_urls] => Array
                                (
                                )

                            [breadcrumbs] => Array
                                (
                                    [0] => Array
                                        (
                                            [0] => /
                                            [1] => foto.ashurbeyli.ru
                                        )

                                )

                            [directory:protected] => front
                            [message:protected] => 
                            [errors:protected] => Array
                                (
                                )

                            [user:protected] => 
                            [user_obj:protected] => 
                            [admuser:protected] => 
                            [admacl:protected] => 
                            [current_rubric:protected] => 
                            [ajax_actions:protected] => Array
                                (
                                )

                            [current_view_dir:protected] => front/error/
                            [current_view_path:protected] => front/error/500
                            [admin_path:protected] => admin
                            [controller:protected] => error
                            [action:protected] => 500
                            [photos_path] => Array
                                (
                                    [ava] => /public/user/images/
                                    [notice] => /public/notice/images/
                                )

                            [auto_render] => 1
                            [request] => Request Object
                                (
                                    [_requested_with:protected] => 
                                    [_method:protected] => GET
                                    [_protocol:protected] => HTTP/1.1
                                    [_secure:protected] => 
                                    [_referrer:protected] => 
                                    [_route:protected] => Route Object
                                        (
                                            [_callback:protected] => 
                                            [_uri:protected] => error/(/)
                                            [_regex:protected] => Array
                                                (
                                                    [action] => [0-9]++
                                                    [message] => .+
                                                )

                                            [_defaults:protected] => Array
                                                (
                                                    [directory] => front
                                                    [controller] => error
                                                )

                                            [_route_regex:protected] => #^error/(?P[0-9]++)(?:/(?P.+))?$#uD
                                        )

                                    [_routes:protected] => 
                                    [_response:protected] => Response Object
                                        (
                                            [_status:protected] => 500
                                            [_header:protected] => HTTP_Header Object
                                                (
                                                    [_accept_content:protected] => 
                                                    [_accept_charset:protected] => 
                                                    [_accept_encoding:protected] => 
                                                    [_accept_language:protected] => 
                                                    [storage:ArrayObject:private] => Array
                                                        (
                                                        )

                                                )

                                            [_body:protected] => 
                                            [_cookies:protected] => Array
                                                (
                                                )

                                            [_protocol:protected] => HTTP/1.1
                                        )

                                    [_header:protected] => HTTP_Header Object
                                        (
                                            [_accept_content:protected] => 
                                            [_accept_charset:protected] => 
                                            [_accept_encoding:protected] => 
                                            [_accept_language:protected] => 
                                            [storage:ArrayObject:private] => Array
                                                (
                                                )

                                        )

                                    [_body:protected] => 
                                    [_directory:protected] => front
                                    [_controller:protected] => error
                                    [_action:protected] => 500
                                    [_uri:protected] => error/500/Undefined%20variable%3A%20href
                                    [_external:protected] => 
                                    [_params:protected] => Array
                                        (
                                            [message] => Undefined%20variable%3A%20href
                                        )

                                    [_get:protected] => Array
                                        (
                                        )

                                    [_post:protected] => Array
                                        (
                                        )

                                    [_cookies:protected] => Array
                                        (
                                        )

                                    [_client:protected] => Request_Client_Internal Object
                                        (
                                            [_previous_environment:protected] => 
                                            [_cache:protected] => 
                                        )

                                    [_injected_routes] => Array
                                        (
                                        )

                                )

                            [response] => Response Object
                                (
                                    [_status:protected] => 500
                                    [_header:protected] => HTTP_Header Object
                                        (
                                            [_accept_content:protected] => 
                                            [_accept_charset:protected] => 
                                            [_accept_encoding:protected] => 
                                            [_accept_language:protected] => 
                                            [storage:ArrayObject:private] => Array
                                                (
                                                )

                                        )

                                    [_body:protected] => 
                                    [_cookies:protected] => Array
                                        (
                                        )

                                    [_protocol:protected] => HTTP/1.1
                                )

                        )

                )

        )

    [2] => Array
        (
            [file] => /var/www/photobank/miracle/system/classes/kohana/request/client.php
            [line] => 64
            [function] => execute_request
            [class] => Kohana_Request_Client_Internal
            [object] => Request_Client_Internal Object
                (
                    [_previous_environment:protected] => 
                    [_cache:protected] => 
                )

            [type] => ->
            [args] => Array
                (
                    [0] => Request Object
                        (
                            [_requested_with:protected] => 
                            [_method:protected] => GET
                            [_protocol:protected] => HTTP/1.1
                            [_secure:protected] => 
                            [_referrer:protected] => 
                            [_route:protected] => Route Object
                                (
                                    [_callback:protected] => 
                                    [_uri:protected] => error/(/)
                                    [_regex:protected] => Array
                                        (
                                            [action] => [0-9]++
                                            [message] => .+
                                        )

                                    [_defaults:protected] => Array
                                        (
                                            [directory] => front
                                            [controller] => error
                                        )

                                    [_route_regex:protected] => #^error/(?P[0-9]++)(?:/(?P.+))?$#uD
                                )

                            [_routes:protected] => 
                            [_response:protected] => Response Object
                                (
                                    [_status:protected] => 500
                                    [_header:protected] => HTTP_Header Object
                                        (
                                            [_accept_content:protected] => 
                                            [_accept_charset:protected] => 
                                            [_accept_encoding:protected] => 
                                            [_accept_language:protected] => 
                                            [storage:ArrayObject:private] => Array
                                                (
                                                )

                                        )

                                    [_body:protected] => 
                                    [_cookies:protected] => Array
                                        (
                                        )

                                    [_protocol:protected] => HTTP/1.1
                                )

                            [_header:protected] => HTTP_Header Object
                                (
                                    [_accept_content:protected] => 
                                    [_accept_charset:protected] => 
                                    [_accept_encoding:protected] => 
                                    [_accept_language:protected] => 
                                    [storage:ArrayObject:private] => Array
                                        (
                                        )

                                )

                            [_body:protected] => 
                            [_directory:protected] => front
                            [_controller:protected] => error
                            [_action:protected] => 500
                            [_uri:protected] => error/500/Undefined%20variable%3A%20href
                            [_external:protected] => 
                            [_params:protected] => Array
                                (
                                    [message] => Undefined%20variable%3A%20href
                                )

                            [_get:protected] => Array
                                (
                                )

                            [_post:protected] => Array
                                (
                                )

                            [_cookies:protected] => Array
                                (
                                )

                            [_client:protected] => Request_Client_Internal Object
                                (
                                    [_previous_environment:protected] => 
                                    [_cache:protected] => 
                                )

                            [_injected_routes] => Array
                                (
                                )

                        )

                )

        )

    [3] => Array
        (
            [file] => /var/www/photobank/miracle/system/classes/kohana/request.php
            [line] => 1138
            [function] => execute
            [class] => Kohana_Request_Client
            [object] => Request_Client_Internal Object
                (
                    [_previous_environment:protected] => 
                    [_cache:protected] => 
                )

            [type] => ->
            [args] => Array
                (
                    [0] => Request Object
                        (
                            [_requested_with:protected] => 
                            [_method:protected] => GET
                            [_protocol:protected] => HTTP/1.1
                            [_secure:protected] => 
                            [_referrer:protected] => 
                            [_route:protected] => Route Object
                                (
                                    [_callback:protected] => 
                                    [_uri:protected] => error/(/)
                                    [_regex:protected] => Array
                                        (
                                            [action] => [0-9]++
                                            [message] => .+
                                        )

                                    [_defaults:protected] => Array
                                        (
                                            [directory] => front
                                            [controller] => error
                                        )

                                    [_route_regex:protected] => #^error/(?P[0-9]++)(?:/(?P.+))?$#uD
                                )

                            [_routes:protected] => 
                            [_response:protected] => Response Object
                                (
                                    [_status:protected] => 500
                                    [_header:protected] => HTTP_Header Object
                                        (
                                            [_accept_content:protected] => 
                                            [_accept_charset:protected] => 
                                            [_accept_encoding:protected] => 
                                            [_accept_language:protected] => 
                                            [storage:ArrayObject:private] => Array
                                                (
                                                )

                                        )

                                    [_body:protected] => 
                                    [_cookies:protected] => Array
                                        (
                                        )

                                    [_protocol:protected] => HTTP/1.1
                                )

                            [_header:protected] => HTTP_Header Object
                                (
                                    [_accept_content:protected] => 
                                    [_accept_charset:protected] => 
                                    [_accept_encoding:protected] => 
                                    [_accept_language:protected] => 
                                    [storage:ArrayObject:private] => Array
                                        (
                                        )

                                )

                            [_body:protected] => 
                            [_directory:protected] => front
                            [_controller:protected] => error
                            [_action:protected] => 500
                            [_uri:protected] => error/500/Undefined%20variable%3A%20href
                            [_external:protected] => 
                            [_params:protected] => Array
                                (
                                    [message] => Undefined%20variable%3A%20href
                                )

                            [_get:protected] => Array
                                (
                                )

                            [_post:protected] => Array
                                (
                                )

                            [_cookies:protected] => Array
                                (
                                )

                            [_client:protected] => Request_Client_Internal Object
                                (
                                    [_previous_environment:protected] => 
                                    [_cache:protected] => 
                                )

                            [_injected_routes] => Array
                                (
                                )

                        )

                )

        )

    [4] => Array
        (
            [file] => /var/www/photobank/application/classes/kohana/exception.php
            [line] => 30
            [function] => execute
            [class] => Kohana_Request
            [object] => Request Object
                (
                    [_requested_with:protected] => 
                    [_method:protected] => GET
                    [_protocol:protected] => HTTP/1.1
                    [_secure:protected] => 
                    [_referrer:protected] => 
                    [_route:protected] => Route Object
                        (
                            [_callback:protected] => 
                            [_uri:protected] => error/(/)
                            [_regex:protected] => Array
                                (
                                    [action] => [0-9]++
                                    [message] => .+
                                )

                            [_defaults:protected] => Array
                                (
                                    [directory] => front
                                    [controller] => error
                                )

                            [_route_regex:protected] => #^error/(?P[0-9]++)(?:/(?P.+))?$#uD
                        )

                    [_routes:protected] => 
                    [_response:protected] => Response Object
                        (
                            [_status:protected] => 500
                            [_header:protected] => HTTP_Header Object
                                (
                                    [_accept_content:protected] => 
                                    [_accept_charset:protected] => 
                                    [_accept_encoding:protected] => 
                                    [_accept_language:protected] => 
                                    [storage:ArrayObject:private] => Array
                                        (
                                        )

                                )

                            [_body:protected] => 
                            [_cookies:protected] => Array
                                (
                                )

                            [_protocol:protected] => HTTP/1.1
                        )

                    [_header:protected] => HTTP_Header Object
                        (
                            [_accept_content:protected] => 
                            [_accept_charset:protected] => 
                            [_accept_encoding:protected] => 
                            [_accept_language:protected] => 
                            [storage:ArrayObject:private] => Array
                                (
                                )

                        )

                    [_body:protected] => 
                    [_directory:protected] => front
                    [_controller:protected] => error
                    [_action:protected] => 500
                    [_uri:protected] => error/500/Undefined%20variable%3A%20href
                    [_external:protected] => 
                    [_params:protected] => Array
                        (
                            [message] => Undefined%20variable%3A%20href
                        )

                    [_get:protected] => Array
                        (
                        )

                    [_post:protected] => Array
                        (
                        )

                    [_cookies:protected] => Array
                        (
                        )

                    [_client:protected] => Request_Client_Internal Object
                        (
                            [_previous_environment:protected] => 
                            [_cache:protected] => 
                        )

                    [_injected_routes] => Array
                        (
                        )

                )

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

        )

    [5] => Array
        (
            [function] => handler
            [class] => Kohana_Exception
            [type] => ::
            [args] => Array
                (
                    [0] => ErrorException Object
                        (
                            [message:protected] => Undefined variable: href
                            [string:Exception:private] => 
                            [code:protected] => 8
                            [file:protected] => /var/www/photobank/application/views/front/index/file.php
                            [line:protected] => 226
                            [trace:Exception:private] => Array
                                (
                                    [0] => Array
                                        (
                                            [file] => /var/www/photobank/application/views/front/index/file.php
                                            [line] => 226
                                            [function] => error_handler
                                            [class] => Kohana_Core
                                            [type] => ::
                                            [args] => Array
                                                (
                                                    [0] => 8
                                                    [1] => Undefined variable: href
                                                    [2] => /var/www/photobank/application/views/front/index/file.php
                                                    [3] => 226
                                                    [4] => Array
                                                        (
                                                            [kohana_view_filename] => /var/www/photobank/application/views/front/index/file.php
                                                            [kohana_view_data] => Array
                                                                (
                                                                    [file] => Model_Userfile Object
                                                                        (
                                                                            [_table_name:protected] => userfiles
                                                                            [_belongs_to:protected] => Array
                                                                                (
                                                                                    [event] => Array
                                                                                        (
                                                                                            [model] => event
                                                                                            [foreign_key] => event_id
                                                                                        )

                                                                                )

                                                                            [_has_many:protected] => Array
                                                                                (
                                                                                    [images] => Array
                                                                                        (
                                                                                            [model] => image
                                                                                            [foreign_key] => model_id
                                                                                            [through] => 
                                                                                            [far_key] => image_id
                                                                                        )

                                                                                    [files] => Array
                                                                                        (
                                                                                            [model] => file
                                                                                            [foreign_key] => model_id
                                                                                            [through] => 
                                                                                            [far_key] => file_id
                                                                                        )

                                                                                    [tag_list] => Array
                                                                                        (
                                                                                            [model] => tag
                                                                                            [foreign_key] => userfile_id
                                                                                            [through] => usersfiles_tags
                                                                                            [far_key] => tag_id
                                                                                        )

                                                                                )

                                                                            [MAX_LEVEL_TO_CASCADE_UPDATE] => 2
                                                                            [_cache_mode:protected] => 0
                                                                            [_images_sort:protected] => 
                                                                            [_has_one:protected] => Array
                                                                                (
                                                                                )

                                                                            [_load_with:protected] => Array
                                                                                (
                                                                                )

                                                                            [_validation:protected] => 
                                                                            [_object:protected] => Array
                                                                                (
                                                                                    [id] => 16728
                                                                                    [name] => 15522133754645.jpg
                                                                                    [size] => 11770136
                                                                                    [type] => image/jpeg
                                                                                    [url] => 
                                                                                    [title] => Праздник Масленицы в Покровском-Стрешневе на территории Обители святой Елисаветы
                                                                                    [description] => 
                                                                                    [owner] => 
                                                                                    [eventdate] => 2019-03-09
                                                                                    [event_id] => 1552213255
                                                                                    [on_off] => 1
                                                                                    [editor_pick] => 
                                                                                    [tags] => масленица, праздник, Покровское-Стрешнево
                                                                                    [persons] => 
                                                                                    [views] => 661
                                                                                    [downloads] => 0
                                                                                    [book_code] => 
                                                                                    [tip] => photo
                                                                                    [author] => Александр Омельянчук
                                                                                    [owner1] => 0
                                                                                    [owner2] => 0
                                                                                    [owner3] => 1
                                                                                    [owner4] => 1
                                                                                    [owner5] => 0
                                                                                    [owner6] => 
                                                                                    [owner7] => 
                                                                                    [owner8] => 
                                                                                    [owner9] => 
                                                                                    [events] => Масленица в Покровском-Стрешневе - 9 марта 2019
                                                                                    [realname] => A79I3067.jpg
                                                                                    [puzzle] => 0
                                                                                    [puzzle1] => 0
                                                                                    [editor_pick1] => 0
                                                                                    [editor_pick2] => 0
                                                                                    [editor_pick3] => 0
                                                                                    [ownercheck] => 
                                                                                    [sort] => 16728
                                                                                    [date] => 
                                                                                    [upload_date] => 2019-03-10 13:22:57
                                                                                    [hide] => 0
                                                                                    [cover] => 0
                                                                                )

                                                                            [_changed:protected] => Array
                                                                                (
                                                                                )

                                                                            [_original_values:protected] => Array
                                                                                (
                                                                                    [id] => 16728
                                                                                    [name] => 15522133754645.jpg
                                                                                    [size] => 11770136
                                                                                    [type] => image/jpeg
                                                                                    [url] => 
                                                                                    [title] => Праздник Масленицы в Покровском-Стрешневе на территории Обители святой Елисаветы
                                                                                    [description] => 
                                                                                    [owner] => 
                                                                                    [eventdate] => 2019-03-09
                                                                                    [event_id] => 1552213255
                                                                                    [on_off] => 1
                                                                                    [editor_pick] => 
                                                                                    [tags] => масленица, праздник, Покровское-Стрешнево
                                                                                    [persons] => 
                                                                                    [views] => 661
                                                                                    [downloads] => 0
                                                                                    [book_code] => 
                                                                                    [tip] => photo
                                                                                    [author] => Александр Омельянчук
                                                                                    [owner1] => 0
                                                                                    [owner2] => 0
                                                                                    [owner3] => 1
                                                                                    [owner4] => 1
                                                                                    [owner5] => 0
                                                                                    [owner6] => 
                                                                                    [owner7] => 
                                                                                    [owner8] => 
                                                                                    [owner9] => 
                                                                                    [events] => Масленица в Покровском-Стрешневе - 9 марта 2019
                                                                                    [realname] => A79I3067.jpg
                                                                                    [puzzle] => 0
                                                                                    [puzzle1] => 0
                                                                                    [editor_pick1] => 0
                                                                                    [editor_pick2] => 0
                                                                                    [editor_pick3] => 0
                                                                                    [ownercheck] => 
                                                                                    [sort] => 16728
                                                                                    [date] => 
                                                                                    [upload_date] => 2019-03-10 13:22:57
                                                                                    [hide] => 0
                                                                                    [cover] => 0
                                                                                )

                                                                            [_related:protected] => Array
                                                                                (
                                                                                )

                                                                            [_valid:protected] => 1
                                                                            [_loaded:protected] => 1
                                                                            [_saved:protected] => 
                                                                            [_sorting:protected] => 
                                                                            [_foreign_key_suffix:protected] => _id
                                                                            [_object_name:protected] => userfile
                                                                            [_object_plural:protected] => userfiles
                                                                            [_table_columns:protected] => Array
                                                                                (
                                                                                    [id] => Array
                                                                                        (
                                                                                            [type] => int
                                                                                            [min] => 0
                                                                                            [max] => 4294967295
                                                                                            [column_name] => id
                                                                                            [column_default] => 
                                                                                            [data_type] => int unsigned
                                                                                            [is_nullable] => 
                                                                                            [ordinal_position] => 1
                                                                                            [display] => 11
                                                                                            [comment] => 
                                                                                            [extra] => auto_increment
                                                                                            [key] => PRI
                                                                                            [privileges] => select,insert,update,references
                                                                                        )

                                                                                    [name] => Array
                                                                                        (
                                                                                            [type] => string
                                                                                            [column_name] => name
                                                                                            [column_default] => 
                                                                                            [data_type] => varchar
                                                                                            [is_nullable] => 
                                                                                            [ordinal_position] => 2
                                                                                            [character_maximum_length] => 255
                                                                                            [collation_name] => utf8_general_ci
                                                                                            [comment] => 
                                                                                            [extra] => 
                                                                                            [key] => 
                                                                                            [privileges] => select,insert,update,references
                                                                                        )

                                                                                    [size] => Array
                                                                                        (
                                                                                            [type] => int
                                                                                            [min] => -2147483648
                                                                                            [max] => 2147483647
                                                                                            [column_name] => size
                                                                                            [column_default] => 
                                                                                            [data_type] => int
                                                                                            [is_nullable] => 1
                                                                                            [ordinal_position] => 3
                                                                                            [display] => 11
                                                                                            [comment] => 
                                                                                            [extra] => 
                                                                                            [key] => 
                                                                                            [privileges] => select,insert,update,references
                                                                                        )

                                                                                    [type] => Array
                                                                                        (
                                                                                            [type] => string
                                                                                            [column_name] => type
                                                                                            [column_default] => 
                                                                                            [data_type] => varchar
                                                                                            [is_nullable] => 1
                                                                                            [ordinal_position] => 4
                                                                                            [character_maximum_length] => 255
                                                                                            [collation_name] => utf8_general_ci
                                                                                            [comment] => 
                                                                                            [extra] => 
                                                                                            [key] => 
                                                                                            [privileges] => select,insert,update,references
                                                                                        )

                                                                                    [url] => Array
                                                                                        (
                                                                                            [type] => string
                                                                                            [column_name] => url
                                                                                            [column_default] => 
                                                                                            [data_type] => varchar
                                                                                            [is_nullable] => 1
                                                                                            [ordinal_position] => 5
                                                                                            [character_maximum_length] => 255
                                                                                            [collation_name] => utf8_general_ci
                                                                                            [comment] => 
                                                                                            [extra] => 
                                                                                            [key] => 
                                                                                            [privileges] => select,insert,update,references
                                                                                        )

                                                                                    [title] => Array
                                                                                        (
                                                                                            [type] => string
                                                                                            [column_name] => title
                                                                                            [column_default] => 
                                                                                            [data_type] => varchar
                                                                                            [is_nullable] => 
                                                                                            [ordinal_position] => 6
                                                                                            [character_maximum_length] => 255
                                                                                            [collation_name] => utf8_general_ci
                                                                                            [comment] => 
                                                                                            [extra] => 
                                                                                            [key] => 
                                                                                            [privileges] => select,insert,update,references
                                                                                        )

                                                                                    [description] => Array
                                                                                        (
                                                                                            [type] => string
                                                                                            [character_maximum_length] => 65535
                                                                                            [column_name] => description
                                                                                            [column_default] => 
                                                                                            [data_type] => text
                                                                                            [is_nullable] => 
                                                                                            [ordinal_position] => 7
                                                                                            [collation_name] => utf8_general_ci
                                                                                            [comment] => 
                                                                                            [extra] => 
                                                                                            [key] => 
                                                                                            [privileges] => select,insert,update,references
                                                                                        )

                                                                                    [owner] => Array
                                                                                        (
                                                                                            [type] => int
                                                                                            [min] => -2147483648
                                                                                            [max] => 2147483647
                                                                                            [column_name] => owner
                                                                                            [column_default] => 
                                                                                            [data_type] => int
                                                                                            [is_nullable] => 1
                                                                                            [ordinal_position] => 8
                                                                                            [display] => 11
                                                                                            [comment] => 
                                                                                            [extra] => 
                                                                                            [key] => MUL
                                                                                            [privileges] => select,insert,update,references
                                                                                        )

                                                                                    [eventdate] => Array
                                                                                        (
                                                                                            [type] => string
                                                                                            [column_name] => eventdate
                                                                                            [column_default] => 
                                                                                            [data_type] => date
                                                                                            [is_nullable] => 1
                                                                                            [ordinal_position] => 9
                                                                                            [comment] => 
                                                                                            [extra] => 
                                                                                            [key] => 
                                                                                            [privileges] => select,insert,update,references
                                                                                        )

                                                                                    [event_id] => Array
                                                                                        (
                                                                                            [type] => int
                                                                                            [min] => -2147483648
                                                                                            [max] => 2147483647
                                                                                            [column_name] => event_id
                                                                                            [column_default] => 
                                                                                            [data_type] => int
                                                                                            [is_nullable] => 1
                                                                                            [ordinal_position] => 10
                                                                                            [display] => 11
                                                                                            [comment] => 
                                                                                            [extra] => 
                                                                                            [key] => MUL
                                                                                            [privileges] => select,insert,update,references
                                                                                        )

                                                                                    [on_off] => Array
                                                                                        (
                                                                                            [type] => int
                                                                                            [min] => -32768
                                                                                            [max] => 32767
                                                                                            [column_name] => on_off
                                                                                            [column_default] => 0
                                                                                            [data_type] => smallint
                                                                                            [is_nullable] => 1
                                                                                            [ordinal_position] => 11
                                                                                            [display] => 3
                                                                                            [comment] => 
                                                                                            [extra] => 
                                                                                            [key] => 
                                                                                            [privileges] => select,insert,update,references
                                                                                        )

                                                                                    [editor_pick] => Array
                                                                                        (
                                                                                            [type] => int
                                                                                            [min] => -32768
                                                                                            [max] => 32767
                                                                                            [column_name] => editor_pick
                                                                                            [column_default] => 
                                                                                            [data_type] => smallint
                                                                                            [is_nullable] => 1
                                                                                            [ordinal_position] => 12
                                                                                            [display] => 3
                                                                                            [comment] => 
                                                                                            [extra] => 
                                                                                            [key] => MUL
                                                                                            [privileges] => select,insert,update,references
                                                                                        )

                                                                                    [tags] => Array
                                                                                        (
                                                                                            [type] => string
                                                                                            [column_name] => tags
                                                                                            [column_default] => 
                                                                                            [data_type] => varchar
                                                                                            [is_nullable] => 
                                                                                            [ordinal_position] => 13
                                                                                            [character_maximum_length] => 300
                                                                                            [collation_name] => utf8_general_ci
                                                                                            [comment] => 
                                                                                            [extra] => 
                                                                                            [key] => 
                                                                                            [privileges] => select,insert,update,references
                                                                                        )

                                                                                    [persons] => Array
                                                                                        (
                                                                                            [type] => string
                                                                                            [column_name] => persons
                                                                                            [column_default] => 
                                                                                            [data_type] => varchar
                                                                                            [is_nullable] => 
                                                                                            [ordinal_position] => 14
                                                                                            [character_maximum_length] => 300
                                                                                            [collation_name] => utf8_general_ci
                                                                                            [comment] => 
                                                                                            [extra] => 
                                                                                            [key] => 
                                                                                            [privileges] => select,insert,update,references
                                                                                        )

                                                                                    [views] => Array
                                                                                        (
                                                                                            [type] => int
                                                                                            [min] => -2147483648
                                                                                            [max] => 2147483647
                                                                                            [column_name] => views
                                                                                            [column_default] => 0
                                                                                            [data_type] => int
                                                                                            [is_nullable] => 1
                                                                                            [ordinal_position] => 15
                                                                                            [display] => 11
                                                                                            [comment] => 
                                                                                            [extra] => 
                                                                                            [key] => 
                                                                                            [privileges] => select,insert,update,references
                                                                                        )

                                                                                    [downloads] => Array
                                                                                        (
                                                                                            [type] => int
                                                                                            [min] => -2147483648
                                                                                            [max] => 2147483647
                                                                                            [column_name] => downloads
                                                                                            [column_default] => 0
                                                                                            [data_type] => int
                                                                                            [is_nullable] => 1
                                                                                            [ordinal_position] => 16
                                                                                            [display] => 11
                                                                                            [comment] => 
                                                                                            [extra] => 
                                                                                            [key] => 
                                                                                            [privileges] => select,insert,update,references
                                                                                        )

                                                                                    [book_code] => Array
                                                                                        (
                                                                                            [type] => string
                                                                                            [character_maximum_length] => 65535
                                                                                            [column_name] => book_code
                                                                                            [column_default] => 
                                                                                            [data_type] => text
                                                                                            [is_nullable] => 1
                                                                                            [ordinal_position] => 17
                                                                                            [collation_name] => utf8_general_ci
                                                                                            [comment] => 
                                                                                            [extra] => 
                                                                                            [key] => 
                                                                                            [privileges] => select,insert,update,references
                                                                                        )

                                                                                    [tip] => Array
                                                                                        (
                                                                                            [type] => string
                                                                                            [column_name] => tip
                                                                                            [column_default] => 
                                                                                            [data_type] => enum
                                                                                            [is_nullable] => 1
                                                                                            [ordinal_position] => 18
                                                                                            [collation_name] => utf8_general_ci
                                                                                            [options] => Array
                                                                                                (
                                                                                                    [0] => photo
                                                                                                    [1] => audio
                                                                                                    [2] => video
                                                                                                    [3] => pdf
                                                                                                )

                                                                                            [comment] => 
                                                                                            [extra] => 
                                                                                            [key] => 
                                                                                            [privileges] => select,insert,update,references
                                                                                        )

                                                                                    [author] => Array
                                                                                        (
                                                                                            [type] => string
                                                                                            [column_name] => author
                                                                                            [column_default] => 
                                                                                            [data_type] => varchar
                                                                                            [is_nullable] => 1
                                                                                            [ordinal_position] => 19
                                                                                            [character_maximum_length] => 50
                                                                                            [collation_name] => utf8_general_ci
                                                                                            [comment] => 
                                                                                            [extra] => 
                                                                                            [key] => 
                                                                                            [privileges] => select,insert,update,references
                                                                                        )

                                                                                    [owner1] => Array
                                                                                        (
                                                                                            [type] => int
                                                                                            [min] => -128
                                                                                            [max] => 127
                                                                                            [column_name] => owner1
                                                                                            [column_default] => 0
                                                                                            [data_type] => tinyint
                                                                                            [is_nullable] => 1
                                                                                            [ordinal_position] => 20
                                                                                            [display] => 3
                                                                                            [comment] => 
                                                                                            [extra] => 
                                                                                            [key] => MUL
                                                                                            [privileges] => select,insert,update,references
                                                                                        )

                                                                                    [owner2] => Array
                                                                                        (
                                                                                            [type] => int
                                                                                            [min] => -128
                                                                                            [max] => 127
                                                                                            [column_name] => owner2
                                                                                            [column_default] => 
                                                                                            [data_type] => tinyint
                                                                                            [is_nullable] => 1
                                                                                            [ordinal_position] => 21
                                                                                            [display] => 3
                                                                                            [comment] => 
                                                                                            [extra] => 
                                                                                            [key] => MUL
                                                                                            [privileges] => select,insert,update,references
                                                                                        )

                                                                                    [owner3] => Array
                                                                                        (
                                                                                            [type] => int
                                                                                            [min] => -128
                                                                                            [max] => 127
                                                                                            [column_name] => owner3
                                                                                            [column_default] => 
                                                                                            [data_type] => tinyint
                                                                                            [is_nullable] => 1
                                                                                            [ordinal_position] => 22
                                                                                            [display] => 3
                                                                                            [comment] => 
                                                                                            [extra] => 
                                                                                            [key] => MUL
                                                                                            [privileges] => select,insert,update,references
                                                                                        )

                                                                                    [owner4] => Array
                                                                                        (
                                                                                            [type] => int
                                                                                            [min] => -128
                                                                                            [max] => 127
                                                                                            [column_name] => owner4
                                                                                            [column_default] => 
                                                                                            [data_type] => tinyint
                                                                                            [is_nullable] => 1
                                                                                            [ordinal_position] => 23
                                                                                            [display] => 3
                                                                                            [comment] => 
                                                                                            [extra] => 
                                                                                            [key] => MUL
                                                                                            [privileges] => select,insert,update,references
                                                                                        )

                                                                                    [owner5] => Array
                                                                                        (
                                                                                            [type] => int
                                                                                            [min] => -128
                                                                                            [max] => 127
                                                                                            [column_name] => owner5
                                                                                            [column_default] => 
                                                                                            [data_type] => tinyint
                                                                                            [is_nullable] => 1
                                                                                            [ordinal_position] => 24
                                                                                            [display] => 3
                                                                                            [comment] => 
                                                                                            [extra] => 
                                                                                            [key] => MUL
                                                                                            [privileges] => select,insert,update,references
                                                                                        )

                                                                                    [owner6] => Array
                                                                                        (
                                                                                            [type] => int
                                                                                            [min] => -128
                                                                                            [max] => 127
                                                                                            [column_name] => owner6
                                                                                            [column_default] => 
                                                                                            [data_type] => tinyint
                                                                                            [is_nullable] => 1
                                                                                            [ordinal_position] => 25
                                                                                            [display] => 3
                                                                                            [comment] => 
                                                                                            [extra] => 
                                                                                            [key] => 
                                                                                            [privileges] => select,insert,update,references
                                                                                        )

                                                                                    [owner7] => Array
                                                                                        (
                                                                                            [type] => int
                                                                                            [min] => -128
                                                                                            [max] => 127
                                                                                            [column_name] => owner7
                                                                                            [column_default] => 
                                                                                            [data_type] => tinyint
                                                                                            [is_nullable] => 1
                                                                                            [ordinal_position] => 26
                                                                                            [display] => 3
                                                                                            [comment] => 
                                                                                            [extra] => 
                                                                                            [key] => 
                                                                                            [privileges] => select,insert,update,references
                                                                                        )

                                                                                    [owner8] => Array
                                                                                        (
                                                                                            [type] => int
                                                                                            [min] => -128
                                                                                            [max] => 127
                                                                                            [column_name] => owner8
                                                                                            [column_default] => 
                                                                                            [data_type] => tinyint
                                                                                            [is_nullable] => 1
                                                                                            [ordinal_position] => 27
                                                                                            [display] => 3
                                                                                            [comment] => 
                                                                                            [extra] => 
                                                                                            [key] => 
                                                                                            [privileges] => select,insert,update,references
                                                                                        )

                                                                                    [owner9] => Array
                                                                                        (
                                                                                            [type] => int
                                                                                            [min] => -128
                                                                                            [max] => 127
                                                                                            [column_name] => owner9
                                                                                            [column_default] => 
                                                                                            [data_type] => tinyint
                                                                                            [is_nullable] => 1
                                                                                            [ordinal_position] => 28
                                                                                            [display] => 3
                                                                                            [comment] => 
                                                                                            [extra] => 
                                                                                            [key] => 
                                                                                            [privileges] => select,insert,update,references
                                                                                        )

                                                                                    [events] => Array
                                                                                        (
                                                                                            [type] => string
                                                                                            [column_name] => events
                                                                                            [column_default] => 
                                                                                            [data_type] => varchar
                                                                                            [is_nullable] => 1
                                                                                            [ordinal_position] => 29
                                                                                            [character_maximum_length] => 255
                                                                                            [collation_name] => utf8_general_ci
                                                                                            [comment] => 
                                                                                            [extra] => 
                                                                                            [key] => 
                                                                                            [privileges] => select,insert,update,references
                                                                                        )

                                                                                    [realname] => Array
                                                                                        (
                                                                                            [type] => string
                                                                                            [column_name] => realname
                                                                                            [column_default] => 
                                                                                            [data_type] => varchar
                                                                                            [is_nullable] => 1
                                                                                            [ordinal_position] => 30
                                                                                            [character_maximum_length] => 255
                                                                                            [collation_name] => utf8_general_ci
                                                                                            [comment] => 
                                                                                            [extra] => 
                                                                                            [key] => 
                                                                                            [privileges] => select,insert,update,references
                                                                                        )

                                                                                    [puzzle] => Array
                                                                                        (
                                                                                            [type] => int
                                                                                            [min] => -128
                                                                                            [max] => 127
                                                                                            [column_name] => puzzle
                                                                                            [column_default] => 0
                                                                                            [data_type] => tinyint
                                                                                            [is_nullable] => 1
                                                                                            [ordinal_position] => 31
                                                                                            [display] => 3
                                                                                            [comment] => 
                                                                                            [extra] => 
                                                                                            [key] => MUL
                                                                                            [privileges] => select,insert,update,references
                                                                                        )

                                                                                    [puzzle1] => Array
                                                                                        (
                                                                                            [type] => int
                                                                                            [min] => -128
                                                                                            [max] => 127
                                                                                            [column_name] => puzzle1
                                                                                            [column_default] => 0
                                                                                            [data_type] => tinyint
                                                                                            [is_nullable] => 1
                                                                                            [ordinal_position] => 32
                                                                                            [display] => 3
                                                                                            [comment] => 
                                                                                            [extra] => 
                                                                                            [key] => MUL
                                                                                            [privileges] => select,insert,update,references
                                                                                        )

                                                                                    [editor_pick1] => Array
                                                                                        (
                                                                                            [type] => int
                                                                                            [min] => -128
                                                                                            [max] => 127
                                                                                            [column_name] => editor_pick1
                                                                                            [column_default] => 0
                                                                                            [data_type] => tinyint
                                                                                            [is_nullable] => 1
                                                                                            [ordinal_position] => 33
                                                                                            [display] => 3
                                                                                            [comment] => 
                                                                                            [extra] => 
                                                                                            [key] => 
                                                                                            [privileges] => select,insert,update,references
                                                                                        )

                                                                                    [editor_pick2] => Array
                                                                                        (
                                                                                            [type] => int
                                                                                            [min] => -128
                                                                                            [max] => 127
                                                                                            [column_name] => editor_pick2
                                                                                            [column_default] => 0
                                                                                            [data_type] => tinyint
                                                                                            [is_nullable] => 1
                                                                                            [ordinal_position] => 34
                                                                                            [display] => 3
                                                                                            [comment] => 
                                                                                            [extra] => 
                                                                                            [key] => MUL
                                                                                            [privileges] => select,insert,update,references
                                                                                        )

                                                                                    [editor_pick3] => Array
                                                                                        (
                                                                                            [type] => int
                                                                                            [min] => -128
                                                                                            [max] => 127
                                                                                            [column_name] => editor_pick3
                                                                                            [column_default] => 0
                                                                                            [data_type] => tinyint
                                                                                            [is_nullable] => 1
                                                                                            [ordinal_position] => 35
                                                                                            [display] => 3
                                                                                            [comment] => 
                                                                                            [extra] => 
                                                                                            [key] => MUL
                                                                                            [privileges] => select,insert,update,references
                                                                                        )

                                                                                    [ownercheck] => Array
                                                                                        (
                                                                                            [type] => string
                                                                                            [exact] => 1
                                                                                            [column_name] => ownercheck
                                                                                            [column_default] => 
                                                                                            [data_type] => char
                                                                                            [is_nullable] => 1
                                                                                            [ordinal_position] => 36
                                                                                            [character_maximum_length] => 1
                                                                                            [collation_name] => utf8_general_ci
                                                                                            [comment] => 
                                                                                            [extra] => 
                                                                                            [key] => 
                                                                                            [privileges] => select,insert,update,references
                                                                                        )

                                                                                    [sort] => Array
                                                                                        (
                                                                                            [type] => int
                                                                                            [min] => -2147483648
                                                                                            [max] => 2147483647
                                                                                            [column_name] => sort
                                                                                            [column_default] => 0
                                                                                            [data_type] => int
                                                                                            [is_nullable] => 1
                                                                                            [ordinal_position] => 37
                                                                                            [display] => 11
                                                                                            [comment] => 
                                                                                            [extra] => 
                                                                                            [key] => 
                                                                                            [privileges] => select,insert,update,references
                                                                                        )

                                                                                    [date] => Array
                                                                                        (
                                                                                            [type] => string
                                                                                            [column_name] => date
                                                                                            [column_default] => 
                                                                                            [data_type] => varchar
                                                                                            [is_nullable] => 1
                                                                                            [ordinal_position] => 38
                                                                                            [character_maximum_length] => 30
                                                                                            [collation_name] => utf8_general_ci
                                                                                            [comment] => 
                                                                                            [extra] => 
                                                                                            [key] => 
                                                                                            [privileges] => select,insert,update,references
                                                                                        )

                                                                                    [upload_date] => Array
                                                                                        (
                                                                                            [type] => string
                                                                                            [column_name] => upload_date
                                                                                            [column_default] => CURRENT_TIMESTAMP
                                                                                            [data_type] => timestamp
                                                                                            [is_nullable] => 
                                                                                            [ordinal_position] => 39
                                                                                            [comment] => 
                                                                                            [extra] => 
                                                                                            [key] => 
                                                                                            [privileges] => select,insert,update,references
                                                                                        )

                                                                                    [hide] => Array
                                                                                        (
                                                                                            [type] => int
                                                                                            [min] => -128
                                                                                            [max] => 127
                                                                                            [column_name] => hide
                                                                                            [column_default] => 0
                                                                                            [data_type] => tinyint
                                                                                            [is_nullable] => 
                                                                                            [ordinal_position] => 40
                                                                                            [display] => 1
                                                                                            [comment] => 
                                                                                            [extra] => 
                                                                                            [key] => 
                                                                                            [privileges] => select,insert,update,references
                                                                                        )

                                                                                    [cover] => Array
                                                                                        (
                                                                                            [type] => int
                                                                                            [min] => -128
                                                                                            [max] => 127
                                                                                            [column_name] => cover
                                                                                            [column_default] => 
                                                                                            [data_type] => tinyint
                                                                                            [is_nullable] => 
                                                                                            [ordinal_position] => 41
                                                                                            [display] => 1
                                                                                            [comment] => 
                                                                                            [extra] => 
                                                                                            [key] => 
                                                                                            [privileges] => select,insert,update,references
                                                                                        )

                                                                                )

                                                                            [_updated_column:protected] => 
                                                                            [_created_column:protected] => 
                                                                            [_serialize_columns:protected] => Array
                                                                                (
                                                                                )

                                                                            [_primary_key:protected] => id
                                                                            [_primary_key_value:protected] => 16728
                                                                            [_table_names_plural:protected] => 1
                                                                            [_reload_on_wakeup:protected] => 1
                                                                            [_db:protected] => Database_MySQL Object
                                                                                (
                                                                                    [_connection_id:protected] => 0feebe02deaa29695437b76a2fc0d27ff295edcc
                                                                                    [_identifier:protected] => `
                                                                                    [last_query] => SELECT `file`.* FROM `files` AS `file` WHERE `file`.`model_id` = '16728' AND `model_fieldname` = 'fileai' AND `model_name` = 'userfile' AND `model_id` = '16728'
                                                                                    [_instance:protected] => default
                                                                                    [_connection:protected] => Resource id #2
                                                                                    [_config:protected] => Array
                                                                                        (
                                                                                            [type] => mysql
                                                                                            [connection] => Array
                                                                                                (
                                                                                                    [hostname] => localhost
                                                                                                    [database] => photobank
                                                                                                    [persistent] => 
                                                                                                    [variables] => Array
                                                                                                        (
                                                                                                            [time_zone] => +03:00
                                                                                                        )

                                                                                                )

                                                                                            [table_prefix] => 
                                                                                            [charset] => utf8
                                                                                            [caching] => 
                                                                                            [profiling] => 1
                                                                                        )

                                                                                )

                                                                            [_db_group:protected] => 
                                                                            [_db_applied:protected] => Array
                                                                                (
                                                                                )

                                                                            [_db_pending:protected] => Array
                                                                                (
                                                                                )

                                                                            [_db_reset:protected] => 1
                                                                            [_db_builder:protected] => 
                                                                            [_with_applied:protected] => Array
                                                                                (
                                                                                )

                                                                            [_cast_data:protected] => Array
                                                                                (
                                                                                )

                                                                            [_errors_filename:protected] => userfile
                                                                        )

                                                                    [persons] => Database_MySQL_Result Object
                                                                        (
                                                                            [_internal_row:protected] => 46
                                                                            [_query:protected] => SELECT `tag`.* FROM `tags` AS `tag` WHERE `on_off` = 1 AND `type` = 3 AND `sort` < 100 ORDER BY `sort` ASC
                                                                            [_result:protected] => Resource id #21
                                                                            [_total_rows:protected] => 46
                                                                            [_current_row:protected] => 46
                                                                            [_as_object:protected] => Model_Tag
                                                                            [_object_params:protected] => 
                                                                        )

                                                                    [owner] => 0
                                                                    [event] => 0
                                                                    [person] => 0
                                                                    [events] => Database_MySQL_Result Object
                                                                        (
                                                                            [_internal_row:protected] => 19
                                                                            [_query:protected] => SELECT `tag`.* FROM `tags` AS `tag` WHERE `on_off` = 1 AND `type` = 4 AND `sort` < 100 ORDER BY `sort` ASC
                                                                            [_result:protected] => Resource id #22
                                                                            [_total_rows:protected] => 19
                                                                            [_current_row:protected] => 19
                                                                            [_as_object:protected] => Model_Tag
                                                                            [_object_params:protected] => 
                                                                        )

                                                                    [data] => Array
                                                                        (
                                                                            [content_type] => photo
                                                                            [event] => 0
                                                                            [events] => Database_MySQL_Result Object
                                                                                (
                                                                                    [_internal_row:protected] => 19
                                                                                    [_query:protected] => SELECT `tag`.* FROM `tags` AS `tag` WHERE `on_off` = 1 AND `type` = 4 AND `sort` < 100 ORDER BY `sort` ASC
                                                                                    [_result:protected] => Resource id #22
                                                                                    [_total_rows:protected] => 19
                                                                                    [_current_row:protected] => 19
                                                                                    [_as_object:protected] => Model_Tag
                                                                                    [_object_params:protected] => 
                                                                                )

                                                                            [person] => 0
                                                                            [persons] => Database_MySQL_Result Object
                                                                                (
                                                                                    [_internal_row:protected] => 46
                                                                                    [_query:protected] => SELECT `tag`.* FROM `tags` AS `tag` WHERE `on_off` = 1 AND `type` = 3 AND `sort` < 100 ORDER BY `sort` ASC
                                                                                    [_result:protected] => Resource id #21
                                                                                    [_total_rows:protected] => 46
                                                                                    [_current_row:protected] => 46
                                                                                    [_as_object:protected] => Model_Tag
                                                                                    [_object_params:protected] => 
                                                                                )

                                                                            [owner] => 0
                                                                        )

                                                                    [total] => 559
                                                                    [photos] => Database_MySQL_Result Object
                                                                        (
                                                                            [_internal_row:protected] => 5
                                                                            [_query:protected] => SELECT DISTINCT `userfile`.* FROM `userfiles` AS `userfile` JOIN `usersfiles_tags` ON (`userfile_id` = `id`) WHERE `tip` = 'photo' AND `tag_id` IN (-1, -2, '4188') AND `id` <> 16728 AND `hide` = 0 ORDER BY `sort` DESC LIMIT 5 OFFSET 0
                                                                            [_result:protected] => Resource id #27
                                                                            [_total_rows:protected] => 5
                                                                            [_current_row:protected] => 5
                                                                            [_as_object:protected] => Model_Userfile
                                                                            [_object_params:protected] => 
                                                                        )

                                                                    [photos2] => Database_MySQL_Result Object
                                                                        (
                                                                            [_internal_row:protected] => 0
                                                                            [_query:protected] => SELECT DISTINCT `userfile`.* FROM `userfiles` AS `userfile` WHERE `tip` = 'photo' AND `id` IN (-1, -2, '52221', '52221', '52220', '52220', '52219', '52219', '52218', '52218', '52217', '52217', '52216', '52216', '52215', '52215', '52214', '52214', '52213', '52213', '52212', '52212', '52211', '52211', '52210', '52210', '52209', '52209', '52208', '52208', '52207', '52207', '52206', '52206', '52205', '52205', '52204', '52204', '52203', '52203', '52202', '52202', '52201', '52201', '52200', '52200', '52199', '52199', '52198', '52198', '52197', '52197') AND `id` <> 16728 AND `hide` = 0 AND `id` NOT IN (0, '17162', '17161', '17160', '17159', '17158') ORDER BY IF(16728>id,16728-id,id-16728) ASC LIMIT 5
                                                                            [_result:protected] => Resource id #28
                                                                            [_total_rows:protected] => 5
                                                                            [_current_row:protected] => 0
                                                                            [_as_object:protected] => Model_Userfile
                                                                            [_object_params:protected] => 
                                                                        )

                                                                    [pagination] => Pagination Object
                                                                        (
                                                                            [config:protected] => Array
                                                                                (
                                                                                    [total_items] => 559
                                                                                    [items_per_page] => 15
                                                                                    [current_page] => Array
                                                                                        (
                                                                                            [type] => photo
                                                                                            [source] => route
                                                                                            [key] => page
                                                                                            [owner] => 0
                                                                                            [event] => 0
                                                                                            [person] => 0
                                                                                        )

                                                                                    [view] => front/pagination/floating
                                                                                    [auto_hide] => 1
                                                                                    [first_page_in_url] => 
                                                                                    [count_out] => 2
                                                                                    [count_in] => 2
                                                                                )

                                                                            [current_page:protected] => 1
                                                                            [total_items:protected] => 559
                                                                            [items_per_page:protected] => 15
                                                                            [total_pages:protected] => 38
                                                                            [current_first_item:protected] => 1
                                                                            [current_last_item:protected] => 15
                                                                            [previous_page:protected] => 
                                                                            [next_page:protected] => 2
                                                                            [first_page:protected] => 
                                                                            [last_page:protected] => 38
                                                                            [offset:protected] => 0
                                                                            [_request:protected] => Request Object
                                                                                (
                                                                                    [_requested_with:protected] => 
                                                                                    [_method:protected] => GET
                                                                                    [_protocol:protected] => HTTP/1.1
                                                                                    [_secure:protected] => 1
                                                                                    [_referrer:protected] => 
                                                                                    [_route:protected] => Route Object
                                                                                        (
                                                                                            [_callback:protected] => 
                                                                                            [_uri:protected] => file/
                                                                                            [_regex:protected] => Array
                                                                                                (
                                                                                                )

                                                                                            [_defaults:protected] => Array
                                                                                                (
                                                                                                    [directory] => front
                                                                                                    [action] => file
                                                                                                    [controller] => index
                                                                                                    [page] => 1
                                                                                                )

                                                                                            [_route_regex:protected] => #^file/(?P[^/.,;?\n]++)$#uD
                                                                                        )

                                                                                    [_routes:protected] => 
                                                                                    [_response:protected] => Response Object
                                                                                        (
                                                                                            [_status:protected] => 200
                                                                                            [_header:protected] => HTTP_Header Object
                                                                                                (
                                                                                                    [_accept_content:protected] => 
                                                                                                    [_accept_charset:protected] => 
                                                                                                    [_accept_encoding:protected] => 
                                                                                                    [_accept_language:protected] => 
                                                                                                    [storage:ArrayObject:private] => Array
                                                                                                        (
                                                                                                        )

                                                                                                )

                                                                                            [_body:protected] => 
                                                                                            [_cookies:protected] => Array
                                                                                                (
                                                                                                )

                                                                                            [_protocol:protected] => HTTP/1.1
                                                                                        )

                                                                                    [_header:protected] => HTTP_Header Object
                                                                                        (
                                                                                            [_accept_content:protected] => 
                                                                                            [_accept_charset:protected] => 
                                                                                            [_accept_encoding:protected] => 
                                                                                            [_accept_language:protected] => 
                                                                                            [storage:ArrayObject:private] => Array
                                                                                                (
                                                                                                )

                                                                                        )

                                                                                    [_body:protected] => 
                                                                                    [_directory:protected] => front
                                                                                    [_controller:protected] => index
                                                                                    [_action:protected] => file
                                                                                    [_uri:protected] => file/16728
                                                                                    [_external:protected] => 
                                                                                    [_params:protected] => Array
                                                                                        (
                                                                                            [id] => 16728
                                                                                            [page] => 1
                                                                                        )

                                                                                    [_get:protected] => Array
                                                                                        (
                                                                                        )

                                                                                    [_post:protected] => Array
                                                                                        (
                                                                                        )

                                                                                    [_cookies:protected] => Array
                                                                                        (
                                                                                        )

                                                                                    [_client:protected] => Request_Client_Internal Object
                                                                                        (
                                                                                            [_previous_environment:protected] => 
                                                                                            [_cache:protected] => 
                                                                                        )

                                                                                    [_injected_routes] => Array
                                                                                        (
                                                                                        )

                                                                                )

                                                                            [_route:protected] => Route Object
                                                                                (
                                                                                    [_callback:protected] => 
                                                                                    [_uri:protected] => file/
                                                                                    [_regex:protected] => Array
                                                                                        (
                                                                                        )

                                                                                    [_defaults:protected] => Array
                                                                                        (
                                                                                            [directory] => front
                                                                                            [action] => file
                                                                                            [controller] => index
                                                                                            [page] => 1
                                                                                        )

                                                                                    [_route_regex:protected] => #^file/(?P[^/.,;?\n]++)$#uD
                                                                                )

                                                                            [_route_params:protected] => Array
                                                                                (
                                                                                    [controller] => index
                                                                                    [action] => photo
                                                                                    [type] => photo
                                                                                )

                                                                        )

                                                                    [message] => 
                                                                    [errors] => Array
                                                                        (
                                                                        )

                                                                )

                                                            [file] => Model_Userfile Object
                                                                (
                                                                    [_table_name:protected] => userfiles
                                                                    [_belongs_to:protected] => Array
                                                                        (
                                                                            [event] => Array
                                                                                (
                                                                                    [model] => event
                                                                                    [foreign_key] => event_id
                                                                                )

                                                                        )

                                                                    [_has_many:protected] => Array
                                                                        (
                                                                            [images] => Array
                                                                                (
                                                                                    [model] => image
                                                                                    [foreign_key] => model_id
                                                                                    [through] => 
                                                                                    [far_key] => image_id
                                                                                )

                                                                            [files] => Array
                                                                                (
                                                                                    [model] => file
                                                                                    [foreign_key] => model_id
                                                                                    [through] => 
                                                                                    [far_key] => file_id
                                                                                )

                                                                            [tag_list] => Array
                                                                                (
                                                                                    [model] => tag
                                                                                    [foreign_key] => userfile_id
                                                                                    [through] => usersfiles_tags
                                                                                    [far_key] => tag_id
                                                                                )

                                                                        )

                                                                    [MAX_LEVEL_TO_CASCADE_UPDATE] => 2
                                                                    [_cache_mode:protected] => 0
                                                                    [_images_sort:protected] => 
                                                                    [_has_one:protected] => Array
                                                                        (
                                                                        )

                                                                    [_load_with:protected] => Array
                                                                        (
                                                                        )

                                                                    [_validation:protected] => 
                                                                    [_object:protected] => Array
                                                                        (
                                                                            [id] => 16728
                                                                            [name] => 15522133754645.jpg
                                                                            [size] => 11770136
                                                                            [type] => image/jpeg
                                                                            [url] => 
                                                                            [title] => Праздник Масленицы в Покровском-Стрешневе на территории Обители святой Елисаветы
                                                                            [description] => 
                                                                            [owner] => 
                                                                            [eventdate] => 2019-03-09
                                                                            [event_id] => 1552213255
                                                                            [on_off] => 1
                                                                            [editor_pick] => 
                                                                            [tags] => масленица, праздник, Покровское-Стрешнево
                                                                            [persons] => 
                                                                            [views] => 661
                                                                            [downloads] => 0
                                                                            [book_code] => 
                                                                            [tip] => photo
                                                                            [author] => Александр Омельянчук
                                                                            [owner1] => 0
                                                                            [owner2] => 0
                                                                            [owner3] => 1
                                                                            [owner4] => 1
                                                                            [owner5] => 0
                                                                            [owner6] => 
                                                                            [owner7] => 
                                                                            [owner8] => 
                                                                            [owner9] => 
                                                                            [events] => Масленица в Покровском-Стрешневе - 9 марта 2019
                                                                            [realname] => A79I3067.jpg
                                                                            [puzzle] => 0
                                                                            [puzzle1] => 0
                                                                            [editor_pick1] => 0
                                                                            [editor_pick2] => 0
                                                                            [editor_pick3] => 0
                                                                            [ownercheck] => 
                                                                            [sort] => 16728
                                                                            [date] => 
                                                                            [upload_date] => 2019-03-10 13:22:57
                                                                            [hide] => 0
                                                                            [cover] => 0
                                                                        )

                                                                    [_changed:protected] => Array
                                                                        (
                                                                        )

                                                                    [_original_values:protected] => Array
                                                                        (
                                                                            [id] => 16728
                                                                            [name] => 15522133754645.jpg
                                                                            [size] => 11770136
                                                                            [type] => image/jpeg
                                                                            [url] => 
                                                                            [title] => Праздник Масленицы в Покровском-Стрешневе на территории Обители святой Елисаветы
                                                                            [description] => 
                                                                            [owner] => 
                                                                            [eventdate] => 2019-03-09
                                                                            [event_id] => 1552213255
                                                                            [on_off] => 1
                                                                            [editor_pick] => 
                                                                            [tags] => масленица, праздник, Покровское-Стрешнево
                                                                            [persons] => 
                                                                            [views] => 661
                                                                            [downloads] => 0
                                                                            [book_code] => 
                                                                            [tip] => photo
                                                                            [author] => Александр Омельянчук
                                                                            [owner1] => 0
                                                                            [owner2] => 0
                                                                            [owner3] => 1
                                                                            [owner4] => 1
                                                                            [owner5] => 0
                                                                            [owner6] => 
                                                                            [owner7] => 
                                                                            [owner8] => 
                                                                            [owner9] => 
                                                                            [events] => Масленица в Покровском-Стрешневе - 9 марта 2019
                                                                            [realname] => A79I3067.jpg
                                                                            [puzzle] => 0
                                                                            [puzzle1] => 0
                                                                            [editor_pick1] => 0
                                                                            [editor_pick2] => 0
                                                                            [editor_pick3] => 0
                                                                            [ownercheck] => 
                                                                            [sort] => 16728
                                                                            [date] => 
                                                                            [upload_date] => 2019-03-10 13:22:57
                                                                            [hide] => 0
                                                                            [cover] => 0
                                                                        )

                                                                    [_related:protected] => Array
                                                                        (
                                                                        )

                                                                    [_valid:protected] => 1
                                                                    [_loaded:protected] => 1
                                                                    [_saved:protected] => 
                                                                    [_sorting:protected] => 
                                                                    [_foreign_key_suffix:protected] => _id
                                                                    [_object_name:protected] => userfile
                                                                    [_object_plural:protected] => userfiles
                                                                    [_table_columns:protected] => Array
                                                                        (
                                                                            [id] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => 0
                                                                                    [max] => 4294967295
                                                                                    [column_name] => id
                                                                                    [column_default] => 
                                                                                    [data_type] => int unsigned
                                                                                    [is_nullable] => 
                                                                                    [ordinal_position] => 1
                                                                                    [display] => 11
                                                                                    [comment] => 
                                                                                    [extra] => auto_increment
                                                                                    [key] => PRI
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [name] => Array
                                                                                (
                                                                                    [type] => string
                                                                                    [column_name] => name
                                                                                    [column_default] => 
                                                                                    [data_type] => varchar
                                                                                    [is_nullable] => 
                                                                                    [ordinal_position] => 2
                                                                                    [character_maximum_length] => 255
                                                                                    [collation_name] => utf8_general_ci
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [size] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => -2147483648
                                                                                    [max] => 2147483647
                                                                                    [column_name] => size
                                                                                    [column_default] => 
                                                                                    [data_type] => int
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 3
                                                                                    [display] => 11
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [type] => Array
                                                                                (
                                                                                    [type] => string
                                                                                    [column_name] => type
                                                                                    [column_default] => 
                                                                                    [data_type] => varchar
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 4
                                                                                    [character_maximum_length] => 255
                                                                                    [collation_name] => utf8_general_ci
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [url] => Array
                                                                                (
                                                                                    [type] => string
                                                                                    [column_name] => url
                                                                                    [column_default] => 
                                                                                    [data_type] => varchar
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 5
                                                                                    [character_maximum_length] => 255
                                                                                    [collation_name] => utf8_general_ci
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [title] => Array
                                                                                (
                                                                                    [type] => string
                                                                                    [column_name] => title
                                                                                    [column_default] => 
                                                                                    [data_type] => varchar
                                                                                    [is_nullable] => 
                                                                                    [ordinal_position] => 6
                                                                                    [character_maximum_length] => 255
                                                                                    [collation_name] => utf8_general_ci
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [description] => Array
                                                                                (
                                                                                    [type] => string
                                                                                    [character_maximum_length] => 65535
                                                                                    [column_name] => description
                                                                                    [column_default] => 
                                                                                    [data_type] => text
                                                                                    [is_nullable] => 
                                                                                    [ordinal_position] => 7
                                                                                    [collation_name] => utf8_general_ci
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [owner] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => -2147483648
                                                                                    [max] => 2147483647
                                                                                    [column_name] => owner
                                                                                    [column_default] => 
                                                                                    [data_type] => int
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 8
                                                                                    [display] => 11
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => MUL
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [eventdate] => Array
                                                                                (
                                                                                    [type] => string
                                                                                    [column_name] => eventdate
                                                                                    [column_default] => 
                                                                                    [data_type] => date
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 9
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [event_id] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => -2147483648
                                                                                    [max] => 2147483647
                                                                                    [column_name] => event_id
                                                                                    [column_default] => 
                                                                                    [data_type] => int
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 10
                                                                                    [display] => 11
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => MUL
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [on_off] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => -32768
                                                                                    [max] => 32767
                                                                                    [column_name] => on_off
                                                                                    [column_default] => 0
                                                                                    [data_type] => smallint
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 11
                                                                                    [display] => 3
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [editor_pick] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => -32768
                                                                                    [max] => 32767
                                                                                    [column_name] => editor_pick
                                                                                    [column_default] => 
                                                                                    [data_type] => smallint
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 12
                                                                                    [display] => 3
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => MUL
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [tags] => Array
                                                                                (
                                                                                    [type] => string
                                                                                    [column_name] => tags
                                                                                    [column_default] => 
                                                                                    [data_type] => varchar
                                                                                    [is_nullable] => 
                                                                                    [ordinal_position] => 13
                                                                                    [character_maximum_length] => 300
                                                                                    [collation_name] => utf8_general_ci
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [persons] => Array
                                                                                (
                                                                                    [type] => string
                                                                                    [column_name] => persons
                                                                                    [column_default] => 
                                                                                    [data_type] => varchar
                                                                                    [is_nullable] => 
                                                                                    [ordinal_position] => 14
                                                                                    [character_maximum_length] => 300
                                                                                    [collation_name] => utf8_general_ci
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [views] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => -2147483648
                                                                                    [max] => 2147483647
                                                                                    [column_name] => views
                                                                                    [column_default] => 0
                                                                                    [data_type] => int
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 15
                                                                                    [display] => 11
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [downloads] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => -2147483648
                                                                                    [max] => 2147483647
                                                                                    [column_name] => downloads
                                                                                    [column_default] => 0
                                                                                    [data_type] => int
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 16
                                                                                    [display] => 11
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [book_code] => Array
                                                                                (
                                                                                    [type] => string
                                                                                    [character_maximum_length] => 65535
                                                                                    [column_name] => book_code
                                                                                    [column_default] => 
                                                                                    [data_type] => text
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 17
                                                                                    [collation_name] => utf8_general_ci
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [tip] => Array
                                                                                (
                                                                                    [type] => string
                                                                                    [column_name] => tip
                                                                                    [column_default] => 
                                                                                    [data_type] => enum
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 18
                                                                                    [collation_name] => utf8_general_ci
                                                                                    [options] => Array
                                                                                        (
                                                                                            [0] => photo
                                                                                            [1] => audio
                                                                                            [2] => video
                                                                                            [3] => pdf
                                                                                        )

                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [author] => Array
                                                                                (
                                                                                    [type] => string
                                                                                    [column_name] => author
                                                                                    [column_default] => 
                                                                                    [data_type] => varchar
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 19
                                                                                    [character_maximum_length] => 50
                                                                                    [collation_name] => utf8_general_ci
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [owner1] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => -128
                                                                                    [max] => 127
                                                                                    [column_name] => owner1
                                                                                    [column_default] => 0
                                                                                    [data_type] => tinyint
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 20
                                                                                    [display] => 3
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => MUL
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [owner2] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => -128
                                                                                    [max] => 127
                                                                                    [column_name] => owner2
                                                                                    [column_default] => 
                                                                                    [data_type] => tinyint
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 21
                                                                                    [display] => 3
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => MUL
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [owner3] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => -128
                                                                                    [max] => 127
                                                                                    [column_name] => owner3
                                                                                    [column_default] => 
                                                                                    [data_type] => tinyint
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 22
                                                                                    [display] => 3
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => MUL
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [owner4] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => -128
                                                                                    [max] => 127
                                                                                    [column_name] => owner4
                                                                                    [column_default] => 
                                                                                    [data_type] => tinyint
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 23
                                                                                    [display] => 3
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => MUL
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [owner5] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => -128
                                                                                    [max] => 127
                                                                                    [column_name] => owner5
                                                                                    [column_default] => 
                                                                                    [data_type] => tinyint
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 24
                                                                                    [display] => 3
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => MUL
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [owner6] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => -128
                                                                                    [max] => 127
                                                                                    [column_name] => owner6
                                                                                    [column_default] => 
                                                                                    [data_type] => tinyint
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 25
                                                                                    [display] => 3
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [owner7] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => -128
                                                                                    [max] => 127
                                                                                    [column_name] => owner7
                                                                                    [column_default] => 
                                                                                    [data_type] => tinyint
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 26
                                                                                    [display] => 3
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [owner8] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => -128
                                                                                    [max] => 127
                                                                                    [column_name] => owner8
                                                                                    [column_default] => 
                                                                                    [data_type] => tinyint
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 27
                                                                                    [display] => 3
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [owner9] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => -128
                                                                                    [max] => 127
                                                                                    [column_name] => owner9
                                                                                    [column_default] => 
                                                                                    [data_type] => tinyint
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 28
                                                                                    [display] => 3
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [events] => Array
                                                                                (
                                                                                    [type] => string
                                                                                    [column_name] => events
                                                                                    [column_default] => 
                                                                                    [data_type] => varchar
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 29
                                                                                    [character_maximum_length] => 255
                                                                                    [collation_name] => utf8_general_ci
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [realname] => Array
                                                                                (
                                                                                    [type] => string
                                                                                    [column_name] => realname
                                                                                    [column_default] => 
                                                                                    [data_type] => varchar
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 30
                                                                                    [character_maximum_length] => 255
                                                                                    [collation_name] => utf8_general_ci
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [puzzle] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => -128
                                                                                    [max] => 127
                                                                                    [column_name] => puzzle
                                                                                    [column_default] => 0
                                                                                    [data_type] => tinyint
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 31
                                                                                    [display] => 3
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => MUL
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [puzzle1] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => -128
                                                                                    [max] => 127
                                                                                    [column_name] => puzzle1
                                                                                    [column_default] => 0
                                                                                    [data_type] => tinyint
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 32
                                                                                    [display] => 3
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => MUL
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [editor_pick1] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => -128
                                                                                    [max] => 127
                                                                                    [column_name] => editor_pick1
                                                                                    [column_default] => 0
                                                                                    [data_type] => tinyint
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 33
                                                                                    [display] => 3
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [editor_pick2] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => -128
                                                                                    [max] => 127
                                                                                    [column_name] => editor_pick2
                                                                                    [column_default] => 0
                                                                                    [data_type] => tinyint
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 34
                                                                                    [display] => 3
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => MUL
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [editor_pick3] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => -128
                                                                                    [max] => 127
                                                                                    [column_name] => editor_pick3
                                                                                    [column_default] => 0
                                                                                    [data_type] => tinyint
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 35
                                                                                    [display] => 3
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => MUL
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [ownercheck] => Array
                                                                                (
                                                                                    [type] => string
                                                                                    [exact] => 1
                                                                                    [column_name] => ownercheck
                                                                                    [column_default] => 
                                                                                    [data_type] => char
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 36
                                                                                    [character_maximum_length] => 1
                                                                                    [collation_name] => utf8_general_ci
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [sort] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => -2147483648
                                                                                    [max] => 2147483647
                                                                                    [column_name] => sort
                                                                                    [column_default] => 0
                                                                                    [data_type] => int
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 37
                                                                                    [display] => 11
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [date] => Array
                                                                                (
                                                                                    [type] => string
                                                                                    [column_name] => date
                                                                                    [column_default] => 
                                                                                    [data_type] => varchar
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 38
                                                                                    [character_maximum_length] => 30
                                                                                    [collation_name] => utf8_general_ci
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [upload_date] => Array
                                                                                (
                                                                                    [type] => string
                                                                                    [column_name] => upload_date
                                                                                    [column_default] => CURRENT_TIMESTAMP
                                                                                    [data_type] => timestamp
                                                                                    [is_nullable] => 
                                                                                    [ordinal_position] => 39
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [hide] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => -128
                                                                                    [max] => 127
                                                                                    [column_name] => hide
                                                                                    [column_default] => 0
                                                                                    [data_type] => tinyint
                                                                                    [is_nullable] => 
                                                                                    [ordinal_position] => 40
                                                                                    [display] => 1
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [cover] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => -128
                                                                                    [max] => 127
                                                                                    [column_name] => cover
                                                                                    [column_default] => 
                                                                                    [data_type] => tinyint
                                                                                    [is_nullable] => 
                                                                                    [ordinal_position] => 41
                                                                                    [display] => 1
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                        )

                                                                    [_updated_column:protected] => 
                                                                    [_created_column:protected] => 
                                                                    [_serialize_columns:protected] => Array
                                                                        (
                                                                        )

                                                                    [_primary_key:protected] => id
                                                                    [_primary_key_value:protected] => 16728
                                                                    [_table_names_plural:protected] => 1
                                                                    [_reload_on_wakeup:protected] => 1
                                                                    [_db:protected] => Database_MySQL Object
                                                                        (
                                                                            [_connection_id:protected] => 0feebe02deaa29695437b76a2fc0d27ff295edcc
                                                                            [_identifier:protected] => `
                                                                            [last_query] => SELECT `file`.* FROM `files` AS `file` WHERE `file`.`model_id` = '16728' AND `model_fieldname` = 'fileai' AND `model_name` = 'userfile' AND `model_id` = '16728'
                                                                            [_instance:protected] => default
                                                                            [_connection:protected] => Resource id #2
                                                                            [_config:protected] => Array
                                                                                (
                                                                                    [type] => mysql
                                                                                    [connection] => Array
                                                                                        (
                                                                                            [hostname] => localhost
                                                                                            [database] => photobank
                                                                                            [persistent] => 
                                                                                            [variables] => Array
                                                                                                (
                                                                                                    [time_zone] => +03:00
                                                                                                )

                                                                                        )

                                                                                    [table_prefix] => 
                                                                                    [charset] => utf8
                                                                                    [caching] => 
                                                                                    [profiling] => 1
                                                                                )

                                                                        )

                                                                    [_db_group:protected] => 
                                                                    [_db_applied:protected] => Array
                                                                        (
                                                                        )

                                                                    [_db_pending:protected] => Array
                                                                        (
                                                                        )

                                                                    [_db_reset:protected] => 1
                                                                    [_db_builder:protected] => 
                                                                    [_with_applied:protected] => Array
                                                                        (
                                                                        )

                                                                    [_cast_data:protected] => Array
                                                                        (
                                                                        )

                                                                    [_errors_filename:protected] => userfile
                                                                )

                                                            [persons] => Database_MySQL_Result Object
                                                                (
                                                                    [_internal_row:protected] => 46
                                                                    [_query:protected] => SELECT `tag`.* FROM `tags` AS `tag` WHERE `on_off` = 1 AND `type` = 3 AND `sort` < 100 ORDER BY `sort` ASC
                                                                    [_result:protected] => Resource id #21
                                                                    [_total_rows:protected] => 46
                                                                    [_current_row:protected] => 46
                                                                    [_as_object:protected] => Model_Tag
                                                                    [_object_params:protected] => 
                                                                )

                                                            [owner] => 0
                                                            [event] => 
                                                            [person] => 0
                                                            [events] => Database_MySQL_Result Object
                                                                (
                                                                    [_internal_row:protected] => 19
                                                                    [_query:protected] => SELECT `tag`.* FROM `tags` AS `tag` WHERE `on_off` = 1 AND `type` = 4 AND `sort` < 100 ORDER BY `sort` ASC
                                                                    [_result:protected] => Resource id #22
                                                                    [_total_rows:protected] => 19
                                                                    [_current_row:protected] => 19
                                                                    [_as_object:protected] => Model_Tag
                                                                    [_object_params:protected] => 
                                                                )

                                                            [data] => Array
                                                                (
                                                                    [content_type] => photo
                                                                    [event] => 0
                                                                    [events] => Database_MySQL_Result Object
                                                                        (
                                                                            [_internal_row:protected] => 19
                                                                            [_query:protected] => SELECT `tag`.* FROM `tags` AS `tag` WHERE `on_off` = 1 AND `type` = 4 AND `sort` < 100 ORDER BY `sort` ASC
                                                                            [_result:protected] => Resource id #22
                                                                            [_total_rows:protected] => 19
                                                                            [_current_row:protected] => 19
                                                                            [_as_object:protected] => Model_Tag
                                                                            [_object_params:protected] => 
                                                                        )

                                                                    [person] => 0
                                                                    [persons] => Database_MySQL_Result Object
                                                                        (
                                                                            [_internal_row:protected] => 46
                                                                            [_query:protected] => SELECT `tag`.* FROM `tags` AS `tag` WHERE `on_off` = 1 AND `type` = 3 AND `sort` < 100 ORDER BY `sort` ASC
                                                                            [_result:protected] => Resource id #21
                                                                            [_total_rows:protected] => 46
                                                                            [_current_row:protected] => 46
                                                                            [_as_object:protected] => Model_Tag
                                                                            [_object_params:protected] => 
                                                                        )

                                                                    [owner] => 0
                                                                )

                                                            [total] => 559
                                                            [photos] => Database_MySQL_Result Object
                                                                (
                                                                    [_internal_row:protected] => 5
                                                                    [_query:protected] => SELECT DISTINCT `userfile`.* FROM `userfiles` AS `userfile` JOIN `usersfiles_tags` ON (`userfile_id` = `id`) WHERE `tip` = 'photo' AND `tag_id` IN (-1, -2, '4188') AND `id` <> 16728 AND `hide` = 0 ORDER BY `sort` DESC LIMIT 5 OFFSET 0
                                                                    [_result:protected] => Resource id #27
                                                                    [_total_rows:protected] => 5
                                                                    [_current_row:protected] => 5
                                                                    [_as_object:protected] => Model_Userfile
                                                                    [_object_params:protected] => 
                                                                )

                                                            [photos2] => Database_MySQL_Result Object
                                                                (
                                                                    [_internal_row:protected] => 0
                                                                    [_query:protected] => SELECT DISTINCT `userfile`.* FROM `userfiles` AS `userfile` WHERE `tip` = 'photo' AND `id` IN (-1, -2, '52221', '52221', '52220', '52220', '52219', '52219', '52218', '52218', '52217', '52217', '52216', '52216', '52215', '52215', '52214', '52214', '52213', '52213', '52212', '52212', '52211', '52211', '52210', '52210', '52209', '52209', '52208', '52208', '52207', '52207', '52206', '52206', '52205', '52205', '52204', '52204', '52203', '52203', '52202', '52202', '52201', '52201', '52200', '52200', '52199', '52199', '52198', '52198', '52197', '52197') AND `id` <> 16728 AND `hide` = 0 AND `id` NOT IN (0, '17162', '17161', '17160', '17159', '17158') ORDER BY IF(16728>id,16728-id,id-16728) ASC LIMIT 5
                                                                    [_result:protected] => Resource id #28
                                                                    [_total_rows:protected] => 5
                                                                    [_current_row:protected] => 0
                                                                    [_as_object:protected] => Model_Userfile
                                                                    [_object_params:protected] => 
                                                                )

                                                            [pagination] => Pagination Object
                                                                (
                                                                    [config:protected] => Array
                                                                        (
                                                                            [total_items] => 559
                                                                            [items_per_page] => 15
                                                                            [current_page] => Array
                                                                                (
                                                                                    [type] => photo
                                                                                    [source] => route
                                                                                    [key] => page
                                                                                    [owner] => 0
                                                                                    [event] => 0
                                                                                    [person] => 0
                                                                                )

                                                                            [view] => front/pagination/floating
                                                                            [auto_hide] => 1
                                                                            [first_page_in_url] => 
                                                                            [count_out] => 2
                                                                            [count_in] => 2
                                                                        )

                                                                    [current_page:protected] => 1
                                                                    [total_items:protected] => 559
                                                                    [items_per_page:protected] => 15
                                                                    [total_pages:protected] => 38
                                                                    [current_first_item:protected] => 1
                                                                    [current_last_item:protected] => 15
                                                                    [previous_page:protected] => 
                                                                    [next_page:protected] => 2
                                                                    [first_page:protected] => 
                                                                    [last_page:protected] => 38
                                                                    [offset:protected] => 0
                                                                    [_request:protected] => Request Object
                                                                        (
                                                                            [_requested_with:protected] => 
                                                                            [_method:protected] => GET
                                                                            [_protocol:protected] => HTTP/1.1
                                                                            [_secure:protected] => 1
                                                                            [_referrer:protected] => 
                                                                            [_route:protected] => Route Object
                                                                                (
                                                                                    [_callback:protected] => 
                                                                                    [_uri:protected] => file/
                                                                                    [_regex:protected] => Array
                                                                                        (
                                                                                        )

                                                                                    [_defaults:protected] => Array
                                                                                        (
                                                                                            [directory] => front
                                                                                            [action] => file
                                                                                            [controller] => index
                                                                                            [page] => 1
                                                                                        )

                                                                                    [_route_regex:protected] => #^file/(?P[^/.,;?\n]++)$#uD
                                                                                )

                                                                            [_routes:protected] => 
                                                                            [_response:protected] => Response Object
                                                                                (
                                                                                    [_status:protected] => 200
                                                                                    [_header:protected] => HTTP_Header Object
                                                                                        (
                                                                                            [_accept_content:protected] => 
                                                                                            [_accept_charset:protected] => 
                                                                                            [_accept_encoding:protected] => 
                                                                                            [_accept_language:protected] => 
                                                                                            [storage:ArrayObject:private] => Array
                                                                                                (
                                                                                                )

                                                                                        )

                                                                                    [_body:protected] => 
                                                                                    [_cookies:protected] => Array
                                                                                        (
                                                                                        )

                                                                                    [_protocol:protected] => HTTP/1.1
                                                                                )

                                                                            [_header:protected] => HTTP_Header Object
                                                                                (
                                                                                    [_accept_content:protected] => 
                                                                                    [_accept_charset:protected] => 
                                                                                    [_accept_encoding:protected] => 
                                                                                    [_accept_language:protected] => 
                                                                                    [storage:ArrayObject:private] => Array
                                                                                        (
                                                                                        )

                                                                                )

                                                                            [_body:protected] => 
                                                                            [_directory:protected] => front
                                                                            [_controller:protected] => index
                                                                            [_action:protected] => file
                                                                            [_uri:protected] => file/16728
                                                                            [_external:protected] => 
                                                                            [_params:protected] => Array
                                                                                (
                                                                                    [id] => 16728
                                                                                    [page] => 1
                                                                                )

                                                                            [_get:protected] => Array
                                                                                (
                                                                                )

                                                                            [_post:protected] => Array
                                                                                (
                                                                                )

                                                                            [_cookies:protected] => Array
                                                                                (
                                                                                )

                                                                            [_client:protected] => Request_Client_Internal Object
                                                                                (
                                                                                    [_previous_environment:protected] => 
                                                                                    [_cache:protected] => 
                                                                                )

                                                                            [_injected_routes] => Array
                                                                                (
                                                                                )

                                                                        )

                                                                    [_route:protected] => Route Object
                                                                        (
                                                                            [_callback:protected] => 
                                                                            [_uri:protected] => file/
                                                                            [_regex:protected] => Array
                                                                                (
                                                                                )

                                                                            [_defaults:protected] => Array
                                                                                (
                                                                                    [directory] => front
                                                                                    [action] => file
                                                                                    [controller] => index
                                                                                    [page] => 1
                                                                                )

                                                                            [_route_regex:protected] => #^file/(?P[^/.,;?\n]++)$#uD
                                                                        )

                                                                    [_route_params:protected] => Array
                                                                        (
                                                                            [controller] => index
                                                                            [action] => photo
                                                                            [type] => photo
                                                                        )

                                                                )

                                                            [message] => 
                                                            [errors] => Array
                                                                (
                                                                )

                                                            [current_urls] => Array
                                                                (
                                                                    [59] => /file/*
                                                                    [3] => /.+
                                                                    [2] => *
                                                                )

                                                            [admin_path] => admin
                                                            [current_directory] => front
                                                            [paths] => Array
                                                                (
                                                                    [img_back] => media/back/img
                                                                    [css_back] => media/back/css
                                                                    [js_back] => media/back/js
                                                                    [img_front] => media/front/img
                                                                    [css_front] => media/front/style
                                                                    [js_front] => media/front/js
                                                                    [front_modules] => media/front/modules
                                                                )

                                                            [photos_path] => Array
                                                                (
                                                                    [ava] => /public/user/images/
                                                                    [notice] => /public/notice/images/
                                                                )

                                                            [controller] => index
                                                            [action] => file
                                                            [global_current_rubric] => 
                                                            [user] => 
                                                            [user_obj] => 
                                                            [admuser] => 
                                                            [acl] => 
                                                            [breadcrumbs] => Array
                                                                (
                                                                    [0] => Array
                                                                        (
                                                                            [0] => /
                                                                            [1] => foto.ashurbeyli.ru
                                                                        )

                                                                )

                                                            [hh] => http://foto.ashurbeyli.ru
                                                            [k] => 0
                                                            [png] => Model_Image Object
                                                                (
                                                                    [_model_name] => image
                                                                    [max_width:protected] => 24000
                                                                    [allow_extensions:protected] => Array
                                                                        (
                                                                            [0] => jpg
                                                                            [1] => jpeg
                                                                            [2] => png
                                                                            [3] => gif
                                                                            [4] => bmp
                                                                        )

                                                                    [max_height:protected] => 24000
                                                                    [_belongs_to:protected] => Array
                                                                        (
                                                                            [imagesource] => Array
                                                                                (
                                                                                    [model] => imagesource
                                                                                    [foreign_key] => imagesource_id
                                                                                )

                                                                        )

                                                                    [quality:protected] => 100
                                                                    [image_driver:protected] => GD
                                                                    [storage_folder:protected] => images
                                                                    [target_folder_name:protected] => public
                                                                    [target_folder_path:protected] => /var/www/photobank/public
                                                                    [chmod:protected] => 484
                                                                    [_use_validation:protected] => 1
                                                                    [MAX_LEVEL_TO_CASCADE_UPDATE] => 2
                                                                    [_cache_mode:protected] => 0
                                                                    [_images_sort:protected] => 
                                                                    [_has_one:protected] => Array
                                                                        (
                                                                        )

                                                                    [_has_many:protected] => Array
                                                                        (
                                                                        )

                                                                    [_load_with:protected] => Array
                                                                        (
                                                                        )

                                                                    [_validation:protected] => 
                                                                    [_object:protected] => Array
                                                                        (
                                                                            [id] => 
                                                                            [filename] => 
                                                                            [path] => 
                                                                            [realname] => 
                                                                            [width] => 
                                                                            [height] => 
                                                                            [mime] => 
                                                                            [ext] => 
                                                                            [parent_id] => 
                                                                            [model_name] => 
                                                                            [model_id] => 
                                                                            [model_fieldname] => 
                                                                            [mod_name] => 
                                                                            [size] => 
                                                                            [user_id] => 
                                                                            [is_admin] => 
                                                                            [imagesource_id] => 
                                                                            [title] => 
                                                                            [created] => 
                                                                            [sort] => 
                                                                        )

                                                                    [_changed:protected] => Array
                                                                        (
                                                                        )

                                                                    [_original_values:protected] => Array
                                                                        (
                                                                        )

                                                                    [_related:protected] => Array
                                                                        (
                                                                        )

                                                                    [_valid:protected] => 
                                                                    [_loaded:protected] => 
                                                                    [_saved:protected] => 
                                                                    [_sorting:protected] => 
                                                                    [_foreign_key_suffix:protected] => _id
                                                                    [_object_name:protected] => image
                                                                    [_object_plural:protected] => images
                                                                    [_table_name:protected] => images
                                                                    [_table_columns:protected] => Array
                                                                        (
                                                                            [id] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => -2147483648
                                                                                    [max] => 2147483647
                                                                                    [column_name] => id
                                                                                    [column_default] => 
                                                                                    [data_type] => int
                                                                                    [is_nullable] => 
                                                                                    [ordinal_position] => 1
                                                                                    [display] => 11
                                                                                    [comment] => идентификатор
                                                                                    [extra] => auto_increment
                                                                                    [key] => PRI
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [filename] => Array
                                                                                (
                                                                                    [type] => string
                                                                                    [column_name] => filename
                                                                                    [column_default] => 
                                                                                    [data_type] => varchar
                                                                                    [is_nullable] => 
                                                                                    [ordinal_position] => 2
                                                                                    [character_maximum_length] => 255
                                                                                    [collation_name] => utf8_general_ci
                                                                                    [comment] => имя файла в файловой системе сервера
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [path] => Array
                                                                                (
                                                                                    [type] => string
                                                                                    [column_name] => path
                                                                                    [column_default] => 
                                                                                    [data_type] => varchar
                                                                                    [is_nullable] => 
                                                                                    [ordinal_position] => 3
                                                                                    [character_maximum_length] => 255
                                                                                    [collation_name] => utf8_general_ci
                                                                                    [comment] => путь до файла от корня без первого слэша
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [realname] => Array
                                                                                (
                                                                                    [type] => string
                                                                                    [column_name] => realname
                                                                                    [column_default] => 
                                                                                    [data_type] => varchar
                                                                                    [is_nullable] => 
                                                                                    [ordinal_position] => 4
                                                                                    [character_maximum_length] => 255
                                                                                    [collation_name] => utf8_general_ci
                                                                                    [comment] => имя файла при загрузке (настоящее имя)
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [width] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => -2147483648
                                                                                    [max] => 2147483647
                                                                                    [column_name] => width
                                                                                    [column_default] => 0
                                                                                    [data_type] => int
                                                                                    [is_nullable] => 
                                                                                    [ordinal_position] => 5
                                                                                    [display] => 11
                                                                                    [comment] => ширина изображения
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [height] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => -2147483648
                                                                                    [max] => 2147483647
                                                                                    [column_name] => height
                                                                                    [column_default] => 0
                                                                                    [data_type] => int
                                                                                    [is_nullable] => 
                                                                                    [ordinal_position] => 6
                                                                                    [display] => 11
                                                                                    [comment] => высота изображения
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [mime] => Array
                                                                                (
                                                                                    [type] => string
                                                                                    [column_name] => mime
                                                                                    [column_default] => 
                                                                                    [data_type] => varchar
                                                                                    [is_nullable] => 
                                                                                    [ordinal_position] => 7
                                                                                    [character_maximum_length] => 255
                                                                                    [collation_name] => utf8_general_ci
                                                                                    [comment] => mime-тип
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [ext] => Array
                                                                                (
                                                                                    [type] => string
                                                                                    [column_name] => ext
                                                                                    [column_default] => 
                                                                                    [data_type] => varchar
                                                                                    [is_nullable] => 
                                                                                    [ordinal_position] => 8
                                                                                    [character_maximum_length] => 45
                                                                                    [collation_name] => utf8_general_ci
                                                                                    [comment] => расширение (jpg, png ...)
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [parent_id] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => -2147483648
                                                                                    [max] => 2147483647
                                                                                    [column_name] => parent_id
                                                                                    [column_default] => 0
                                                                                    [data_type] => int
                                                                                    [is_nullable] => 
                                                                                    [ordinal_position] => 9
                                                                                    [display] => 11
                                                                                    [comment] => идентификатор картинки-оригинала (если равен 0 - значит оригинал)
                                                                                    [extra] => 
                                                                                    [key] => MUL
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [model_name] => Array
                                                                                (
                                                                                    [type] => string
                                                                                    [column_name] => model_name
                                                                                    [column_default] => 
                                                                                    [data_type] => varchar
                                                                                    [is_nullable] => 
                                                                                    [ordinal_position] => 10
                                                                                    [character_maximum_length] => 255
                                                                                    [collation_name] => utf8_general_ci
                                                                                    [comment] => название модели, к которой привязан файл
                                                                                    [extra] => 
                                                                                    [key] => MUL
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [model_id] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => -2147483648
                                                                                    [max] => 2147483647
                                                                                    [column_name] => model_id
                                                                                    [column_default] => 0
                                                                                    [data_type] => int
                                                                                    [is_nullable] => 
                                                                                    [ordinal_position] => 11
                                                                                    [display] => 11
                                                                                    [comment] => идентификатор записи в таблице модели
                                                                                    [extra] => 
                                                                                    [key] => MUL
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [model_fieldname] => Array
                                                                                (
                                                                                    [type] => string
                                                                                    [column_name] => model_fieldname
                                                                                    [column_default] => 
                                                                                    [data_type] => varchar
                                                                                    [is_nullable] => 
                                                                                    [ordinal_position] => 12
                                                                                    [character_maximum_length] => 255
                                                                                    [collation_name] => utf8_general_ci
                                                                                    [comment] => имя поля в таблице модели (необходимо для случая, когда у нас несколько полей картинок)
                                                                                    [extra] => 
                                                                                    [key] => MUL
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [mod_name] => Array
                                                                                (
                                                                                    [type] => string
                                                                                    [column_name] => mod_name
                                                                                    [column_default] => 
                                                                                    [data_type] => varchar
                                                                                    [is_nullable] => 
                                                                                    [ordinal_position] => 13
                                                                                    [character_maximum_length] => 255
                                                                                    [collation_name] => utf8_general_ci
                                                                                    [comment] => имя модификации (нужно для определения "типа" картинки - большая, маленькая, средняя и.т.д)
                                                                                    [extra] => 
                                                                                    [key] => MUL
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [size] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => -2147483648
                                                                                    [max] => 2147483647
                                                                                    [column_name] => size
                                                                                    [column_default] => 0
                                                                                    [data_type] => int
                                                                                    [is_nullable] => 
                                                                                    [ordinal_position] => 14
                                                                                    [display] => 11
                                                                                    [comment] => размер
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [user_id] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => -2147483648
                                                                                    [max] => 2147483647
                                                                                    [column_name] => user_id
                                                                                    [column_default] => 0
                                                                                    [data_type] => int
                                                                                    [is_nullable] => 
                                                                                    [ordinal_position] => 15
                                                                                    [display] => 11
                                                                                    [comment] => идентификатор пользователя, загружавшего картинку
                                                                                    [extra] => 
                                                                                    [key] => MUL
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [is_admin] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => -128
                                                                                    [max] => 127
                                                                                    [column_name] => is_admin
                                                                                    [column_default] => 0
                                                                                    [data_type] => tinyint
                                                                                    [is_nullable] => 
                                                                                    [ordinal_position] => 16
                                                                                    [display] => 1
                                                                                    [comment] => флаг "админ" - для определения типа пользователя
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [imagesource_id] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => -2147483648
                                                                                    [max] => 2147483647
                                                                                    [column_name] => imagesource_id
                                                                                    [column_default] => 0
                                                                                    [data_type] => int
                                                                                    [is_nullable] => 
                                                                                    [ordinal_position] => 17
                                                                                    [display] => 11
                                                                                    [comment] => идентификатор источника
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [title] => Array
                                                                                (
                                                                                    [type] => string
                                                                                    [column_name] => title
                                                                                    [column_default] => 
                                                                                    [data_type] => varchar
                                                                                    [is_nullable] => 
                                                                                    [ordinal_position] => 18
                                                                                    [character_maximum_length] => 1000
                                                                                    [collation_name] => utf8_general_ci
                                                                                    [comment] => описание
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [created] => Array
                                                                                (
                                                                                    [type] => string
                                                                                    [column_name] => created
                                                                                    [column_default] => CURRENT_TIMESTAMP
                                                                                    [data_type] => timestamp
                                                                                    [is_nullable] => 
                                                                                    [ordinal_position] => 19
                                                                                    [comment] => дата создания
                                                                                    [extra] => on update CURRENT_TIMESTAMP
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [sort] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => -2147483648
                                                                                    [max] => 2147483647
                                                                                    [column_name] => sort
                                                                                    [column_default] => 999
                                                                                    [data_type] => int
                                                                                    [is_nullable] => 
                                                                                    [ordinal_position] => 20
                                                                                    [display] => 11
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                        )

                                                                    [_updated_column:protected] => 
                                                                    [_created_column:protected] => 
                                                                    [_serialize_columns:protected] => Array
                                                                        (
                                                                        )

                                                                    [_primary_key:protected] => id
                                                                    [_primary_key_value:protected] => 
                                                                    [_table_names_plural:protected] => 1
                                                                    [_reload_on_wakeup:protected] => 1
                                                                    [_db:protected] => Database_MySQL Object
                                                                        (
                                                                            [_connection_id:protected] => 0feebe02deaa29695437b76a2fc0d27ff295edcc
                                                                            [_identifier:protected] => `
                                                                            [last_query] => SELECT `file`.* FROM `files` AS `file` WHERE `file`.`model_id` = '16728' AND `model_fieldname` = 'fileai' AND `model_name` = 'userfile' AND `model_id` = '16728'
                                                                            [_instance:protected] => default
                                                                            [_connection:protected] => Resource id #2
                                                                            [_config:protected] => Array
                                                                                (
                                                                                    [type] => mysql
                                                                                    [connection] => Array
                                                                                        (
                                                                                            [hostname] => localhost
                                                                                            [database] => photobank
                                                                                            [persistent] => 
                                                                                            [variables] => Array
                                                                                                (
                                                                                                    [time_zone] => +03:00
                                                                                                )

                                                                                        )

                                                                                    [table_prefix] => 
                                                                                    [charset] => utf8
                                                                                    [caching] => 
                                                                                    [profiling] => 1
                                                                                )

                                                                        )

                                                                    [_db_group:protected] => 
                                                                    [_db_applied:protected] => Array
                                                                        (
                                                                        )

                                                                    [_db_pending:protected] => Array
                                                                        (
                                                                        )

                                                                    [_db_reset:protected] => 1
                                                                    [_db_builder:protected] => 
                                                                    [_with_applied:protected] => Array
                                                                        (
                                                                        )

                                                                    [_cast_data:protected] => Array
                                                                        (
                                                                        )

                                                                    [_errors_filename:protected] => image
                                                                )

                                                            [pngs] => Database_MySQL_Result Object
                                                                (
                                                                    [_internal_row:protected] => 0
                                                                    [_query:protected] => SELECT `file`.* FROM `files` AS `file` WHERE `file`.`model_id` = '16728' AND `model_fieldname` = 'fileai' AND `model_name` = 'userfile' AND `model_id` = '16728'
                                                                    [_result:protected] => Resource id #43
                                                                    [_total_rows:protected] => 0
                                                                    [_current_row:protected] => 0
                                                                    [_as_object:protected] => Model_File
                                                                    [_object_params:protected] => 
                                                                )

                                                        )

                                                )

                                        )

                                    [1] => Array
                                        (
                                            [file] => /var/www/photobank/miracle/system/classes/kohana/view.php
                                            [line] => 61
                                            [args] => Array
                                                (
                                                    [0] => /var/www/photobank/application/views/front/index/file.php
                                                )

                                            [function] => include
                                        )

                                    [2] => Array
                                        (
                                            [file] => /var/www/photobank/miracle/system/classes/kohana/view.php
                                            [line] => 343
                                            [function] => capture
                                            [class] => Kohana_View
                                            [type] => ::
                                            [args] => Array
                                                (
                                                    [0] => /var/www/photobank/application/views/front/index/file.php
                                                    [1] => Array
                                                        (
                                                            [file] => Model_Userfile Object
                                                                (
                                                                    [_table_name:protected] => userfiles
                                                                    [_belongs_to:protected] => Array
                                                                        (
                                                                            [event] => Array
                                                                                (
                                                                                    [model] => event
                                                                                    [foreign_key] => event_id
                                                                                )

                                                                        )

                                                                    [_has_many:protected] => Array
                                                                        (
                                                                            [images] => Array
                                                                                (
                                                                                    [model] => image
                                                                                    [foreign_key] => model_id
                                                                                    [through] => 
                                                                                    [far_key] => image_id
                                                                                )

                                                                            [files] => Array
                                                                                (
                                                                                    [model] => file
                                                                                    [foreign_key] => model_id
                                                                                    [through] => 
                                                                                    [far_key] => file_id
                                                                                )

                                                                            [tag_list] => Array
                                                                                (
                                                                                    [model] => tag
                                                                                    [foreign_key] => userfile_id
                                                                                    [through] => usersfiles_tags
                                                                                    [far_key] => tag_id
                                                                                )

                                                                        )

                                                                    [MAX_LEVEL_TO_CASCADE_UPDATE] => 2
                                                                    [_cache_mode:protected] => 0
                                                                    [_images_sort:protected] => 
                                                                    [_has_one:protected] => Array
                                                                        (
                                                                        )

                                                                    [_load_with:protected] => Array
                                                                        (
                                                                        )

                                                                    [_validation:protected] => 
                                                                    [_object:protected] => Array
                                                                        (
                                                                            [id] => 16728
                                                                            [name] => 15522133754645.jpg
                                                                            [size] => 11770136
                                                                            [type] => image/jpeg
                                                                            [url] => 
                                                                            [title] => Праздник Масленицы в Покровском-Стрешневе на территории Обители святой Елисаветы
                                                                            [description] => 
                                                                            [owner] => 
                                                                            [eventdate] => 2019-03-09
                                                                            [event_id] => 1552213255
                                                                            [on_off] => 1
                                                                            [editor_pick] => 
                                                                            [tags] => масленица, праздник, Покровское-Стрешнево
                                                                            [persons] => 
                                                                            [views] => 661
                                                                            [downloads] => 0
                                                                            [book_code] => 
                                                                            [tip] => photo
                                                                            [author] => Александр Омельянчук
                                                                            [owner1] => 0
                                                                            [owner2] => 0
                                                                            [owner3] => 1
                                                                            [owner4] => 1
                                                                            [owner5] => 0
                                                                            [owner6] => 
                                                                            [owner7] => 
                                                                            [owner8] => 
                                                                            [owner9] => 
                                                                            [events] => Масленица в Покровском-Стрешневе - 9 марта 2019
                                                                            [realname] => A79I3067.jpg
                                                                            [puzzle] => 0
                                                                            [puzzle1] => 0
                                                                            [editor_pick1] => 0
                                                                            [editor_pick2] => 0
                                                                            [editor_pick3] => 0
                                                                            [ownercheck] => 
                                                                            [sort] => 16728
                                                                            [date] => 
                                                                            [upload_date] => 2019-03-10 13:22:57
                                                                            [hide] => 0
                                                                            [cover] => 0
                                                                        )

                                                                    [_changed:protected] => Array
                                                                        (
                                                                        )

                                                                    [_original_values:protected] => Array
                                                                        (
                                                                            [id] => 16728
                                                                            [name] => 15522133754645.jpg
                                                                            [size] => 11770136
                                                                            [type] => image/jpeg
                                                                            [url] => 
                                                                            [title] => Праздник Масленицы в Покровском-Стрешневе на территории Обители святой Елисаветы
                                                                            [description] => 
                                                                            [owner] => 
                                                                            [eventdate] => 2019-03-09
                                                                            [event_id] => 1552213255
                                                                            [on_off] => 1
                                                                            [editor_pick] => 
                                                                            [tags] => масленица, праздник, Покровское-Стрешнево
                                                                            [persons] => 
                                                                            [views] => 661
                                                                            [downloads] => 0
                                                                            [book_code] => 
                                                                            [tip] => photo
                                                                            [author] => Александр Омельянчук
                                                                            [owner1] => 0
                                                                            [owner2] => 0
                                                                            [owner3] => 1
                                                                            [owner4] => 1
                                                                            [owner5] => 0
                                                                            [owner6] => 
                                                                            [owner7] => 
                                                                            [owner8] => 
                                                                            [owner9] => 
                                                                            [events] => Масленица в Покровском-Стрешневе - 9 марта 2019
                                                                            [realname] => A79I3067.jpg
                                                                            [puzzle] => 0
                                                                            [puzzle1] => 0
                                                                            [editor_pick1] => 0
                                                                            [editor_pick2] => 0
                                                                            [editor_pick3] => 0
                                                                            [ownercheck] => 
                                                                            [sort] => 16728
                                                                            [date] => 
                                                                            [upload_date] => 2019-03-10 13:22:57
                                                                            [hide] => 0
                                                                            [cover] => 0
                                                                        )

                                                                    [_related:protected] => Array
                                                                        (
                                                                        )

                                                                    [_valid:protected] => 1
                                                                    [_loaded:protected] => 1
                                                                    [_saved:protected] => 
                                                                    [_sorting:protected] => 
                                                                    [_foreign_key_suffix:protected] => _id
                                                                    [_object_name:protected] => userfile
                                                                    [_object_plural:protected] => userfiles
                                                                    [_table_columns:protected] => Array
                                                                        (
                                                                            [id] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => 0
                                                                                    [max] => 4294967295
                                                                                    [column_name] => id
                                                                                    [column_default] => 
                                                                                    [data_type] => int unsigned
                                                                                    [is_nullable] => 
                                                                                    [ordinal_position] => 1
                                                                                    [display] => 11
                                                                                    [comment] => 
                                                                                    [extra] => auto_increment
                                                                                    [key] => PRI
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [name] => Array
                                                                                (
                                                                                    [type] => string
                                                                                    [column_name] => name
                                                                                    [column_default] => 
                                                                                    [data_type] => varchar
                                                                                    [is_nullable] => 
                                                                                    [ordinal_position] => 2
                                                                                    [character_maximum_length] => 255
                                                                                    [collation_name] => utf8_general_ci
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [size] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => -2147483648
                                                                                    [max] => 2147483647
                                                                                    [column_name] => size
                                                                                    [column_default] => 
                                                                                    [data_type] => int
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 3
                                                                                    [display] => 11
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [type] => Array
                                                                                (
                                                                                    [type] => string
                                                                                    [column_name] => type
                                                                                    [column_default] => 
                                                                                    [data_type] => varchar
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 4
                                                                                    [character_maximum_length] => 255
                                                                                    [collation_name] => utf8_general_ci
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [url] => Array
                                                                                (
                                                                                    [type] => string
                                                                                    [column_name] => url
                                                                                    [column_default] => 
                                                                                    [data_type] => varchar
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 5
                                                                                    [character_maximum_length] => 255
                                                                                    [collation_name] => utf8_general_ci
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [title] => Array
                                                                                (
                                                                                    [type] => string
                                                                                    [column_name] => title
                                                                                    [column_default] => 
                                                                                    [data_type] => varchar
                                                                                    [is_nullable] => 
                                                                                    [ordinal_position] => 6
                                                                                    [character_maximum_length] => 255
                                                                                    [collation_name] => utf8_general_ci
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [description] => Array
                                                                                (
                                                                                    [type] => string
                                                                                    [character_maximum_length] => 65535
                                                                                    [column_name] => description
                                                                                    [column_default] => 
                                                                                    [data_type] => text
                                                                                    [is_nullable] => 
                                                                                    [ordinal_position] => 7
                                                                                    [collation_name] => utf8_general_ci
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [owner] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => -2147483648
                                                                                    [max] => 2147483647
                                                                                    [column_name] => owner
                                                                                    [column_default] => 
                                                                                    [data_type] => int
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 8
                                                                                    [display] => 11
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => MUL
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [eventdate] => Array
                                                                                (
                                                                                    [type] => string
                                                                                    [column_name] => eventdate
                                                                                    [column_default] => 
                                                                                    [data_type] => date
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 9
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [event_id] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => -2147483648
                                                                                    [max] => 2147483647
                                                                                    [column_name] => event_id
                                                                                    [column_default] => 
                                                                                    [data_type] => int
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 10
                                                                                    [display] => 11
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => MUL
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [on_off] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => -32768
                                                                                    [max] => 32767
                                                                                    [column_name] => on_off
                                                                                    [column_default] => 0
                                                                                    [data_type] => smallint
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 11
                                                                                    [display] => 3
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [editor_pick] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => -32768
                                                                                    [max] => 32767
                                                                                    [column_name] => editor_pick
                                                                                    [column_default] => 
                                                                                    [data_type] => smallint
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 12
                                                                                    [display] => 3
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => MUL
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [tags] => Array
                                                                                (
                                                                                    [type] => string
                                                                                    [column_name] => tags
                                                                                    [column_default] => 
                                                                                    [data_type] => varchar
                                                                                    [is_nullable] => 
                                                                                    [ordinal_position] => 13
                                                                                    [character_maximum_length] => 300
                                                                                    [collation_name] => utf8_general_ci
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [persons] => Array
                                                                                (
                                                                                    [type] => string
                                                                                    [column_name] => persons
                                                                                    [column_default] => 
                                                                                    [data_type] => varchar
                                                                                    [is_nullable] => 
                                                                                    [ordinal_position] => 14
                                                                                    [character_maximum_length] => 300
                                                                                    [collation_name] => utf8_general_ci
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [views] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => -2147483648
                                                                                    [max] => 2147483647
                                                                                    [column_name] => views
                                                                                    [column_default] => 0
                                                                                    [data_type] => int
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 15
                                                                                    [display] => 11
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [downloads] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => -2147483648
                                                                                    [max] => 2147483647
                                                                                    [column_name] => downloads
                                                                                    [column_default] => 0
                                                                                    [data_type] => int
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 16
                                                                                    [display] => 11
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [book_code] => Array
                                                                                (
                                                                                    [type] => string
                                                                                    [character_maximum_length] => 65535
                                                                                    [column_name] => book_code
                                                                                    [column_default] => 
                                                                                    [data_type] => text
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 17
                                                                                    [collation_name] => utf8_general_ci
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [tip] => Array
                                                                                (
                                                                                    [type] => string
                                                                                    [column_name] => tip
                                                                                    [column_default] => 
                                                                                    [data_type] => enum
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 18
                                                                                    [collation_name] => utf8_general_ci
                                                                                    [options] => Array
                                                                                        (
                                                                                            [0] => photo
                                                                                            [1] => audio
                                                                                            [2] => video
                                                                                            [3] => pdf
                                                                                        )

                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [author] => Array
                                                                                (
                                                                                    [type] => string
                                                                                    [column_name] => author
                                                                                    [column_default] => 
                                                                                    [data_type] => varchar
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 19
                                                                                    [character_maximum_length] => 50
                                                                                    [collation_name] => utf8_general_ci
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [owner1] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => -128
                                                                                    [max] => 127
                                                                                    [column_name] => owner1
                                                                                    [column_default] => 0
                                                                                    [data_type] => tinyint
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 20
                                                                                    [display] => 3
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => MUL
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [owner2] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => -128
                                                                                    [max] => 127
                                                                                    [column_name] => owner2
                                                                                    [column_default] => 
                                                                                    [data_type] => tinyint
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 21
                                                                                    [display] => 3
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => MUL
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [owner3] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => -128
                                                                                    [max] => 127
                                                                                    [column_name] => owner3
                                                                                    [column_default] => 
                                                                                    [data_type] => tinyint
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 22
                                                                                    [display] => 3
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => MUL
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [owner4] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => -128
                                                                                    [max] => 127
                                                                                    [column_name] => owner4
                                                                                    [column_default] => 
                                                                                    [data_type] => tinyint
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 23
                                                                                    [display] => 3
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => MUL
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [owner5] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => -128
                                                                                    [max] => 127
                                                                                    [column_name] => owner5
                                                                                    [column_default] => 
                                                                                    [data_type] => tinyint
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 24
                                                                                    [display] => 3
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => MUL
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [owner6] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => -128
                                                                                    [max] => 127
                                                                                    [column_name] => owner6
                                                                                    [column_default] => 
                                                                                    [data_type] => tinyint
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 25
                                                                                    [display] => 3
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [owner7] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => -128
                                                                                    [max] => 127
                                                                                    [column_name] => owner7
                                                                                    [column_default] => 
                                                                                    [data_type] => tinyint
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 26
                                                                                    [display] => 3
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [owner8] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => -128
                                                                                    [max] => 127
                                                                                    [column_name] => owner8
                                                                                    [column_default] => 
                                                                                    [data_type] => tinyint
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 27
                                                                                    [display] => 3
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [owner9] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => -128
                                                                                    [max] => 127
                                                                                    [column_name] => owner9
                                                                                    [column_default] => 
                                                                                    [data_type] => tinyint
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 28
                                                                                    [display] => 3
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [events] => Array
                                                                                (
                                                                                    [type] => string
                                                                                    [column_name] => events
                                                                                    [column_default] => 
                                                                                    [data_type] => varchar
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 29
                                                                                    [character_maximum_length] => 255
                                                                                    [collation_name] => utf8_general_ci
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [realname] => Array
                                                                                (
                                                                                    [type] => string
                                                                                    [column_name] => realname
                                                                                    [column_default] => 
                                                                                    [data_type] => varchar
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 30
                                                                                    [character_maximum_length] => 255
                                                                                    [collation_name] => utf8_general_ci
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [puzzle] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => -128
                                                                                    [max] => 127
                                                                                    [column_name] => puzzle
                                                                                    [column_default] => 0
                                                                                    [data_type] => tinyint
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 31
                                                                                    [display] => 3
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => MUL
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [puzzle1] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => -128
                                                                                    [max] => 127
                                                                                    [column_name] => puzzle1
                                                                                    [column_default] => 0
                                                                                    [data_type] => tinyint
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 32
                                                                                    [display] => 3
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => MUL
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [editor_pick1] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => -128
                                                                                    [max] => 127
                                                                                    [column_name] => editor_pick1
                                                                                    [column_default] => 0
                                                                                    [data_type] => tinyint
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 33
                                                                                    [display] => 3
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [editor_pick2] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => -128
                                                                                    [max] => 127
                                                                                    [column_name] => editor_pick2
                                                                                    [column_default] => 0
                                                                                    [data_type] => tinyint
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 34
                                                                                    [display] => 3
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => MUL
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [editor_pick3] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => -128
                                                                                    [max] => 127
                                                                                    [column_name] => editor_pick3
                                                                                    [column_default] => 0
                                                                                    [data_type] => tinyint
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 35
                                                                                    [display] => 3
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => MUL
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [ownercheck] => Array
                                                                                (
                                                                                    [type] => string
                                                                                    [exact] => 1
                                                                                    [column_name] => ownercheck
                                                                                    [column_default] => 
                                                                                    [data_type] => char
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 36
                                                                                    [character_maximum_length] => 1
                                                                                    [collation_name] => utf8_general_ci
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [sort] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => -2147483648
                                                                                    [max] => 2147483647
                                                                                    [column_name] => sort
                                                                                    [column_default] => 0
                                                                                    [data_type] => int
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 37
                                                                                    [display] => 11
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [date] => Array
                                                                                (
                                                                                    [type] => string
                                                                                    [column_name] => date
                                                                                    [column_default] => 
                                                                                    [data_type] => varchar
                                                                                    [is_nullable] => 1
                                                                                    [ordinal_position] => 38
                                                                                    [character_maximum_length] => 30
                                                                                    [collation_name] => utf8_general_ci
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [upload_date] => Array
                                                                                (
                                                                                    [type] => string
                                                                                    [column_name] => upload_date
                                                                                    [column_default] => CURRENT_TIMESTAMP
                                                                                    [data_type] => timestamp
                                                                                    [is_nullable] => 
                                                                                    [ordinal_position] => 39
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [hide] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => -128
                                                                                    [max] => 127
                                                                                    [column_name] => hide
                                                                                    [column_default] => 0
                                                                                    [data_type] => tinyint
                                                                                    [is_nullable] => 
                                                                                    [ordinal_position] => 40
                                                                                    [display] => 1
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                            [cover] => Array
                                                                                (
                                                                                    [type] => int
                                                                                    [min] => -128
                                                                                    [max] => 127
                                                                                    [column_name] => cover
                                                                                    [column_default] => 
                                                                                    [data_type] => tinyint
                                                                                    [is_nullable] => 
                                                                                    [ordinal_position] => 41
                                                                                    [display] => 1
                                                                                    [comment] => 
                                                                                    [extra] => 
                                                                                    [key] => 
                                                                                    [privileges] => select,insert,update,references
                                                                                )

                                                                        )

                                                                    [_updated_column:protected] => 
                                                                    [_created_column:protected] => 
                                                                    [_serialize_columns:protected] => Array
                                                                        (
                                                                        )

                                                                    [_primary_key:protected] => id
                                                                    [_primary_key_value:protected] => 16728
                                                                    [_table_names_plural:protected] => 1
                                                                    [_reload_on_wakeup:protected] => 1
                                                                    [_db:protected] => Database_MySQL Object
                                                                        (
                                                                            [_connection_id:protected] => 0feebe02deaa29695437b76a2fc0d27ff295edcc
                                                                            [_identifier:protected] => `
                                                                            [last_query] => SELECT `file`.* FROM `files` AS `file` WHERE `file`.`model_id` = '16728' AND `model_fieldname` = 'fileai' AND `model_name` = 'userfile' AND `model_id` = '16728'
                                                                            [_instance:protected] => default
                                                                            [_connection:protected] => Resource id #2
                                                                            [_config:protected] => Array
                                                                                (
                                                                                    [type] => mysql
                                                                                    [connection] => Array
                                                                                        (
                                                                                            [hostname] => localhost
                                                                                            [database] => photobank
                                                                                            [persistent] => 
                                                                                            [variables] => Array
                                                                                                (
                                                                                                    [time_zone] => +03:00
                                                                                                )

                                                                                        )

                                                                                    [table_prefix] => 
                                                                                    [charset] => utf8
                                                                                    [caching] => 
                                                                                    [profiling] => 1
                                                                                )

                                                                        )

                                                                    [_db_group:protected] => 
                                                                    [_db_applied:protected] => Array
                                                                        (
                                                                        )

                                                                    [_db_pending:protected] => Array
                                                                        (
                                                                        )

                                                                    [_db_reset:protected] => 1
                                                                    [_db_builder:protected] => 
                                                                    [_with_applied:protected] => Array
                                                                        (
                                                                        )

                                                                    [_cast_data:protected] => Array
                                                                        (
                                                                        )

                                                                    [_errors_filename:protected] => userfile
                                                                )

                                                            [persons] => Database_MySQL_Result Object
                                                                (
                                                                    [_internal_row:protected] => 46
                                                                    [_query:protected] => SELECT `tag`.* FROM `tags` AS `tag` WHERE `on_off` = 1 AND `type` = 3 AND `sort` < 100 ORDER BY `sort` ASC
                                                                    [_result:protected] => Resource id #21
                                                                    [_total_rows:protected] => 46
                                                                    [_current_row:protected] => 46
                                                                    [_as_object:protected] => Model_Tag
                                                                    [_object_params:protected] => 
                                                                )

                                                            [owner] => 0
                                                            [event] => 0
                                                            [person] => 0
                                                            [events] => Database_MySQL_Result Object
                                                                (
                                                                    [_internal_row:protected] => 19
                                                                    [_query:protected] => SELECT `tag`.* FROM `tags` AS `tag` WHERE `on_off` = 1 AND `type` = 4 AND `sort` < 100 ORDER BY `sort` ASC
                                                                    [_result:protected] => Resource id #22
                                                                    [_total_rows:protected] => 19
                                                                    [_current_row:protected] => 19
                                                                    [_as_object:protected] => Model_Tag
                                                                    [_object_params:protected] => 
                                                                )

                                                            [data] => Array
                                                                (
                                                                    [content_type] => photo
                                                                    [event] => 0
                                                                    [events] => Database_MySQL_Result Object
                                                                        (
                                                                            [_internal_row:protected] => 19
                                                                            [_query:protected] => SELECT `tag`.* FROM `tags` AS `tag` WHERE `on_off` = 1 AND `type` = 4 AND `sort` < 100 ORDER BY `sort` ASC
                                                                            [_result:protected] => Resource id #22
                                                                            [_total_rows:protected] => 19
                                                                            [_current_row:protected] => 19
                                                                            [_as_object:protected] => Model_Tag
                                                                            [_object_params:protected] => 
                                                                        )

                                                                    [person] => 0
                                                                    [persons] => Database_MySQL_Result Object
                                                                        (
                                                                            [_internal_row:protected] => 46
                                                                            [_query:protected] => SELECT `tag`.* FROM `tags` AS `tag` WHERE `on_off` = 1 AND `type` = 3 AND `sort` < 100 ORDER BY `sort` ASC
                                                                            [_result:protected] => Resource id #21
                                                                            [_total_rows:protected] => 46
                                                                            [_current_row:protected] => 46
                                                                            [_as_object:protected] => Model_Tag
                                                                            [_object_params:protected] => 
                                                                        )

                                                                    [owner] => 0
                                                                )

                                                            [total] => 559
                                                            [photos] => Database_MySQL_Result Object
                                                                (
                                                                    [_internal_row:protected] => 5
                                                                    [_query:protected] => SELECT DISTINCT `userfile`.* FROM `userfiles` AS `userfile` JOIN `usersfiles_tags` ON (`userfile_id` = `id`) WHERE `tip` = 'photo' AND `tag_id` IN (-1, -2, '4188') AND `id` <> 16728 AND `hide` = 0 ORDER BY `sort` DESC LIMIT 5 OFFSET 0
                                                                    [_result:protected] => Resource id #27
                                                                    [_total_rows:protected] => 5
                                                                    [_current_row:protected] => 5
                                                                    [_as_object:protected] => Model_Userfile
                                                                    [_object_params:protected] => 
                                                                )

                                                            [photos2] => Database_MySQL_Result Object
                                                                (
                                                                    [_internal_row:protected] => 0
                                                                    [_query:protected] => SELECT DISTINCT `userfile`.* FROM `userfiles` AS `userfile` WHERE `tip` = 'photo' AND `id` IN (-1, -2, '52221', '52221', '52220', '52220', '52219', '52219', '52218', '52218', '52217', '52217', '52216', '52216', '52215', '52215', '52214', '52214', '52213', '52213', '52212', '52212', '52211', '52211', '52210', '52210', '52209', '52209', '52208', '52208', '52207', '52207', '52206', '52206', '52205', '52205', '52204', '52204', '52203', '52203', '52202', '52202', '52201', '52201', '52200', '52200', '52199', '52199', '52198', '52198', '52197', '52197') AND `id` <> 16728 AND `hide` = 0 AND `id` NOT IN (0, '17162', '17161', '17160', '17159', '17158') ORDER BY IF(16728>id,16728-id,id-16728) ASC LIMIT 5
                                                                    [_result:protected] => Resource id #28
                                                                    [_total_rows:protected] => 5
                                                                    [_current_row:protected] => 0
                                                                    [_as_object:protected] => Model_Userfile
                                                                    [_object_params:protected] => 
                                                                )

                                                            [pagination] => Pagination Object
                                                                (
                                                                    [config:protected] => Array
                                                                        (
                                                                            [total_items] => 559
                                                                            [items_per_page] => 15
                                                                            [current_page] => Array
                                                                                (
                                                                                    [type] => photo
                                                                                    [source] => route
                                                                                    [key] => page
                                                                                    [owner] => 0
                                                                                    [event] => 0
                                                                                    [person] => 0
                                                                                )

                                                                            [view] => front/pagination/floating
                                                                            [auto_hide] => 1
                                                                            [first_page_in_url] => 
                                                                            [count_out] => 2
                                                                            [count_in] => 2
                                                                        )

                                                                    [current_page:protected] => 1
                                                                    [total_items:protected] => 559
                                                                    [items_per_page:protected] => 15
                                                                    [total_pages:protected] => 38
                                                                    [current_first_item:protected] => 1
                                                                    [current_last_item:protected] => 15
                                                                    [previous_page:protected] => 
                                                                    [next_page:protected] => 2
                                                                    [first_page:protected] => 
                                                                    [last_page:protected] => 38
                                                                    [offset:protected] => 0
                                                                    [_request:protected] => Request Object
                                                                        (
                                                                            [_requested_with:protected] => 
                                                                            [_method:protected] => GET
                                                                            [_protocol:protected] => HTTP/1.1
                                                                            [_secure:protected] => 1
                                                                            [_referrer:protected] => 
                                                                            [_route:protected] => Route Object
                                                                                (
                                                                                    [_callback:protected] => 
                                                                                    [_uri:protected] => file/
                                                                                    [_regex:protected] => Array
                                                                                        (
                                                                                        )

                                                                                    [_defaults:protected] => Array
                                                                                        (
                                                                                            [directory] => front
                                                                                            [action] => file
                                                                                            [controller] => index
                                                                                            [page] => 1
                                                                                        )

                                                                                    [_route_regex:protected] => #^file/(?P[^/.,;?\n]++)$#uD
                                                                                )

                                                                            [_routes:protected] => 
                                                                            [_response:protected] => Response Object
                                                                                (
                                                                                    [_status:protected] => 200
                                                                                    [_header:protected] => HTTP_Header Object
                                                                                        (
                                                                                            [_accept_content:protected] => 
                                                                                            [_accept_charset:protected] => 
                                                                                            [_accept_encoding:protected] => 
                                                                                            [_accept_language:protected] => 
                                                                                            [storage:ArrayObject:private] => Array
                                                                                                (
                                                                                                )

                                                                                        )

                                                                                    [_body:protected] => 
                                                                                    [_cookies:protected] => Array
                                                                                        (
                                                                                        )

                                                                                    [_protocol:protected] => HTTP/1.1
                                                                                )

                                                                            [_header:protected] => HTTP_Header Object
                                                                                (
                                                                                    [_accept_content:protected] => 
                                                                                    [_accept_charset:protected] => 
                                                                                    [_accept_encoding:protected] => 
                                                                                    [_accept_language:protected] => 
                                                                                    [storage:ArrayObject:private] => Array
                                                                                        (
                                                                                        )

                                                                                )

                                                                            [_body:protected] => 
                                                                            [_directory:protected] => front
                                                                            [_controller:protected] => index
                                                                            [_action:protected] => file
                                                                            [_uri:protected] => file/16728
                                                                            [_external:protected] => 
                                                                            [_params:protected] => Array
                                                                                (
                                                                                    [id] => 16728
                                                                                    [page] => 1
                                                                                )

                                                                            [_get:protected] => Array
                                                                                (
                                                                                )

                                                                            [_post:protected] => Array
                                                                                (
                                                                                )

                                                                            [_cookies:protected] => Array
                                                                                (
                                                                                )

                                                                            [_client:protected] => Request_Client_Internal Object
                                                                                (
                                                                                    [_previous_environment:protected] => 
                                                                                    [_cache:protected] => 
                                                                                )

                                                                            [_injected_routes] => Array
                                                                                (
                                                                                )

                                                                        )

                                                                    [_route:protected] => Route Object
                                                                        (
                                                                            [_callback:protected] => 
                                                                            [_uri:protected] => file/
                                                                            [_regex:protected] => Array
                                                                                (
                                                                                )

                                                                            [_defaults:protected] => Array
                                                                                (
                                                                                    [directory] => front
                                                                                    [action] => file
                                                                                    [controller] => index
                                                                                    [page] => 1
                                                                                )

                                                                            [_route_regex:protected] => #^file/(?P[^/.,;?\n]++)$#uD
                                                                        )

                                                                    [_route_params:protected] => Array
                                                                        (
                                                                            [controller] => index
                                                                            [action] => photo
                                                                            [type] => photo
                                                                        )

                                                                )

                                                            [message] => 
                                                            [errors] => Array
                                                                (
                                                                )

                                                        )

                                                )

                                        )

                                    [3] => Array
                                        (
                                            [file] => /var/www/photobank/miracle/modules/miracle/lib/classes/miracle/controller/fronttemplate.php
                                            [line] => 228
                                            [function] => render
                                            [class] => Kohana_View
                                            [type] => ->
                                            [args] => Array
                                                (
                                                )

                                        )

                                    [4] => Array
                                        (
                                            [file] => /var/www/photobank/miracle/modules/miracle/lib/classes/miracle/controller/fronttemplate.php
                                            [line] => 197
                                            [function] => _renderView
                                            [class] => Miracle_Controller_FrontTemplate
                                            [type] => ->
                                            [args] => Array
                                                (
                                                )

                                        )

                                    [5] => Array
                                        (
                                            [function] => after
                                            [class] => Miracle_Controller_FrontTemplate
                                            [type] => ->
                                            [args] => Array
                                                (
                                                )

                                        )

                                    [6] => Array
                                        (
                                            [file] => /var/www/photobank/miracle/system/classes/kohana/request/client/internal.php
                                            [line] => 121
                                            [function] => invoke
                                            [class] => ReflectionMethod
                                            [type] => ->
                                            [args] => Array
                                                (
                                                    [0] => Controller_Front_Index Object
                                                        (
                                                            [rubrics:protected] => 
                                                            [ajax_actions:protected] => Array
                                                                (
                                                                    [0] => index_content
                                                                    [1] => tour
                                                                    [2] => filestat
                                                                )

                                                            [view:protected] => View Object
                                                                (
                                                                    [_file:protected] => /var/www/photobank/application/views/front/index/file.php
                                                                    [_data:protected] => Array
                                                                        (
                                                                            [file] => Model_Userfile Object
                                                                                (
                                                                                    [_table_name:protected] => userfiles
                                                                                    [_belongs_to:protected] => Array
                                                                                        (
                                                                                            [event] => Array
                                                                                                (
                                                                                                    [model] => event
                                                                                                    [foreign_key] => event_id
                                                                                                )

                                                                                        )

                                                                                    [_has_many:protected] => Array
                                                                                        (
                                                                                            [images] => Array
                                                                                                (
                                                                                                    [model] => image
                                                                                                    [foreign_key] => model_id
                                                                                                    [through] => 
                                                                                                    [far_key] => image_id
                                                                                                )

                                                                                            [files] => Array
                                                                                                (
                                                                                                    [model] => file
                                                                                                    [foreign_key] => model_id
                                                                                                    [through] => 
                                                                                                    [far_key] => file_id
                                                                                                )

                                                                                            [tag_list] => Array
                                                                                                (
                                                                                                    [model] => tag
                                                                                                    [foreign_key] => userfile_id
                                                                                                    [through] => usersfiles_tags
                                                                                                    [far_key] => tag_id
                                                                                                )

                                                                                        )

                                                                                    [MAX_LEVEL_TO_CASCADE_UPDATE] => 2
                                                                                    [_cache_mode:protected] => 0
                                                                                    [_images_sort:protected] => 
                                                                                    [_has_one:protected] => Array
                                                                                        (
                                                                                        )

                                                                                    [_load_with:protected] => Array
                                                                                        (
                                                                                        )

                                                                                    [_validation:protected] => 
                                                                                    [_object:protected] => Array
                                                                                        (
                                                                                            [id] => 16728
                                                                                            [name] => 15522133754645.jpg
                                                                                            [size] => 11770136
                                                                                            [type] => image/jpeg
                                                                                            [url] => 
                                                                                            [title] => Праздник Масленицы в Покровском-Стрешневе на территории Обители святой Елисаветы
                                                                                            [description] => 
                                                                                            [owner] => 
                                                                                            [eventdate] => 2019-03-09
                                                                                            [event_id] => 1552213255
                                                                                            [on_off] => 1
                                                                                            [editor_pick] => 
                                                                                            [tags] => масленица, праздник, Покровское-Стрешнево
                                                                                            [persons] => 
                                                                                            [views] => 661
                                                                                            [downloads] => 0
                                                                                            [book_code] => 
                                                                                            [tip] => photo
                                                                                            [author] => Александр Омельянчук
                                                                                            [owner1] => 0
                                                                                            [owner2] => 0
                                                                                            [owner3] => 1
                                                                                            [owner4] => 1
                                                                                            [owner5] => 0
                                                                                            [owner6] => 
                                                                                            [owner7] => 
                                                                                            [owner8] => 
                                                                                            [owner9] => 
                                                                                            [events] => Масленица в Покровском-Стрешневе - 9 марта 2019
                                                                                            [realname] => A79I3067.jpg
                                                                                            [puzzle] => 0
                                                                                            [puzzle1] => 0
                                                                                            [editor_pick1] => 0
                                                                                            [editor_pick2] => 0
                                                                                            [editor_pick3] => 0
                                                                                            [ownercheck] => 
                                                                                            [sort] => 16728
                                                                                            [date] => 
                                                                                            [upload_date] => 2019-03-10 13:22:57
                                                                                            [hide] => 0
                                                                                            [cover] => 0
                                                                                        )

                                                                                    [_changed:protected] => Array
                                                                                        (
                                                                                        )

                                                                                    [_original_values:protected] => Array
                                                                                        (
                                                                                            [id] => 16728
                                                                                            [name] => 15522133754645.jpg
                                                                                            [size] => 11770136
                                                                                            [type] => image/jpeg
                                                                                            [url] => 
                                                                                            [title] => Праздник Масленицы в Покровском-Стрешневе на территории Обители святой Елисаветы
                                                                                            [description] => 
                                                                                            [owner] => 
                                                                                            [eventdate] => 2019-03-09
                                                                                            [event_id] => 1552213255
                                                                                            [on_off] => 1
                                                                                            [editor_pick] => 
                                                                                            [tags] => масленица, праздник, Покровское-Стрешнево
                                                                                            [persons] => 
                                                                                            [views] => 661
                                                                                            [downloads] => 0
                                                                                            [book_code] => 
                                                                                            [tip] => photo
                                                                                            [author] => Александр Омельянчук
                                                                                            [owner1] => 0
                                                                                            [owner2] => 0
                                                                                            [owner3] => 1
                                                                                            [owner4] => 1
                                                                                            [owner5] => 0
                                                                                            [owner6] => 
                                                                                            [owner7] => 
                                                                                            [owner8] => 
                                                                                            [owner9] => 
                                                                                            [events] => Масленица в Покровском-Стрешневе - 9 марта 2019
                                                                                            [realname] => A79I3067.jpg
                                                                                            [puzzle] => 0
                                                                                            [puzzle1] => 0
                                                                                            [editor_pick1] => 0
                                                                                            [editor_pick2] => 0
                                                                                            [editor_pick3] => 0
                                                                                            [ownercheck] => 
                                                                                            [sort] => 16728
                                                                                            [date] => 
                                                                                            [upload_date] => 2019-03-10 13:22:57
                                                                                            [hide] => 0
                                                                                            [cover] => 0
                                                                                        )

                                                                                    [_related:protected] => Array
                                                                                        (
                                                                                        )

                                                                                    [_valid:protected] => 1
                                                                                    [_loaded:protected] => 1
                                                                                    [_saved:protected] => 
                                                                                    [_sorting:protected] => 
                                                                                    [_foreign_key_suffix:protected] => _id
                                                                                    [_object_name:protected] => userfile
                                                                                    [_object_plural:protected] => userfiles
                                                                                    [_table_columns:protected] => Array
                                                                                        (
                                                                                            [id] => Array
                                                                                                (
                                                                                                    [type] => int
                                                                                                    [min] => 0
                                                                                                    [max] => 4294967295
                                                                                                    [column_name] => id
                                                                                                    [column_default] => 
                                                                                                    [data_type] => int unsigned
                                                                                                    [is_nullable] => 
                                                                                                    [ordinal_position] => 1
                                                                                                    [display] => 11
                                                                                                    [comment] => 
                                                                                                    [extra] => auto_increment
                                                                                                    [key] => PRI
                                                                                                    [privileges] => select,insert,update,references
                                                                                                )

                                                                                            [name] => Array
                                                                                                (
                                                                                                    [type] => string
                                                                                                    [column_name] => name
                                                                                                    [column_default] => 
                                                                                                    [data_type] => varchar
                                                                                                    [is_nullable] => 
                                                                                                    [ordinal_position] => 2
                                                                                                    [character_maximum_length] => 255
                                                                                                    [collation_name] => utf8_general_ci
                                                                                                    [comment] => 
                                                                                                    [extra] => 
                                                                                                    [key] => 
                                                                                                    [privileges] => select,insert,update,references
                                                                                                )

                                                                                            [size] => Array
                                                                                                (
                                                                                                    [type] => int
                                                                                                    [min] => -2147483648
                                                                                                    [max] => 2147483647
                                                                                                    [column_name] => size
                                                                                                    [column_default] => 
                                                                                                    [data_type] => int
                                                                                                    [is_nullable] => 1
                                                                                                    [ordinal_position] => 3
                                                                                                    [display] => 11
                                                                                                    [comment] => 
                                                                                                    [extra] => 
                                                                                                    [key] => 
                                                                                                    [privileges] => select,insert,update,references
                                                                                                )

                                                                                            [type] => Array
                                                                                                (
                                                                                                    [type] => string
                                                                                                    [column_name] => type
                                                                                                    [column_default] => 
                                                                                                    [data_type] => varchar
                                                                                                    [is_nullable] => 1
                                                                                                    [ordinal_position] => 4
                                                                                                    [character_maximum_length] => 255
                                                                                                    [collation_name] => utf8_general_ci
                                                                                                    [comment] => 
                                                                                                    [extra] => 
                                                                                                    [key] => 
                                                                                                    [privileges] => select,insert,update,references
                                                                                                )

                                                                                            [url] => Array
                                                                                                (
                                                                                                    [type] => string
                                                                                                    [column_name] => url
                                                                                                    [column_default] => 
                                                                                                    [data_type] => varchar
                                                                                                    [is_nullable] => 1
                                                                                                    [ordinal_position] => 5
                                                                                                    [character_maximum_length] => 255
                                                                                                    [collation_name] => utf8_general_ci
                                                                                                    [comment] => 
                                                                                                    [extra] => 
                                                                                                    [key] => 
                                                                                                    [privileges] => select,insert,update,references
                                                                                                )

                                                                                            [title] => Array
                                                                                                (
                                                                                                    [type] => string
                                                                                                    [column_name] => title
                                                                                                    [column_default] => 
                                                                                                    [data_type] => varchar
                                                                                                    [is_nullable] => 
                                                                                                    [ordinal_position] => 6
                                                                                                    [character_maximum_length] => 255
                                                                                                    [collation_name] => utf8_general_ci
                                                                                                    [comment] => 
                                                                                                    [extra] => 
                                                                                                    [key] => 
                                                                                                    [privileges] => select,insert,update,references
                                                                                                )

                                                                                            [description] => Array
                                                                                                (
                                                                                                    [type] => string
                                                                                                    [character_maximum_length] => 65535
                                                                                                    [column_name] => description
                                                                                                    [column_default] => 
                                                                                                    [data_type] => text
                                                                                                    [is_nullable] => 
                                                                                                    [ordinal_position] => 7
                                                                                                    [collation_name] => utf8_general_ci
                                                                                                    [comment] => 
                                                                                                    [extra] => 
                                                                                                    [key] => 
                                                                                                    [privileges] => select,insert,update,references
                                                                                                )

                                                                                            [owner] => Array
                                                                                                (
                                                                                                    [type] => int
                                                                                                    [min] => -2147483648
                                                                                                    [max] => 2147483647
                                                                                                    [column_name] => owner
                                                                                                    [column_default] => 
                                                                                                    [data_type] => int
                                                                                                    [is_nullable] => 1
                                                                                                    [ordinal_position] => 8
                                                                                                    [display] => 11
                                                                                                    [comment] => 
                                                                                                    [extra] => 
                                                                                                    [key] => MUL
                                                                                                    [privileges] => select,insert,update,references
                                                                                                )

                                                                                            [eventdate] => Array
                                                                                                (
                                                                                                    [type] => string
                                                                                                    [column_name] => eventdate
                                                                                                    [column_default] => 
                                                                                                    [data_type] => date
                                                                                                    [is_nullable] => 1
                                                                                                    [ordinal_position] => 9
                                                                                                    [comment] => 
                                                                                                    [extra] => 
                                                                                                    [key] => 
                                                                                                    [privileges] => select,insert,update,references
                                                                                                )

                                                                                            [event_id] => Array
                                                                                                (
                                                                                                    [type] => int
                                                                                                    [min] => -2147483648
                                                                                                    [max] => 2147483647
                                                                                                    [column_name] => event_id
                                                                                                    [column_default] => 
                                                                                                    [data_type] => int
                                                                                                    [is_nullable] => 1
                                                                                                    [ordinal_position] => 10
                                                                                                    [display] => 11
                                                                                                    [comment] => 
                                                                                                    [extra] => 
                                                                                                    [key] => MUL
                                                                                                    [privileges] => select,insert,update,references
                                                                                                )

                                                                                            [on_off] => Array
                                                                                                (
                                                                                                    [type] => int
                                                                                                    [min] => -32768
                                                                                                    [max] => 32767
                                                                                                    [column_name] => on_off
                                                                                                    [column_default] => 0
                                                                                                    [data_type] => smallint
                                                                                                    [is_nullable] => 1
                                                                                                    [ordinal_position] => 11
                                                                                                    [display] => 3
                                                                                                    [comment] => 
                                                                                                    [extra] => 
                                                                                                    [key] => 
                                                                                                    [privileges] => select,insert,update,references
                                                                                                )

                                                                                            [editor_pick] => Array
                                                                                                (
                                                                                                    [type] => int
                                                                                                    [min] => -32768
                                                                                                    [max] => 32767
                                                                                                    [column_name] => editor_pick
                                                                                                    [column_default] => 
                                                                                                    [data_type] => smallint
                                                                                                    [is_nullable] => 1
                                                                                                    [ordinal_position] => 12
                                                                                                    [display] => 3
                                                                                                    [comment] => 
                                                                                                    [extra] => 
                                                                                                    [key] => MUL
                                                                                                    [privileges] => select,insert,update,references
                                                                                                )

                                                                                            [tags] => Array
                                                                                                (
                                                                                                    [type] => string
                                                                                                    [column_name] => tags
                                                                                                    [column_default] => 
                                                                                                    [data_type] => varchar
                                                                                                    [is_nullable] => 
                                                                                                    [ordinal_position] => 13
                                                                                                    [character_maximum_length] => 300
                                                                                                    [collation_name] => utf8_general_ci
                                                                                                    [comment] => 
                                                                                                    [extra] => 
                                                                                                    [key] => 
                                                                                                    [privileges] => select,insert,update,references
                                                                                                )

                                                                                            [persons] => Array
                                                                                                (
                                                                                                    [type] => string
                                                                                                    [column_name] => persons
                                                                                                    [column_default] => 
                                                                                                    [data_type] => varchar
                                                                                                    [is_nullable] => 
                                                                                                    [ordinal_position] => 14
                                                                                                    [character_maximum_length] => 300
                                                                                                    [collation_name] => utf8_general_ci
                                                                                                    [comment] => 
                                                                                                    [extra] => 
                                                                                                    [key] => 
                                                                                                    [privileges] => select,insert,update,references
                                                                                                )

                                                                                            [views] => Array
                                                                                                (
                                                                                                    [type] => int
                                                                                                    [min] => -2147483648
                                                                                                    [max] => 2147483647
                                                                                                    [column_name] => views
                                                                                                    [column_default] => 0
                                                                                                    [data_type] => int
                                                                                                    [is_nullable] => 1
                                                                                                    [ordinal_position] => 15
                                                                                                    [display] => 11
                                                                                                    [comment] => 
                                                                                                    [extra] => 
                                                                                                    [key] => 
                                                                                                    [privileges] => select,insert,update,references
                                                                                                )

                                                                                            [downloads] => Array
                                                                                                (
                                                                                                    [type] => int
                                                                                                    [min] => -2147483648
                                                                                                    [max] => 2147483647
                                                                                                    [column_name] => downloads
                                                                                                    [column_default] => 0
                                                                                                    [data_type] => int
                                                                                                    [is_nullable] => 1
                                                                                                    [ordinal_position] => 16
                                                                                                    [display] => 11
                                                                                                    [comment] => 
                                                                                                    [extra] => 
                                                                                                    [key] => 
                                                                                                    [privileges] => select,insert,update,references
                                                                                                )

                                                                                            [book_code] => Array
                                                                                                (
                                                                                                    [type] => string
                                                                                                    [character_maximum_length] => 65535
                                                                                                    [column_name] => book_code
                                                                                                    [column_default] => 
                                                                                                    [data_type] => text
                                                                                                    [is_nullable] => 1
                                                                                                    [ordinal_position] => 17
                                                                                                    [collation_name] => utf8_general_ci
                                                                                                    [comment] => 
                                                                                                    [extra] => 
                                                                                                    [key] => 
                                                                                                    [privileges] => select,insert,update,references
                                                                                                )

                                                                                            [tip] => Array
                                                                                                (
                                                                                                    [type] => string
                                                                                                    [column_name] => tip
                                                                                                    [column_default] => 
                                                                                                    [data_type] => enum
                                                                                                    [is_nullable] => 1
                                                                                                    [ordinal_position] => 18
                                                                                                    [collation_name] => utf8_general_ci
                                                                                                    [options] => Array
                                                                                                        (
                                                                                                            [0] => photo
                                                                                                            [1] => audio
                                                                                                            [2] => video
                                                                                                            [3] => pdf
                                                                                                        )

                                                                                                    [comment] => 
                                                                                                    [extra] => 
                                                                                                    [key] => 
                                                                                                    [privileges] => select,insert,update,references
                                                                                                )

                                                                                            [author] => Array
                                                                                                (
                                                                                                    [type] => string
                                                                                                    [column_name] => author
                                                                                                    [column_default] => 
                                                                                                    [data_type] => varchar
                                                                                                    [is_nullable] => 1
                                                                                                    [ordinal_position] => 19
                                                                                                    [character_maximum_length] => 50
                                                                                                    [collation_name] => utf8_general_ci
                                                                                                    [comment] => 
                                                                                                    [extra] => 
                                                                                                    [key] => 
                                                                                                    [privileges] => select,insert,update,references
                                                                                                )

                                                                                            [owner1] => Array
                                                                                                (
                                                                                                    [type] => int
                                                                                                    [min] => -128
                                                                                                    [max] => 127
                                                                                                    [column_name] => owner1
                                                                                                    [column_default] => 0
                                                                                                    [data_type] => tinyint
                                                                                                    [is_nullable] => 1
                                                                                                    [ordinal_position] => 20
                                                                                                    [display] => 3
                                                                                                    [comment] => 
                                                                                                    [extra] => 
                                                                                                    [key] => MUL
                                                                                                    [privileges] => select,insert,update,references
                                                                                                )

                                                                                            [owner2] => Array
                                                                                                (
                                                                                                    [type] => int
                                                                                                    [min] => -128
                                                                                                    [max] => 127
                                                                                                    [column_name] => owner2
                                                                                                    [column_default] => 
                                                                                                    [data_type] => tinyint
                                                                                                    [is_nullable] => 1
                                                                                                    [ordinal_position] => 21
                                                                                                    [display] => 3
                                                                                                    [comment] => 
                                                                                                    [extra] => 
                                                                                                    [key] => MUL
                                                                                                    [privileges] => select,insert,update,references
                                                                                                )

                                                                                            [owner3] => Array
                                                                                                (
                                                                                                    [type] => int
                                                                                                    [min] => -128
                                                                                                    [max] => 127
                                                                                                    [column_name] => owner3
                                                                                                    [column_default] => 
                                                                                                    [data_type] => tinyint
                                                                                                    [is_nullable] => 1
                                                                                                    [ordinal_position] => 22
                                                                                                    [display] => 3
                                                                                                    [comment] => 
                                                                                                    [extra] => 
                                                                                                    [key] => MUL
                                                                                                    [privileges] => select,insert,update,references
                                                                                                )

                                                                                            [owner4] => Array
                                                                                                (
                                                                                                    [type] => int
                                                                                                    [min] => -128
                                                                                                    [max] => 127
                                                                                                    [column_name] => owner4
                                                                                                    [column_default] => 
                                                                                                    [data_type] => tinyint
                                                                                                    [is_nullable] => 1
                                                                                                    [ordinal_position] => 23
                                                                                                    [display] => 3
                                                                                                    [comment] => 
                                                                                                    [extra] => 
                                                                                                    [key] => MUL
                                                                                                    [privileges] => select,insert,update,references
                                                                                                )

                                                                                            [owner5] => Array
                                                                                                (
                                                                                                    [type] => int
                                                                                                    [min] => -128
                                                                                                    [max] => 127
                                                                                                    [column_name] => owner5
                                                                                                    [column_default] => 
                                                                                                    [data_type] => tinyint
                                                                                                    [is_nullable] => 1
                                                                                                    [ordinal_position] => 24
                                                                                                    [display] => 3
                                                                                                    [comment] => 
                                                                                                    [extra] => 
                                                                                                    [key] => MUL
                                                                                                    [privileges] => select,insert,update,references
                                                                                                )

                                                                                            [owner6] => Array
                                                                                                (
                                                                                                    [type] => int
                                                                                                    [min] => -128
                                                                                                    [max] => 127
                                                                                                    [column_name] => owner6
                                                                                                    [column_default] => 
                                                                                                    [data_type] => tinyint
                                                                                                    [is_nullable] => 1
                                                                                                    [ordinal_position] => 25
                                                                                                    [display] => 3
                                                                                                    [comment] => 
                                                                                                    [extra] => 
                                                                                                    [key] => 
                                                                                                    [privileges] => select,insert,update,references
                                                                                                )

                                                                                            [owner7] => Array
                                                                                                (
                                                                                                    [type] => int
                                                                                                    [min] => -128
                                                                                                    [max] => 127
                                                                                                    [column_name] => owner7
                                                                                                    [column_default] => 
                                                                                                    [data_type] => tinyint
                                                                                                    [is_nullable] => 1
                                                                                                    [ordinal_position] => 26
                                                                                                    [display] => 3
                                                                                                    [comment] => 
                                                                                                    [extra] => 
                                                                                                    [key] => 
                                                                                                    [privileges] => select,insert,update,references
                                                                                                )

                                                                                            [owner8] => Array
                                                                                                (
                                                                                                    [type] => int
                                                                                                    [min] => -128
                                                                                                    [max] => 127
                                                                                                    [column_name] => owner8
                                                                                                    [column_default] => 
                                                                                                    [data_type] => tinyint
                                                                                                    [is_nullable] => 1
                                                                                                    [ordinal_position] => 27
                                                                                                    [display] => 3
                                                                                                    [comment] => 
                                                                                                    [extra] => 
                                                                                                    [key] => 
                                                                                                    [privileges] => select,insert,update,references
                                                                                                )

                                                                                            [owner9] => Array
                                                                                                (
                                                                                                    [type] => int
                                                                                                    [min] => -128
                                                                                                    [max] => 127
                                                                                                    [column_name] => owner9
                                                                                                    [column_default] => 
                                                                                                    [data_type] => tinyint
                                                                                                    [is_nullable] => 1
                                                                                                    [ordinal_position] => 28
                                                                                                    [display] => 3
                                                                                                    [comment] => 
                                                                                                    [extra] => 
                                                                                                    [key] => 
                                                                                                    [privileges] => select,insert,update,references
                                                                                                )

                                                                                            [events] => Array
                                                                                                (
                                                                                                    [type] => string
                                                                                                    [column_name] => events
                                                                                                    [column_default] => 
                                                                                                    [data_type] => varchar
                                                                                                    [is_nullable] => 1
                                                                                                    [ordinal_position] => 29
                                                                                                    [character_maximum_length] => 255
                                                                                                    [collation_name] => utf8_general_ci
                                                                                                    [comment] => 
                                                                                                    [extra] => 
                                                                                                    [key] => 
                                                                                                    [privileges] => select,insert,update,references
                                                                                                )

                                                                                            [realname] => Array
                                                                                                (
                                                                                                    [type] => string
                                                                                                    [column_name] => realname
                                                                                                    [column_default] => 
                                                                                                    [data_type] => varchar
                                                                                                    [is_nullable] => 1
                                                                                                    [ordinal_position] => 30
                                                                                                    [character_maximum_length] => 255
                                                                                                    [collation_name] => utf8_general_ci
                                                                                                    [comment] => 
                                                                                                    [extra] => 
                                                                                                    [key] => 
                                                                                                    [privileges] => select,insert,update,references
                                                                                                )

                                                                                            [puzzle] => Array
                                                                                                (
                                                                                                    [type] => int
                                                                                                    [min] => -128
                                                                                                    [max] => 127
                                                                                                    [column_name] => puzzle
                                                                                                    [column_default] => 0
                                                                                                    [data_type] => tinyint
                                                                                                    [is_nullable] => 1
                                                                                                    [ordinal_position] => 31
                                                                                                    [display] => 3
                                                                                                    [comment] => 
                                                                                                    [extra] => 
                                                                                                    [key] => MUL
                                                                                                    [privileges] => select,insert,update,references
                                                                                                )

                                                                                            [puzzle1] => Array
                                                                                                (
                                                                                                    [type] => int
                                                                                                    [min] => -128
                                                                                                    [max] => 127
                                                                                                    [column_name] => puzzle1
                                                                                                    [column_default] => 0
                                                                                                    [data_type] => tinyint
                                                                                                    [is_nullable] => 1
                                                                                                    [ordinal_position] => 32
                                                                                                    [display] => 3
                                                                                                    [comment] => 
                                                                                                    [extra] => 
                                                                                                    [key] => MUL
                                                                                                    [privileges] => select,insert,update,references
                                                                                                )

                                                                                            [editor_pick1] => Array
                                                                                                (
                                                                                                    [type] => int
                                                                                                    [min] => -128
                                                                                                    [max] => 127
                                                                                                    [column_name] => editor_pick1
                                                                                                    [column_default] => 0
                                                                                                    [data_type] => tinyint
                                                                                                    [is_nullable] => 1
                                                                                                    [ordinal_position] => 33
                                                                                                    [display] => 3
                                                                                                    [comment] => 
                                                                                                    [extra] => 
                                                                                                    [key] => 
                                                                                                    [privileges] => select,insert,update,references
                                                                                                )

                                                                                            [editor_pick2] => Array
                                                                                                (
                                                                                                    [type] => int
                                                                                                    [min] => -128
                                                                                                    [max] => 127
                                                                                                    [column_name] => editor_pick2
                                                                                                    [column_default] => 0
                                                                                                    [data_type] => tinyint
                                                                                                    [is_nullable] => 1
                                                                                                    [ordinal_position] => 34
                                                                                                    [display] => 3
                                                                                                    [comment] => 
                                                                                                    [extra] => 
                                                                                                    [key] => MUL
                                                                                                    [privileges] => select,insert,update,references
                                                                                                )

                                                                                            [editor_pick3] => Array
                                                                                                (
                                                                                                    [type] => int
                                                                                                    [min] => -128
                                                                                                    [max] => 127
                                                                                                    [column_name] => editor_pick3
                                                                                                    [column_default] => 0
                                                                                                    [data_type] => tinyint
                                                                                                    [is_nullable] => 1
                                                                                                    [ordinal_position] => 35
                                                                                                    [display] => 3
                                                                                                    [comment] => 
                                                                                                    [extra] => 
                                                                                                    [key] => MUL
                                                                                                    [privileges] => select,insert,update,references
                                                                                                )

                                                                                            [ownercheck] => Array
                                                                                                (
                                                                                                    [type] => string
                                                                                                    [exact] => 1
                                                                                                    [column_name] => ownercheck
                                                                                                    [column_default] => 
                                                                                                    [data_type] => char
                                                                                                    [is_nullable] => 1
                                                                                                    [ordinal_position] => 36
                                                                                                    [character_maximum_length] => 1
                                                                                                    [collation_name] => utf8_general_ci
                                                                                                    [comment] => 
                                                                                                    [extra] => 
                                                                                                    [key] => 
                                                                                                    [privileges] => select,insert,update,references
                                                                                                )

                                                                                            [sort] => Array
                                                                                                (
                                                                                                    [type] => int
                                                                                                    [min] => -2147483648
                                                                                                    [max] => 2147483647
                                                                                                    [column_name] => sort
                                                                                                    [column_default] => 0
                                                                                                    [data_type] => int
                                                                                                    [is_nullable] => 1
                                                                                                    [ordinal_position] => 37
                                                                                                    [display] => 11
                                                                                                    [comment] => 
                                                                                                    [extra] => 
                                                                                                    [key] => 
                                                                                                    [privileges] => select,insert,update,references
                                                                                                )

                                                                                            [date] => Array
                                                                                                (
                                                                                                    [type] => string
                                                                                                    [column_name] => date
                                                                                                    [column_default] => 
                                                                                                    [data_type] => varchar
                                                                                                    [is_nullable] => 1
                                                                                                    [ordinal_position] => 38
                                                                                                    [character_maximum_length] => 30
                                                                                                    [collation_name] => utf8_general_ci
                                                                                                    [comment] => 
                                                                                                    [extra] => 
                                                                                                    [key] => 
                                                                                                    [privileges] => select,insert,update,references
                                                                                                )

                                                                                            [upload_date] => Array
                                                                                                (
                                                                                                    [type] => string
                                                                                                    [column_name] => upload_date
                                                                                                    [column_default] => CURRENT_TIMESTAMP
                                                                                                    [data_type] => timestamp
                                                                                                    [is_nullable] => 
                                                                                                    [ordinal_position] => 39
                                                                                                    [comment] => 
                                                                                                    [extra] => 
                                                                                                    [key] => 
                                                                                                    [privileges] => select,insert,update,references
                                                                                                )

                                                                                            [hide] => Array
                                                                                                (
                                                                                                    [type] => int
                                                                                                    [min] => -128
                                                                                                    [max] => 127
                                                                                                    [column_name] => hide
                                                                                                    [column_default] => 0
                                                                                                    [data_type] => tinyint
                                                                                                    [is_nullable] => 
                                                                                                    [ordinal_position] => 40
                                                                                                    [display] => 1
                                                                                                    [comment] => 
                                                                                                    [extra] => 
                                                                                                    [key] => 
                                                                                                    [privileges] => select,insert,update,references
                                                                                                )

                                                                                            [cover] => Array
                                                                                                (
                                                                                                    [type] => int
                                                                                                    [min] => -128
                                                                                                    [max] => 127
                                                                                                    [column_name] => cover
                                                                                                    [column_default] => 
                                                                                                    [data_type] => tinyint
                                                                                                    [is_nullable] => 
                                                                                                    [ordinal_position] => 41
                                                                                                    [display] => 1
                                                                                                    [comment] => 
                                                                                                    [extra] => 
                                                                                                    [key] => 
                                                                                                    [privileges] => select,insert,update,references
                                                                                                )

                                                                                        )

                                                                                    [_updated_column:protected] => 
                                                                                    [_created_column:protected] => 
                                                                                    [_serialize_columns:protected] => Array
                                                                                        (
                                                                                        )

                                                                                    [_primary_key:protected] => id
                                                                                    [_primary_key_value:protected] => 16728
                                                                                    [_table_names_plural:protected] => 1
                                                                                    [_reload_on_wakeup:protected] => 1
                                                                                    [_db:protected] => Database_MySQL Object
                                                                                        (
                                                                                            [_connection_id:protected] => 0feebe02deaa29695437b76a2fc0d27ff295edcc
                                                                                            [_identifier:protected] => `
                                                                                            [last_query] => SELECT `file`.* FROM `files` AS `file` WHERE `file`.`model_id` = '16728' AND `model_fieldname` = 'fileai' AND `model_name` = 'userfile' AND `model_id` = '16728'
                                                                                            [_instance:protected] => default
                                                                                            [_connection:protected] => Resource id #2
                                                                                            [_config:protected] => Array
                                                                                                (
                                                                                                    [type] => mysql
                                                                                                    [connection] => Array
                                                                                                        (
                                                                                                            [hostname] => localhost
                                                                                                            [database] => photobank
                                                                                                            [persistent] => 
                                                                                                            [variables] => Array
                                                                                                                (
                                                                                                                    [time_zone] => +03:00
                                                                                                                )

                                                                                                        )

                                                                                                    [table_prefix] => 
                                                                                                    [charset] => utf8
                                                                                                    [caching] => 
                                                                                                    [profiling] => 1
                                                                                                )

                                                                                        )

                                                                                    [_db_group:protected] => 
                                                                                    [_db_applied:protected] => Array
                                                                                        (
                                                                                        )

                                                                                    [_db_pending:protected] => Array
                                                                                        (
                                                                                        )

                                                                                    [_db_reset:protected] => 1
                                                                                    [_db_builder:protected] => 
                                                                                    [_with_applied:protected] => Array
                                                                                        (
                                                                                        )

                                                                                    [_cast_data:protected] => Array
                                                                                        (
                                                                                        )

                                                                                    [_errors_filename:protected] => userfile
                                                                                )

                                                                            [persons] => Database_MySQL_Result Object
                                                                                (
                                                                                    [_internal_row:protected] => 46
                                                                                    [_query:protected] => SELECT `tag`.* FROM `tags` AS `tag` WHERE `on_off` = 1 AND `type` = 3 AND `sort` < 100 ORDER BY `sort` ASC
                                                                                    [_result:protected] => Resource id #21
                                                                                    [_total_rows:protected] => 46
                                                                                    [_current_row:protected] => 46
                                                                                    [_as_object:protected] => Model_Tag
                                                                                    [_object_params:protected] => 
                                                                                )

                                                                            [owner] => 0
                                                                            [event] => 0
                                                                            [person] => 0
                                                                            [events] => Database_MySQL_Result Object
                                                                                (
                                                                                    [_internal_row:protected] => 19
                                                                                    [_query:protected] => SELECT `tag`.* FROM `tags` AS `tag` WHERE `on_off` = 1 AND `type` = 4 AND `sort` < 100 ORDER BY `sort` ASC
                                                                                    [_result:protected] => Resource id #22
                                                                                    [_total_rows:protected] => 19
                                                                                    [_current_row:protected] => 19
                                                                                    [_as_object:protected] => Model_Tag
                                                                                    [_object_params:protected] => 
                                                                                )

                                                                            [data] => Array
                                                                                (
                                                                                    [content_type] => photo
                                                                                    [event] => 0
                                                                                    [events] => Database_MySQL_Result Object
                                                                                        (
                                                                                            [_internal_row:protected] => 19
                                                                                            [_query:protected] => SELECT `tag`.* FROM `tags` AS `tag` WHERE `on_off` = 1 AND `type` = 4 AND `sort` < 100 ORDER BY `sort` ASC
                                                                                            [_result:protected] => Resource id #22
                                                                                            [_total_rows:protected] => 19
                                                                                            [_current_row:protected] => 19
                                                                                            [_as_object:protected] => Model_Tag
                                                                                            [_object_params:protected] => 
                                                                                        )

                                                                                    [person] => 0
                                                                                    [persons] => Database_MySQL_Result Object
                                                                                        (
                                                                                            [_internal_row:protected] => 46
                                                                                            [_query:protected] => SELECT `tag`.* FROM `tags` AS `tag` WHERE `on_off` = 1 AND `type` = 3 AND `sort` < 100 ORDER BY `sort` ASC
                                                                                            [_result:protected] => Resource id #21
                                                                                            [_total_rows:protected] => 46
                                                                                            [_current_row:protected] => 46
                                                                                            [_as_object:protected] => Model_Tag
                                                                                            [_object_params:protected] => 
                                                                                        )

                                                                                    [owner] => 0
                                                                                )

                                                                            [total] => 559
                                                                            [photos] => Database_MySQL_Result Object
                                                                                (
                                                                                    [_internal_row:protected] => 5
                                                                                    [_query:protected] => SELECT DISTINCT `userfile`.* FROM `userfiles` AS `userfile` JOIN `usersfiles_tags` ON (`userfile_id` = `id`) WHERE `tip` = 'photo' AND `tag_id` IN (-1, -2, '4188') AND `id` <> 16728 AND `hide` = 0 ORDER BY `sort` DESC LIMIT 5 OFFSET 0
                                                                                    [_result:protected] => Resource id #27
                                                                                    [_total_rows:protected] => 5
                                                                                    [_current_row:protected] => 5
                                                                                    [_as_object:protected] => Model_Userfile
                                                                                    [_object_params:protected] => 
                                                                                )

                                                                            [photos2] => Database_MySQL_Result Object
                                                                                (
                                                                                    [_internal_row:protected] => 0
                                                                                    [_query:protected] => SELECT DISTINCT `userfile`.* FROM `userfiles` AS `userfile` WHERE `tip` = 'photo' AND `id` IN (-1, -2, '52221', '52221', '52220', '52220', '52219', '52219', '52218', '52218', '52217', '52217', '52216', '52216', '52215', '52215', '52214', '52214', '52213', '52213', '52212', '52212', '52211', '52211', '52210', '52210', '52209', '52209', '52208', '52208', '52207', '52207', '52206', '52206', '52205', '52205', '52204', '52204', '52203', '52203', '52202', '52202', '52201', '52201', '52200', '52200', '52199', '52199', '52198', '52198', '52197', '52197') AND `id` <> 16728 AND `hide` = 0 AND `id` NOT IN (0, '17162', '17161', '17160', '17159', '17158') ORDER BY IF(16728>id,16728-id,id-16728) ASC LIMIT 5
                                                                                    [_result:protected] => Resource id #28
                                                                                    [_total_rows:protected] => 5
                                                                                    [_current_row:protected] => 0
                                                                                    [_as_object:protected] => Model_Userfile
                                                                                    [_object_params:protected] => 
                                                                                )

                                                                            [pagination] => Pagination Object
                                                                                (
                                                                                    [config:protected] => Array
                                                                                        (
                                                                                            [total_items] => 559
                                                                                            [items_per_page] => 15
                                                                                            [current_page] => Array
                                                                                                (
                                                                                                    [type] => photo
                                                                                                    [source] => route
                                                                                                    [key] => page
                                                                                                    [owner] => 0
                                                                                                    [event] => 0
                                                                                                    [person] => 0
                                                                                                )

                                                                                            [view] => front/pagination/floating
                                                                                            [auto_hide] => 1
                                                                                            [first_page_in_url] => 
                                                                                            [count_out] => 2
                                                                                            [count_in] => 2
                                                                                        )

                                                                                    [current_page:protected] => 1
                                                                                    [total_items:protected] => 559
                                                                                    [items_per_page:protected] => 15
                                                                                    [total_pages:protected] => 38
                                                                                    [current_first_item:protected] => 1
                                                                                    [current_last_item:protected] => 15
                                                                                    [previous_page:protected] => 
                                                                                    [next_page:protected] => 2
                                                                                    [first_page:protected] => 
                                                                                    [last_page:protected] => 38
                                                                                    [offset:protected] => 0
                                                                                    [_request:protected] => Request Object
                                                                                        (
                                                                                            [_requested_with:protected] => 
                                                                                            [_method:protected] => GET
                                                                                            [_protocol:protected] => HTTP/1.1
                                                                                            [_secure:protected] => 1
                                                                                            [_referrer:protected] => 
                                                                                            [_route:protected] => Route Object
                                                                                                (
                                                                                                    [_callback:protected] => 
                                                                                                    [_uri:protected] => file/
                                                                                                    [_regex:protected] => Array
                                                                                                        (
                                                                                                        )

                                                                                                    [_defaults:protected] => Array
                                                                                                        (
                                                                                                            [directory] => front
                                                                                                            [action] => file
                                                                                                            [controller] => index
                                                                                                            [page] => 1
                                                                                                        )

                                                                                                    [_route_regex:protected] => #^file/(?P[^/.,;?\n]++)$#uD
                                                                                                )

                                                                                            [_routes:protected] => 
                                                                                            [_response:protected] => Response Object
                                                                                                (
                                                                                                    [_status:protected] => 200
                                                                                                    [_header:protected] => HTTP_Header Object
                                                                                                        (
                                                                                                            [_accept_content:protected] => 
                                                                                                            [_accept_charset:protected] => 
                                                                                                            [_accept_encoding:protected] => 
                                                                                                            [_accept_language:protected] => 
                                                                                                            [storage:ArrayObject:private] => Array
                                                                                                                (
                                                                                                                )

                                                                                                        )

                                                                                                    [_body:protected] => 
                                                                                                    [_cookies:protected] => Array
                                                                                                        (
                                                                                                        )

                                                                                                    [_protocol:protected] => HTTP/1.1
                                                                                                )

                                                                                            [_header:protected] => HTTP_Header Object
                                                                                                (
                                                                                                    [_accept_content:protected] => 
                                                                                                    [_accept_charset:protected] => 
                                                                                                    [_accept_encoding:protected] => 
                                                                                                    [_accept_language:protected] => 
                                                                                                    [storage:ArrayObject:private] => Array
                                                                                                        (
                                                                                                        )

                                                                                                )

                                                                                            [_body:protected] => 
                                                                                            [_directory:protected] => front
                                                                                            [_controller:protected] => index
                                                                                            [_action:protected] => file
                                                                                            [_uri:protected] => file/16728
                                                                                            [_external:protected] => 
                                                                                            [_params:protected] => Array
                                                                                                (
                                                                                                    [id] => 16728
                                                                                                    [page] => 1
                                                                                                )

                                                                                            [_get:protected] => Array
                                                                                                (
                                                                                                )

                                                                                            [_post:protected] => Array
                                                                                                (
                                                                                                )

                                                                                            [_cookies:protected] => Array
                                                                                                (
                                                                                                )

                                                                                            [_client:protected] => Request_Client_Internal Object
                                                                                                (
                                                                                                    [_previous_environment:protected] => 
                                                                                                    [_cache:protected] => 
                                                                                                )

                                                                                            [_injected_routes] => Array
                                                                                                (
                                                                                                )

                                                                                        )

                                                                                    [_route:protected] => Route Object
                                                                                        (
                                                                                            [_callback:protected] => 
                                                                                            [_uri:protected] => file/
                                                                                            [_regex:protected] => Array
                                                                                                (
                                                                                                )

                                                                                            [_defaults:protected] => Array
                                                                                                (
                                                                                                    [directory] => front
                                                                                                    [action] => file
                                                                                                    [controller] => index
                                                                                                    [page] => 1
                                                                                                )

                                                                                            [_route_regex:protected] => #^file/(?P[^/.,;?\n]++)$#uD
                                                                                        )

                                                                                    [_route_params:protected] => Array
                                                                                        (
                                                                                            [controller] => index
                                                                                            [action] => photo
                                                                                            [type] => photo
                                                                                        )

                                                                                )

                                                                            [message] => 
                                                                            [errors] => Array
                                                                                (
                                                                                )

                                                                        )

                                                                )

                                                            [items_per_page:protected] => 15
                                                            [route_params:protected] => Array
                                                                (
                                                                    [controller] => index
                                                                    [action] => file
                                                                )

                                                            [template] => View Object
                                                                (
                                                                    [_file:protected] => /var/www/photobank/application/views/front/layout/index.php
                                                                    [_data:protected] => Array
                                                                        (
                                                                        )

                                                                )

                                                            [popup_actions:protected] => Array
                                                                (
                                                                )

                                                            [popup_actions2:protected] => Array
                                                                (
                                                                )

                                                            [popup_noiframe_actions:protected] => Array
                                                                (
                                                                )

                                                            [seo_from_db:protected] => 1
                                                            [current_urls] => Array
                                                                (
                                                                    [59] => /file/*
                                                                    [3] => /.+
                                                                    [2] => *
                                                                )

                                                            [breadcrumbs] => Array
                                                                (
                                                                    [0] => Array
                                                                        (
                                                                            [0] => /
                                                                            [1] => foto.ashurbeyli.ru
                                                                        )

                                                                )

                                                            [directory:protected] => front
                                                            [message:protected] => 
                                                            [errors:protected] => Array
                                                                (
                                                                )

                                                            [user:protected] => 
                                                            [user_obj:protected] => 
                                                            [admuser:protected] => 
                                                            [admacl:protected] => 
                                                            [current_rubric:protected] => 
                                                            [current_view_dir:protected] => front/index/
                                                            [current_view_path:protected] => front/index/file
                                                            [admin_path:protected] => admin
                                                            [controller:protected] => index
                                                            [action:protected] => file
                                                            [photos_path] => Array
                                                                (
                                                                    [ava] => /public/user/images/
                                                                    [notice] => /public/notice/images/
                                                                )

                                                            [auto_render] => 1
                                                            [request] => Request Object
                                                                (
                                                                    [_requested_with:protected] => 
                                                                    [_method:protected] => GET
                                                                    [_protocol:protected] => HTTP/1.1
                                                                    [_secure:protected] => 1
                                                                    [_referrer:protected] => 
                                                                    [_route:protected] => Route Object
                                                                        (
                                                                            [_callback:protected] => 
                                                                            [_uri:protected] => file/
                                                                            [_regex:protected] => Array
                                                                                (
                                                                                )

                                                                            [_defaults:protected] => Array
                                                                                (
                                                                                    [directory] => front
                                                                                    [action] => file
                                                                                    [controller] => index
                                                                                    [page] => 1
                                                                                )

                                                                            [_route_regex:protected] => #^file/(?P[^/.,;?\n]++)$#uD
                                                                        )

                                                                    [_routes:protected] => 
                                                                    [_response:protected] => Response Object
                                                                        (
                                                                            [_status:protected] => 200
                                                                            [_header:protected] => HTTP_Header Object
                                                                                (
                                                                                    [_accept_content:protected] => 
                                                                                    [_accept_charset:protected] => 
                                                                                    [_accept_encoding:protected] => 
                                                                                    [_accept_language:protected] => 
                                                                                    [storage:ArrayObject:private] => Array
                                                                                        (
                                                                                        )

                                                                                )

                                                                            [_body:protected] => 
                                                                            [_cookies:protected] => Array
                                                                                (
                                                                                )

                                                                            [_protocol:protected] => HTTP/1.1
                                                                        )

                                                                    [_header:protected] => HTTP_Header Object
                                                                        (
                                                                            [_accept_content:protected] => 
                                                                            [_accept_charset:protected] => 
                                                                            [_accept_encoding:protected] => 
                                                                            [_accept_language:protected] => 
                                                                            [storage:ArrayObject:private] => Array
                                                                                (
                                                                                )

                                                                        )

                                                                    [_body:protected] => 
                                                                    [_directory:protected] => front
                                                                    [_controller:protected] => index
                                                                    [_action:protected] => file
                                                                    [_uri:protected] => file/16728
                                                                    [_external:protected] => 
                                                                    [_params:protected] => Array
                                                                        (
                                                                            [id] => 16728
                                                                            [page] => 1
                                                                        )

                                                                    [_get:protected] => Array
                                                                        (
                                                                        )

                                                                    [_post:protected] => Array
                                                                        (
                                                                        )

                                                                    [_cookies:protected] => Array
                                                                        (
                                                                        )

                                                                    [_client:protected] => Request_Client_Internal Object
                                                                        (
                                                                            [_previous_environment:protected] => 
                                                                            [_cache:protected] => 
                                                                        )

                                                                    [_injected_routes] => Array
                                                                        (
                                                                        )

                                                                )

                                                            [response] => Response Object
                                                                (
                                                                    [_status:protected] => 200
                                                                    [_header:protected] => HTTP_Header Object
                                                                        (
                                                                            [_accept_content:protected] => 
                                                                            [_accept_charset:protected] => 
                                                                            [_accept_encoding:protected] => 
                                                                            [_accept_language:protected] => 
                                                                            [storage:ArrayObject:private] => Array
                                                                                (
                                                                                )

                                                                        )

                                                                    [_body:protected] => 
                                                                    [_cookies:protected] => Array
                                                                        (
                                                                        )

                                                                    [_protocol:protected] => HTTP/1.1
                                                                )

                                                        )

                                                )

                                        )

                                    [7] => Array
                                        (
                                            [file] => /var/www/photobank/miracle/system/classes/kohana/request/client.php
                                            [line] => 64
                                            [function] => execute_request
                                            [class] => Kohana_Request_Client_Internal
                                            [type] => ->
                                            [args] => Array
                                                (
                                                    [0] => Request Object
                                                        (
                                                            [_requested_with:protected] => 
                                                            [_method:protected] => GET
                                                            [_protocol:protected] => HTTP/1.1
                                                            [_secure:protected] => 1
                                                            [_referrer:protected] => 
                                                            [_route:protected] => Route Object
                                                                (
                                                                    [_callback:protected] => 
                                                                    [_uri:protected] => file/
                                                                    [_regex:protected] => Array
                                                                        (
                                                                        )

                                                                    [_defaults:protected] => Array
                                                                        (
                                                                            [directory] => front
                                                                            [action] => file
                                                                            [controller] => index
                                                                            [page] => 1
                                                                        )

                                                                    [_route_regex:protected] => #^file/(?P[^/.,;?\n]++)$#uD
                                                                )

                                                            [_routes:protected] => 
                                                            [_response:protected] => Response Object
                                                                (
                                                                    [_status:protected] => 200
                                                                    [_header:protected] => HTTP_Header Object
                                                                        (
                                                                            [_accept_content:protected] => 
                                                                            [_accept_charset:protected] => 
                                                                            [_accept_encoding:protected] => 
                                                                            [_accept_language:protected] => 
                                                                            [storage:ArrayObject:private] => Array
                                                                                (
                                                                                )

                                                                        )

                                                                    [_body:protected] => 
                                                                    [_cookies:protected] => Array
                                                                        (
                                                                        )

                                                                    [_protocol:protected] => HTTP/1.1
                                                                )

                                                            [_header:protected] => HTTP_Header Object
                                                                (
                                                                    [_accept_content:protected] => 
                                                                    [_accept_charset:protected] => 
                                                                    [_accept_encoding:protected] => 
                                                                    [_accept_language:protected] => 
                                                                    [storage:ArrayObject:private] => Array
                                                                        (
                                                                        )

                                                                )

                                                            [_body:protected] => 
                                                            [_directory:protected] => front
                                                            [_controller:protected] => index
                                                            [_action:protected] => file
                                                            [_uri:protected] => file/16728
                                                            [_external:protected] => 
                                                            [_params:protected] => Array
                                                                (
                                                                    [id] => 16728
                                                                    [page] => 1
                                                                )

                                                            [_get:protected] => Array
                                                                (
                                                                )

                                                            [_post:protected] => Array
                                                                (
                                                                )

                                                            [_cookies:protected] => Array
                                                                (
                                                                )

                                                            [_client:protected] => Request_Client_Internal Object
                                                                (
                                                                    [_previous_environment:protected] => 
                                                                    [_cache:protected] => 
                                                                )

                                                            [_injected_routes] => Array
                                                                (
                                                                )

                                                        )

                                                )

                                        )

                                    [8] => Array
                                        (
                                            [file] => /var/www/photobank/miracle/system/classes/kohana/request.php
                                            [line] => 1138
                                            [function] => execute
                                            [class] => Kohana_Request_Client
                                            [type] => ->
                                            [args] => Array
                                                (
                                                    [0] => Request Object
                                                        (
                                                            [_requested_with:protected] => 
                                                            [_method:protected] => GET
                                                            [_protocol:protected] => HTTP/1.1
                                                            [_secure:protected] => 1
                                                            [_referrer:protected] => 
                                                            [_route:protected] => Route Object
                                                                (
                                                                    [_callback:protected] => 
                                                                    [_uri:protected] => file/
                                                                    [_regex:protected] => Array
                                                                        (
                                                                        )

                                                                    [_defaults:protected] => Array
                                                                        (
                                                                            [directory] => front
                                                                            [action] => file
                                                                            [controller] => index
                                                                            [page] => 1
                                                                        )

                                                                    [_route_regex:protected] => #^file/(?P[^/.,;?\n]++)$#uD
                                                                )

                                                            [_routes:protected] => 
                                                            [_response:protected] => Response Object
                                                                (
                                                                    [_status:protected] => 200
                                                                    [_header:protected] => HTTP_Header Object
                                                                        (
                                                                            [_accept_content:protected] => 
                                                                            [_accept_charset:protected] => 
                                                                            [_accept_encoding:protected] => 
                                                                            [_accept_language:protected] => 
                                                                            [storage:ArrayObject:private] => Array
                                                                                (
                                                                                )

                                                                        )

                                                                    [_body:protected] => 
                                                                    [_cookies:protected] => Array
                                                                        (
                                                                        )

                                                                    [_protocol:protected] => HTTP/1.1
                                                                )

                                                            [_header:protected] => HTTP_Header Object
                                                                (
                                                                    [_accept_content:protected] => 
                                                                    [_accept_charset:protected] => 
                                                                    [_accept_encoding:protected] => 
                                                                    [_accept_language:protected] => 
                                                                    [storage:ArrayObject:private] => Array
                                                                        (
                                                                        )

                                                                )

                                                            [_body:protected] => 
                                                            [_directory:protected] => front
                                                            [_controller:protected] => index
                                                            [_action:protected] => file
                                                            [_uri:protected] => file/16728
                                                            [_external:protected] => 
                                                            [_params:protected] => Array
                                                                (
                                                                    [id] => 16728
                                                                    [page] => 1
                                                                )

                                                            [_get:protected] => Array
                                                                (
                                                                )

                                                            [_post:protected] => Array
                                                                (
                                                                )

                                                            [_cookies:protected] => Array
                                                                (
                                                                )

                                                            [_client:protected] => Request_Client_Internal Object
                                                                (
                                                                    [_previous_environment:protected] => 
                                                                    [_cache:protected] => 
                                                                )

                                                            [_injected_routes] => Array
                                                                (
                                                                )

                                                        )

                                                )

                                        )

                                    [9] => Array
                                        (
                                            [file] => /var/www/photobank/index.php
                                            [line] => 267
                                            [function] => execute
                                            [class] => Kohana_Request
                                            [type] => ->
                                            [args] => Array
                                                (
                                                )

                                        )

                                )

                            [previous:Exception:private] => 
                            [severity:protected] => 0
                        )

                )

        )

)