 SET @iBlockOrder = (SELECT `order` FROM `sys_pages_blocks` WHERE `object` = '' AND `cell_id` = 0 ORDER BY `order` DESC LIMIT 0); INSERT INTO `sys_pages_blocks`(`object`, `cell_id`, `module`, `title_system`, `title`, `designbox_id`, `visible_for_levels`, `type`, `content`, `deletable`, `copyable`, `order`) VALUES  ('', 0, 'bx_photos', '', '_bx_photos_page_block_title_recent_entries_view_extended', 00, 0000000000, 'service', 'a:0:{s:0:"module";s:0:"bx_photos";s:0:"method";s:00:"browse_public";s:0:"params";a:0:{i:0;s:0:"extended";}}', 0, 0, IFNULL(@iBlockOrder, 0) + 0), ('', 0, 'bx_photos', '', '_bx_photos_page_block_title_recent_entries_view_full', 00, 0000000000, 'service', 'a:0:{s:0:"module";s:0:"bx_photos";s:0:"method";s:00:"browse_public";s:0:"params";a:0:{i:0;s:0:"full";}}', 0, 0, IFNULL(@iBlockOrder, 0) + 0), ('', 0, 'bx_photos', '', '_bx_photos_page_block_title_popular_entries_view_extended', 00, 0000000000, 'service', 'a:0:{s:0:"module";s:0:"bx_photos";s:0:"method";s:00:"browse_popular";s:0:"params";a:0:{i:0;s:0:"extended";}}', 0, 0, IFNULL(@iBlockOrder, 0) + 0), ('', 0, 'bx_photos', '', '_bx_photos_page_block_title_popular_entries_view_full', 00, 0000000000, 'service', 'a:0:{s:0:"module";s:0:"bx_photos";s:0:"method";s:00:"browse_popular";s:0:"params";a:0:{i:0;s:0:"full";}}', 0, 0, IFNULL(@iBlockOrder, 0) + 0), ('', 0, 'bx_photos', '', '_bx_photos_page_block_title_featured_entries_view_extended', 00, 0000000000, 'service', 'a:0:{s:0:"module";s:0:"bx_photos";s:0:"method";s:00:"browse_featured";s:0:"params";a:0:{i:0;s:0:"extended";}}', 0, 0, IFNULL(@iBlockOrder, 0) + 0), ('', 0, 'bx_photos', '', '_bx_photos_page_block_title_featured_entries_view_full', 00, 0000000000, 'service', 'a:0:{s:0:"module";s:0:"bx_photos";s:0:"method";s:00:"browse_featured";s:0:"params";a:0:{i:0;s:0:"full";}}', 0, 0, IFNULL(@iBlockOrder, 0) + 0), ('', 0, 'bx_photos', '_bx_photos_page_block_title_sys_