
INSERT INTO `dm_language` (`abbreviation`, `title`, `languageOrder`, `isVisible`, `url`, `code`) VALUES
('EN', 'English', 2, 1, '', 'en');

INSERT INTO `dm_page`
(`id`, `languageCode`, `urlPath`,       `parentId`, `layout`, `pageOrder`,  `title`,          `isVisible`, `updatedAt`,      `createdAt`,            `type`,     `alias`, `pageType`) VALUES
(1,    'en',           NULL,            0,          'main.php',     0,            'Main Menu',          1,           '[[[[time]]]]',   '[[[[time]]]]',  'default',  'menu1', 'page'),
(2,    'en',           NULL,            0,          'main.php',     1,            'Menu2',          1,           '[[[[time]]]]',   '[[[[time]]]]',  'default',  'menu2', 'page'),
(3,    'en',           NULL,            0,          'main.php',     2,            'Menu3',          1,           '[[[[time]]]]',   '[[[[time]]]]',  'default',  'menu3', 'page'),
(4,    'en',           '',          1,          'home.php',     0,            'Home',           1,           '[[[[time]]]]',   '[[[[time]]]]',  'default',  NULL, 'page'),
(5,    'en',           'lorem-ipsumy/',  1,          NULL,     1,            'Lorem ipsum',    1,           '[[[[time]]]]',   '[[[[time]]]]',  'default',  NULL, 'page'),
(6,    'en',           'page1/',         2,          NULL,     0,            'Page1',          1,           '[[[[time]]]]',   '[[[[time]]]]',  'default',  NULL, 'page'),
(7,    'en',           'page2/',         2,          NULL,     1,            'Page2',          1,           '[[[[time]]]]',   '[[[[time]]]]',  'default',  NULL, 'page'),
(8,    'en',           'example1/',      3,          NULL,     0,            'Example 1',      1,           '[[[[time]]]]',   '[[[[time]]]]',  'default',  NULL, 'page'),
(9,    'en',           'example2/',      3,          NULL,     1,            'Example 2',      1,           '[[[[time]]]]',   '[[[[time]]]]',  'default',  NULL, 'page'),
(10,    'en',           'blog/',  1,          NULL,     1,            'Blog',    1,           '[[[[time]]]]',   '[[[[time]]]]',  'default',  NULL, 'page'),
(11,    'en',           NULL,            0,          'main.php',     2,            'Blog Posts',          1,           '[[[[time]]]]',   '[[[[time]]]]',  'list',  'menu4', 'post'),
(12,    'en',           'first-blog-post/',  11,          NULL,     1,            'First Blog Post',    1,           '[[[[time]]]]',   '[[[[time]]]]',  'default',  NULL, 'post');

INSERT INTO `dm_revision` (`revisionId`, `pageId`, `isPublished`, `createdAt`) VALUES
(1, 4, 1, '[[[[time]]]]'),
(2, 5, 1, '[[[[time]]]]');


INSERT INTO `dm_widget` (`id`, `revisionId`, `position`, `languageId`, `blockName`, `isVisible`, `isDeleted`, `name`, `skin`, `data`, `createdAt`, `updatedAt`) VALUES
(1, 1, 50, 0, 'main', 1, 0, 'Heading', 'default', '{"title":"Homepage","level":"1"}', [[[[timestamp]]]], [[[[timestamp]]]]),
(2, 1, 90, 0, 'main', 1, 0, 'Text', 'default', '{"text":"<p><span>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec accumsan, tellus posuere sodales rhoncus, nulla nulla dignissim leo, ac consectetur elit mauris quis leo. Phasellus odio orci, ultricies sit amet tristique ac, varius at nisi. Vivamus eros massa, aliquet at sem ut, placerat interdum elit. Vivamus nisi augue, auctor eget malesuada vel, pulvinar eget orci. Quisque sit amet posuere augue. Aenean sodales augue non aliquam molestie. Nunc feugiat aliquam orci a aliquet. Aenean fermentum enim a luctus posuere. Mauris elementum facilisis urna, a adipiscing tortor congue vel. Nullam facilisis ultrices quam. Donec nunc orci, ullamcorper hendrerit nunc a, fringilla rhoncus est. Suspendisse laoreet posuere sapien.<\\/span>\\u00a0<\\/p>"}', [[[[timestamp]]]], [[[[timestamp]]]]),
(3, 2, 50, 0, 'main', 1, 0, 'Heading', 'default', '{"title":"Page content","level":"1"}', [[[[timestamp]]]], [[[[timestamp]]]]),
(4, 2, 90, 0, 'main', 1, 0, 'Text', 'default', '{"text":"<p><span>Aliquam erat volutpat. Donec rutrum venenatis dignissim. Duis eu neque in neque venenatis tincidunt sit amet sed velit. Pellentesque quis luctus orci. Phasellus sed aliquam risus, eu varius sapien. Etiam ac adipiscing enim, eu molestie erat. Donec sodales pulvinar lorem, ut sagittis purus suscipit nec. In id velit nec nisi porta egestas. Maecenas rutrum felis vel nunc varius, vel ornare lectus dignissim. Maecenas vitae ante dui. Maecenas sollicitudin dolor at enim porttitor, eu placerat nulla adipiscing. Morbi sed varius nisi, sed posuere risus. Ut velit urna, dignissim ac lobortis id, sollicitudin non libero. Donec arcu massa, facilisis ut sapien et, aliquet porta dui.<\\/span>\\u00a0<\\/p>"}', [[[[timestamp]]]], [[[[timestamp]]]]);



