Счетчик газа СГМБ с универсальным кейсом для модема телеметрии

Узнать цену
Наш сайт использует cookies, чтобы улучшить ваш пользовательский опыт. Подробнее
Подробнее
************************** DEBUG MODE **********************************
Потребление памяти: 1618,4453125 KB
SQL запросов: 93
Array
(
    [0] => Array
        (
            [query] => select * from `setting`
            [bindings] => Array
                (
                )

            [time] => 1,65
        )

    [1] => Array
        (
            [query] => select * from `customfield`
            [bindings] => Array
                (
                )

            [time] => 0,95
        )

    [2] => Array
        (
            [query] => select * from `redirect` where `from` = ? limit 1
            [bindings] => Array
                (
                    [0] => /product/schetchik-gaza-sgmb-s-universalnym-keysom-dlya-modema-telemetrii-
                )

            [time] => 1,06
        )

    [3] => Array
        (
            [query] => select * from `carts` where `token` = ?
            [bindings] => Array
                (
                    [0] => fd2b045940692eb2a7f302bb0678ff53
                )

            [time] => 0,84
        )

    [4] => Array
        (
            [query] => select * from `price_katalog` where `id` in (?, ?, ?) order by FIELD (id, 36,4,1)
            [bindings] => Array
                (
                    [0] => 36
                    [1] => 4
                    [2] => 1
                )

            [time] => 0,4
        )

    [5] => Array
        (
            [query] => select * from `menu` where `status` = ? order by `position` asc
            [bindings] => Array
                (
                    [0] => 3
                )

            [time] => 1,77
        )

    [6] => Array
        (
            [query] => select `price_katalog`.*, `price_katalog`.`url_katalog` as `url` from `price_katalog` where `status` = ? and `id_parent` = ? order by `position` asc
            [bindings] => Array
                (
                    [0] => 3
                    [1] => 1
                )

            [time] => 0,32
        )

    [7] => Array
        (
            [query] => select `price_katalog`.*, `price_katalog`.`url_katalog` as `url` from `price_katalog` where `status` = ? and `id_parent` = ? order by `position` asc
            [bindings] => Array
                (
                    [0] => 3
                    [1] => 26
                )

            [time] => 0,17
        )

    [8] => Array
        (
            [query] => select `price_katalog`.*, `price_katalog`.`url_katalog` as `url` from `price_katalog` where `status` = ? and `id_parent` = ? order by `position` asc
            [bindings] => Array
                (
                    [0] => 3
                    [1] => 26
                )

            [time] => 0,15
        )

    [9] => Array
        (
            [query] => select `price_katalog`.*, `price_katalog`.`url_katalog` as `url` from `price_katalog` where `status` = ? and `id_parent` = ? order by `position` asc
            [bindings] => Array
                (
                    [0] => 3
                    [1] => 29
                )

            [time] => 0,15
        )

    [10] => Array
        (
            [query] => select `price_katalog`.*, `price_katalog`.`url_katalog` as `url` from `price_katalog` where `status` = ? and `id_parent` = ? order by `position` asc
            [bindings] => Array
                (
                    [0] => 3
                    [1] => 29
                )

            [time] => 0,15
        )

    [11] => Array
        (
            [query] => select `price_katalog`.*, `price_katalog`.`url_katalog` as `url` from `price_katalog` where `status` = ? and `id_parent` = ? order by `position` asc
            [bindings] => Array
                (
                    [0] => 3
                    [1] => 30
                )

            [time] => 0,14
        )

    [12] => Array
        (
            [query] => select `price_katalog`.*, `price_katalog`.`url_katalog` as `url` from `price_katalog` where `status` = ? and `id_parent` = ? order by `position` asc
            [bindings] => Array
                (
                    [0] => 3
                    [1] => 30
                )

            [time] => 0,14
        )

    [13] => Array
        (
            [query] => select `price_katalog`.*, `price_katalog`.`url_katalog` as `url` from `price_katalog` where `status` = ? and `id_parent` = ? order by `position` asc
            [bindings] => Array
                (
                    [0] => 3
                    [1] => 10
                )

            [time] => 0,18
        )

    [14] => Array
        (
            [query] => select `price_katalog`.*, `price_katalog`.`url_katalog` as `url` from `price_katalog` where `status` = ? and `id_parent` = ? order by `position` asc
            [bindings] => Array
                (
                    [0] => 3
                    [1] => 10
                )

            [time] => 0,18
        )

    [15] => Array
        (
            [query] => select `price_katalog`.*, `price_katalog`.`url_katalog` as `url` from `price_katalog` where `status` = ? and `id_parent` = ? order by `position` asc
            [bindings] => Array
                (
                    [0] => 3
                    [1] => 9
                )

            [time] => 0,16
        )

    [16] => Array
        (
            [query] => select `price_katalog`.*, `price_katalog`.`url_katalog` as `url` from `price_katalog` where `status` = ? and `id_parent` = ? order by `position` asc
            [bindings] => Array
                (
                    [0] => 3
                    [1] => 9
                )

            [time] => 0,14
        )

    [17] => Array
        (
            [query] => select `price_katalog`.*, `price_katalog`.`url_katalog` as `url` from `price_katalog` where `status` = ? and `id_parent` = ? order by `position` asc
            [bindings] => Array
                (
                    [0] => 3
                    [1] => 36
                )

            [time] => 0,14
        )

    [18] => Array
        (
            [query] => select `price_katalog`.*, `price_katalog`.`url_katalog` as `url` from `price_katalog` where `status` = ? and `id_parent` = ? order by `position` asc
            [bindings] => Array
                (
                    [0] => 3
                    [1] => 36
                )

            [time] => 0,15
        )

    [19] => Array
        (
            [query] => select `price_katalog`.*, `price_katalog`.`url_katalog` as `url` from `price_katalog` where `status` = ? and `id_parent` = ? order by `position` asc
            [bindings] => Array
                (
                    [0] => 3
                    [1] => 31
                )

            [time] => 0,21
        )

    [20] => Array
        (
            [query] => select `price_katalog`.*, `price_katalog`.`url_katalog` as `url` from `price_katalog` where `status` = ? and `id_parent` = ? order by `position` asc
            [bindings] => Array
                (
                    [0] => 3
                    [1] => 31
                )

            [time] => 0,15
        )

    [21] => Array
        (
            [query] => select `price_katalog`.*, `price_katalog`.`url_katalog` as `url` from `price_katalog` where `status` = ? and `id_parent` = ? order by `position` asc
            [bindings] => Array
                (
                    [0] => 3
                    [1] => 7
                )

            [time] => 0,14
        )

    [22] => Array
        (
            [query] => select `price_katalog`.*, `price_katalog`.`url_katalog` as `url` from `price_katalog` where `status` = ? and `id_parent` = ? order by `position` asc
            [bindings] => Array
                (
                    [0] => 3
                    [1] => 7
                )

            [time] => 0,23
        )

    [23] => Array
        (
            [query] => select `price_katalog`.*, `price_katalog`.`url_katalog` as `url` from `price_katalog` where `status` = ? and `id_parent` = ? order by `position` asc
            [bindings] => Array
                (
                    [0] => 3
                    [1] => 41
                )

            [time] => 0,15
        )

    [24] => Array
        (
            [query] => select `price_katalog`.*, `price_katalog`.`url_katalog` as `url` from `price_katalog` where `status` = ? and `id_parent` = ? order by `position` asc
            [bindings] => Array
                (
                    [0] => 3
                    [1] => 41
                )

            [time] => 0,18
        )

    [25] => Array
        (
            [query] => select `price_katalog`.*, `price_katalog`.`url_katalog` as `url` from `price_katalog` where `status` = ? and `id_parent` = ? order by `position` asc
            [bindings] => Array
                (
                    [0] => 3
                    [1] => 1
                )

            [time] => 0,54
        )

    [26] => Array
        (
            [query] => select `price_katalog`.*, `price_katalog`.`url_katalog` as `url` from `price_katalog` where `status` = ? and `id_parent` = ? order by `position` asc
            [bindings] => Array
                (
                    [0] => 3
                    [1] => 26
                )

            [time] => 0,3
        )

    [27] => Array
        (
            [query] => select `price_katalog`.*, `price_katalog`.`url_katalog` as `url` from `price_katalog` where `status` = ? and `id_parent` = ? order by `position` asc
            [bindings] => Array
                (
                    [0] => 3
                    [1] => 26
                )

            [time] => 0,26
        )

    [28] => Array
        (
            [query] => select `price_katalog`.*, `price_katalog`.`url_katalog` as `url` from `price_katalog` where `status` = ? and `id_parent` = ? order by `position` asc
            [bindings] => Array
                (
                    [0] => 3
                    [1] => 29
                )

            [time] => 0,25
        )

    [29] => Array
        (
            [query] => select `price_katalog`.*, `price_katalog`.`url_katalog` as `url` from `price_katalog` where `status` = ? and `id_parent` = ? order by `position` asc
            [bindings] => Array
                (
                    [0] => 3
                    [1] => 29
                )

            [time] => 0,27
        )

    [30] => Array
        (
            [query] => select `price_katalog`.*, `price_katalog`.`url_katalog` as `url` from `price_katalog` where `status` = ? and `id_parent` = ? order by `position` asc
            [bindings] => Array
                (
                    [0] => 3
                    [1] => 30
                )

            [time] => 0,28
        )

    [31] => Array
        (
            [query] => select `price_katalog`.*, `price_katalog`.`url_katalog` as `url` from `price_katalog` where `status` = ? and `id_parent` = ? order by `position` asc
            [bindings] => Array
                (
                    [0] => 3
                    [1] => 30
                )

            [time] => 0,27
        )

    [32] => Array
        (
            [query] => select `price_katalog`.*, `price_katalog`.`url_katalog` as `url` from `price_katalog` where `status` = ? and `id_parent` = ? order by `position` asc
            [bindings] => Array
                (
                    [0] => 3
                    [1] => 10
                )

            [time] => 0,36
        )

    [33] => Array
        (
            [query] => select `price_katalog`.*, `price_katalog`.`url_katalog` as `url` from `price_katalog` where `status` = ? and `id_parent` = ? order by `position` asc
            [bindings] => Array
                (
                    [0] => 3
                    [1] => 10
                )

            [time] => 0,34
        )

    [34] => Array
        (
            [query] => select `price_katalog`.*, `price_katalog`.`url_katalog` as `url` from `price_katalog` where `status` = ? and `id_parent` = ? order by `position` asc
            [bindings] => Array
                (
                    [0] => 3
                    [1] => 9
                )

            [time] => 0,26
        )

    [35] => Array
        (
            [query] => select `price_katalog`.*, `price_katalog`.`url_katalog` as `url` from `price_katalog` where `status` = ? and `id_parent` = ? order by `position` asc
            [bindings] => Array
                (
                    [0] => 3
                    [1] => 9
                )

            [time] => 0,26
        )

    [36] => Array
        (
            [query] => select `price_katalog`.*, `price_katalog`.`url_katalog` as `url` from `price_katalog` where `status` = ? and `id_parent` = ? order by `position` asc
            [bindings] => Array
                (
                    [0] => 3
                    [1] => 36
                )

            [time] => 0,27
        )

    [37] => Array
        (
            [query] => select `price_katalog`.*, `price_katalog`.`url_katalog` as `url` from `price_katalog` where `status` = ? and `id_parent` = ? order by `position` asc
            [bindings] => Array
                (
                    [0] => 3
                    [1] => 36
                )

            [time] => 0,25
        )

    [38] => Array
        (
            [query] => select `price_katalog`.*, `price_katalog`.`url_katalog` as `url` from `price_katalog` where `status` = ? and `id_parent` = ? order by `position` asc
            [bindings] => Array
                (
                    [0] => 3
                    [1] => 31
                )

            [time] => 0,25
        )

    [39] => Array
        (
            [query] => select `price_katalog`.*, `price_katalog`.`url_katalog` as `url` from `price_katalog` where `status` = ? and `id_parent` = ? order by `position` asc
            [bindings] => Array
                (
                    [0] => 3
                    [1] => 31
                )

            [time] => 0,25
        )

    [40] => Array
        (
            [query] => select `price_katalog`.*, `price_katalog`.`url_katalog` as `url` from `price_katalog` where `status` = ? and `id_parent` = ? order by `position` asc
            [bindings] => Array
                (
                    [0] => 3
                    [1] => 7
                )

            [time] => 0,27
        )

    [41] => Array
        (
            [query] => select `price_katalog`.*, `price_katalog`.`url_katalog` as `url` from `price_katalog` where `status` = ? and `id_parent` = ? order by `position` asc
            [bindings] => Array
                (
                    [0] => 3
                    [1] => 7
                )

            [time] => 0,27
        )

    [42] => Array
        (
            [query] => select `price_katalog`.*, `price_katalog`.`url_katalog` as `url` from `price_katalog` where `status` = ? and `id_parent` = ? order by `position` asc
            [bindings] => Array
                (
                    [0] => 3
                    [1] => 41
                )

            [time] => 0,29
        )

    [43] => Array
        (
            [query] => select `price_katalog`.*, `price_katalog`.`url_katalog` as `url` from `price_katalog` where `status` = ? and `id_parent` = ? order by `position` asc
            [bindings] => Array
                (
                    [0] => 3
                    [1] => 41
                )

            [time] => 0,28
        )

)
Array
(
    [0] => Array
        (
            [sql] => 
            SELECT *
            FROM `location_address_image`
            ORDER BY `position` ASC 
        
            [placeholders] => Array
                (
                )

        )

    [1] => Array
        (
            [sql] => 
            SELECT *
            FROM `location_address_contact`
            ORDER BY position ASC;
        
            [placeholders] => Array
                (
                )

        )

    [2] => Array
        (
            [sql] => 
            SELECT *
            FROM `location_address`
            WHERE `default` = 1
            LIMIT 1
        
            [placeholders] => Array
                (
                )

        )

    [3] => Array
        (
            [sql] => 
            SELECT *
            FROM `location_address_type`
            WHERE id = :id
        
            [placeholders] => Array
                (
                    [:id] => 1
                )

        )

    [4] => Array
        (
            [sql] => 
            SELECT *
            FROM `location`
            WHERE id = :id
        
            [placeholders] => Array
                (
                    [:id] => 99
                )

        )

    [5] => Array
        (
            [sql] => 
            SELECT id as page_id, katalog_url as pattern
            FROM katalog
            WHERE status_id = 3
        
            [placeholders] => Array
                (
                )

        )

    [6] => Array
        (
            [sql] => 
            SELECT *
            FROM katalog_route
        
            [placeholders] => Array
                (
                )

        )

    [7] => Array
        (
            [sql] => 
            SELECT 
            k.id, katalog_url as url, k.file_name, k.title, k.meta, t.top_name, t.bottom_name,
            k.name, k.title, k.meta as description, k.keywords, k.view_breadcrumbs
            FROM katalog k 
            LEFT JOIN template t ON k.template_id = t.id 
            WHERE k.id = :id AND status_id = 3
        
            [placeholders] => Array
                (
                    [:id] => 119
                )

        )

    [8] => Array
        (
            [sql] => 
            SELECT *
            FROM product_item_template
            ORDER BY id ASC;
        
            [placeholders] => Array
                (
                )

        )

    [9] => Array
        (
            [sql] => 
            SELECT *
            FROM order_status
            ORDER BY id ASC;
        
            [placeholders] => Array
                (
                )

        )

    [10] => Array
        (
            [sql] => SELECT price.* FROM price WHERE url_product= :url AND status = 3 
            [placeholders] => Array
                (
                    [:url] => schetchik-gaza-sgmb-s-universalnym-keysom-dlya-modema-telemetrii-
                )

        )

    [11] => Array
        (
            [sql] => 
            SELECT price_tag.*
            FROM price_tag
            INNER JOIN price_and_tag ON price_and_tag.tag_id = price_tag.id
            WHERE price_and_tag.price_id = :product_id
            ORDER BY price_tag.id ASC
        
            [placeholders] => Array
                (
                    [:product_id] => 89
                )

        )

    [12] => Array
        (
            [sql] => 
            SELECT price_katalog.*, price_katalog.url_katalog as url
            FROM price_katalog
            WHERE id = :id
        
            [placeholders] => Array
                (
                    [:id] => 36
                )

        )

    [13] => Array
        (
            [sql] => 
            SELECT *
            FROM `price_katalog_field`
            WHERE entity_id = :id
        
            [placeholders] => Array
                (
                    [:id] => 36
                )

        )

    [14] => Array
        (
            [sql] => select * from price_foto where id_price = '89' order by position desc
            [placeholders] => Array
                (
                )

        )

    [15] => Array
        (
            [sql] => 
            SELECT * FROM price_type
            WHERE id = :id
        
            [placeholders] => Array
                (
                    [:id] => 1
                )

        )

    [16] => Array
        (
            [sql] => 
            SELECT *
            FROM `price_katalog_field`
            WHERE entity_id = :id
        
            [placeholders] => Array
                (
                    [:id] => 36
                )

        )

    [17] => Array
        (
            [sql] => 
            SELECT *
            FROM `price_katalog_field`
            WHERE entity_id = :id
        
            [placeholders] => Array
                (
                    [:id] => 36
                )

        )

    [18] => Array
        (
            [sql] => 
            SELECT price_katalog.*, price_katalog.url_katalog as url
            FROM price_katalog
            WHERE id = :id
        
            [placeholders] => Array
                (
                    [:id] => 4
                )

        )

    [19] => Array
        (
            [sql] => 
            SELECT price_katalog.*, price_katalog.url_katalog as url
            FROM price_katalog
            WHERE id = :id
        
            [placeholders] => Array
                (
                    [:id] => 1
                )

        )

    [20] => Array
        (
            [sql] => 
			SELECT *
			FROM `price_modification_groups`
		
            [placeholders] => Array
                (
                )

        )

    [21] => Array
        (
            [sql] => 
			SELECT amount
		  	FROM price
		  	WHERE id = 89
		
            [placeholders] => Array
                (
                )

        )

    [22] => Array
        (
            [sql] => 
            SELECT id, id_parent
            FROM price_katalog
            WHERE id = 36
        
            [placeholders] => Array
                (
                )

        )

    [23] => Array
        (
            [sql] => 
            SELECT id, name, url_katalog
            FROM price_katalog
            WHERE id_parent = 4 and status = 3
        
            [placeholders] => Array
                (
                )

        )

    [24] => Array
        (
            [sql] => 
            SELECT *
            FROM price_docs
            WHERE id_price = :product_id
            ORDER BY `position` ASC;
        
            [placeholders] => Array
                (
                    [:product_id] => 89
                )

        )

    [25] => Array
        (
            [sql] => 
            SELECT p_option.*, product_options.name as option_name, 
                   product_options.unit_type as option_unit_type, 
                   product_option_value.value as option_value
            FROM product_and_option p_option
            INNER JOIN product_options ON product_options.id = p_option.option_id
            INNER JOIN product_option_value ON product_option_value.id = p_option.value_id
            WHERE p_option.product_id = :product_id
            ORDER BY p_option.position ASC;
        
            [placeholders] => Array
                (
                    [:product_id] => 89
                )

        )

    [26] => Array
        (
            [sql] => 
            SELECT product_option_group.*
            FROM product_and_option_group
            INNER JOIN product_option_group ON product_option_group.id = product_and_option_group.group_id
            WHERE product_and_option_group.product_id = :product_id;
        
            [placeholders] => Array
                (
                    [:product_id] => 89
                )

        )

    [27] => Array
        (
            [sql] => 
            SELECT *
            FROM `news_razdel`
            ORDER BY position ASC;
        
            [placeholders] => Array
                (
                )

        )

    [28] => Array
        (
            [sql] => SELECT price.* FROM price WHERE url_product= :url AND status = 3 
            [placeholders] => Array
                (
                    [:url] => schetchik-gaza-sgmb-s-universalnym-keysom-dlya-modema-telemetrii-
                )

        )

    [29] => Array
        (
            [sql] => 
            SELECT *
            FROM `price_katalog_field`
            WHERE entity_id = :id
        
            [placeholders] => Array
                (
                    [:id] => 36
                )

        )

    [30] => Array
        (
            [sql] => 
            SELECT *
            FROM `price_katalog_field`
            WHERE entity_id = :id
        
            [placeholders] => Array
                (
                    [:id] => 36
                )

        )

    [31] => Array
        (
            [sql] => 
            SELECT *
            FROM `price_katalog_field`
            WHERE entity_id = :id
        
            [placeholders] => Array
                (
                    [:id] => 4
                )

        )

    [32] => Array
        (
            [sql] => 
            SELECT *
            FROM `price_katalog_field`
            WHERE entity_id = :id
        
            [placeholders] => Array
                (
                    [:id] => 1
                )

        )

    [33] => Array
        (
            [sql] => 
            SELECT *
            FROM `price_katalog_field`
            WHERE entity_id = :id
        
            [placeholders] => Array
                (
                    [:id] => 36
                )

        )

    [34] => Array
        (
            [sql] => 
            SELECT *
            FROM `price_katalog_field`
            WHERE entity_id = :id
        
            [placeholders] => Array
                (
                    [:id] => 4
                )

        )

    [35] => Array
        (
            [sql] => 
            SELECT *
            FROM `price_katalog_field`
            WHERE entity_id = :id
        
            [placeholders] => Array
                (
                    [:id] => 1
                )

        )

    [36] => Array
        (
            [sql] => 
            SELECT *
            FROM `price_katalog_field`
            WHERE (entity_id=2 OR entity_id=3 OR entity_id=4 OR entity_id=8 OR entity_id=5 OR entity_id=35 OR entity_id=40)
        
            [placeholders] => Array
                (
                )

        )

    [37] => Array
        (
            [sql] => 
            SELECT *
            FROM `price_katalog`
            WHERE (id_parent=2 OR id_parent=3 OR id_parent=4 OR id_parent=8 OR id_parent=5 OR id_parent=35 OR id_parent=40) AND status = 3
            ORDER BY `position` ASC
        
            [placeholders] => Array
                (
                )

        )

    [38] => Array
        (
            [sql] => 
            SELECT *
            FROM `price_katalog_field`
            WHERE (entity_id=10 OR entity_id=9 OR entity_id=7 OR entity_id=26 OR entity_id=29 OR entity_id=30 OR entity_id=36 OR entity_id=31 OR entity_id=41)
        
            [placeholders] => Array
                (
                )

        )

    [39] => Array
        (
            [sql] => 
            SELECT *
            FROM `price_katalog_field`
            WHERE (entity_id=37 OR entity_id=38 OR entity_id=39)
        
            [placeholders] => Array
                (
                )

        )

    [40] => Array
        (
            [sql] => 
            SELECT *
            FROM `price_katalog_field`
            WHERE (entity_id=37 OR entity_id=38 OR entity_id=39)
        
            [placeholders] => Array
                (
                )

        )

    [41] => Array
        (
            [sql] => SELECT * FROM katalog WHERE id = 119
            [placeholders] => Array
                (
                )

        )

    [42] => Array
        (
            [sql] => 
            SELECT *
            FROM `callback_razdel`
            WHERE id = :id
        
            [placeholders] => Array
                (
                    [:id] => 1
                )

        )

    [43] => Array
        (
            [sql] => 
            SELECT *
            FROM `callback_razdel`
            WHERE id = :id
        
            [placeholders] => Array
                (
                    [:id] => 1
                )

        )

    [44] => Array
        (
            [sql] => 
            SELECT *
            FROM `price_katalog_field`
            WHERE (entity_id=2 OR entity_id=3 OR entity_id=4 OR entity_id=8 OR entity_id=5 OR entity_id=35 OR entity_id=40)
        
            [placeholders] => Array
                (
                )

        )

    [45] => Array
        (
            [sql] => 
            SELECT *
            FROM `price_katalog`
            WHERE (id_parent=2 OR id_parent=3 OR id_parent=4 OR id_parent=8 OR id_parent=5 OR id_parent=35 OR id_parent=40) AND status = 3
            ORDER BY `position` ASC
        
            [placeholders] => Array
                (
                )

        )

    [46] => Array
        (
            [sql] => 
            SELECT *
            FROM `price_katalog_field`
            WHERE (entity_id=10 OR entity_id=9 OR entity_id=7 OR entity_id=26 OR entity_id=29 OR entity_id=30 OR entity_id=36 OR entity_id=31 OR entity_id=41)
        
            [placeholders] => Array
                (
                )

        )

    [47] => Array
        (
            [sql] => 
            SELECT *
            FROM `price_katalog_field`
            WHERE (entity_id=37 OR entity_id=38 OR entity_id=39)
        
            [placeholders] => Array
                (
                )

        )

    [48] => Array
        (
            [sql] => 
            SELECT *
            FROM `price_katalog_field`
            WHERE (entity_id=37 OR entity_id=38 OR entity_id=39)
        
            [placeholders] => Array
                (
                )

        )

)
*************************************************************************