LOCK TABLES page WRITE, `site` WRITE;;

SELECT id, name INTO @siteId, @name FROM site limit 1;

INSERT INTO `page` (`site_id`, `image_id`, `title`, `name`, `description`, `cache`, `parent_page_id`, `previous_page_id`, `next_page_id`, `sitemap_priority`, `sitemap_frequency`, `sitemap_lastmod`, `menu_order`, `include_on_menu`)
VALUES
    (@siteId, NULL, concat('Sitemap | ', @name), '/sitemap', 'Sitemap', '<?xml version=\"1.0\" encoding=\"utf8\"?>\n<!DOCTYPE content [\n        <!ELEMENT content (module | modal)*>\n        <!ELEMENT module (#PCDATA)>\n        <!ELEMENT modal (#PCDATA)>\n        <!ATTLIST module key CDATA #REQUIRED>\n        <!ATTLIST module type CDATA #REQUIRED>\n        <!ATTLIST modal key CDATA #REQUIRED>\n        ]>\n<content>\n</content>', 0, 0, 0, 0.9, 'monthly', NULL, 0, 1);

UNLOCK TABLES;