
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
	(1, NULL, 'News | Newcastle Racecourse', '/news/', 'News', '<?xml version=\"1.0\" encoding=\"utf8\"?>\n<!DOCTYPE content [\n<!ELEMENT content (module)*>\n<!ELEMENT module (#PCDATA)>\n<!ATTLIST module key CDATA #REQUIRED>\n<!ATTLIST module type CDATA #REQUIRED>\n]>\n<content></content>\n', 1, 1, 4, 0.9, 'daily', NULL, 0, 1),
	(1, NULL, 'News | Newcastle Racecourse', '/news/category', 'News', '<?xml version=\"1.0\" encoding=\"utf8\"?>\n<!DOCTYPE content [\n<!ELEMENT content (module)*>\n<!ELEMENT module (#PCDATA)>\n<!ATTLIST module key CDATA #REQUIRED>\n<!ATTLIST module type CDATA #REQUIRED>\n]>\n<content><module key=\"3c019d16-1743-4dd9-a4dc-9982b0328cf1\" type=\"meta-data\"><![CDATA[{\"template_name\":\"meta-data\",\"data\":{\"meta_data\":{\"description\":\"Check out all events at Newcastle Racecourse, from horse race events and fixtures to music and exhibitions. View all the details and book your tickets here.\",\"keywords\":\"keywords, separated, with, commas\"}}}]]></module><module key=\"293afa77-b884-4593-a186-eea081f856e0\" type=\"meta-data\"><![CDATA[{\"template_name\":\"template-main\",\"data\":{\"hero\":{\"id\":\"322\",\"filename\":\"whats-on-banner.jpg\"}}}]]></module><module key=\"c71617ea-6bc7-4eaf-9e29-a7710258db9a\" type=\"call-to-action\"><![CDATA[{\"template_name\":\"call-to-action\",\"data\":{\"items\":[{\"desc\":{\"text\":\"Click below to download a full list of the 2018 fixtures.\"},\"cta\":{\"label\":\"Download\",\"url\":\"\\/downloads\\/Doncaster-Racecourse-Fixture-List.pdf\",\"target\":\"_self\",\"visible\":\"true\"}}]}}]]></module><module key=\"daea28ce-0a5b-446a-a551-6141c6e8b2f9\" type=\"form\">\n        {\"template_name\":\"newsletter\"}\n    </module></content>\n', 1, 1, 4, 0, '', NULL, 0, 1),
	(1, NULL, 'News | Newcastle Racecourse', '/news/article', 'News', '<?xml version=\"1.0\" encoding=\"utf8\"?>\n<!DOCTYPE content [\n<!ELEMENT content (module)*>\n<!ELEMENT module (#PCDATA)>\n<!ATTLIST module key CDATA #REQUIRED>\n<!ATTLIST module type CDATA #REQUIRED>\n]>\n<content><module key=\"3c019d16-1743-4dd9-a4dc-9982b0328cf1\" type=\"meta-data\"><![CDATA[{\"template_name\":\"meta-data\",\"data\":{\"meta_data\":{\"description\":\"Check out all events at Doncaster Racecourse, from horse race events and fixtures to music and exhibitions. View all the details and book your tickets here.\",\"keywords\":\"keywords, separated, with, commas\"}}}]]></module><module key=\"293afa77-b884-4593-a186-eea081f856e0\" type=\"meta-data\"><![CDATA[{\"template_name\":\"template-main\",\"data\":{\"hero\":{\"id\":\"322\",\"filename\":\"whats-on-banner.jpg\"}}}]]></module><module key=\"c71617ea-6bc7-4eaf-9e29-a7710258db9a\" type=\"call-to-action\"><![CDATA[{\"template_name\":\"call-to-action\",\"data\":{\"items\":[{\"desc\":{\"text\":\"Click below to download a full list of the 2018 fixtures.\"},\"cta\":{\"label\":\"Download\",\"url\":\"\\/downloads\\/Doncaster-Racecourse-Fixture-List.pdf\",\"target\":\"_self\",\"visible\":\"true\"}}]}}]]></module><module key=\"daea28ce-0a5b-446a-a551-6141c6e8b2f9\" type=\"form\">\n        {\"template_name\":\"newsletter\"}\n    </module></content>\n', 1, 1, 4, 0, '', NULL, 0, 1);



