--
-- Дамп данных таблицы `Widget`
--

INSERT INTO `Widget` (`Widget_ID`, `Widget_Class_ID`, `Name`, `Keyword`, `Result`, `User_ID`, `LastUser_ID`, `Created`, `LastUpdated`) VALUES
(69, 62, 'Яндекс: Карты', 'yamap', '<div id="ymaps-map-id_bab7a7" style="width: 450px; height: 350px;"></div>\n\n<script type="text/javascript">\n    function fid_yamap_container(ymaps) {\n        var map = new ymaps.Map("ymaps-map-id_bab7a7", {\n            center: [37.69899452445628, 55.78140584769016],\n            zoom: 14,\n            type: "yandex#map"});\n\n            map.controls.add("zoomControl")                    .add("mapTools")                    ;\n    \n    };\n</script>\n\n<script type="text/javascript" src="http://api-maps.yandex.ru/2.0/?coordorder=longlat&load=package.full&wizard=constructor&lang=ru-RU&onload=fid_yamap_container"></script>', 1, 1, '2012-07-09 16:58:18', '2012-07-09 12:58:18'),
(83, 63, 'Случайная фотография', 'nc_gallery', '\n<div class=\'nc-widget-79 nc-sm-100\' id=\'nc_widget_52bc1dc79f3cd\'>\n<div class=\'tpl-list-articles\'>\n<div class=\'tpl-article\'>\n    <h3 class=\'tpl-h3\'><a class=\'tpl-more\' href=\'http://netcat.dev/about/awards/awards_1.html\'></a></h3>\n    <a href=\"http://netcat.dev/about/awards/awards_1.html\"><img src=\"/netcat_files/133/232/revanta_2.jpeg\" style=\"max-width:100%\" /></a>\n</div>\n<div class=\'tpl-article\'>\n    <h3 class=\'tpl-h3\'><a class=\'tpl-more\' href=\'http://netcat.dev/about/awards/awards_2.html\'></a></h3>\n    <a href=\"http://netcat.dev/about/awards/awards_2.html\"><img src=\"/netcat_files/133/232/revanta_1.jpeg\" style=\"max-width:100%\" /></a>\n</div>\n<div class=\'tpl-article\'>\n    <h3 class=\'tpl-h3\'><a class=\'tpl-more\' href=\'http://netcat.dev/about/awards/awards_3.html\'></a></h3>\n    <a href=\"http://netcat.dev/about/awards/awards_3.html\"><img src=\"/netcat_files/133/232/revanta.jpeg\" style=\"max-width:100%\" /></a>\n</div>\n</div></div>\n\n<script>\n(function($){\n    var init_widget = function(){\n        $(\'#nc_widget_52bc1dc79f3cd\').nc_widget({\n            css: \'/netcat_template/widget/aggregator/79/style.css\',\n            breakpoints: [400],\n            widget_id: 79        })\n    }\n    if (!$().nc_widget) {\n        var s = document.createElement(\'script\');\n        s.src = \"/netcat_template/jquery/jquery.nc_widget.js\";\n        s.onload = init_widget;\n        $(\'head\')[0].appendChild(s);\n    } else {\n        init_widget();\n    }\n})(jQuery)\n</script>', 1, 1, '2013-12-26 16:09:47', '2013-12-27 14:26:27'),
(81, 63, 'Новости', 'nc_news', '\n<div class=\'nc-widget-77\' id=\'nc_widget_52bc0af69ea61\'>\n<div class=\'tpl-list-articles\'>\n<div class=\'tpl-article\'>\n    <h3 class=\'tpl-h3\'><a class=\'tpl-more\' href=\'\'>С наступающими!</a></h3>\n    <div class=\'tpl-time text-muted\'><small>2011-12-29 17:09:02</small></div>\n    <div class=\'tpl-short-text\'>График работы компании в новогодние праздники.</div>\n    <a class=\'tpl-more label label-default size-tiny\' href=\'\'>Подробнее</a>\n</div>\n<div class=\'tpl-article\'>\n    <h3 class=\'tpl-h3\'><a class=\'tpl-more\' href=\'\'>12-летие NetCat</a></h3>\n    <div class=\'tpl-time text-muted\'><small>2011-12-12 17:22:06</small></div>\n    <div class=\'tpl-short-text\'>Мы отмечаем День рождения.</div>\n    <a class=\'tpl-more label label-default size-tiny\' href=\'\'>Подробнее</a>\n</div>\n<div class=\'tpl-article\'>\n    <h3 class=\'tpl-h3\'><a class=\'tpl-more\' href=\'\'>NetCat</a></h3>\n    <div class=\'tpl-time text-muted\'><small>2011-10-20 17:23:42</small></div>\n    <div class=\'tpl-short-text\'>Представляем новую версию NetCat.</div>\n    <a class=\'tpl-more label label-default size-tiny\' href=\'\'>Подробнее</a>\n</div>\n</div></div>\n\n<script>\n(function($){\n    var init_widget = function(){\n        $(\'#nc_widget_52bc0af69ea61\').nc_widget({\n            css: \'/netcat_template/widget/aggregator/77/style.css\',\n            breakpoints: [360],\n            widget_id: 77        })\n    }\n    if (!$().nc_widget) {\n        var s = document.createElement(\'script\');\n        s.src = \"/netcat_template/jquery/jquery.nc_widget.js\";\n        s.onload = init_widget;\n        $(\'head\')[0].appendChild(s);\n    } else {\n        init_widget();\n    }\n})(jQuery)\n</script>', 1, 1, '2013-12-26 12:52:14', '2013-12-27 14:27:07');

