UPDATE
				`cms_shop_group`
			SET
				`is_active` = 'false',
				`count` = '0'
			WHERE
				`id` = '1'
		
			UPDATE
				`cms_shop_group`
			SET
				`is_active` = 'true',
				`count` = '21'
			WHERE
				`id` = '2'
		
			UPDATE
				`cms_shop_group`
			SET
				`is_active` = 'false',
				`count` = '0'
			WHERE
				`id` = '3'
		
			UPDATE
				`cms_shop_group`
			SET
				`is_active` = 'true',
				`count` = '27'
			WHERE
				`id` = '4'
		
			UPDATE
				`cms_shop_group`
			SET
				`is_active` = 'false',
				`count` = '0'
			WHERE
				`id` = '18'
		
			UPDATE
				`cms_shop_group`
			SET
				`is_active` = 'true',
				`count` = '4'
			WHERE
				`id` = '19'
		
			UPDATE
				`cms_shop_group`
			SET
				`is_active` = 'true',
				`count` = '20'
			WHERE
				`id` = '10'
		
			UPDATE
				`cms_shop_group`
			SET
				`is_active` = 'true',
				`count` = '42'
			WHERE
				`id` = '11'
		
			UPDATE
				`cms_shop_group`
			SET
				`is_active` = 'false',
				`count` = '0'
			WHERE
				`id` = '12'
		
			UPDATE
				`cms_shop_group`
			SET
				`is_active` = 'true',
				`count` = '14'
			WHERE
				`id` = '17'
		
			UPDATE
				`cms_shop_group`
			SET
				`is_active` = 'true',
				`count` = '20'
			WHERE
				`id` = '14'
		
			UPDATE
				`cms_shop_group`
			SET
				`is_active` = 'false',
				`count` = '0'
			WHERE
				`id` = '15'
		
			UPDATE
				`cms_shop_group`
			SET
				`is_active` = 'true',
				`count` = '20'
			WHERE
				`id` = '16'
		
			UPDATE
				`cms_shop_group`
			SET
				`is_active` = 'false',
				`count` = '0'
			WHERE
				`id` = '20'
		
			UPDATE
				`cms_shop_group`
			SET
				`is_active` = 'false',
				`count` = '0'
			WHERE
				`id` = '21'
		
			UPDATE
				`cms_shop_group`
			SET
				`is_active` = 'true',
				`count` = '12'
			WHERE
				`id` = '22'
		
			UPDATE
				`cms_shop_group`
			SET
				`is_active` = 'true',
				`count` = '19'
			WHERE
				`id` = '23'
		
			UPDATE
				`cms_shop_group`
			SET
				`is_active` = 'true',
				`count` = '4'
			WHERE
				`id` = '24'
		
			UPDATE
				`cms_shop_group`
			SET
				`is_active` = 'true',
				`count` = '25'
			WHERE
				`id` = '25'
		
			UPDATE
				`cms_shop_group`
			SET
				`is_active` = 'true',
				`count` = '7'
			WHERE
				`id` = '26'
		
			UPDATE
				`cms_shop_group`
			SET
				`is_active` = 'false',
				`count` = '0'
			WHERE
				`id` = '27'
		
			UPDATE
				`cms_shop_group`
			SET
				`is_active` = 'false',
				`count` = '0'
			WHERE
				`id` = '30'
		
			UPDATE
				`cms_shop_group`
			SET
				`is_active` = 'true',
				`count` = '33'
			WHERE
				`id` = '42'
		
			UPDATE
				`cms_shop_group`
			SET
				`is_active` = 'true',
				`count` = '15'
			WHERE
				`id` = '43'
		
			UPDATE
				`cms_shop_group`
			SET
				`is_active` = 'false',
				`count` = '0'
			WHERE
				`id` = '31'
		
			UPDATE
				`cms_shop_group`
			SET
				`is_active` = 'false',
				`count` = '0'
			WHERE
				`id` = '32'
		
			UPDATE
				`cms_shop_group`
			SET
				`is_active` = 'false',
				`count` = '0'
			WHERE
				`id` = '33'
		
			UPDATE
				`cms_shop_group`
			SET
				`is_active` = 'false',
				`count` = '0'
			WHERE
				`id` = '34'
		
			UPDATE
				`cms_shop_group`
			SET
				`is_active` = 'false',
				`count` = '0'
			WHERE
				`id` = '35'
		
			UPDATE
				`cms_shop_group`
			SET
				`is_active` = 'false',
				`count` = '0'
			WHERE
				`id` = '36'
		
			UPDATE
				`cms_shop_group`
			SET
				`is_active` = 'false',
				`count` = '0'
			WHERE
				`id` = '37'
		
			UPDATE
				`cms_shop_group`
			SET
				`is_active` = 'false',
				`count` = '0'
			WHERE
				`id` = '38'
		
			UPDATE
				`cms_shop_group`
			SET
				`is_active` = 'false',
				`count` = '0'
			WHERE
				`id` = '39'
		
			UPDATE
				`cms_shop_group`
			SET
				`is_active` = 'false',
				`count` = '0'
			WHERE
				`id` = '40'
		
			UPDATE
				`cms_shop_group`
			SET
				`is_active` = 'true',
				`count` = '17'
			WHERE
				`id` = '47'
		
			UPDATE
				`cms_shop_group`
			SET
				`is_active` = 'true',
				`count` = '14'
			WHERE
				`id` = '45'
		
