#Add a page

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
    (14, NULL, 'The Winter Million | Lingfield Park', '/racing-highlights/the-winter-million/', 'The Winter Million', '<?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><module key=\"f5d1b576-e5b9-4083-a019-00560d8a6c2a\" type=\"page-hero\">\n        {\"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\":\"This is a slide title\",\"visible\":\"true\"},\"subtitle\":{\"text\":\"This is slide subtitle\",\"visible\":\"true\"},\"cta\":{\"label\":\"CTA Button\",\"url\":\"\\/\",\"target\":\"_self\",\"visible\":\"true\"}}]}}</module>\n\n\n<module key=\"3faa9e81-d539-43e4-aef4-adcf861b289b\" type=\"standard-content\">\n        {\"template_name\":\"hlg-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=\"aadc7e32-30f6-4fc0-a660-3f438890bdc1\" type=\"standard-content\">\n        {\"template_name\":\"hlg-txt50-img50_1sqr\",\"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=\"953f37c6-3953-4f56-ad2b-252e45a3ab7a\" type=\"standard-content\">\n        {\"template_name\":\"hlg-img50_1sqr-txt50\",\"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=\"43359438-1ff3-42a9-bb60-872294c48fe3\" type=\"standard-content\">\n        {\"template_name\":\"hlg-img50_1sqr-txt50\",\"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=\"a1ca18b8-e0df-4f99-8762-0b72d77cd27c\" type=\"key-facts\"><![CDATA[{\"template_name\":\"key-facts-center\",\"template_inverse\":false,\"data\":{\"title\":{\"text\":\"Title\",\"visible\":false},\"content\":{\"text\":\"Content\",\"visible\":false},\"items\":[{\"icon\":{\"name\":\"icon-parties-1\",\"visible\":false},\"title\":{\"text\":\"title\",\"visible\":true},\"content\":{\"text\":\"Content\",\"visible\":true},\"cta\":{\"label\":\"Book Tickets\",\"url\":\"https://www.lingfieldpark.co.uk/whats-on/new-years-eve-gala-ball-2021\",\"target\":\"_self\",\"visible\":true}},{\"icon\":{\"name\":\"icon-parties-1\",\"visible\":false},\"title\":{\"text\":\"title\",\"visible\":true},\"content\":{\"text\":\"Content\",\"visible\":true},\"cta\":{\"label\":\"Book Tickets\",\"url\":\"https://www.lingfieldpark.co.uk/whats-on/new-years-eve-gala-ball-2021\",\"target\":\"_self\",\"visible\":true}},{\"icon\":{\"name\":\"icon-parties-1\",\"visible\":false},\"title\":{\"text\":\"title\",\"visible\":true},\"content\":{\"text\":\"Content\",\"visible\":true},\"cta\":{\"label\":\"Book Tickets\",\"url\":\"https://www.lingfieldpark.co.uk/whats-on/new-years-eve-gala-ball-2021\",\"target\":\"_self\",\"visible\":true}}]},\"block_type\":\"key-facts\"}]]></module>\n\n<module key=\"2cef1457-f6f5-4895-98a8-95926859ae74\" type=\"salesforce-form\">\n        {\"template_name\":\"salesforce-form-pre-newsletter\",\"template_inverse\":true}\n    </module></content>\n', 0, 0, 0, 0.9, 'monthly', NULL, 0, 1);


#Update the mega menu

