LOCK TABLES site WRITE, page WRITE;

SELECT id INTO @siteId 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, '2023 Exclusive Offer | Doncaster Racecourse', '/restaurants-and-hospitality/2023-exclusive-offer/', '2023 Exclusive Offer', '<?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\n<module key=\"5d502aa5-60cf-455f-b187-c6262a867302\" type=\"page-hero\">{\"template_name\":\"page-hero\",\"data\":{\"items\":[{\"image\":{\"id\":0,\"filename\":\"\",\"show_placeholder\":true,\"alt\":\"\",\"tablet_land\":{\"id\":\"\",\"filename\":\"\",\"alt\":\"\"},\"tablet_port\":{\"id\":\"\",\"filename\":\"\",\"alt\":\"\"},\"mobile\":{\"id\":\"\",\"filename\":\"\",\"alt\":\"\"}},\"title\":{\"text\":\"Slide 1 title\",\"visible\":\"true\"},\"subtitle\":{\"text\":\"Slide 1 subtitle\",\"visible\":\"true\"},\"cta\":{\"label\":\"CTA Button\",\"url\":\"/\",\"target\":\"_self\",\"visible\":\"true\"}}]}}</module>\n\n<module key=\"cc377874-9e6d-433d-92d2-f237888ef035\" type=\"standard-content\">{\"template_name\":\"hlg-intro-txt100\",\"template_inverse\":false,\"data\":{\"title\":{\"text\":\"Promo Block Header\",\"visible\":\"true\"},\"content\":{\"text\":\"Content text.\",\"visible\":\"true\"},\"paragraph\":{\"text\":\"This is paragraph text.\",\"visible\":true},\"cta\":{\"label\":\"Promo Block CTA\",\"target\":\"_self\",\"url\":\"\\/\",\"visible\":\"true\"},\"image50sqr\":{\"id\":\"\",\"filename\":\"\",\"alt\":\"\",\"tablet_land\":{\"id\":\"\",\"filename\":\"\",\"alt\":\"\"},\"tablet_port\":{\"id\":\"\",\"filename\":\"\",\"alt\":\"\"},\"mobile\":{\"id\":\"\",\"filename\":\"\",\"alt\":\"\"}},\"image50land\":{\"id\":\"\",\"filename\":\"\",\"alt\":\"\",\"tablet_land\":{\"id\":\"\",\"filename\":\"\",\"alt\":\"\"},\"tablet_port\":{\"id\":\"\",\"filename\":\"\",\"alt\":\"\"},\"mobile\":{\"id\":\"\",\"filename\":\"\",\"alt\":\"\"}},\"image25a\":{\"id\":\"\",\"filename\":\"\",\"alt\":\"\",\"tablet_land\":{\"id\":\"\",\"filename\":\"\",\"alt\":\"\"},\"tablet_port\":{\"id\":\"\",\"filename\":\"\",\"alt\":\"\"},\"mobile\":{\"id\":\"\",\"filename\":\"\",\"alt\":\"\"}},\"image25b\":{\"id\":\"\",\"filename\":\"\",\"alt\":\"\",\"tablet_land\":{\"id\":\"\",\"filename\":\"\",\"alt\":\"\"},\"tablet_port\":{\"id\":\"\",\"filename\":\"\",\"alt\":\"\"},\"mobile\":{\"id\":\"\",\"filename\":\"\",\"alt\":\"\"}},\"image75\":{\"id\":\"\",\"filename\":\"\",\"alt\":\"\",\"tablet_land\":{\"id\":\"\",\"filename\":\"\",\"alt\":\"\"},\"tablet_port\":{\"id\":\"\",\"filename\":\"\",\"alt\":\"\"},\"mobile\":{\"id\":\"\",\"filename\":\"\",\"alt\":\"\"}},\"image25port\":{\"id\":\"\",\"filename\":\"\",\"alt\":\"\",\"tablet_land\":{\"id\":\"\",\"filename\":\"\",\"alt\":\"\"},\"tablet_port\":{\"id\":\"\",\"filename\":\"\",\"alt\":\"\"},\"mobile\":{\"id\":\"\",\"filename\":\"\",\"alt\":\"\"}},\"image100\":{\"id\":\"\",\"filename\":\"\",\"alt\":\"\",\"tablet_land\":{\"id\":\"\",\"filename\":\"\",\"alt\":\"\"},\"tablet_port\":{\"id\":\"\",\"filename\":\"\",\"alt\":\"\"},\"mobile\":{\"id\":\"\",\"filename\":\"\",\"alt\":\"\"}},\"image100thn\":{\"id\":\"\",\"filename\":\"\",\"alt\":\"\",\"tablet_land\":{\"id\":\"\",\"filename\":\"\",\"alt\":\"\"},\"tablet_port\":{\"id\":\"\",\"filename\":\"\",\"alt\":\"\"},\"mobile\":{\"id\":\"\",\"filename\":\"\",\"alt\":\"\"}}}}</module>\n\n<module key=\"ee8ffebd-3be4-4aa9-b91b-e0e5c3cc7fae\" type=\"driver-grid\">{\"template_name\":\"driver-slider\",\"template_inverse\":false,\"data\":{\"title\":{\"text\":\"Header Text\",\"visible\":\"true\"},\"cta\":{\"label\":\"CTA button\",\"url\":\"/\",\"target\":\"_self\",\"visible\":true},\"items\":[{\"image\":{\"id\":0,\"filename\":\"\",\"show_placeholder\":true,\"alt_tag\":\"false\",\"tablet_land\":{\"id\":0,\"filename\":\"\",\"alt_tag\":\"\",\"alt\":\"\"},\"tablet_port\":{\"id\":0,\"filename\":\"\",\"alt_tag\":\"\",\"alt\":\"\"},\"mobile\":{\"id\":0,\"filename\":\"\",\"alt_tag\":\"\",\"alt\":\"\"},\"alt\":\"\"},\"title\":{\"text\":\"Card 1 Title Text\",\"visible\":true},\"subtitle\":{\"text\":\"Card 1 Subtitle Text\",\"visible\":true},\"category\":{\"text\":\"category text\",\"visible\":false},\"date\":\"\",\"cta\":{\"label\":\"A button\",\"url\":\"/\",\"target\":\"_self\",\"visible\":true}},{\"image\":{\"id\":0,\"filename\":\"\",\"show_placeholder\":true,\"alt_tag\":\"false\",\"tablet_land\":{\"id\":0,\"filename\":\"\",\"alt_tag\":\"\",\"alt\":\"\"},\"tablet_port\":{\"id\":0,\"filename\":\"\",\"alt_tag\":\"\",\"alt\":\"\"},\"mobile\":{\"id\":0,\"filename\":\"\",\"alt_tag\":\"\",\"alt\":\"\"},\"alt\":\"\"},\"title\":{\"text\":\"Card 2 Title Text\",\"visible\":true},\"subtitle\":{\"text\":\"Card 2 Subtitle Text\",\"visible\":true},\"category\":{\"text\":\"category text\",\"visible\":false},\"date\":\"\",\"cta\":{\"label\":\"A button\",\"url\":\"/\",\"target\":\"_self\",\"visible\":true}},{\"image\":{\"id\":0,\"filename\":\"\",\"show_placeholder\":true,\"alt_tag\":\"false\",\"tablet_land\":{\"id\":0,\"filename\":\"\",\"alt_tag\":\"\",\"alt\":\"\"},\"tablet_port\":{\"id\":0,\"filename\":\"\",\"alt_tag\":\"\",\"alt\":\"\"},\"mobile\":{\"id\":0,\"filename\":\"\",\"alt_tag\":\"\",\"alt\":\"\"},\"alt\":\"\"},\"title\":{\"text\":\"Card 3 Title Text\",\"visible\":true},\"subtitle\":{\"text\":\"Card 3 Subtitle Text\",\"visible\":true},\"category\":{\"text\":\"category text\",\"visible\":false},\"date\":\"\",\"cta\":{\"label\":\"A button\",\"url\":\"/\",\"target\":\"_self\",\"visible\":true}},{\"image\":{\"id\":0,\"filename\":\"\",\"show_placeholder\":true,\"alt_tag\":\"false\",\"tablet_land\":{\"id\":0,\"filename\":\"\",\"alt_tag\":\"\",\"alt\":\"\"},\"tablet_port\":{\"id\":0,\"filename\":\"\",\"alt_tag\":\"\",\"alt\":\"\"},\"mobile\":{\"id\":0,\"filename\":\"\",\"alt_tag\":\"\",\"alt\":\"\"},\"alt\":\"\"},\"title\":{\"text\":\"Card 4 Title Text\",\"visible\":true},\"subtitle\":{\"text\":\"Card 4 Subtitle Text\",\"visible\":true},\"category\":{\"text\":\"category text\",\"visible\":false},\"date\":\"\",\"cta\":{\"label\":\"A button\",\"url\":\"/\",\"target\":\"_self\",\"visible\":true}}]}}</module>\n\n<module key=\"4214f464-0e72-4654-8902-ca062be2928a\" type=\"key-facts\">{\"template_name\":\"key-facts-center\",\"template_inverse\":false,\"data\":{\"title\":{\"text\":\"Title\",\"visible\":false},\"content\":{\"text\":\"Content\",\"visible\":false},\"items\":[{\"icon\":{\"name\":\"icon-15-racecourses\",\"visible\":true},\"title\":{\"text\":\"title\",\"visible\":true},\"content\":{\"text\":\"Content\",\"visible\":true},\"cta\":{\"label\":\"CTA\",\"url\":\"\\/\",\"target\":\"_self\",\"visible\":true}},{\"icon\":{\"name\":\"icon-15-racecourses\",\"visible\":true},\"title\":{\"text\":\"title\",\"visible\":true},\"content\":{\"text\":\"Content\",\"visible\":true},\"cta\":{\"label\":\"CTA\",\"url\":\"\\/\",\"target\":\"_self\",\"visible\":true}},{\"icon\":{\"name\":\"icon-15-racecourses\",\"visible\":true},\"title\":{\"text\":\"title\",\"visible\":true},\"content\":{\"text\":\"Content\",\"visible\":true},\"cta\":{\"label\":\"CTA\",\"url\":\"\\/\",\"target\":\"_self\",\"visible\":true}}]}}</module>\n\n<module key=\"b80b880c-cb7e-41be-a82a-64ac9e0285e9\" type=\"salesforce-form\">{\"template_name\":\"salesforce-form-pre-newsletter\",\"template_inverse\":true}</module>\n</content>\n', 0, 0, 0, 0.9, 'monthly', NULL, 0, 1);

UNLOCK TABLES;