groups
Array
(
    [0] => Array
        (
            [id] => 1
            [subs] => Array
                (
                )

            [p_count] => 0
        )

    [1] => Array
        (
            [id] => 2
            [subs] => Array
                (
                )

            [p_count] => 21
        )

    [2] => Array
        (
            [id] => 3
            [subs] => Array
                (
                )

            [p_count] => 0
        )

    [3] => Array
        (
            [id] => 4
            [subs] => Array
                (
                )

            [p_count] => 27
        )

    [4] => Array
        (
            [id] => 18
            [subs] => Array
                (
                )

            [p_count] => 0
        )

    [5] => Array
        (
            [id] => 19
            [subs] => Array
                (
                )

            [p_count] => 4
        )

    [6] => Array
        (
            [id] => 10
            [subs] => Array
                (
                )

            [p_count] => 20
        )

    [7] => Array
        (
            [id] => 11
            [subs] => Array
                (
                )

            [p_count] => 42
        )

    [8] => Array
        (
            [id] => 12
            [subs] => Array
                (
                )

            [p_count] => 0
        )

    [9] => Array
        (
            [id] => 17
            [subs] => Array
                (
                )

            [p_count] => 14
        )

    [10] => Array
        (
            [id] => 14
            [subs] => Array
                (
                )

            [p_count] => 20
        )

    [11] => Array
        (
            [id] => 15
            [subs] => Array
                (
                )

            [p_count] => 0
        )

    [12] => Array
        (
            [id] => 16
            [subs] => Array
                (
                )

            [p_count] => 20
        )

    [13] => Array
        (
            [id] => 20
            [subs] => Array
                (
                )

            [p_count] => 0
        )

    [14] => Array
        (
            [id] => 21
            [subs] => Array
                (
                )

            [p_count] => 0
        )

    [15] => Array
        (
            [id] => 22
            [subs] => Array
                (
                )

            [p_count] => 12
        )

    [16] => Array
        (
            [id] => 23
            [subs] => Array
                (
                )

            [p_count] => 19
        )

    [17] => Array
        (
            [id] => 24
            [subs] => Array
                (
                )

            [p_count] => 4
        )

    [18] => Array
        (
            [id] => 25
            [subs] => Array
                (
                )

            [p_count] => 25
        )

    [19] => Array
        (
            [id] => 26
            [subs] => Array
                (
                )

            [p_count] => 7
        )

    [20] => Array
        (
            [id] => 27
            [subs] => Array
                (
                )

            [p_count] => 0
        )

    [21] => Array
        (
            [id] => 30
            [subs] => Array
                (
                )

            [p_count] => 0
        )

    [22] => Array
        (
            [id] => 42
            [subs] => Array
                (
                )

            [p_count] => 33
        )

    [23] => Array
        (
            [id] => 43
            [subs] => Array
                (
                )

            [p_count] => 15
        )

    [24] => Array
        (
            [id] => 31
            [subs] => Array
                (
                )

            [p_count] => 0
        )

    [25] => Array
        (
            [id] => 32
            [subs] => Array
                (
                )

            [p_count] => 0
        )

    [26] => Array
        (
            [id] => 33
            [subs] => Array
                (
                )

            [p_count] => 0
        )

    [27] => Array
        (
            [id] => 34
            [subs] => Array
                (
                )

            [p_count] => 0
        )

    [28] => Array
        (
            [id] => 35
            [subs] => Array
                (
                )

            [p_count] => 0
        )

    [29] => Array
        (
            [id] => 36
            [subs] => Array
                (
                )

            [p_count] => 0
        )

    [30] => Array
        (
            [id] => 37
            [subs] => Array
                (
                )

            [p_count] => 0
        )

    [31] => Array
        (
            [id] => 38
            [subs] => Array
                (
                )

            [p_count] => 0
        )

    [32] => Array
        (
            [id] => 39
            [subs] => Array
                (
                )

            [p_count] => 0
        )

    [33] => Array
        (
            [id] => 40
            [subs] => Array
                (
                )

            [p_count] => 0
        )

    [34] => Array
        (
            [id] => 47
            [subs] => Array
                (
                )

            [p_count] => 17
        )

    [35] => Array
        (
            [id] => 45
            [subs] => Array
                (
                )

            [p_count] => 14
        )

)