UPDATE site_global
SET data = '{"template":{"name":"dark","whatson":true},"evergreenPages":[{"heading":"Racing Highlights","items":[{"title":"All-Weather Championships","slug":"/racing-highlights/all-weather-championships/"},{"title":"The Silk Series","slug":"/racing-highlights/silk-series/"},{"title":"The Winter Derby","slug":"/racing-highlights/the-winter-derby/"},{"title":"The Derby Trial","slug":"/racing-highlights/the-derby-trial/"},{"title":"Churchill Stakes","slug":"/racing-highlights/churchill-stakes/"},{"title":"The Betway Kachy Stakes","slug":"/racing-highlights/the-betway-kachy-stakes/"},{"title":"The Winter Million","slug":"/racing-highlights/the-winter-million/"}]},{"heading":"Popular Events","items":[{"title":"Live Music","slug":"/popular-events/live-music/"},{"title":"Ladies Day","slug":"/popular-events/ladies-day/"},{"title":"Family Fun Days","slug":"/popular-events/family-fun-days/"},{"title":"Oktoberfest","slug":"/popular-events/oktoberfest/"},{"title":"Christmas Lunches","slug":"/your-venue/christmas-lunches/"},{"title":"Christmas Parties","slug":"/your-venue/christmas-parties/"},{"title":"New Years Eve","slug":"/popular-events/new-years-eve/"},{"title":"Fireworks","slug":"/popular-events/fireworks/"}]}],"menus":[{"title":"Raceday <br/>Experience","menu":"raceday-experience","columns":[{"title":{"text":"Raceday Experience","slug":"/raceday-experience/"},"items":[{"type":"parent","title":"Dress Code","slug":"/raceday-experience/dress-code/"},{"type":"parent","title":"Food & Drink","slug":"/raceday-experience/food-and-drink/"}]},{"items":[{"type":"parent","title":"Get Here","slug":"/raceday-experience/get-here/"},{"type":"parent","title":"Racecourse Map","slug":"/raceday-experience/racecourse-map/"},{"type":"parent","title":"Racecard","slug":"/raceday-experience/racecard/"}]},{"items":[{"type":"parent","title":"Betting at Lingfield","slug":"/raceday-experience/betting-at-lingfield/"},{"type":"parent","title":"Venue Accessibility","slug":"/raceday-experience/venue-accessibility/"}]},{"items":[{"type":"parent","title":"Visiting Safely","slug":"https://www.arenaracingcompany.co.uk/racing/visiting-safely/?site={site}&slug={slug}"},{"type":"parent","title":"FAQs","slug":"/raceday-experience/faqs/"}]}]},{"title":"Restaurants & <br>Hospitality","menu":"restaurants-and-hospitality","url":"/restaurants-and-hospitality/"},{"title":"Hotel","menu":"hotel","columns":[{"title":{"text":"Hotel","slug":"/hotel/"},"items":[{"type":"parent","title":"Rooms and Suites","slug":"/hotel/rooms-and-suites/"},{"type":"parent","title":"Business Facilities","slug":"/hotel/business-facilities/"}]},{"items":[{"type":"parent","title":"Cyprium Bar and Grill","slug":"/hotel/cyprium-bar-and-grill/"}]}]},{"title":"Golf","menu":"golf","columns":[{"title":{"text":"Golf","slug":"/golf/"},"items":[{"type":"parent","title":"Green Fees and Extras","slug":"/golf/green-fees-and-extras/"},{"type":"parent","title":"Golf Breaks","slug":"/golf/golf-breaks/"}]},{"items":[{"type":"parent","title":"Golf Academy","slug":"/golf/golf-academy/"},{"type":"parent","title":"Golf Society Days","slug":"/golf/golf-society-days/"}]},{"items":[{"type":"parent","title":"Golf Shop","slug":"/golf/golf-shop/"},{"type":"parent","title":"Golf Membership","slug":"/golf/golf-membership/"}]}]},{"title":"Venue <br>Hire","menu":"your-venue","columns":[{"title":{"text":"YourVENUE","slug":"/your-venue/"},"items":[{"type":"parent","title":"Business Meetings","slug":"/your-venue/business-meetings/"},{"type":"parent","title":"Conferences & Events","slug":"/your-venue/conferences-and-events/"},{"type":"parent","title":"YourVENUE+","slug":"/your-venue/your-venue-plus/"}]},{"items":[{"type":"parent","title":"Weddings","slug":"/your-venue/weddings/"},{"type":"parent","title":"Multi Cultural Weddings","slug":"/your-venue/multi-cultural-weddings/"},{"type":"parent","title":"Parties & Celebrations","slug":"/your-venue/parties-and-celebrations/"}]},{"items":[{"type":"parent","title":"Christmas Lunches","slug":"/your-venue/christmas-lunches/"},{"type":"parent","title":"Christmas Parties","slug":"/your-venue/christmas-parties/"}]}]},{"title":"Christmas Parties","menu":"christmas-parties","url":"/venue-hire/christmas-parties/"},{"title":"Lingfield <br/>Park","menu":"lingfield-park","columns":[{"title":{"text":"Lingfield Park","slug":"/lingfield-park/"},"items":[{"type":"parent","title":"History","slug":"/lingfield-park/history/"},{"type":"parent","title":"Meet The Team","slug":"/lingfield-park/meet-the-team/"},{"type":"parent","title":"Careers","slug":"/lingfield-park/careers/"}]},{"items":[{"type":"parent","title":"Owners & Trainers","slug":"/lingfield-park/owners-and-trainers/"},{"type":"parent","title":"Gift Vouchers","slug":"/lingfield-park/gift-vouchers/"},{"type":"parent","title":"Membership","slug":"/lingfield-park/membership/"}]},{"items":[{"type":"parent","title":"Sponsorship","slug":"/lingfield-park/sponsorship/"},{"type":"parent","title":"Contact Us","slug":"/contact-us/"}]}]},{"title":"News","menu":"news","url":"/news/"}]}'
WHERE label = 'main_menu';