--
-- Дамп данных таблицы `Widget_Field`
--

INSERT INTO `Widget_Field` (`ID`, `Widget_ID`, `Field_ID`, `Value`) VALUES
(407, 69, 2296, '37.69899452445628'),
(406, 69, 2295, ''),
(405, 69, 2294, ''),
(404, 69, 2293, ''),
(411, 69, 2300, '1'),
(410, 69, 2299, '1'),
(409, 69, 2298, '14'),
(408, 69, 2297, '55.78140584769016'),
(440, 83, 2377, '/*NC_WIDGET_SIZE:400,0*/\r\n.tpl-article{float:left; width:33%}\r\n\r\n'),
(439, 83, 2534, '400'),
(438, 83, 2533, '<?php return array(\r\n   \'limit\' => array(\r\n        \'type\' => \'select\',\r\n        \'default_value\' => 3,\r\n        \'caption\' => \'Количество фотографий\',\r\n        \'values\' => array(1=>1,2=>2,3=>3,4=>4,5=>5,6=>6,7=>7,8=>8,9=>9,10=>10)\r\n    ),\r\n);'),
(437, 83, 2535, '<?php\r\n\r\nforeach ((array)$settings as $key => $val) {\r\n    $data_source->set_option($key, $val);\r\n}'),
(436, 83, 2375, '</div>'),
(435, 83, 2376, '<? $image_info = explode(\':\', $f_image) ?>\r\n<? $image = $image_info ? $nc_core->HTTP_FILES_PATH . $image_info[3] : \'\' ?>\r\n<div class=\'tpl-article\'>\r\n    <h3 class=\'tpl-h3\'><a class=\'tpl-more\' href=\'<?=$fullLink ?>\'><?=$f_title ?></a></h3>\r\n    <a href=\"<?=$fullLink ?>\"><img src=\"<?=$image ?>\" style=\"max-width:100%\" /></a>\r\n</div>'),
(434, 83, 2374, '<div class=\'tpl-list-articles\'>'),
(433, 83, 2373, '{\"catalogue_id\":1,\"subdivision_id\":133,\"subclass_id\":232,\"class_id\":245,\"bindings\":{\"File\":\"image\",\"Titl\":\"title\",\"BigPhoto\":\"image\",\"Comment\":\"title\"}}'),
(432, 83, 2535, 'gallery'),
(431, 82, 2377, '/*NC_WIDGET_SIZE:400,0*/\r\n.tpl-goods {float:left; width:33%}\r\n\r\n'),
(430, 82, 2534, '400'),
(429, 82, 2533, '<?php return array(\r\n    \'where\' => array(\r\n        \'type\' => \'select\',\r\n        \'default_value\' => \'\',\r\n        \'caption\' => \'Фильтр\',\r\n        \'values\' => array(\'\'=>\'Все товары\', \'Favorite=1\'=>\'Избранные\')\r\n   ),\r\n   \'limit\' => array(\r\n        \'type\' => \'select\',\r\n        \'default_value\' => 3,\r\n        \'caption\' => \'Количество товаров\',\r\n        \'values\' => array(1=>1,2=>2,3=>3,4=>4,5=>5,6=>6,7=>7,8=>8,9=>9,10=>10)\r\n    ),\r\n);'),
(428, 82, 2535, '<?php\r\n\r\nforeach ((array)$settings as $key => $val) {\r\n    $data_source->set_option($key, $val);\r\n}'),
(427, 82, 2375, '</div>'),
(426, 82, 2376, '<? $image_info = explode(\':\', $f_image) ?>\r\n<? $image = $image_info ? $nc_core->HTTP_FILES_PATH . $image_info[3] : \'\' ?>\r\n<div class=\'tpl-goods\'>\r\n    <h3><a href=\"<?=$fullLink ?>\"><?=$f_title ?></a></h3>\r\n    <a href=\"<?=$fullLink ?>\"><img src=\"<?=$image ?>\" /></a>\r\n    <div class=\'tpl-price\'><?=$f_price ?> руб.</div>\r\n</div>'),
(425, 82, 2374, '<div class=\'tpl-list-goods\'>    '),
(424, 82, 2373, '{\"catalogue_id\":1,\"subdivision_id\":130,\"subclass_id\":451,\"class_id\":352,\"bindings\":{\"Image\":\"image\",\"Price\":\"price\",\"Name\":\"title\",\"Vendor\":\"vendor\",\"Description\":\"notice\"}}'),
(423, 82, 2535, 'goods'),
(422, 81, 2534, '360'),
(421, 81, 2377, '/*NC_WIDGET_SIZE:0,360*/\r\n.tpl-time {display:none}\r\nh3.tpl-h3 {font-size: 1.1em}\r\n\r\n'),
(420, 81, 2533, '<?php return array(\r\n    \'order_by\' => array(\r\n        \'type\' => \'select\',\r\n        \'default_value\' => \'rand\',\r\n        \'caption\' => \'Сортировка\',\r\n        \'values\' => array(\'RAND()\'=>\'Случайно\', \'Priority DESC\'=>\'Последние новости\')\r\n   ),\r\n   \'limit\' => array(\r\n        \'type\' => \'select\',\r\n        \'default_value\' => 3,\r\n        \'caption\' => \'Количество записей\',\r\n        \'values\' => array(1=>1,2=>2,3=>3,4=>4,5=>5,6=>6,7=>7,8=>8,9=>9,10=>10)\r\n    ),\r\n);'),
(419, 81, 2535, '<?php\r\n\r\nforeach ((array)$settings as $key => $val) {\r\n    $data_source->set_option($key, $val);\r\n}'),
(418, 81, 2375, '</div>'),
(417, 81, 2376, '<div class=\'tpl-article\'>\r\n    <h3 class=\'tpl-h3\'><a class=\'tpl-more\' href=\'<?=$fullLink ?>\'><?=$f_title ?></a></h3>\r\n    <div class=\'tpl-time text-muted\'><small><?=$f_date ?></small></div>\r\n    <div class=\'tpl-short-text\'><?=$f_notice ?></div>\r\n    <a class=\'tpl-more label label-default size-tiny\' href=\'<?=$fullLink ?>\'>Подробнее</a>\r\n</div>'),
(416, 81, 2374, '<div class=\'tpl-list-articles\'>'),
(415, 81, 2373, '{\"catalogue_id\":1,\"subdivision_id\":118,\"subclass_id\":189,\"class_id\":217,\"bindings\":{\"Announce\":\"notice\",\"Date\":\"date\",\"NewsTitle\":\"title\"}}'),
(414, 81, 2535, 'news');