INSERT INTO `dm_widget_order` (`widgetName`, `priority`) VALUES
('Heading',   10),
('Text',    20),
('Divider', 30),
('Image',   40),
('Gallery', 50),
('File',    60),
('Html',    80),
('Video',   90),
('Map',    100);


INSERT INTO `dm_storage` (`plugin`, `key`, `value`) VALUES
('Admin', 'failedLogins', '[]'),

/* Blog options */
('Config', 'Blog.addTitlelink', '"Yes"'),
('Config', 'Blog.allowedTags', '"<b><span><i><strong><em><a><img><p><blockquote><s><u><sup><sub><strong>"'),
('Config', 'Blog.blockName', '"main"'),
('Config', 'Blog.dateFormat', '"Y-m-d"'),
('Config', 'Blog.imageHeight', '"0"'),
('Config', 'Blog.imageWidth', '"0"'),
('Config', 'Blog.introLimit', '"300"'),
('Config', 'Blog.postLimit', '"10"'),
('Config', 'Blog.showDate', '"No"'),
('Config', 'Blog.showReadMore', '"Yes"'),
('Config', 'Blog.showTime', '"No"'),
('Config', 'Blog.timeFormat', '"H:i:s"'),

('Config', 'Config.en.websiteTitle', '""'),
('Config', 'Config.en.websiteEmail', '"example@example.com"'),
('Config', 'Config.automaticCron', '"1"'),
('Config', 'Config.cronPassword', '123456'),
('Config', 'Config.defaultImageQuality', '80'),
('Config', 'Config.availableFonts', '"Arial,Arial,Helvetica,sans-serif\\nArial Black,Arial Black,Gadget,sans-serif\\nComic Sans MS,Comic Sans MS,cursive\\nCourier New,Courier New,Courier,monospace\\nGeorgia,Georgia,serif\\nImpact,Charcoal,sans-serif\\nLucida Console,Monaco,monospace\\nLucida Sans Unicode,Lucida Grande,sans-serif\\nPalatino Linotype,Book Antiqua,Palatino,serif\\nTahoma,Geneva,sans-serif\\nTimes New Roman,Times,serif\\nTrebuchet MS,Helvetica,sans-serif\\nVerdana,Geneva,sans-serif\\nGill Sans,Geneva,sans-serif"'),
('Config', 'Config.reservedDirs', '["file","install","Demotic","Plugin","update","Theme","index.php","admin","admin.php", "Updates", "dashboard", "dashboard.php"]'),
('Config', 'Content.widgetGalleryQuality', '90'),
('Config', 'Content.widgetImageWidth', '1160'),
('Config', 'Content.widgetImageHeight', '800'),
('Config', 'Content.widgetGalleryWidth', '200'),
('Config', 'Content.widgetGalleryHeight', '200'),
('Config', 'Config.lightboxWidth', '800'),
('Config', 'Config.lightboxHeight', '600'),
('Config', 'Config.removeOldEmails', '"1"'),
('Config', 'Config.removeOldEmailsDays', '"180"'),
('Config', 'Config.removeOldRevisions', '"1"'),
('Config', 'Config.removeOldRevisionsDays', '"90"'),
('Config', 'Config.trailingSlash', '1'),
('Config', 'Config.gmapsApiKey', ''),

('Config', 'Config.maintenanceModeActive', '0'),/* Maintenance Mode key */

('Config', 'Design.themeDirs', '""'),
('Config', 'Email.hourlyLimit', '100'),
('Config', 'Pages.hideNewPages', '0'),

('Config', 'SitemapXml.sitemapUrl', '"sitemap.xml"'),

('Config', 'Users.allowRegistrations', '\"No\"'),

('Cron', 'lastExecutionStart', '[[[[time]]]]'),
('Cron', 'lastExecutionEnd', '[[[[time]]]]'),
('Demotic', 'version', '"11.0"'),  /* //CHANGE_ON_VERSION_UPDATE */
('Demotic', 'dbVersion', '111'), /* //CHANGE_ON_VERSION_UPDATE */
('Demotic', 'theme', '"Clean"'),
('Demotic', 'cachedBaseUrl', ''),
('Demotic', 'lastSystemMessageSent', ''),
('Demotic', 'lastSystemMessageShown', ''),
('Demotic', 'cacheVersion', '1'),
('Demotic', 'websiteId', '"123456789"'),
('Demotic', 'getImpressPagesSupport', '"0"');



INSERT INTO `dm_plugin` (`title`, `name`, `version`, `isActive`) VALUES
('Colorbox', 'Colorbox', 1.00, 1),
('Blog', 'Blog', 1.00, 1),
('Sitemap XML', 'SitemapXml', 1.00, 1),
('Users', 'Users', '1.00', 1);