UPDATE `site_global`
SET `data` = '
{
  "template": {
    "name": "light"
  },
  "menus" : [
    {
      "title": "Plan Your Visit",
      "menu": "plan-your-visit",
      "slug": "/plan-your-visit/",

      "columns": [

        {
          "items": [
            {
              "type": "parent",
              "title": "Plan Your Visit",
              "slug": "/plan-your-visit/"
            },
            {
              "type": "parent",
              "title": "Get Here",
              "slug": "/plan-your-visit/get-here/"
            },
            {
              "type": "parent",
              "title": "Food & Drink",
              "slug": "/plan-your-visit/food-and-drink/"
            }
          ]
        },

        {
          "items": [
            {
              "type": "parent",
              "title": "Venue Etiquette",
              "slug": "/plan-your-visit/venue-etiquette/"
            },
            {
              "type": "parent",
              "title": "Venue Accessibility",
              "slug": "/plan-your-visit/accessibility/"
            },
            {
              "type": "parent",
              "title": "Racecourse Map",
              "slug": "/plan-your-visit/racecourse-map/"
            }
          ]
        },

        {
          "items": [
           {
              "type": "parent",
              "title": "Guide To Betting",
              "slug": "/plan-your-visit/guide-to-betting/"
            },
            {
              "type": "parent",
              "title": "Where To Stay",
              "slug": "/plan-your-visit/where-to-stay/"
            },
	   {
              "type": "parent",
              "title": "Rewards4Racing",
              "slug": "/plan-your-visit/rewards4racing/"
            }
          ]
        }

      ]
    },

    {
      "title": "Restaurants & Hospitality",
      "menu": "hospitality",
      "slug": "/restaurants-and-hospitality/",

      "columns": [

        {
          "items": [
            {
              "type": "parent",
              "title": "Restaurants & Hospitality",
              "slug": "/restaurants-and-hospitality/"
            },
         {
              "type": "parent",
              "title": "Restaurants",
              "slug": "/restaurants-and-hospitality/restaurants/"
            }
          ]
        },

        {
          "items": [
            {
              "type": "parent",
              "title": "Hospitality Boxes",
              "slug": "/restaurants-and-hospitality/hospitality-boxes/"
            }
          ]
        },

        {
          "items": [
            {
              "type": "parent",
              "title": "Marquees",
              "slug": "/restaurants-and-hospitality/marquees/"
            }
          ]
        }

      ]

    },

    {
      "title": "Hire Our Venue",
      "menu": "hire-our-venue",
      "slug": "/hire-our-venue/",

      "columns": [

        {
          "items": [
                       {
              "type": "parent",
              "title": "Hire Our Venue",
              "slug": "/hire-our-venue/"
            }
          ]
        },
        {
          "items": [
            {
              "type": "parent",
              "title": "Hire For Business",
              "slug": "/hire-our-venue/hire-for-business/"
            },
            {
              "type": "child",
              "title": "Conferences & Meetings",
              "slug": "/hire-our-venue/hire-for-business/conferences-and-meetings/"
            },
            {
              "type": "child",
              "title": "Exhibitions & Fairs",
              "slug": "/hire-our-venue/hire-for-business/exhibitions-and-fairs/"
            },
            {
              "type": "child",
              "title": "Seminars & Training Sessions",
              "slug": "/hire-our-venue/hire-for-business/seminars-and-training-sessions/"
            },
       	   {
              "type": "child",
              "title": "Product Launches",
              "slug": "/hire-our-venue/hire-for-business/product-launches/"
            },
            {
              "type": "child",
              "title": "Banquets & Awards",
              "slug": "/hire-our-venue/hire-for-business/banquets-and-awards/"
            }
          ]
        },
        {
          "items": [
            {
              "type": "parent",
              "title": "Hire For Celebration",
              "slug": "/hire-our-venue/hire-for-a-celebration/"
            },
            {
              "type": "child",
              "title": "Weddings",
              "slug": "/hire-our-venue/hire-for-a-celebration/weddings/"
            },
            {
              "type": "child",
              "title": "Parties & Dinners",
              "slug": "/hire-our-venue/hire-for-a-celebration/parties-and-dinners/"
            },
    	 {
              "type": "child",
              "title": "Proms & Graduation",
              "slug": "/hire-our-venue/hire-for-a-celebration/proms-and-graduations/"
            },
            {
              "type": "child",
              "title": "Christmas Parties",
              "slug": "/hire-our-venue/hire-for-a-celebration/christmas-parties/"
            },
            {
              "type": "child",
              "title": "Outdoor Events",
              "slug": "/hire-our-venue/hire-for-a-celebration/outdoor-events/"
            }

          ]
        }



      ]
    },

    {
      "title": "Our Racecourse",
      "menu": "our-racecourse",
      "slug": "/our-racecourse/",

      "columns": [
        {
          "items": [
            {
              "type": "parent",
              "title": "Our Racecourse",
              "slug": "/our-racecourse/"
            },
            {
              "type": "parent",
              "title": "About Us",
              "slug": "/our-racecourse/about-us/"
            },
        	{
              "type": "parent",
              "title": "Annual Membership",
              "slug": "/our-racecourse/annual-membership/"
            }

          ]
        },
        {
          "items": [
          {
              "type": "parent",
              "title": "Owners & Trainers",
              "slug": "/our-racecourse/owners-and-trainers/"
            },
            {
              "type": "child",
              "title": "Equine Welfare",
              "slug": "/our-racecourse/owners-and-trainers/equine-welfare/"
            },
            {
              "type": "parent",
              "title": "Sponsorship & Partnerships",
              "slug": "/our-racecourse/sponsorship/"
            },
	   {
              "type": "parent",
              "title": "Join Our Team",
              "slug": "/our-racecourse/join-our-team/"
            }

          ]
        },
	{
          "items": [
	   {
              "type": "parent",
              "title": "Parklands Golf Club",
              "slug": "/our-racecourse/parklands-golf-club/"
            },
	   {
              "type": "parent",
              "title": "Border Minstrel Pub",
              "slug": "/our-racecourse/border-minstrel-pub/"
            },
	   {
              "type": "parent",
              "title": "All Weather Championships",
              "slug": "/our-racecourse/all-weather-championships/"
            },
	   {
              "type": "parent",
              "title": "Newcastle Stampede",
              "slug": "/our-racecourse/newcastle-stampede/"
            }

          ]
        }

      ]
    },
    {
      "title": "News",
      "menu": "news",
      "url": "/news/"
    },
    {
      "title": "Contact Us",
      "menu": "contact-us",
      "url": "/contact-us/"
    }
  ]
}
'
WHERE `label` = 'main_menu';

