Guest User

Untitled

a guest
Nov 10th, 2015
2,377
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 348.38 KB | None | 0 0
  1. #
  2. # Сайт Database Dump
  3. # MODX Version:1.1b-d7.0.16
  4. #
  5. # Host:
  6. # Generation Time: 10-11-2015 16:36:48
  7. # Server version: 5.1.56
  8. # PHP Version: 5.2.17
  9. # Database : `b00-inprogress`
  10. #
  11.  
  12. # --------------------------------------------------------
  13.  
  14. #
  15. # Table structure for table `modx_active_users`
  16. #
  17.  
  18. DROP TABLE IF EXISTS `modx_active_users`;
  19. CREATE TABLE `modx_active_users` (
  20.   `internalKey` int(9) NOT NULL DEFAULT '0',
  21.   `username` varchar(50) NOT NULL DEFAULT '',
  22.   `lasthit` int(20) NOT NULL DEFAULT '0',
  23.   `id` int(10) DEFAULT NULL,
  24.   `action` varchar(10) NOT NULL DEFAULT '',
  25.   `ip` varchar(50) NOT NULL DEFAULT '',
  26.   PRIMARY KEY (`internalKey`)
  27. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Contains data about active users.';
  28.  
  29. #
  30. # Dumping data for table `modx_active_users`
  31. #
  32.  
  33. INSERT INTO `modx_active_users` VALUES ('1','admin','1447162608','','93','192.168.150.13');
  34.  
  35. # --------------------------------------------------------
  36.  
  37. #
  38. # Table structure for table `modx_categories`
  39. #
  40.  
  41. DROP TABLE IF EXISTS `modx_categories`;
  42. CREATE TABLE `modx_categories` (
  43.   `id` int(11) NOT NULL AUTO_INCREMENT,
  44.   `category` varchar(45) NOT NULL DEFAULT '',
  45.   PRIMARY KEY (`id`)
  46. ) ENGINE=MyISAM AUTO_INCREMENT=14 DEFAULT CHARSET=utf8 COMMENT='Categories to be used snippets,tv,chunks, etc';
  47.  
  48. #
  49. # Dumping data for table `modx_categories`
  50. #
  51.  
  52. INSERT INTO `modx_categories` VALUES ('1','Demo Content');
  53. INSERT INTO `modx_categories` VALUES ('2','Login');
  54. INSERT INTO `modx_categories` VALUES ('3','Manager and Admin');
  55. INSERT INTO `modx_categories` VALUES ('4','Search');
  56. INSERT INTO `modx_categories` VALUES ('5','Navigation');
  57. INSERT INTO `modx_categories` VALUES ('6','Content');
  58. INSERT INTO `modx_categories` VALUES ('7','Forms');
  59. INSERT INTO `modx_categories` VALUES ('8','WebClient');
  60. INSERT INTO `modx_categories` VALUES ('9','Banners');
  61. INSERT INTO `modx_categories` VALUES ('10','Новости и каталоги');
  62. INSERT INTO `modx_categories` VALUES ('11','SEO');
  63. INSERT INTO `modx_categories` VALUES ('12','add');
  64. INSERT INTO `modx_categories` VALUES ('13','Js');
  65.  
  66. # --------------------------------------------------------
  67.  
  68. #
  69. # Table structure for table `modx_document_groups`
  70. #
  71.  
  72. DROP TABLE IF EXISTS `modx_document_groups`;
  73. CREATE TABLE `modx_document_groups` (
  74.   `id` int(10) NOT NULL AUTO_INCREMENT,
  75.   `document_group` int(10) NOT NULL DEFAULT '0',
  76.   `document` int(10) NOT NULL DEFAULT '0',
  77.   PRIMARY KEY (`id`),
  78.   KEY `document` (`document`),
  79.   KEY `document_group` (`document_group`)
  80. ) ENGINE=MyISAM AUTO_INCREMENT=28 DEFAULT CHARSET=utf8 COMMENT='Contains data used for access permissions.';
  81.  
  82. #
  83. # Dumping data for table `modx_document_groups`
  84. #
  85.  
  86. INSERT INTO `modx_document_groups` VALUES ('6','2','23');
  87. INSERT INTO `modx_document_groups` VALUES ('8','2','25');
  88. INSERT INTO `modx_document_groups` VALUES ('10','2','27');
  89. INSERT INTO `modx_document_groups` VALUES ('11','2','28');
  90. INSERT INTO `modx_document_groups` VALUES ('12','2','17');
  91. INSERT INTO `modx_document_groups` VALUES ('15','2','48');
  92. INSERT INTO `modx_document_groups` VALUES ('16','2','54');
  93. INSERT INTO `modx_document_groups` VALUES ('17','2','41');
  94. INSERT INTO `modx_document_groups` VALUES ('18','2','267');
  95. INSERT INTO `modx_document_groups` VALUES ('19','2','268');
  96. INSERT INTO `modx_document_groups` VALUES ('23','2','274');
  97. INSERT INTO `modx_document_groups` VALUES ('22','2','273');
  98. INSERT INTO `modx_document_groups` VALUES ('24','2','275');
  99. INSERT INTO `modx_document_groups` VALUES ('27','2','285');
  100.  
  101. # --------------------------------------------------------
  102.  
  103. #
  104. # Table structure for table `modx_documentgroup_names`
  105. #
  106.  
  107. DROP TABLE IF EXISTS `modx_documentgroup_names`;
  108. CREATE TABLE `modx_documentgroup_names` (
  109.   `id` int(10) NOT NULL AUTO_INCREMENT,
  110.   `name` varchar(255) NOT NULL DEFAULT '',
  111.   `private_memgroup` tinyint(4) DEFAULT '0' COMMENT 'determine whether the document group is private to manager users',
  112.   `private_webgroup` tinyint(4) DEFAULT '0' COMMENT 'determines whether the document is private to web users',
  113.   PRIMARY KEY (`id`),
  114.   UNIQUE KEY `name` (`name`)
  115. ) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COMMENT='Contains data used for access permissions.';
  116.  
  117. #
  118. # Dumping data for table `modx_documentgroup_names`
  119. #
  120.  
  121. INSERT INTO `modx_documentgroup_names` VALUES ('2','Служебные','1','0');
  122.  
  123. # --------------------------------------------------------
  124.  
  125. #
  126. # Table structure for table `modx_ep_choice`
  127. #
  128.  
  129. DROP TABLE IF EXISTS `modx_ep_choice`;
  130. CREATE TABLE `modx_ep_choice` (
  131.   `idChoice` int(10) unsigned NOT NULL AUTO_INCREMENT,
  132.   `idPoll` int(10) unsigned NOT NULL,
  133.   `Title` varchar(128) NOT NULL,
  134.   `Sorting` tinyint(3) unsigned NOT NULL,
  135.   `Votes` int(11) NOT NULL,
  136.   PRIMARY KEY (`idChoice`)
  137. ) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
  138.  
  139. #
  140. # Dumping data for table `modx_ep_choice`
  141. #
  142.  
  143. INSERT INTO `modx_ep_choice` VALUES ('1','1','Да','1','1');
  144. INSERT INTO `modx_ep_choice` VALUES ('2','1','Нет','2','0');
  145. INSERT INTO `modx_ep_choice` VALUES ('4','1','Не знаю','3','0');
  146. INSERT INTO `modx_ep_choice` VALUES ('5','1','Что такое лето?','4','0');
  147.  
  148. # --------------------------------------------------------
  149.  
  150. #
  151. # Table structure for table `modx_ep_poll`
  152. #
  153.  
  154. DROP TABLE IF EXISTS `modx_ep_poll`;
  155. CREATE TABLE `modx_ep_poll` (
  156.   `idPoll` int(10) unsigned NOT NULL AUTO_INCREMENT,
  157.   `Title` varchar(128) NOT NULL,
  158.   `isActive` tinyint(1) unsigned NOT NULL DEFAULT '0',
  159.   `StartDate` datetime DEFAULT NULL,
  160.   `EndDate` datetime DEFAULT NULL,
  161.   PRIMARY KEY (`idPoll`)
  162. ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
  163.  
  164. #
  165. # Dumping data for table `modx_ep_poll`
  166. #
  167.  
  168. INSERT INTO `modx_ep_poll` VALUES ('1','Будете ли Вы отдыхать летом?','1','','');
  169.  
  170. # --------------------------------------------------------
  171.  
  172. #
  173. # Table structure for table `modx_ep_userip`
  174. #
  175.  
  176. DROP TABLE IF EXISTS `modx_ep_userip`;
  177. CREATE TABLE `modx_ep_userip` (
  178.   `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  179.   `idPoll` int(10) unsigned NOT NULL,
  180.   `ipAddress` varchar(128) NOT NULL,
  181.   PRIMARY KEY (`id`)
  182. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  183.  
  184. #
  185. # Dumping data for table `modx_ep_userip`
  186. #
  187.  
  188.  
  189. # --------------------------------------------------------
  190.  
  191. #
  192. # Table structure for table `modx_event_log`
  193. #
  194.  
  195. DROP TABLE IF EXISTS `modx_event_log`;
  196. CREATE TABLE `modx_event_log` (
  197.   `id` int(11) NOT NULL AUTO_INCREMENT,
  198.   `eventid` int(11) DEFAULT '0',
  199.   `createdon` int(11) NOT NULL DEFAULT '0',
  200.   `type` tinyint(4) NOT NULL DEFAULT '1' COMMENT '1- information, 2 - warning, 3- error',
  201.   `user` int(11) NOT NULL DEFAULT '0' COMMENT 'link to user table',
  202.   `usertype` tinyint(4) NOT NULL DEFAULT '0' COMMENT '0 - manager, 1 - web',
  203.   `source` varchar(50) NOT NULL DEFAULT '',
  204.   `description` text,
  205.   PRIMARY KEY (`id`),
  206.   KEY `user` (`user`)
  207. ) ENGINE=MyISAM AUTO_INCREMENT=953 DEFAULT CHARSET=utf8 COMMENT='Stores event and error logs';
  208.  
  209. #
  210. # Dumping data for table `modx_event_log`
  211. #
  212.  
  213.  
  214. # --------------------------------------------------------
  215.  
  216. #
  217. # Table structure for table `modx_form_fields`
  218. #
  219.  
  220. DROP TABLE IF EXISTS `modx_form_fields`;
  221. CREATE TABLE `modx_form_fields` (
  222.   `id` int(5) NOT NULL AUTO_INCREMENT,
  223.   `parent` int(5) NOT NULL DEFAULT '0',
  224.   `title` varchar(255) NOT NULL DEFAULT '',
  225.   `type` int(2) NOT NULL DEFAULT '0',
  226.   `value` text NOT NULL,
  227.   `sort` int(5) NOT NULL DEFAULT '0',
  228.   `required` int(1) NOT NULL DEFAULT '0',
  229.   PRIMARY KEY (`id`)
  230. ) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
  231.  
  232. #
  233. # Dumping data for table `modx_form_fields`
  234. #
  235.  
  236. INSERT INTO `modx_form_fields` VALUES ('1','2','Телефон','1','Телефон','1','1');
  237. INSERT INTO `modx_form_fields` VALUES ('2','2','Email','3','Email','2','1');
  238.  
  239. # --------------------------------------------------------
  240.  
  241. #
  242. # Table structure for table `modx_forms`
  243. #
  244.  
  245. DROP TABLE IF EXISTS `modx_forms`;
  246. CREATE TABLE `modx_forms` (
  247.   `id` int(11) NOT NULL AUTO_INCREMENT,
  248.   `name` varchar(255) NOT NULL DEFAULT '',
  249.   `sort` int(5) NOT NULL DEFAULT '0',
  250.   `title` text NOT NULL,
  251.   `email` varchar(255) NOT NULL DEFAULT '',
  252.   PRIMARY KEY (`id`)
  253. ) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
  254.  
  255. #
  256. # Dumping data for table `modx_forms`
  257. #
  258.  
  259. INSERT INTO `modx_forms` VALUES ('2','Заказ звонка','1','тест','sd@lightsoft.ru');
  260.  
  261. # --------------------------------------------------------
  262.  
  263. #
  264. # Table structure for table `modx_jot_content`
  265. #
  266.  
  267. DROP TABLE IF EXISTS `modx_jot_content`;
  268. CREATE TABLE `modx_jot_content` (
  269.   `id` int(10) NOT NULL AUTO_INCREMENT,
  270.   `answer` mediumtext,
  271.   `title` varchar(255) DEFAULT NULL,
  272.   `tagid` varchar(50) DEFAULT NULL,
  273.   `published` int(1) NOT NULL DEFAULT '0',
  274.   `uparent` int(10) NOT NULL DEFAULT '0',
  275.   `parent` int(10) NOT NULL DEFAULT '0',
  276.   `flags` varchar(25) DEFAULT NULL,
  277.   `secip` varchar(32) DEFAULT NULL,
  278.   `sechash` varchar(32) DEFAULT NULL,
  279.   `content` mediumtext,
  280.   `customfields` mediumtext,
  281.   `mode` int(1) NOT NULL DEFAULT '1',
  282.   `createdby` int(10) NOT NULL DEFAULT '0',
  283.   `createdon` int(20) NOT NULL DEFAULT '0',
  284.   `editedby` int(10) NOT NULL DEFAULT '0',
  285.   `editedon` int(20) NOT NULL DEFAULT '0',
  286.   `deleted` int(1) NOT NULL DEFAULT '0',
  287.   `deletedon` int(20) NOT NULL DEFAULT '0',
  288.   `deletedby` int(10) NOT NULL DEFAULT '0',
  289.   `publishedon` int(20) NOT NULL DEFAULT '0',
  290.   `publishedby` int(10) NOT NULL DEFAULT '0',
  291.   PRIMARY KEY (`id`),
  292.   KEY `parent` (`parent`),
  293.   KEY `secip` (`secip`),
  294.   KEY `tagidx` (`tagid`),
  295.   KEY `uparent` (`uparent`)
  296. ) ENGINE=MyISAM AUTO_INCREMENT=25 DEFAULT CHARSET=utf8;
  297.  
  298. #
  299. # Dumping data for table `modx_jot_content`
  300. #
  301.  
  302. INSERT INTO `modx_jot_content` VALUES ('19','0','Соберем для Вас по сети интернет базу данных потенциальных клиентов для Вашего Бизнеса (название, телефон, факс, email, сайт, имена и др информацию)Много! Быстро! Точно! Узнайте более подробную информацию по: Email: prodawez@mixmail.com Телефон +791339138','','1','189','0','','','b857cb86e266d9b8cea906752b58fc31','Соберем для Вас по сети интернет базу данных               \nпотенциальных клиентов для Вашего Бизнеса               \n(название, телефон, факс, email, сайт, имена и др информацию)               \nМного! Быстро! Точно!               \nУзнайте более подробную информацию по:               \nТелефон +79133913837               \nICQ: 6288862               \nSkype: prodawez3837               \nEmail: prodawez@mixmail.com','','0','0','1306998927','0','0','0','0','0','0','0');
  303. INSERT INTO `modx_jot_content` VALUES ('22','123455677','тест','','1','1','0','','192.168.150.13','ad1f4622ca222f7c69fc92006c49ccb6','тест','','0','0','1307089858','1','1307103116','0','0','0','1307090612','1');
  304. INSERT INTO `modx_jot_content` VALUES ('23','0','тест','','1','1','0','','192.168.150.13','376d918bef43004035fe3ae84ce60316','тест1','','0','1','1307102710','1','1307103080','0','0','0','0','0');
  305. INSERT INTO `modx_jot_content` VALUES ('24','123','test','','1','1','0','','192.168.150.13','0edff10fa362335c2091870ac39a4661','test','','0','0','1307102772','1','1307102960','0','0','0','0','0');
  306.  
  307. # --------------------------------------------------------
  308.  
  309. #
  310. # Table structure for table `modx_jot_fields`
  311. #
  312.  
  313. DROP TABLE IF EXISTS `modx_jot_fields`;
  314. CREATE TABLE `modx_jot_fields` (
  315.   `id` mediumint(10) NOT NULL,
  316.   `label` varchar(50) NOT NULL,
  317.   `content` text,
  318.   KEY `id` (`id`),
  319.   KEY `label` (`label`)
  320. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  321.  
  322. #
  323. # Dumping data for table `modx_jot_fields`
  324. #
  325.  
  326. INSERT INTO `modx_jot_fields` VALUES ('16','name','тест');
  327. INSERT INTO `modx_jot_fields` VALUES ('16','email','dsv11@mail.ru');
  328. INSERT INTO `modx_jot_fields` VALUES ('17','name','Сергей');
  329. INSERT INTO `modx_jot_fields` VALUES ('17','email','');
  330. INSERT INTO `modx_jot_fields` VALUES ('19','email','erwgrgg@mail.ru');
  331. INSERT INTO `modx_jot_fields` VALUES ('19','name','frizachilliva');
  332.  
  333. # --------------------------------------------------------
  334.  
  335. #
  336. # Table structure for table `modx_jot_subscriptions`
  337. #
  338.  
  339. DROP TABLE IF EXISTS `modx_jot_subscriptions`;
  340. CREATE TABLE `modx_jot_subscriptions` (
  341.   `id` mediumint(10) NOT NULL AUTO_INCREMENT,
  342.   `uparent` mediumint(10) NOT NULL DEFAULT '0',
  343.   `tagid` varchar(50) NOT NULL DEFAULT '',
  344.   `userid` mediumint(10) NOT NULL DEFAULT '0',
  345.   PRIMARY KEY (`id`),
  346.   KEY `uparent` (`uparent`),
  347.   KEY `tagid` (`tagid`),
  348.   KEY `userid` (`userid`)
  349. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  350.  
  351. #
  352. # Dumping data for table `modx_jot_subscriptions`
  353. #
  354.  
  355.  
  356. # --------------------------------------------------------
  357.  
  358. #
  359. # Table structure for table `modx_jot_subscriptions_guest`
  360. #
  361.  
  362. DROP TABLE IF EXISTS `modx_jot_subscriptions_guest`;
  363. CREATE TABLE `modx_jot_subscriptions_guest` (
  364.   `id` mediumint(10) NOT NULL AUTO_INCREMENT,
  365.   `uparent` mediumint(10) NOT NULL,
  366.   `tagid` varchar(50) NOT NULL,
  367.   `parent` int(10) NOT NULL DEFAULT '0',
  368.   `username` varchar(255) NOT NULL DEFAULT '',
  369.   `email` varchar(255) NOT NULL DEFAULT '',
  370.   `hash` varchar(255) NOT NULL DEFAULT '',
  371.   PRIMARY KEY (`id`),
  372.   KEY `uparent` (`uparent`),
  373.   KEY `tagid` (`tagid`),
  374.   KEY `parent` (`parent`),
  375.   KEY `email` (`email`),
  376.   KEY `hash` (`hash`)
  377. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  378.  
  379. #
  380. # Dumping data for table `modx_jot_subscriptions_guest`
  381. #
  382.  
  383.  
  384. # --------------------------------------------------------
  385.  
  386. #
  387. # Table structure for table `modx_keyword_xref`
  388. #
  389.  
  390. DROP TABLE IF EXISTS `modx_keyword_xref`;
  391. CREATE TABLE `modx_keyword_xref` (
  392.   `content_id` int(11) NOT NULL DEFAULT '0',
  393.   `keyword_id` int(11) NOT NULL DEFAULT '0',
  394.   KEY `content_id` (`content_id`),
  395.   KEY `keyword_id` (`keyword_id`)
  396. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Cross reference bewteen keywords and content';
  397.  
  398. #
  399. # Dumping data for table `modx_keyword_xref`
  400. #
  401.  
  402. INSERT INTO `modx_keyword_xref` VALUES ('3','1');
  403. INSERT INTO `modx_keyword_xref` VALUES ('3','1');
  404. INSERT INTO `modx_keyword_xref` VALUES ('4','1');
  405.  
  406. # --------------------------------------------------------
  407.  
  408. #
  409. # Table structure for table `modx_manager_log`
  410. #
  411.  
  412. DROP TABLE IF EXISTS `modx_manager_log`;
  413. CREATE TABLE `modx_manager_log` (
  414.   `id` int(10) NOT NULL AUTO_INCREMENT,
  415.   `timestamp` int(20) NOT NULL DEFAULT '0',
  416.   `internalKey` int(10) NOT NULL DEFAULT '0',
  417.   `username` varchar(255) DEFAULT NULL,
  418.   `action` int(10) NOT NULL DEFAULT '0',
  419.   `itemid` varchar(10) DEFAULT '0',
  420.   `itemname` varchar(255) DEFAULT NULL,
  421.   `message` varchar(255) NOT NULL DEFAULT '',
  422.   PRIMARY KEY (`id`)
  423. ) ENGINE=MyISAM AUTO_INCREMENT=340 DEFAULT CHARSET=utf8 COMMENT='Contains a record of user interaction.';
  424.  
  425. #
  426. # Dumping data for table `modx_manager_log`
  427. #
  428.  
  429. INSERT INTO `modx_manager_log` VALUES ('1','1424805959','1','admin','55','-','-','Empty logs');
  430. INSERT INTO `modx_manager_log` VALUES ('2','1424805959','1','admin','13','-','-','Viewing logging');
  431. INSERT INTO `modx_manager_log` VALUES ('3','1424805963','1','admin','67','-','-','Removing locks');
  432. INSERT INTO `modx_manager_log` VALUES ('4','1445075716','1','admin','8','-','-','Logged out');
  433. INSERT INTO `modx_manager_log` VALUES ('5','1445075719','1','admin','58','-','MODX','Logged in');
  434. INSERT INTO `modx_manager_log` VALUES ('6','1445075722','1','admin','17','-','-','Editing settings');
  435. INSERT INTO `modx_manager_log` VALUES ('7','1445075727','1','admin','30','-','-','Saving settings');
  436. INSERT INTO `modx_manager_log` VALUES ('8','1445077621','1','admin','112','9','Dev Manager','Execute module');
  437. INSERT INTO `modx_manager_log` VALUES ('9','1445077622','1','admin','112','9','Dev Manager','Execute module');
  438. INSERT INTO `modx_manager_log` VALUES ('10','1445077622','1','admin','112','9','Dev Manager','Execute module');
  439. INSERT INTO `modx_manager_log` VALUES ('11','1445077622','1','admin','112','9','Dev Manager','Execute module');
  440. INSERT INTO `modx_manager_log` VALUES ('12','1445077622','1','admin','112','9','Dev Manager','Execute module');
  441. INSERT INTO `modx_manager_log` VALUES ('13','1445077622','1','admin','112','9','Dev Manager','Execute module');
  442. INSERT INTO `modx_manager_log` VALUES ('14','1445077622','1','admin','112','9','Dev Manager','Execute module');
  443. INSERT INTO `modx_manager_log` VALUES ('15','1445077625','1','admin','112','9','Dev Manager','Execute module');
  444. INSERT INTO `modx_manager_log` VALUES ('16','1445077625','1','admin','112','9','Dev Manager','Execute module');
  445. INSERT INTO `modx_manager_log` VALUES ('17','1445077625','1','admin','112','9','Dev Manager','Execute module');
  446. INSERT INTO `modx_manager_log` VALUES ('18','1445077625','1','admin','112','9','Dev Manager','Execute module');
  447. INSERT INTO `modx_manager_log` VALUES ('19','1445077625','1','admin','112','9','Dev Manager','Execute module');
  448. INSERT INTO `modx_manager_log` VALUES ('20','1445077625','1','admin','112','9','Dev Manager','Execute module');
  449. INSERT INTO `modx_manager_log` VALUES ('21','1445077627','1','admin','112','9','Dev Manager','Execute module');
  450. INSERT INTO `modx_manager_log` VALUES ('22','1445077633','1','admin','112','9','Dev Manager','Execute module');
  451. INSERT INTO `modx_manager_log` VALUES ('23','1445077679','1','admin','112','9','Dev Manager','Execute module');
  452. INSERT INTO `modx_manager_log` VALUES ('24','1445077763','1','admin','112','9','Dev Manager','Execute module');
  453. INSERT INTO `modx_manager_log` VALUES ('25','1445077769','1','admin','112','9','Dev Manager','Execute module');
  454. INSERT INTO `modx_manager_log` VALUES ('26','1445077830','1','admin','112','9','Dev Manager','Execute module');
  455. INSERT INTO `modx_manager_log` VALUES ('27','1445077860','1','admin','112','9','Dev Manager','Execute module');
  456. INSERT INTO `modx_manager_log` VALUES ('28','1445077920','1','admin','26','-','-','Refreshing site');
  457. INSERT INTO `modx_manager_log` VALUES ('29','1445077979','1','admin','112','9','Dev Manager','Execute module');
  458. INSERT INTO `modx_manager_log` VALUES ('30','1445077981','1','admin','26','-','-','Refreshing site');
  459. INSERT INTO `modx_manager_log` VALUES ('31','1445078049','1','admin','112','9','Dev Manager','Execute module');
  460. INSERT INTO `modx_manager_log` VALUES ('32','1445078172','1','admin','112','9','Dev Manager','Execute module');
  461. INSERT INTO `modx_manager_log` VALUES ('33','1445078172','1','admin','112','9','Dev Manager','Execute module');
  462. INSERT INTO `modx_manager_log` VALUES ('34','1445078173','1','admin','112','9','Dev Manager','Execute module');
  463. INSERT INTO `modx_manager_log` VALUES ('35','1445078173','1','admin','112','9','Dev Manager','Execute module');
  464. INSERT INTO `modx_manager_log` VALUES ('36','1445078173','1','admin','112','9','Dev Manager','Execute module');
  465. INSERT INTO `modx_manager_log` VALUES ('37','1445078173','1','admin','112','9','Dev Manager','Execute module');
  466. INSERT INTO `modx_manager_log` VALUES ('38','1445078173','1','admin','112','9','Dev Manager','Execute module');
  467. INSERT INTO `modx_manager_log` VALUES ('39','1445078176','1','admin','112','9','Dev Manager','Execute module');
  468. INSERT INTO `modx_manager_log` VALUES ('40','1445078188','1','admin','76','-','-','Element management');
  469. INSERT INTO `modx_manager_log` VALUES ('41','1445078191','1','admin','16','3','Главная','Editing template');
  470. INSERT INTO `modx_manager_log` VALUES ('42','1445078209','1','admin','20','3','Главная','Saving template');
  471. INSERT INTO `modx_manager_log` VALUES ('43','1445078209','1','admin','16','3','Главная','Editing template');
  472. INSERT INTO `modx_manager_log` VALUES ('44','1445078228','1','admin','76','-','-','Element management');
  473. INSERT INTO `modx_manager_log` VALUES ('45','1445078230','1','admin','16','3','Главная','Editing template');
  474. INSERT INTO `modx_manager_log` VALUES ('46','1445241472','1','admin','58','-','MODX','Logged in');
  475. INSERT INTO `modx_manager_log` VALUES ('47','1445241475','1','admin','76','-','-','Element management');
  476. INSERT INTO `modx_manager_log` VALUES ('48','1445241488','1','admin','78','38','hat','Editing Chunk (HTML Snippet)');
  477. INSERT INTO `modx_manager_log` VALUES ('49','1445241489','1','admin','76','-','-','Element management');
  478. INSERT INTO `modx_manager_log` VALUES ('50','1445241490','1','admin','78','38','hat','Editing Chunk (HTML Snippet)');
  479. INSERT INTO `modx_manager_log` VALUES ('51','1445241491','1','admin','76','-','-','Element management');
  480. INSERT INTO `modx_manager_log` VALUES ('52','1445241492','1','admin','78','58','head','Editing Chunk (HTML Snippet)');
  481. INSERT INTO `modx_manager_log` VALUES ('53','1445241507','1','admin','76','-','-','Element management');
  482. INSERT INTO `modx_manager_log` VALUES ('54','1445241514','1','admin','16','3','Главная','Editing template');
  483. INSERT INTO `modx_manager_log` VALUES ('55','1445241703','1','admin','26','-','-','Refreshing site');
  484. INSERT INTO `modx_manager_log` VALUES ('56','1445242617','1','admin','26','-','-','Refreshing site');
  485. INSERT INTO `modx_manager_log` VALUES ('57','1445242676','1','admin','76','-','-','Element management');
  486. INSERT INTO `modx_manager_log` VALUES ('58','1445242678','1','admin','16','3','Главная','Editing template');
  487. INSERT INTO `modx_manager_log` VALUES ('59','1445242842','1','admin','20','3','Главная','Saving template');
  488. INSERT INTO `modx_manager_log` VALUES ('60','1445242842','1','admin','76','-','-','Element management');
  489. INSERT INTO `modx_manager_log` VALUES ('61','1445242881','1','admin','16','3','Главная','Editing template');
  490. INSERT INTO `modx_manager_log` VALUES ('62','1445242974','1','admin','20','3','Главная','Saving template');
  491. INSERT INTO `modx_manager_log` VALUES ('63','1445242975','1','admin','76','-','-','Element management');
  492. INSERT INTO `modx_manager_log` VALUES ('64','1445243096','1','admin','27','18','Предложения','Editing resource');
  493. INSERT INTO `modx_manager_log` VALUES ('65','1445243160','1','admin','5','18','Предложения','Saving resource');
  494. INSERT INTO `modx_manager_log` VALUES ('66','1445243162','1','admin','3','18','Предложения','Viewing data for resource');
  495. INSERT INTO `modx_manager_log` VALUES ('67','1445243163','1','admin','76','-','-','Element management');
  496. INSERT INTO `modx_manager_log` VALUES ('68','1445243169','1','admin','16','3','Главная','Editing template');
  497. INSERT INTO `modx_manager_log` VALUES ('69','1445243191','1','admin','76','-','-','Element management');
  498. INSERT INTO `modx_manager_log` VALUES ('70','1445243193','1','admin','16','6','Поиск тура','Editing template');
  499. INSERT INTO `modx_manager_log` VALUES ('71','1445243243','1','admin','20','6','Поиск тура','Saving template');
  500. INSERT INTO `modx_manager_log` VALUES ('72','1445243243','1','admin','16','6','Поиск тура','Editing template');
  501. INSERT INTO `modx_manager_log` VALUES ('73','1445243933','1','admin','27','273','Форма заказа','Editing resource');
  502. INSERT INTO `modx_manager_log` VALUES ('74','1445243943','1','admin','5','273','Форма заказа','Saving resource');
  503. INSERT INTO `modx_manager_log` VALUES ('75','1445243944','1','admin','3','273','Форма заказа','Viewing data for resource');
  504. INSERT INTO `modx_manager_log` VALUES ('76','1445244108','1','admin','76','-','-','Element management');
  505. INSERT INTO `modx_manager_log` VALUES ('77','1445244109','1','admin','16','3','Главная','Editing template');
  506. INSERT INTO `modx_manager_log` VALUES ('78','1445245943','1','admin','20','3','Главная','Saving template');
  507. INSERT INTO `modx_manager_log` VALUES ('79','1445245944','1','admin','76','-','-','Element management');
  508. INSERT INTO `modx_manager_log` VALUES ('80','1445265157','1','admin','31','-','-','Using file manager');
  509. INSERT INTO `modx_manager_log` VALUES ('81','1445265165','1','admin','31','-','-','Using file manager');
  510. INSERT INTO `modx_manager_log` VALUES ('82','1445265167','1','admin','31','-','-','Using file manager');
  511. INSERT INTO `modx_manager_log` VALUES ('83','1445265169','1','admin','31','-','/usr/local/www/hosting/b00.inprogress.ru/www/assets/css/styles.css','Viewing File');
  512. INSERT INTO `modx_manager_log` VALUES ('84','1445265180','1','admin','31','-','/usr/local/www/hosting/b00.inprogress.ru/www/assets/css/styles.css','Modified File');
  513. INSERT INTO `modx_manager_log` VALUES ('85','1445265180','1','admin','31','-','/usr/local/www/hosting/b00.inprogress.ru/www/assets/css/styles.css','Viewing File');
  514. INSERT INTO `modx_manager_log` VALUES ('86','1445324293','1','admin','58','-','MODX','Logged in');
  515. INSERT INTO `modx_manager_log` VALUES ('87','1445324295','1','admin','26','-','-','Refreshing site');
  516. INSERT INTO `modx_manager_log` VALUES ('88','1445509532','1','admin','58','-','MODX','Logged in');
  517. INSERT INTO `modx_manager_log` VALUES ('89','1445509540','1','admin','31','-','-','Using file manager');
  518. INSERT INTO `modx_manager_log` VALUES ('90','1445509541','1','admin','31','-','-','Using file manager');
  519. INSERT INTO `modx_manager_log` VALUES ('91','1445509543','1','admin','31','-','-','Using file manager');
  520. INSERT INTO `modx_manager_log` VALUES ('92','1445509546','1','admin','31','-','/usr/local/www/hosting/b00.inprogress.ru/www/assets/css/styles.css','Viewing File');
  521. INSERT INTO `modx_manager_log` VALUES ('93','1445509555','1','admin','31','-','/usr/local/www/hosting/b00.inprogress.ru/www/assets/css/styles.css','Modified File');
  522. INSERT INTO `modx_manager_log` VALUES ('94','1445509555','1','admin','31','-','/usr/local/www/hosting/b00.inprogress.ru/www/assets/css/styles.css','Viewing File');
  523. INSERT INTO `modx_manager_log` VALUES ('95','1445510734','1','admin','31','-','/usr/local/www/hosting/b00.inprogress.ru/www/assets/css/styles.css','Modified File');
  524. INSERT INTO `modx_manager_log` VALUES ('96','1445510734','1','admin','31','-','/usr/local/www/hosting/b00.inprogress.ru/www/assets/css/styles.css','Viewing File');
  525. INSERT INTO `modx_manager_log` VALUES ('97','1445511471','1','admin','76','-','-','Element management');
  526. INSERT INTO `modx_manager_log` VALUES ('98','1445511474','1','admin','78','58','head','Editing Chunk (HTML Snippet)');
  527. INSERT INTO `modx_manager_log` VALUES ('99','1445511627','1','admin','26','-','-','Refreshing site');
  528. INSERT INTO `modx_manager_log` VALUES ('100','1445610414','1','admin','58','-','MODX','Logged in');
  529. INSERT INTO `modx_manager_log` VALUES ('101','1445610418','1','admin','17','-','-','Editing settings');
  530. INSERT INTO `modx_manager_log` VALUES ('102','1445853959','1','admin','58','-','MODX','Logged in');
  531. INSERT INTO `modx_manager_log` VALUES ('103','1445853962','1','admin','76','-','-','Element management');
  532. INSERT INTO `modx_manager_log` VALUES ('104','1445853972','1','admin','16','3','Главная','Editing template');
  533. INSERT INTO `modx_manager_log` VALUES ('105','1445853998','1','admin','6','7','Левое меню','Deleting resource');
  534. INSERT INTO `modx_manager_log` VALUES ('106','1445853999','1','admin','3','7','Левое меню','Viewing data for resource');
  535. INSERT INTO `modx_manager_log` VALUES ('107','1445854002','1','admin','6','8','Баннеры','Deleting resource');
  536. INSERT INTO `modx_manager_log` VALUES ('108','1445854004','1','admin','3','8','Баннеры','Viewing data for resource');
  537. INSERT INTO `modx_manager_log` VALUES ('109','1445854006','1','admin','64','-','-','Removing deleted content');
  538. INSERT INTO `modx_manager_log` VALUES ('110','1445854008','1','admin','27','288','Информация по контактам','Editing resource');
  539. INSERT INTO `modx_manager_log` VALUES ('111','1445854021','1','admin','27','35','Контакты','Editing resource');
  540. INSERT INTO `modx_manager_log` VALUES ('112','1445854103','1','admin','51','268','Горящие туры','Moving resource');
  541. INSERT INTO `modx_manager_log` VALUES ('113','1445854105','1','admin','52','268','-','Moved resource');
  542. INSERT INTO `modx_manager_log` VALUES ('114','1445854108','1','admin','27','268','Горящие туры','Editing resource');
  543. INSERT INTO `modx_manager_log` VALUES ('115','1445854124','1','admin','5','268','Горящие туры','Saving resource');
  544. INSERT INTO `modx_manager_log` VALUES ('116','1445854126','1','admin','3','268','Горящие туры','Viewing data for resource');
  545. INSERT INTO `modx_manager_log` VALUES ('117','1445854134','1','admin','76','-','-','Element management');
  546. INSERT INTO `modx_manager_log` VALUES ('118','1445854136','1','admin','16','4','Внутренняя','Editing template');
  547. INSERT INTO `modx_manager_log` VALUES ('119','1445854139','1','admin','20','4','Внутренняя','Saving template');
  548. INSERT INTO `modx_manager_log` VALUES ('120','1445854139','1','admin','76','-','-','Element management');
  549. INSERT INTO `modx_manager_log` VALUES ('121','1445854141','1','admin','27','268','Горящие туры','Editing resource');
  550. INSERT INTO `modx_manager_log` VALUES ('122','1445854146','1','admin','76','-','-','Element management');
  551. INSERT INTO `modx_manager_log` VALUES ('123','1445854148','1','admin','16','3','Главная','Editing template');
  552. INSERT INTO `modx_manager_log` VALUES ('124','1445854218','1','admin','20','3','Главная','Saving template');
  553. INSERT INTO `modx_manager_log` VALUES ('125','1445854218','1','admin','76','-','-','Element management');
  554. INSERT INTO `modx_manager_log` VALUES ('126','1445854231','1','admin','16','3','Главная','Editing template');
  555. INSERT INTO `modx_manager_log` VALUES ('127','1445854241','1','admin','20','3','Главная','Saving template');
  556. INSERT INTO `modx_manager_log` VALUES ('128','1445854241','1','admin','76','-','-','Element management');
  557. INSERT INTO `modx_manager_log` VALUES ('129','1445854716','1','admin','16','3','Главная','Editing template');
  558. INSERT INTO `modx_manager_log` VALUES ('130','1445854811','1','admin','27','35','Контакты','Editing resource');
  559. INSERT INTO `modx_manager_log` VALUES ('131','1445854820','1','admin','5','35','Контакты','Saving resource');
  560. INSERT INTO `modx_manager_log` VALUES ('132','1445854820','1','admin','27','35','Контакты','Editing resource');
  561. INSERT INTO `modx_manager_log` VALUES ('133','1445854828','1','admin','5','35','Контакты','Saving resource');
  562. INSERT INTO `modx_manager_log` VALUES ('134','1445854829','1','admin','27','35','Контакты','Editing resource');
  563. INSERT INTO `modx_manager_log` VALUES ('135','1445854830','1','admin','76','-','-','Element management');
  564. INSERT INTO `modx_manager_log` VALUES ('136','1445854840','1','admin','16','3','Главная','Editing template');
  565. INSERT INTO `modx_manager_log` VALUES ('137','1445854900','1','admin','4','-','Новый ресурс','Creating a resource');
  566. INSERT INTO `modx_manager_log` VALUES ('138','1445854926','1','admin','5','-','Текст в виде дерева','Saving resource');
  567. INSERT INTO `modx_manager_log` VALUES ('139','1445854926','1','admin','27','291','Текст в виде дерева','Editing resource');
  568. INSERT INTO `modx_manager_log` VALUES ('140','1445854937','1','admin','5','291','Текст в виде дерева','Saving resource');
  569. INSERT INTO `modx_manager_log` VALUES ('141','1445854937','1','admin','27','291','Текст в виде дерева','Editing resource');
  570. INSERT INTO `modx_manager_log` VALUES ('142','1445854940','1','admin','27','34','О компании','Editing resource');
  571. INSERT INTO `modx_manager_log` VALUES ('143','1445854941','1','admin','76','-','-','Element management');
  572. INSERT INTO `modx_manager_log` VALUES ('144','1445854943','1','admin','16','3','Главная','Editing template');
  573. INSERT INTO `modx_manager_log` VALUES ('145','1445854953','1','admin','27','34','О компании','Editing resource');
  574. INSERT INTO `modx_manager_log` VALUES ('146','1445854962','1','admin','5','34','О компании','Saving resource');
  575. INSERT INTO `modx_manager_log` VALUES ('147','1445854963','1','admin','3','34','О компании','Viewing data for resource');
  576. INSERT INTO `modx_manager_log` VALUES ('148','1445854965','1','admin','76','-','-','Element management');
  577. INSERT INTO `modx_manager_log` VALUES ('149','1445854966','1','admin','16','3','Главная','Editing template');
  578. INSERT INTO `modx_manager_log` VALUES ('150','1445855005','1','admin','20','3','Главная','Saving template');
  579. INSERT INTO `modx_manager_log` VALUES ('151','1445855005','1','admin','76','-','-','Element management');
  580. INSERT INTO `modx_manager_log` VALUES ('152','1445855036','1','admin','27','35','Контакты','Editing resource');
  581. INSERT INTO `modx_manager_log` VALUES ('153','1445855045','1','admin','5','35','Контакты','Saving resource');
  582. INSERT INTO `modx_manager_log` VALUES ('154','1445855047','1','admin','3','35','Контакты','Viewing data for resource');
  583. INSERT INTO `modx_manager_log` VALUES ('155','1445855062','1','admin','27','35','Контакты','Editing resource');
  584. INSERT INTO `modx_manager_log` VALUES ('156','1445855068','1','admin','5','35','Контакты','Saving resource');
  585. INSERT INTO `modx_manager_log` VALUES ('157','1445855070','1','admin','3','35','Контакты','Viewing data for resource');
  586. INSERT INTO `modx_manager_log` VALUES ('158','1445855076','1','admin','26','-','-','Refreshing site');
  587. INSERT INTO `modx_manager_log` VALUES ('159','1445877336','1','admin','26','-','-','Refreshing site');
  588. INSERT INTO `modx_manager_log` VALUES ('160','1446716148','1','admin','58','-','MODX','Logged in');
  589. INSERT INTO `modx_manager_log` VALUES ('161','1446716177','1','admin','27','279','Отзывы туристов','Editing resource');
  590. INSERT INTO `modx_manager_log` VALUES ('162','1446716587','1','admin','17','-','-','Editing settings');
  591. INSERT INTO `modx_manager_log` VALUES ('163','1446726570','1','admin','76','-','-','Element management');
  592. INSERT INTO `modx_manager_log` VALUES ('164','1446726576','1','admin','22','34','zip-folder','Editing Snippet');
  593. INSERT INTO `modx_manager_log` VALUES ('165','1446726602','1','admin','24','34','zip-folder','Saving Snippet');
  594. INSERT INTO `modx_manager_log` VALUES ('166','1446726602','1','admin','76','-','-','Element management');
  595. INSERT INTO `modx_manager_log` VALUES ('167','1446726605','1','admin','22','34','zip-folder','Editing Snippet');
  596. INSERT INTO `modx_manager_log` VALUES ('168','1446726674','1','admin','76','-','-','Element management');
  597. INSERT INTO `modx_manager_log` VALUES ('169','1446726686','1','admin','22','34','zip-folder','Editing Snippet');
  598. INSERT INTO `modx_manager_log` VALUES ('170','1446732573','1','admin','58','-','MODX','Logged in');
  599. INSERT INTO `modx_manager_log` VALUES ('171','1446732583','1','admin','6','277','Упаковщик','Deleting resource');
  600. INSERT INTO `modx_manager_log` VALUES ('172','1446732585','1','admin','3','16','Модули','Viewing data for resource');
  601. INSERT INTO `modx_manager_log` VALUES ('173','1446732587','1','admin','64','-','-','Removing deleted content');
  602. INSERT INTO `modx_manager_log` VALUES ('174','1446732592','1','admin','26','-','-','Refreshing site');
  603. INSERT INTO `modx_manager_log` VALUES ('175','1446732628','1','admin','58','-','MODX','Logged in');
  604. INSERT INTO `modx_manager_log` VALUES ('176','1446732647','1','admin','76','-','-','Element management');
  605. INSERT INTO `modx_manager_log` VALUES ('177','1446732655','1','admin','8','-','-','Logged out');
  606. INSERT INTO `modx_manager_log` VALUES ('178','1446732676','1','admin','76','-','-','Element management');
  607. INSERT INTO `modx_manager_log` VALUES ('179','1446732679','1','admin','16','3','Главная','Editing template');
  608. INSERT INTO `modx_manager_log` VALUES ('180','1446732705','1','admin','27','34','О компании','Editing resource');
  609. INSERT INTO `modx_manager_log` VALUES ('181','1446732709','1','admin','76','-','-','Element management');
  610. INSERT INTO `modx_manager_log` VALUES ('182','1446732711','1','admin','16','4','Внутренняя','Editing template');
  611. INSERT INTO `modx_manager_log` VALUES ('183','1446733085','1','admin','76','-','-','Element management');
  612. INSERT INTO `modx_manager_log` VALUES ('184','1446733086','1','admin','8','-','-','Logged out');
  613. INSERT INTO `modx_manager_log` VALUES ('185','1446733283','1','admin','76','-','-','Element management');
  614. INSERT INTO `modx_manager_log` VALUES ('186','1447146404','1','admin','58','-','MODX','Logged in');
  615. INSERT INTO `modx_manager_log` VALUES ('187','1447146422','1','admin','8','-','-','Logged out');
  616. INSERT INTO `modx_manager_log` VALUES ('188','1447151684','1','admin','58','-','MODX','Logged in');
  617. INSERT INTO `modx_manager_log` VALUES ('189','1447151762','1','admin','27','33','Главная','Editing resource');
  618. INSERT INTO `modx_manager_log` VALUES ('190','1447151765','1','admin','27','34','О компании','Editing resource');
  619. INSERT INTO `modx_manager_log` VALUES ('191','1447151774','1','admin','27','35','Контакты','Editing resource');
  620. INSERT INTO `modx_manager_log` VALUES ('192','1447151776','1','admin','27','291','Текст в виде дерева','Editing resource');
  621. INSERT INTO `modx_manager_log` VALUES ('193','1447151779','1','admin','27','268','Горящие туры','Editing resource');
  622. INSERT INTO `modx_manager_log` VALUES ('194','1447151787','1','admin','27','1','Главная страница','Editing resource');
  623. INSERT INTO `modx_manager_log` VALUES ('195','1447151953','1','admin','27','34','О компании','Editing resource');
  624. INSERT INTO `modx_manager_log` VALUES ('196','1447151968','1','admin','27','35','Контакты','Editing resource');
  625. INSERT INTO `modx_manager_log` VALUES ('197','1447151979','1','admin','27','18','Предложения','Editing resource');
  626. INSERT INTO `modx_manager_log` VALUES ('198','1447151983','1','admin','27','20','Подробности','Editing resource');
  627. INSERT INTO `modx_manager_log` VALUES ('199','1447151987','1','admin','27','39','Фотогалерея','Editing resource');
  628. INSERT INTO `modx_manager_log` VALUES ('200','1447151989','1','admin','27','33','Главная','Editing resource');
  629. INSERT INTO `modx_manager_log` VALUES ('201','1447152021','1','admin','76','-','-','Element management');
  630. INSERT INTO `modx_manager_log` VALUES ('202','1447152027','1','admin','16','4','Внутренняя','Editing template');
  631. INSERT INTO `modx_manager_log` VALUES ('203','1447153888','1','admin','71','-','-','Searching');
  632. INSERT INTO `modx_manager_log` VALUES ('204','1447153889','1','admin','4','-','Новый ресурс','Creating a resource');
  633. INSERT INTO `modx_manager_log` VALUES ('205','1447153897','1','admin','27','291','Текст в виде дерева','Editing resource');
  634. INSERT INTO `modx_manager_log` VALUES ('206','1447153904','1','admin','27','1','Главная страница','Editing resource');
  635. INSERT INTO `modx_manager_log` VALUES ('207','1447153930','1','admin','76','-','-','Element management');
  636. INSERT INTO `modx_manager_log` VALUES ('208','1447153937','1','admin','16','5','Баннеры','Editing template');
  637. INSERT INTO `modx_manager_log` VALUES ('209','1447153943','1','admin','76','-','-','Element management');
  638. INSERT INTO `modx_manager_log` VALUES ('210','1447153979','1','admin','27','33','Главная','Editing resource');
  639. INSERT INTO `modx_manager_log` VALUES ('211','1447153985','1','admin','27','34','О компании','Editing resource');
  640. INSERT INTO `modx_manager_log` VALUES ('212','1447153990','1','admin','27','35','Контакты','Editing resource');
  641. INSERT INTO `modx_manager_log` VALUES ('213','1447153992','1','admin','27','291','Текст в виде дерева','Editing resource');
  642. INSERT INTO `modx_manager_log` VALUES ('214','1447154251','1','admin','27','33','Главная','Editing resource');
  643. INSERT INTO `modx_manager_log` VALUES ('215','1447154815','1','admin','27','268','Горящие туры','Editing resource');
  644. INSERT INTO `modx_manager_log` VALUES ('216','1447154862','1','admin','27','268','Горящие туры','Editing resource');
  645. INSERT INTO `modx_manager_log` VALUES ('217','1447154906','1','admin','27','291','Текст в виде дерева','Editing resource');
  646. INSERT INTO `modx_manager_log` VALUES ('218','1447154909','1','admin','27','35','Контакты','Editing resource');
  647. INSERT INTO `modx_manager_log` VALUES ('219','1447154926','1','admin','27','17','Поиск тура','Editing resource');
  648. INSERT INTO `modx_manager_log` VALUES ('220','1447155542','1','admin','27','48','Витрина туров','Editing resource');
  649. INSERT INTO `modx_manager_log` VALUES ('221','1447155821','1','admin','27','33','Главная','Editing resource');
  650. INSERT INTO `modx_manager_log` VALUES ('222','1447155823','1','admin','27','6','Главное меню','Editing resource');
  651. INSERT INTO `modx_manager_log` VALUES ('223','1447155832','1','admin','27','1','Главная страница','Editing resource');
  652. INSERT INTO `modx_manager_log` VALUES ('224','1447157022','1','admin','27','17','Поиск тура','Editing resource');
  653. INSERT INTO `modx_manager_log` VALUES ('225','1447157035','1','admin','27','19','Новости туризма','Editing resource');
  654. INSERT INTO `modx_manager_log` VALUES ('226','1447157041','1','admin','27','48','Витрина туров','Editing resource');
  655. INSERT INTO `modx_manager_log` VALUES ('227','1447157063','1','admin','27','291','Текст в виде дерева','Editing resource');
  656. INSERT INTO `modx_manager_log` VALUES ('228','1447157078','1','admin','27','268','Горящие туры','Editing resource');
  657. INSERT INTO `modx_manager_log` VALUES ('229','1447157090','1','admin','27','268','Горящие туры','Editing resource');
  658. INSERT INTO `modx_manager_log` VALUES ('230','1447157103','1','admin','27','268','Горящие туры','Editing resource');
  659. INSERT INTO `modx_manager_log` VALUES ('231','1447157107','1','admin','27','268','Горящие туры','Editing resource');
  660. INSERT INTO `modx_manager_log` VALUES ('232','1447157108','1','admin','27','291','Текст в виде дерева','Editing resource');
  661. INSERT INTO `modx_manager_log` VALUES ('233','1447157110','1','admin','27','268','Горящие туры','Editing resource');
  662. INSERT INTO `modx_manager_log` VALUES ('234','1447157130','1','admin','27','1','Главная страница','Editing resource');
  663. INSERT INTO `modx_manager_log` VALUES ('235','1447157141','1','admin','27','288','Информация по контактам','Editing resource');
  664. INSERT INTO `modx_manager_log` VALUES ('236','1447157151','1','admin','27','23','Служебные','Editing resource');
  665. INSERT INTO `modx_manager_log` VALUES ('237','1447157155','1','admin','27','2','404 - Страница не найдена','Editing resource');
  666. INSERT INTO `modx_manager_log` VALUES ('238','1447157158','1','admin','27','3','403 - Доступ запрещен','Editing resource');
  667. INSERT INTO `modx_manager_log` VALUES ('239','1447157159','1','admin','27','4','Сайт недоступен','Editing resource');
  668. INSERT INTO `modx_manager_log` VALUES ('240','1447157163','1','admin','27','1','Главная страница','Editing resource');
  669. INSERT INTO `modx_manager_log` VALUES ('241','1447157168','1','admin','27','268','Горящие туры','Editing resource');
  670. INSERT INTO `modx_manager_log` VALUES ('242','1447157170','1','admin','27','291','Текст в виде дерева','Editing resource');
  671. INSERT INTO `modx_manager_log` VALUES ('243','1447157172','1','admin','27','35','Контакты','Editing resource');
  672. INSERT INTO `modx_manager_log` VALUES ('244','1447157175','1','admin','27','34','О компании','Editing resource');
  673. INSERT INTO `modx_manager_log` VALUES ('245','1447157184','1','admin','27','33','Главная','Editing resource');
  674. INSERT INTO `modx_manager_log` VALUES ('246','1447157199','1','admin','3','6','Главное меню','Viewing data for resource');
  675. INSERT INTO `modx_manager_log` VALUES ('247','1447158287','1','admin','58','-','MODX','Logged in');
  676. INSERT INTO `modx_manager_log` VALUES ('248','1447158302','1','admin','76','-','-','Element management');
  677. INSERT INTO `modx_manager_log` VALUES ('249','1447158304','1','admin','16','3','Главная','Editing template');
  678. INSERT INTO `modx_manager_log` VALUES ('250','1447158623','1','admin','27','268','Горящие туры','Editing resource');
  679. INSERT INTO `modx_manager_log` VALUES ('251','1447158629','1','admin','16','3','Главная','Editing template');
  680. INSERT INTO `modx_manager_log` VALUES ('252','1447158642','1','admin','27','268','Горящие туры','Editing resource');
  681. INSERT INTO `modx_manager_log` VALUES ('253','1447158646','1','admin','16','3','Главная','Editing template');
  682. INSERT INTO `modx_manager_log` VALUES ('254','1447158673','1','admin','20','3','Главная','Saving template');
  683. INSERT INTO `modx_manager_log` VALUES ('255','1447158673','1','admin','76','-','-','Element management');
  684. INSERT INTO `modx_manager_log` VALUES ('256','1447158679','1','admin','16','3','Главная','Editing template');
  685. INSERT INTO `modx_manager_log` VALUES ('257','1447158695','1','admin','51','17','Поиск тура','Moving resource');
  686. INSERT INTO `modx_manager_log` VALUES ('258','1447158696','1','admin','52','17','-','Moved resource');
  687. INSERT INTO `modx_manager_log` VALUES ('259','1447158703','1','admin','6','18','Предложения','Deleting resource');
  688. INSERT INTO `modx_manager_log` VALUES ('260','1447158704','1','admin','3','17','Поиск тура','Viewing data for resource');
  689. INSERT INTO `modx_manager_log` VALUES ('261','1447158705','1','admin','27','17','Поиск тура','Editing resource');
  690. INSERT INTO `modx_manager_log` VALUES ('262','1447158714','1','admin','5','17','Поиск тура','Saving resource');
  691. INSERT INTO `modx_manager_log` VALUES ('263','1447158714','1','admin','27','17','Поиск тура','Editing resource');
  692. INSERT INTO `modx_manager_log` VALUES ('264','1447158718','1','admin','64','-','-','Removing deleted content');
  693. INSERT INTO `modx_manager_log` VALUES ('265','1447158727','1','admin','64','-','-','Removing deleted content');
  694. INSERT INTO `modx_manager_log` VALUES ('266','1447158730','1','admin','27','17','Поиск тура','Editing resource');
  695. INSERT INTO `modx_manager_log` VALUES ('267','1447158739','1','admin','5','17','Поиск тура','Saving resource');
  696. INSERT INTO `modx_manager_log` VALUES ('268','1447158741','1','admin','3','17','Поиск тура','Viewing data for resource');
  697. INSERT INTO `modx_manager_log` VALUES ('269','1447158744','1','admin','27','17','Поиск тура','Editing resource');
  698. INSERT INTO `modx_manager_log` VALUES ('270','1447158745','1','admin','76','-','-','Element management');
  699. INSERT INTO `modx_manager_log` VALUES ('271','1447158747','1','admin','16','3','Главная','Editing template');
  700. INSERT INTO `modx_manager_log` VALUES ('272','1447158756','1','admin','27','17','Поиск тура','Editing resource');
  701. INSERT INTO `modx_manager_log` VALUES ('273','1447158768','1','admin','5','17','Поиск тура','Saving resource');
  702. INSERT INTO `modx_manager_log` VALUES ('274','1447158769','1','admin','27','17','Поиск тура','Editing resource');
  703. INSERT INTO `modx_manager_log` VALUES ('275','1447158773','1','admin','5','17','Поиск тура','Saving resource');
  704. INSERT INTO `modx_manager_log` VALUES ('276','1447158773','1','admin','27','17','Поиск тура','Editing resource');
  705. INSERT INTO `modx_manager_log` VALUES ('277','1447158775','1','admin','76','-','-','Element management');
  706. INSERT INTO `modx_manager_log` VALUES ('278','1447158776','1','admin','16','3','Главная','Editing template');
  707. INSERT INTO `modx_manager_log` VALUES ('279','1447158792','1','admin','20','3','Главная','Saving template');
  708. INSERT INTO `modx_manager_log` VALUES ('280','1447158792','1','admin','76','-','-','Element management');
  709. INSERT INTO `modx_manager_log` VALUES ('281','1447158813','1','admin','26','-','-','Refreshing site');
  710. INSERT INTO `modx_manager_log` VALUES ('282','1447159157','1','admin','27','33','Главная','Editing resource');
  711. INSERT INTO `modx_manager_log` VALUES ('283','1447159166','1','admin','27','6','Главное меню','Editing resource');
  712. INSERT INTO `modx_manager_log` VALUES ('284','1447159213','1','admin','27','33','Главная','Editing resource');
  713. INSERT INTO `modx_manager_log` VALUES ('285','1447159213','1','admin','27','33','Главная','Editing resource');
  714. INSERT INTO `modx_manager_log` VALUES ('286','1447159223','1','admin','27','6','Главное меню','Editing resource');
  715. INSERT INTO `modx_manager_log` VALUES ('287','1447159224','1','admin','27','33','Главная','Editing resource');
  716. INSERT INTO `modx_manager_log` VALUES ('288','1447159225','1','admin','27','34','О компании','Editing resource');
  717. INSERT INTO `modx_manager_log` VALUES ('289','1447159237','1','admin','27','1','Главная страница','Editing resource');
  718. INSERT INTO `modx_manager_log` VALUES ('290','1447159246','1','admin','27','291','Текст в виде дерева','Editing resource');
  719. INSERT INTO `modx_manager_log` VALUES ('291','1447159251','1','admin','27','268','Горящие туры','Editing resource');
  720. INSERT INTO `modx_manager_log` VALUES ('292','1447159259','1','admin','27','291','Текст в виде дерева','Editing resource');
  721. INSERT INTO `modx_manager_log` VALUES ('293','1447159263','1','admin','27','35','Контакты','Editing resource');
  722. INSERT INTO `modx_manager_log` VALUES ('294','1447159267','1','admin','27','34','О компании','Editing resource');
  723. INSERT INTO `modx_manager_log` VALUES ('295','1447159271','1','admin','27','33','Главная','Editing resource');
  724. INSERT INTO `modx_manager_log` VALUES ('296','1447159278','1','admin','27','6','Главное меню','Editing resource');
  725. INSERT INTO `modx_manager_log` VALUES ('297','1447159283','1','admin','27','33','Главная','Editing resource');
  726. INSERT INTO `modx_manager_log` VALUES ('298','1447159288','1','admin','27','34','О компании','Editing resource');
  727. INSERT INTO `modx_manager_log` VALUES ('299','1447159293','1','admin','27','35','Контакты','Editing resource');
  728. INSERT INTO `modx_manager_log` VALUES ('300','1447159295','1','admin','27','268','Горящие туры','Editing resource');
  729. INSERT INTO `modx_manager_log` VALUES ('301','1447159300','1','admin','27','291','Текст в виде дерева','Editing resource');
  730. INSERT INTO `modx_manager_log` VALUES ('302','1447159384','1','admin','114','-','-','View event log');
  731. INSERT INTO `modx_manager_log` VALUES ('303','1447159385','1','admin','13','-','-','Viewing logging');
  732. INSERT INTO `modx_manager_log` VALUES ('304','1447159386','1','admin','53','-','-','Viewing system info');
  733. INSERT INTO `modx_manager_log` VALUES ('305','1447159389','1','admin','27','288','Информация по контактам','Editing resource');
  734. INSERT INTO `modx_manager_log` VALUES ('306','1447159397','1','admin','76','-','-','Element management');
  735. INSERT INTO `modx_manager_log` VALUES ('307','1447159404','1','admin','16','3','Главная','Editing template');
  736. INSERT INTO `modx_manager_log` VALUES ('308','1447159435','1','admin','76','-','-','Element management');
  737. INSERT INTO `modx_manager_log` VALUES ('309','1447159439','1','admin','16','5','Баннеры','Editing template');
  738. INSERT INTO `modx_manager_log` VALUES ('310','1447159445','1','admin','76','-','-','Element management');
  739. INSERT INTO `modx_manager_log` VALUES ('311','1447159453','1','admin','16','4','Внутренняя','Editing template');
  740. INSERT INTO `modx_manager_log` VALUES ('312','1447159456','1','admin','76','-','-','Element management');
  741. INSERT INTO `modx_manager_log` VALUES ('313','1447159459','1','admin','16','4','Внутренняя','Editing template');
  742. INSERT INTO `modx_manager_log` VALUES ('314','1447159466','1','admin','76','-','-','Element management');
  743. INSERT INTO `modx_manager_log` VALUES ('315','1447159468','1','admin','16','3','Главная','Editing template');
  744. INSERT INTO `modx_manager_log` VALUES ('316','1447159764','1','admin','93','-','-','Backup Manager');
  745. INSERT INTO `modx_manager_log` VALUES ('317','1447160120','1','admin','76','-','-','Element management');
  746. INSERT INTO `modx_manager_log` VALUES ('318','1447160125','1','admin','16','3','Главная','Editing template');
  747. INSERT INTO `modx_manager_log` VALUES ('319','1447160138','1','admin','76','-','-','Element management');
  748. INSERT INTO `modx_manager_log` VALUES ('320','1447160144','1','admin','78','58','head','Editing Chunk (HTML Snippet)');
  749. INSERT INTO `modx_manager_log` VALUES ('321','1447160418','1','admin','76','-','-','Element management');
  750. INSERT INTO `modx_manager_log` VALUES ('322','1447160431','1','admin','78','28','bottom','Editing Chunk (HTML Snippet)');
  751. INSERT INTO `modx_manager_log` VALUES ('323','1447160437','1','admin','76','-','-','Element management');
  752. INSERT INTO `modx_manager_log` VALUES ('324','1447160487','1','admin','16','3','Главная','Editing template');
  753. INSERT INTO `modx_manager_log` VALUES ('325','1447160491','1','admin','76','-','-','Element management');
  754. INSERT INTO `modx_manager_log` VALUES ('326','1447160493','1','admin','16','4','Внутренняя','Editing template');
  755. INSERT INTO `modx_manager_log` VALUES ('327','1447160498','1','admin','76','-','-','Element management');
  756. INSERT INTO `modx_manager_log` VALUES ('328','1447160969','1','admin','16','5','Баннеры','Editing template');
  757. INSERT INTO `modx_manager_log` VALUES ('329','1447160972','1','admin','76','-','-','Element management');
  758. INSERT INTO `modx_manager_log` VALUES ('330','1447160974','1','admin','16','4','Внутренняя','Editing template');
  759. INSERT INTO `modx_manager_log` VALUES ('331','1447160986','1','admin','27','268','Горящие туры','Editing resource');
  760. INSERT INTO `modx_manager_log` VALUES ('332','1447161060','1','admin','76','-','-','Element management');
  761. INSERT INTO `modx_manager_log` VALUES ('333','1447161063','1','admin','16','3','Главная','Editing template');
  762. INSERT INTO `modx_manager_log` VALUES ('334','1447161121','1','admin','27','6','Главное меню','Editing resource');
  763. INSERT INTO `modx_manager_log` VALUES ('335','1447161129','1','admin','27','268','Горящие туры','Editing resource');
  764. INSERT INTO `modx_manager_log` VALUES ('336','1447161250','1','admin','27','17','Поиск тура','Editing resource');
  765. INSERT INTO `modx_manager_log` VALUES ('337','1447161262','1','admin','27','268','Горящие туры','Editing resource');
  766. INSERT INTO `modx_manager_log` VALUES ('338','1447161335','1','admin','27','17','Поиск тура','Editing resource');
  767. INSERT INTO `modx_manager_log` VALUES ('339','1447162602','1','admin','93','-','-','Backup Manager');
  768.  
  769. # --------------------------------------------------------
  770.  
  771. #
  772. # Table structure for table `modx_manager_users`
  773. #
  774.  
  775. DROP TABLE IF EXISTS `modx_manager_users`;
  776. CREATE TABLE `modx_manager_users` (
  777.   `id` int(10) NOT NULL AUTO_INCREMENT,
  778.   `username` varchar(100) NOT NULL DEFAULT '',
  779.   `password` varchar(100) NOT NULL DEFAULT '',
  780.   PRIMARY KEY (`id`),
  781.   UNIQUE KEY `username` (`username`)
  782. ) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COMMENT='Contains login information for backend users.';
  783.  
  784. #
  785. # Dumping data for table `modx_manager_users`
  786. #
  787.  
  788. INSERT INTO `modx_manager_users` VALUES ('1','admin','uncrypt>0751a8bdb74e4cf3440a413efacf444b27ec2160');
  789. INSERT INTO `modx_manager_users` VALUES ('2','manager','c514c91e4ed341f263e458d44b3bb0a7');
  790.  
  791. # --------------------------------------------------------
  792.  
  793. #
  794. # Table structure for table `modx_member_groups`
  795. #
  796.  
  797. DROP TABLE IF EXISTS `modx_member_groups`;
  798. CREATE TABLE `modx_member_groups` (
  799.   `id` int(10) NOT NULL AUTO_INCREMENT,
  800.   `user_group` int(10) NOT NULL DEFAULT '0',
  801.   `member` int(10) NOT NULL DEFAULT '0',
  802.   PRIMARY KEY (`id`),
  803.   UNIQUE KEY `ix_group_member` (`user_group`,`member`)
  804. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Contains data used for access permissions.';
  805.  
  806. #
  807. # Dumping data for table `modx_member_groups`
  808. #
  809.  
  810.  
  811. # --------------------------------------------------------
  812.  
  813. #
  814. # Table structure for table `modx_membergroup_access`
  815. #
  816.  
  817. DROP TABLE IF EXISTS `modx_membergroup_access`;
  818. CREATE TABLE `modx_membergroup_access` (
  819.   `id` int(10) NOT NULL AUTO_INCREMENT,
  820.   `membergroup` int(10) NOT NULL DEFAULT '0',
  821.   `documentgroup` int(10) NOT NULL DEFAULT '0',
  822.   PRIMARY KEY (`id`)
  823. ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='Contains data used for access permissions.';
  824.  
  825. #
  826. # Dumping data for table `modx_membergroup_access`
  827. #
  828.  
  829. INSERT INTO `modx_membergroup_access` VALUES ('1','1','2');
  830.  
  831. # --------------------------------------------------------
  832.  
  833. #
  834. # Table structure for table `modx_membergroup_names`
  835. #
  836.  
  837. DROP TABLE IF EXISTS `modx_membergroup_names`;
  838. CREATE TABLE `modx_membergroup_names` (
  839.   `id` int(10) NOT NULL AUTO_INCREMENT,
  840.   `name` varchar(255) NOT NULL DEFAULT '',
  841.   PRIMARY KEY (`id`),
  842.   UNIQUE KEY `name` (`name`)
  843. ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='Contains data used for access permissions.';
  844.  
  845. #
  846. # Dumping data for table `modx_membergroup_names`
  847. #
  848.  
  849. INSERT INTO `modx_membergroup_names` VALUES ('1','managers');
  850.  
  851. # --------------------------------------------------------
  852.  
  853. #
  854. # Table structure for table `modx_site_content`
  855. #
  856.  
  857. DROP TABLE IF EXISTS `modx_site_content`;
  858. CREATE TABLE `modx_site_content` (
  859.   `id` int(10) NOT NULL AUTO_INCREMENT,
  860.   `type` varchar(20) NOT NULL DEFAULT 'document',
  861.   `contentType` varchar(50) NOT NULL DEFAULT 'text/html',
  862.   `pagetitle` varchar(255) NOT NULL DEFAULT '',
  863.   `longtitle` varchar(255) NOT NULL DEFAULT '',
  864.   `description` varchar(255) NOT NULL DEFAULT '',
  865.   `alias` varchar(255) DEFAULT '',
  866.   `link_attributes` varchar(255) NOT NULL DEFAULT '',
  867.   `published` int(1) NOT NULL DEFAULT '0',
  868.   `pub_date` int(20) NOT NULL DEFAULT '0',
  869.   `unpub_date` int(20) NOT NULL DEFAULT '0',
  870.   `parent` int(10) NOT NULL DEFAULT '0',
  871.   `isfolder` int(1) NOT NULL DEFAULT '0',
  872.   `introtext` text COMMENT 'Used to provide quick summary of the document',
  873.   `content` mediumtext,
  874.   `richtext` tinyint(1) NOT NULL DEFAULT '1',
  875.   `template` int(10) NOT NULL DEFAULT '0',
  876.   `menuindex` int(10) NOT NULL DEFAULT '0',
  877.   `searchable` int(1) NOT NULL DEFAULT '1',
  878.   `cacheable` int(1) NOT NULL DEFAULT '1',
  879.   `createdby` int(10) NOT NULL DEFAULT '0',
  880.   `createdon` int(20) NOT NULL DEFAULT '0',
  881.   `editedby` int(10) NOT NULL DEFAULT '0',
  882.   `editedon` int(20) NOT NULL DEFAULT '0',
  883.   `deleted` int(1) NOT NULL DEFAULT '0',
  884.   `deletedon` int(20) NOT NULL DEFAULT '0',
  885.   `deletedby` int(10) NOT NULL DEFAULT '0',
  886.   `publishedon` int(20) NOT NULL DEFAULT '0',
  887.   `publishedby` int(10) NOT NULL DEFAULT '0',
  888.   `menutitle` varchar(255) NOT NULL DEFAULT '' COMMENT 'Menu title',
  889.   `donthit` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'Disable page hit count',
  890.   `haskeywords` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'has links to keywords',
  891.   `hasmetatags` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'has links to meta tags',
  892.   `privateweb` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'Private web document',
  893.   `privatemgr` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'Private manager document',
  894.   `content_dispo` tinyint(1) NOT NULL DEFAULT '0' COMMENT '0-inline, 1-attachment',
  895.   `hidemenu` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'Hide document from menu',
  896.   `alias_visible` int(2) NOT NULL DEFAULT '1',
  897.   PRIMARY KEY (`id`),
  898.   KEY `id` (`id`),
  899.   KEY `parent` (`parent`),
  900.   KEY `aliasidx` (`alias`),
  901.   KEY `typeidx` (`type`),
  902.   FULLTEXT KEY `content_ft_idx` (`pagetitle`,`description`,`content`)
  903. ) ENGINE=MyISAM AUTO_INCREMENT=292 DEFAULT CHARSET=utf8 COMMENT='Contains the site document tree.';
  904.  
  905. #
  906. # Dumping data for table `modx_site_content`
  907. #
  908.  
  909. INSERT INTO `modx_site_content` VALUES ('1','document','text/html','Главная страница','Главная страница','','index','','1','0','0','0','0','','<p><img src=\"assets/images/logo.png\" alt=\"\" width=\"120\" height=\"90\" /></p>','1','3','5','1','1','1','1298632114','1','1302011399','0','0','0','1298632359','1','Главная страница','0','0','0','0','0','0','0','1');
  910. INSERT INTO `modx_site_content` VALUES ('2','document','text/html','404 - Страница не найдена','Кажется вы ошиблись адресом! (404 - Страница не найдена)','','404','','1','0','0','23','0','','<p>&lt;p&gt;<br />Запрошенная вами страница не найдена на сервере... Попробуйте набрать адрес заново или выберите страницу из списка: <br />&lt;/p&gt;</p>\n<div id=\"sitemap\">\n[[Wayfinder? &startId=`6` &showDescription=`1` ]]\n[[Wayfinder? &startId=`7` &showDescription=`1` ]]\n</div>','0','4','6','0','0','1','1298632515','1','1343890651','0','0','0','1298646705','1','404 - Страница не найдена','0','0','0','0','0','0','0','1');
  911. INSERT INTO `modx_site_content` VALUES ('3','document','text/html','403 - Доступ запрещен','403 - Доступ запрещен','','403','','1','0','0','23','0','','','0','0','7','0','0','1','1298632553','1','1301569172','0','0','0','1298646735','1','403 - Доступ запрещен','0','0','0','0','0','0','0','1');
  912. INSERT INTO `modx_site_content` VALUES ('4','document','text/html','Сайт недоступен','Сайт недоступен','','sajt-nedostupen','','1','0','0','23','0','','<p><strong>Сайт недоступен</strong></p>','1','0','8','1','1','1','1298632623','1','1301569183','0','0','0','1298632623','1','Сайт недоступен','0','0','0','0','0','0','0','1');
  913. INSERT INTO `modx_site_content` VALUES ('6','reference','text/html','Главное меню','Главное меню','','glavnoe-menyu','','1','0','0','0','1','','[[FirstChildRedirect ]]','1','4','0','1','1','1','1300193361','1','1301748220','0','0','0','1300193361','1','Главное меню','0','0','0','0','0','0','1','1');
  914. INSERT INTO `modx_site_content` VALUES ('16','reference','text/html','Модули','Модули','','moduli','','1','0','0','0','1','','[[FirstChildRedirect ]]','1','0','3','1','1','1','1300621561','1','1300621561','0','0','0','1300621561','1','Модули','0','0','0','0','0','0','1','1');
  915. INSERT INTO `modx_site_content` VALUES ('17','document','text/html','Поиск тура','Поиск тура','','search','','1','0','0','6','0','','<script type=\"text/javascript\" language=\"JavaScript\" src=\"http://tourclient.ru/f/jsboot/61285/mobile_find_tour?style=default&conf=default\"></script>','0','4','0','1','1','1','1300621601','1','1447155173','0','0','0','1300621601','1','Поиск тура','0','0','0','0','1','0','0','1');
  916. INSERT INTO `modx_site_content` VALUES ('19','document','text/html','Новости туризма','Новости туризма','','tournews','','1','0','0','16','1','','<!-- hr --><script type=\"text/javascript\" language=\"JavaScript\" src=\"http://tourclient.ru/f/jsboot/{{id-w}}/tourists_newsV2?style=all&conf=all\"></script>','1','4','1','1','1','1','1301293606','1','1419956573','0','0','0','1301293606','1','Новости туризма','0','0','0','0','0','0','0','1');
  917. INSERT INTO `modx_site_content` VALUES ('20','document','text/html','Подробности','Подробности','','detail','','1','0','0','19','0','','<!-- hr --><script type=\"text/javascript\" language=\"JavaScript\" src=\"http://tourclient.ru/f/jsboot/{{id-w}}/tourists_newsV2?style=detail&conf=default\"></script>','1','4','0','1','1','1','1301293663','1','1419956700','0','0','0','1301293663','1','Подробности','0','0','0','0','0','0','1','1');
  918. INSERT INTO `modx_site_content` VALUES ('21','document','text/html','Заказ тура','Заказ тура','','order','','1','0','0','16','0','','<!-- hr -->[[checkField]]\n[!eForm?\n    &formid=`orderForm` \n  &subject=`On-line заказ` \n    &to=`{{email}}`  \n &tpl=`OrderForm` \n &report=`OrderFormReport` \n    &thankyou=`OrderFormThanks` \n  &requiredClass=`error`\n    &vericode=`0`\n &requiredClass=`input-error`\n  &invalidClass=`input-error`\n   &cssStyle=`/assets/css/service/forms/order_form_tour.css,/assets/css/service/forms/datepicker3.css,/assets/css/service/forms/jquery.formstyler.css`\n   &jScript=`http://code.jquery.com/jquery-1.9.1.min.js,/assets/js/forms/bootstrap-datepicker.js,/assets/js/forms/bootstrap-datepicker.ru.js,/assets/js/forms/jquery.formstyler.min.js,/assets/js/forms/scripts-form.js`\n!]','1','4','2','1','1','1','1301293770','1','1407232978','0','0','0','1301293770','1','Заказ тура','0','0','0','0','0','0','0','1');
  919. INSERT INTO `modx_site_content` VALUES ('23','reference','text/html','Служебные','Служебные','','sluzhebnyie','','1','0','0','0','1','','http://','1','0','9','1','1','1','1301568998','1','1303208817','0','0','0','1301568998','1','Служебные','0','0','0','0','1','0','1','1');
  920. INSERT INTO `modx_site_content` VALUES ('25','document','text/html','Авторизация','Авторизация','','login','','1','0','0','16','1','','<p><strong>Благодарим Вас за регистрацию на нашем сайте! Теперь Вы можете авторизоваться.</strong></p>','1','4','3','1','1','1','1302269654','1','1388006174','0','0','0','1302269654','1','Авторизация','0','0','0','0','1','0','1','1');
  921. INSERT INTO `modx_site_content` VALUES ('27','document','text/html','Регистрация','Регистрация','','site_register','','1','0','0','25','0','','[!WebLoginPE? &type=`register` &lang=`ru` &groups=`Registered Users` &regSuccessId=`25` &regSuccessPause=`0`!]','0','4','1','1','1','1','1302269795','1','1324547302','0','0','0','1302269795','1','Регистрация','0','0','0','0','1','0','1','1');
  922. INSERT INTO `modx_site_content` VALUES ('28','document','text/html','Профиль пользователя','Профиль пользователя','','site_profile','','1','0','0','25','0','','[!WebLoginPE? &type=`profile` &lang=`ru` &customFields=`address` &regSuccessId=`25`!]','0','4','2','1','1','1','1302269863','1','1324547319','0','0','0','1302269863','1','Профиль пользователя','0','0','0','0','1','0','1','1');
  923. INSERT INTO `modx_site_content` VALUES ('31','document','text/html','Каталог отелей','Каталог отелей','','hotels','','1','0','0','16','0','','<!-- hr -->[!WebClient?module=`hotelsV2`!]','1','6','4','1','1','1','1304671632','1','1391245975','0','0','0','1304671632','1','Каталог отелей','0','0','0','0','0','0','0','1');
  924. INSERT INTO `modx_site_content` VALUES ('267','document','text/html','Предложения','Предложения','','exc_offers','','1','0','0','41','0','','<!-- hr -->[!WebClient?type=`offers` &module=`find_exc_tour` !]','1','4','0','1','1','1','1320245751','1','1391246021','0','0','0','1320245751','1','Предложения','0','0','0','0','1','0','1','1');
  925. INSERT INTO `modx_site_content` VALUES ('33','reference','text/html','Главная','Главная','','glavnaya1','','1','0','0','6','0','','/','1','0','0','1','1','1','1306758223','1','1320232812','0','0','0','1306833938','1','Главная','0','0','0','0','0','0','0','1');
  926. INSERT INTO `modx_site_content` VALUES ('34','document','text/html','О компании','О компании','','company','','1','0','0','6','0','','<p>Идейные соображения высшего порядка, а также новая модель организационной деятельности играет важную роль в формировании направлений прогрессивного развития. Повседневная практика показывает, что постоянный количественный рост и сфера нашей активности обеспечивает широкому кругу (специалистов) участие в формировании дальнейших направлений развития. Разнообразный и богатый опыт укрепление и развитие структуры влечет за собой процесс внедрения и модернизации направлений прогрессивного развития.</p>','1','4','2','1','1','1','1306758223','1','1445851361','0','0','0','1306833951','1','О компании','0','0','0','0','0','0','0','1');
  927. INSERT INTO `modx_site_content` VALUES ('268','document','text/html','Горящие туры','Горящие туры','','hot','','1','0','0','6','0','','<!--BEGIN OF MODULE BLOCK-->\n<script type=\"text/javascript\" language=\"JavaScript\" src=\"http://tourclient.ru/f/jsboot/61285/mobile_hot_tour?style=lsmobile&conf=lsmobile\"></script>\n<!--END OF MODULE BLOCK-->','0','4','9','1','1','1','1324547206','1','1445850524','0','0','0','1324547206','1','Горящие туры','0','0','0','0','1','0','0','1');
  928. INSERT INTO `modx_site_content` VALUES ('35','document','text/html','Контакты','Контакты','','contacts','','1','0','0','6','0','','<ul>\n   <li>Контактная  информация</li>\n   <li>Москва, Россия</li>\n   <li>15035, ул. Балчуг, 17 info@mysite.com</li>\n    <li>Тел.: +7 (495) 000 00 00</li>\n  <li>Факс: +7 (495) 000 00 00</li>\n <li>© 2023 «В добрый путь»</li>\n <li>Сайт создан на TourAdmin.ru</li>\n</ul>','0','4','3','1','1','1','1306758223','1','1445851468','0','0','0','1306833963','1','Контакты','0','0','0','0','0','0','0','1');
  929. INSERT INTO `modx_site_content` VALUES ('291','document','text/html','Текст в виде дерева','','','tekst-v-vide-dereva','','1','0','0','6','0','','<ul>\n    <li>Идейные соображения высшего порядка, а также новая модель </li>\n  <li>Формировании направлений прогрессивного развития</li>\n    <li>Количественный рост и сфера нашей активности обеспечивает широкому</li>\n</ul>\n<ul>\n   <li>Организационной деятельности играет важную роль в </li>\n   <li>Повседневная практика показывает, что постоянный</li>\n  <li>В кругу (специалистов) участие в формировании дальнейших направлений</li>\n</ul>','0','4','4','1','1','1','1445851326','1','1445851336','0','0','0','1445851326','1','','0','0','0','0','0','0','0','1');
  930. INSERT INTO `modx_site_content` VALUES ('39','document','text/html','Фотогалерея','Фотогалерея','','galery','','1','0','0','16','0','','<!-- hr -->[!easy2? !]','1','4','1','1','1','1','1306834027','1','1391245091','0','0','0','1306834027','1','Фотогалерея','0','0','0','0','0','0','0','1');
  931. INSERT INTO `modx_site_content` VALUES ('41','document','text/html','Экскурсионные туры','Экскурсионные туры','','excur','','1','0','0','16','1','','<!-- hr -->[!WebClient?type=`bigfilter` &module=`find_exc_tour` !]','1','4','1','1','1','1','1306839234','1','1391246003','0','0','0','1306839234','1','Экскурсионные туры','0','0','0','0','1','0','0','1');
  932. INSERT INTO `modx_site_content` VALUES ('50','document','text/html','Новости компании','Новости компании','','news','','1','0','0','16','1','','[!Ditto?parents=`51` &tpl=`news.ditto` &sortBy=`createdon` &display=`3` &dateFormat=`%d.%m.%Y` &paginate=`1` &tplPaginatePrevious=`PaginatePrevious.ditto` &tplPaginateNext=`PaginateNext.ditto` &paginateAlwaysShowLinks=`1` &tplPaginateNextOff=`PaginateNextOff.ditto` &tplPaginatePreviousOff=`PaginatePreviousOff.ditto` !]\n<br>\n<p class=\"f11\">Страниц:[+totalPages+]. [+previous+] [!splitPagination?return=`1`!] [+next+]</p>\n<br>\n<p class=\"f11\">[!splitPaginationNew?return=`1` &tplPaginatePrevious=`PaginatePrevious.ditto` &tplPaginateNext=`PaginateNext.ditto` &tplPaginateNextOff=`PaginateNextOff.ditto` &tplPaginatePreviousOff=`PaginatePreviousOff.ditto`!]</p>','0','4','4','1','1','1','1306840900','1','1320232765','0','0','0','1306840900','1','Новости компании','0','0','0','0','0','0','0','1');
  933. INSERT INTO `modx_site_content` VALUES ('48','document','text/html','Витрина туров','Витрина туров','','shoptour','','1','0','0','16','0','','<!-- hr --><script type=\"text/javascript\" language=\"JavaScript\" src=\"http://tourclient.ru/f/jsboot/{{id-w}}/vitrina_tourV2?style=default&conf=all\"></script>','1','4','2','1','1','1','1306840219','1','1389885182','0','0','0','1306840219','1','Витрина туров','0','0','0','0','1','0','0','1');
  934. INSERT INTO `modx_site_content` VALUES ('51','document','text/html','все новости','все новости','','allnews','','1','0','0','50','1','','','1','4','0','1','1','1','1306840990','1','1306850501','0','0','0','1306840990','1','все новости','0','0','0','0','0','0','1','1');
  935. INSERT INTO `modx_site_content` VALUES ('52','document','text/html','В Чехии опубликовали 10 самых красивых туров на поезде','В Чехии опубликовали 10 самых красивых туров на поезде','','news1','','1','0','0','51','0','','','1','4','0','1','1','1','1306841050','1','1306841050','0','0','0','1306841050','1','В Чехии опубликовали 10 самых красивых туров на поезде','0','0','0','0','0','0','0','1');
  936. INSERT INTO `modx_site_content` VALUES ('53','document','text/html','В Чехии опубликовали 10 самых красивых туров на поезде','В Чехии опубликовали 10 самых красивых туров на поезде','','news2','','1','0','0','51','0','','','1','4','1','1','1','1','1306841068','1','1306841068','0','0','0','1306841068','1','В Чехии опубликовали 10 самых красивых туров на поезде','0','0','0','0','0','0','0','1');
  937. INSERT INTO `modx_site_content` VALUES ('54','document','text/html','Опрос посетителей','Опрос посетителей','','opros','','1','0','0','16','0','','<!-- hr -->[!EasyPoll!]','1','4','3','1','1','1','1306841308','1','1388006197','0','0','0','1306841308','1','Опрос посетителей','0','0','0','0','1','0','0','1');
  938. INSERT INTO `modx_site_content` VALUES ('273','document','text/html','Форма заказа','Форма заказа','','order_mob','','1','0','0','16','0','','<!DOCTYPE HTML>\n<html>\n<body>\n<!--BEGIN OF MODULE BLOCK-->\n   <div style=\"background-color: #fff\">\n     <script type=\"text/javascript\" language=\"JavaScript\" src=\"http://tourclient.ru/f/jsboot/{{id-w}}/tour_orderV2\"></script>\n   </div>\n<!--END OF MODULE BLOCK-->\n</body>\n</html>','0','0','10','1','1','1','1343889963','1','1445240343','0','0','0','1343889963','1','Форма заказа','0','0','0','0','1','0','0','1');
  939. INSERT INTO `modx_site_content` VALUES ('274','document','text/html','Страница бронирования','Страница бронирования','','get_order','','1','0','0','16','0','','[!Archive!]','0','0','7','1','1','1','1343890153','1','1354715209','0','0','0','1343890153','1','Страница бронирования','0','0','0','0','1','0','0','1');
  940. INSERT INTO `modx_site_content` VALUES ('275','document','text/html','Мои туры','Мои туры','','my-tours','','1','0','0','25','1','','[!GetTours!]','0','4','2','1','1','1','1329799748','1','1355221669','0','0','0','1329799748','1','Мои туры','0','0','0','0','1','0','1','1');
  941. INSERT INTO `modx_site_content` VALUES ('276','document','text/html','Информация о туре','Информация о туре','','infotour','','1','0','0','275','0','','[!GetTour!]','0','0','0','1','1','1','1329806459','1','1355221702','0','0','0','1329806459','1','Информация о туре','0','0','0','0','0','0','1','1');
  942. INSERT INTO `modx_site_content` VALUES ('278','document','text/html','Бегущая строка','Бегущая строка','','begushhaya-stroka','','1','0','0','16','0','','<div>Пример вывода текста бегущей строки, текст доступен для редактирования, скорость задается при установке модуля!</div>','1','0','13','1','1','1','1347118423','1','1347118423','0','0','0','1347118423','1','Бегущая строка','0','0','0','0','0','0','0','1');
  943. INSERT INTO `modx_site_content` VALUES ('279','document','text/html','Отзывы туристов','Отзывы туристов','','jot','','1','0','0','16','0','','<!-- hr -->[!JotX? &config=`tree` &onBeforeValidateFormField=`nolink,antispam` &notifyEmails=`{{email}}` &subscribe=`1` &pagination=`10` &moderated=`1` !]','1','4','14','1','1','1','1347118676','1','1419432494','0','0','0','1347118676','1','Отзывы туристов','0','0','0','0','0','0','0','1');
  944. INSERT INTO `modx_site_content` VALUES ('285','document','text/html','Результаты поиска','Результаты поиска','','rezultatyi-poiska','','1','0','0','16','0','','<style type=\"text/css\">\n .ajaxSearch_highlight, .ajaxSearch_highlight1 {background-color:#6fa5e5; padding:1px; color:#fff;}\n    .ajaxSearch_result {border: 1px dotted #0091FF; margin: 10px 0; padding: 5px 10px;}\n   .ajaxSearch_highlight {background-color: #3BAAFF; color: #FFFFFF;}\n    .ajaxSearch_grpResultName {font-weight: bold;}\n    .ajaxSearch_resultLink {color: #005CA3; font: bold 14px Arial,Verdana,Tahoma,\'Helvetica CY\',\'Nimbus Sans L\',sans-serif; \n  text-decoration: underline;}\n  .ajaxSearch_resultLink:hover {color: #008BF6;text-decoration: none;}\n</style>\n[!AjaxSearch? &asId=`6,7,8,16` &showInputForm=`0` &pagingType=`1` &ajaxMax=`16` &ajaxSearch=`0` &highlightResult=`1` !]','0','4','16','1','1','1','1386237094','1','1386237171','0','0','0','1386237094','1','Результаты поиска','0','0','0','0','1','0','0','1');
  945. INSERT INTO `modx_site_content` VALUES ('288','document','text/html','Информация по контактам','Информация по контактам','','info','','1','0','0','0','0','','','1','3','7','1','1','1','1391247111','1','1391249039','0','0','0','1391247111','1','Информация по контактам','0','0','0','0','0','0','1','1');
  946. INSERT INTO `modx_site_content` VALUES ('289','document','text/html','Путеводитель','Путеводитель','','countries','','1','0','0','16','0','','<!-- hr --><script type=\"text/javascript\" language=\"JavaScript\" src=\"http://tourclient.ru/f/jsboot/{{id-w}}/world_countries?style=default&conf=default\"></script>','1','6','17','1','1','1','1394790627','1','1419957466','0','0','0','0','0','Путеводитель','0','0','0','0','0','0','0','1');
  947. INSERT INTO `modx_site_content` VALUES ('290','document','text/html','Подписка на рассылку','Подписка на рассылку','','lists','','1','0','0','16','0','','<!-- hr -->[[checkField]]\n[!eForm? \n&formid=`ListsForm`\n&subject=`Подписка` \n&to=`{{email}}`  \n&tpl=`ListsForm` \n&report=`ListsFormReport`\n&thankyou=`ListsFormThanks` \n&requiredClass=`error` \n&vericode=`0`\n&requiredClass=`input-error`\n&invalidClass=`input-error`\n&cssStyle=`/assets/css/service/forms/order_form_tour.css,/assets/css/service/forms/datepicker3.css,/assets/css/service/forms/jquery.formstyler.css`\n&jScript=`/assets/js/forms/bootstrap-datepicker.js,/assets/js/forms/bootstrap-datepicker.ru.js,/assets/js/forms/jquery.formstyler.min.js,/assets/js/forms/scripts-form.js`\n !]','1','4','18','1','1','1','1408369495','1','1408369495','0','0','0','1408369495','1','Подписка на рассылку','0','0','0','0','0','0','0','1');
  948.  
  949. # --------------------------------------------------------
  950.  
  951. #
  952. # Table structure for table `modx_site_content_metatags`
  953. #
  954.  
  955. DROP TABLE IF EXISTS `modx_site_content_metatags`;
  956. CREATE TABLE `modx_site_content_metatags` (
  957.   `content_id` int(11) NOT NULL DEFAULT '0',
  958.   `metatag_id` int(11) NOT NULL DEFAULT '0',
  959.   KEY `content_id` (`content_id`),
  960.   KEY `metatag_id` (`metatag_id`)
  961. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Reference table between meta tags and content';
  962.  
  963. #
  964. # Dumping data for table `modx_site_content_metatags`
  965. #
  966.  
  967.  
  968. # --------------------------------------------------------
  969.  
  970. #
  971. # Table structure for table `modx_site_htmlsnippets`
  972. #
  973.  
  974. DROP TABLE IF EXISTS `modx_site_htmlsnippets`;
  975. CREATE TABLE `modx_site_htmlsnippets` (
  976.   `id` int(10) NOT NULL AUTO_INCREMENT,
  977.   `name` varchar(50) NOT NULL DEFAULT '',
  978.   `description` varchar(255) NOT NULL DEFAULT 'Chunk',
  979.   `editor_type` int(11) NOT NULL DEFAULT '0' COMMENT '0-plain text,1-rich text,2-code editor',
  980.   `category` int(11) NOT NULL DEFAULT '0' COMMENT 'category id',
  981.   `cache_type` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'Cache option',
  982.   `snippet` mediumtext,
  983.   `locked` tinyint(4) NOT NULL DEFAULT '0',
  984.   PRIMARY KEY (`id`)
  985. ) ENGINE=MyISAM AUTO_INCREMENT=86 DEFAULT CHARSET=utf8 COMMENT='Contains the site chunks.';
  986.  
  987. #
  988. # Dumping data for table `modx_site_htmlsnippets`
  989. #
  990.  
  991. INSERT INTO `modx_site_htmlsnippets` VALUES ('4','FormSignup','For the weblogin signup','0','2','0','<!-- #declare:separator <hr> --> \n<!-- login form section-->\n<form id=\"websignupfrm\" method=\"post\" name=\"websignupfrm\" action=\"[+action+]\">\n    <fieldset>\n        <h3>User Details</h3>\n        <p>Items marked by * are required</p>\n      <label for=\"su_username\">User name:* <input type=\"text\" name=\"username\" id=\"su_username\" class=\"inputBox\" size=\"20\" maxlength=\"30\" value=\"[+username+]\" /></label>\n        <label for=\"fullname\">Full name: <input type=\"text\" name=\"fullname\" id=\"fullname\" class=\"inputBox\" size=\"20\" maxlength=\"100\" value=\"[+fullname+]\" /></label>\n      <label for=\"email\">Email address:* <input type=\"text\" name=\"email\" id=\"email\" class=\"inputBox\" size=\"20\" value=\"[+email+]\" /></label>\n   </fieldset>\n   \n  <fieldset>\n        <h3>Password</h3>\n     <label for=\"su_password\">Password:* <input type=\"password\" name=\"password\" id=\"su_password\" class=\"inputBox\" size=\"20\" /></label>\n     <label for=\"confirmpassword\">Confirm password:* <input type=\"password\" name=\"confirmpassword\" id=\"confirmpassword\" class=\"inputBox\" size=\"20\" /></label>\n  </fieldset>\n   \n  <fieldset>\n        <h3>Optional Account Profile Info</h3>\n        <label for=\"country\">Country:</label>\n       <select size=\"1\" name=\"country\" id=\"country\">\n           <option value=\"\" selected=\"selected\">&nbsp;</option>\n          <option value=\"1\">Afghanistan</option>\n          <option value=\"2\">Albania</option>\n          <option value=\"3\">Algeria</option>\n          <option value=\"4\">American Samoa</option>\n           <option value=\"5\">Andorra</option>\n          <option value=\"6\">Angola</option>\n           <option value=\"7\">Anguilla</option>\n         <option value=\"8\">Antarctica</option>\n           <option value=\"9\">Antigua and Barbuda</option>\n          <option value=\"10\">Argentina</option>\n           <option value=\"11\">Armenia</option>\n         <option value=\"12\">Aruba</option>\n           <option value=\"13\">Australia</option>\n           <option value=\"14\">Austria</option>\n         <option value=\"15\">Azerbaijan</option>\n          <option value=\"16\">Bahamas</option>\n         <option value=\"17\">Bahrain</option>\n         <option value=\"18\">Bangladesh</option>\n          <option value=\"19\">Barbados</option>\n            <option value=\"20\">Belarus</option>\n         <option value=\"21\">Belgium</option>\n         <option value=\"22\">Belize</option>\n          <option value=\"23\">Benin</option>\n           <option value=\"24\">Bermuda</option>\n         <option value=\"25\">Bhutan</option>\n          <option value=\"26\">Bolivia</option>\n         <option value=\"27\">Bosnia and Herzegowina</option>\n          <option value=\"28\">Botswana</option>\n            <option value=\"29\">Bouvet Island</option>\n           <option value=\"30\">Brazil</option>\n          <option value=\"31\">British Indian Ocean Territory</option>\n          <option value=\"32\">Brunei Darussalam</option>\n           <option value=\"33\">Bulgaria</option>\n            <option value=\"34\">Burkina Faso</option>\n            <option value=\"35\">Burundi</option>\n         <option value=\"36\">Cambodia</option>\n            <option value=\"37\">Cameroon</option>\n            <option value=\"38\">Canada</option>\n          <option value=\"39\">Cape Verde</option>\n          <option value=\"40\">Cayman Islands</option>\n          <option value=\"41\">Central African Republic</option>\n            <option value=\"42\">Chad</option>\n            <option value=\"43\">Chile</option>\n           <option value=\"44\">China</option>\n           <option value=\"45\">Christmas Island</option>\n            <option value=\"46\">Cocos (Keeling) Islands</option>\n         <option value=\"47\">Colombia</option>\n            <option value=\"48\">Comoros</option>\n         <option value=\"49\">Congo</option>\n           <option value=\"50\">Cook Islands</option>\n            <option value=\"51\">Costa Rica</option>\n          <option value=\"52\">Cote D&#39;Ivoire</option>\n           <option value=\"53\">Croatia</option>\n         <option value=\"54\">Cuba</option>\n            <option value=\"55\">Cyprus</option>\n          <option value=\"56\">Czech Republic</option>\n          <option value=\"57\">Denmark</option>\n         <option value=\"58\">Djibouti</option>\n            <option value=\"59\">Dominica</option>\n            <option value=\"60\">Dominican Republic</option>\n          <option value=\"61\">East Timor</option>\n          <option value=\"62\">Ecuador</option>\n         <option value=\"63\">Egypt</option>\n           <option value=\"64\">El Salvador</option>\n         <option value=\"65\">Equatorial Guinea</option>\n           <option value=\"66\">Eritrea</option>\n         <option value=\"67\">Estonia</option>\n         <option value=\"68\">Ethiopia</option>\n            <option value=\"69\">Falkland Islands (Malvinas)</option>\n         <option value=\"70\">Faroe Islands</option>\n           <option value=\"71\">Fiji</option>\n            <option value=\"72\">Finland</option>\n         <option value=\"73\">France</option>\n          <option value=\"74\">France, Metropolitan</option>\n            <option value=\"75\">French Guiana</option>\n           <option value=\"76\">French Polynesia</option>\n            <option value=\"77\">French Southern Territories</option>\n         <option value=\"78\">Gabon</option>\n           <option value=\"79\">Gambia</option>\n          <option value=\"80\">Georgia</option>\n         <option value=\"81\">Germany</option>\n         <option value=\"82\">Ghana</option>\n           <option value=\"83\">Gibraltar</option>\n           <option value=\"84\">Greece</option>\n          <option value=\"85\">Greenland</option>\n           <option value=\"86\">Grenada</option>\n         <option value=\"87\">Guadeloupe</option>\n          <option value=\"88\">Guam</option>\n            <option value=\"89\">Guatemala</option>\n           <option value=\"90\">Guinea</option>\n          <option value=\"91\">Guinea-bissau</option>\n           <option value=\"92\">Guyana</option>\n          <option value=\"93\">Haiti</option>\n           <option value=\"94\">Heard and Mc Donald Islands</option>\n         <option value=\"95\">Honduras</option>\n            <option value=\"96\">Hong Kong</option>\n           <option value=\"97\">Hungary</option>\n         <option value=\"98\">Iceland</option>\n         <option value=\"99\">India</option>\n           <option value=\"100\">Indonesia</option>\n          <option value=\"101\">Iran (Islamic Republic of)</option>\n         <option value=\"102\">Iraq</option>\n           <option value=\"103\">Ireland</option>\n            <option value=\"104\">Israel</option>\n         <option value=\"105\">Italy</option>\n          <option value=\"106\">Jamaica</option>\n            <option value=\"107\">Japan</option>\n          <option value=\"108\">Jordan</option>\n         <option value=\"109\">Kazakhstan</option>\n         <option value=\"110\">Kenya</option>\n          <option value=\"111\">Kiribati</option>\n           <option value=\"112\">Korea, Democratic People&#39;s Republic of</option>\n         <option value=\"113\">Korea, Republic of</option>\n         <option value=\"114\">Kuwait</option>\n         <option value=\"115\">Kyrgyzstan</option>\n         <option value=\"116\">Lao People&#39;s Democratic Republic</option>\n           <option value=\"117\">Latvia</option>\n         <option value=\"118\">Lebanon</option>\n            <option value=\"119\">Lesotho</option>\n            <option value=\"120\">Liberia</option>\n            <option value=\"121\">Libyan Arab Jamahiriya</option>\n         <option value=\"122\">Liechtenstein</option>\n          <option value=\"123\">Lithuania</option>\n          <option value=\"124\">Luxembourg</option>\n         <option value=\"125\">Macau</option>\n          <option value=\"126\">Macedonia, The Former Yugoslav Republic of</option>\n         <option value=\"127\">Madagascar</option>\n         <option value=\"128\">Malawi</option>\n         <option value=\"129\">Malaysia</option>\n           <option value=\"130\">Maldives</option>\n           <option value=\"131\">Mali</option>\n           <option value=\"132\">Malta</option>\n          <option value=\"133\">Marshall Islands</option>\n           <option value=\"134\">Martinique</option>\n         <option value=\"135\">Mauritania</option>\n         <option value=\"136\">Mauritius</option>\n          <option value=\"137\">Mayotte</option>\n            <option value=\"138\">Mexico</option>\n         <option value=\"139\">Micronesia, Federated States of</option>\n            <option value=\"140\">Moldova, Republic of</option>\n           <option value=\"141\">Monaco</option>\n         <option value=\"142\">Mongolia</option>\n           <option value=\"143\">Montserrat</option>\n         <option value=\"144\">Morocco</option>\n            <option value=\"145\">Mozambique</option>\n         <option value=\"146\">Myanmar</option>\n            <option value=\"147\">Namibia</option>\n            <option value=\"148\">Nauru</option>\n          <option value=\"149\">Nepal</option>\n          <option value=\"150\">Netherlands</option>\n            <option value=\"151\">Netherlands Antilles</option>\n           <option value=\"152\">New Caledonia</option>\n          <option value=\"153\">New Zealand</option>\n            <option value=\"154\">Nicaragua</option>\n          <option value=\"155\">Niger</option>\n          <option value=\"156\">Nigeria</option>\n            <option value=\"157\">Niue</option>\n           <option value=\"158\">Norfolk Island</option>\n         <option value=\"159\">Northern Mariana Islands</option>\n           <option value=\"160\">Norway</option>\n         <option value=\"161\">Oman</option>\n           <option value=\"162\">Pakistan</option>\n           <option value=\"163\">Palau</option>\n          <option value=\"164\">Panama</option>\n         <option value=\"165\">Papua New Guinea</option>\n           <option value=\"166\">Paraguay</option>\n           <option value=\"167\">Peru</option>\n           <option value=\"168\">Philippines</option>\n            <option value=\"169\">Pitcairn</option>\n           <option value=\"170\">Poland</option>\n         <option value=\"171\">Portugal</option>\n           <option value=\"172\">Puerto Rico</option>\n            <option value=\"173\">Qatar</option>\n          <option value=\"174\">Reunion</option>\n            <option value=\"175\">Romania</option>\n            <option value=\"176\">Russian Federation</option>\n         <option value=\"177\">Rwanda</option>\n         <option value=\"178\">Saint Kitts and Nevis</option>\n          <option value=\"179\">Saint Lucia</option>\n            <option value=\"180\">Saint Vincent and the Grenadines</option>\n           <option value=\"181\">Samoa</option>\n          <option value=\"182\">San Marino</option>\n         <option value=\"183\">Sao Tome and Principe</option>\n          <option value=\"184\">Saudi Arabia</option>\n           <option value=\"185\">Senegal</option>\n            <option value=\"186\">Seychelles</option>\n         <option value=\"187\">Sierra Leone</option>\n           <option value=\"188\">Singapore</option>\n          <option value=\"189\">Slovakia (Slovak Republic)</option>\n         <option value=\"190\">Slovenia</option>\n           <option value=\"191\">Solomon Islands</option>\n            <option value=\"192\">Somalia</option>\n            <option value=\"193\">South Africa</option>\n           <option value=\"194\">South Georgia and the South Sandwich Islands</option>\n           <option value=\"195\">Spain</option>\n          <option value=\"196\">Sri Lanka</option>\n          <option value=\"197\">St. Helena</option>\n         <option value=\"198\">St. Pierre and Miquelon</option>\n            <option value=\"199\">Sudan</option>\n          <option value=\"200\">Suriname</option>\n           <option value=\"201\">Svalbard and Jan Mayen Islands</option>\n         <option value=\"202\">Swaziland</option>\n          <option value=\"203\">Sweden</option>\n         <option value=\"204\">Switzerland</option>\n            <option value=\"205\">Syrian Arab Republic</option>\n           <option value=\"206\">Taiwan</option>\n         <option value=\"207\">Tajikistan</option>\n         <option value=\"208\">Tanzania, United Republic of</option>\n           <option value=\"209\">Thailand</option>\n           <option value=\"210\">Togo</option>\n           <option value=\"211\">Tokelau</option>\n            <option value=\"212\">Tonga</option>\n          <option value=\"213\">Trinidad and Tobago</option>\n            <option value=\"214\">Tunisia</option>\n            <option value=\"215\">Turkey</option>\n         <option value=\"216\">Turkmenistan</option>\n           <option value=\"217\">Turks and Caicos Islands</option>\n           <option value=\"218\">Tuvalu</option>\n         <option value=\"219\">Uganda</option>\n         <option value=\"220\">Ukraine</option>\n            <option value=\"221\">United Arab Emirates</option>\n           <option value=\"222\">United Kingdom</option>\n         <option value=\"223\">United States</option>\n          <option value=\"224\">United States Minor Outlying Islands</option>\n           <option value=\"225\">Uruguay</option>\n            <option value=\"226\">Uzbekistan</option>\n         <option value=\"227\">Vanuatu</option>\n            <option value=\"228\">Vatican City State (Holy See)</option>\n          <option value=\"229\">Venezuela</option>\n          <option value=\"230\">Viet Nam</option>\n           <option value=\"231\">Virgin Islands (British)</option>\n           <option value=\"232\">Virgin Islands (U.S.)</option>\n          <option value=\"233\">Wallis and Futuna Islands</option>\n          <option value=\"234\">Western Sahara</option>\n         <option value=\"235\">Yemen</option>\n          <option value=\"236\">Yugoslavia</option>\n         <option value=\"237\">Zaire</option>\n          <option value=\"238\">Zambia</option>\n         <option value=\"239\">Zimbabwe</option>\n           </select>\n        </fieldset>\n        \n        <fieldset>\n            <h3>Bot-Patrol</h3>\n            <p>Enter the word/number combination shown in the image below.</p>\n            <p><a href=\"[+action+]\"><img align=\"top\" src=\"manager/includes/veriword.php\" width=\"148\" height=\"60\" alt=\"If you have trouble reading the code, click on the code itself to generate a new random code.\" style=\"border: 1px solid #039\" /></a></p>\n        <label>Form code:* \n            <input type=\"text\" name=\"formcode\" class=\"inputBox\" size=\"20\" /></label>\n            </fieldset>\n        \n        <fieldset>\n            <input type=\"submit\" value=\"Submit\" name=\"cmdwebsignup\" />\n   </fieldset>\n</form>\n\n<script language=\"javascript\" type=\"text/javascript\"> \n    var id = \"[+country+]\";\n var f = document.websignupfrm;\n    var i = parseInt(id);   \n  if (!isNaN(i)) f.country.options[i].selected = true;\n</script>\n<hr>\n<!-- notification section -->\n<p class=\"message\">Signup completed successfully!<br />\nYour account was created. A copy of your signup information was sent to your email address.</p>\n','0');
  992. INSERT INTO `modx_site_htmlsnippets` VALUES ('20','countries','список стран, нумерация по топхотелс','0','3','0','--выберите--==0||Абхазия==124||Австралия==6||Австрия==66||Азербайджан==150||Албания==159||Алжир==160||Ангилья==162||Ангола==161||Андорра==67||Антарктида==48||Антигуа==126||Антильские острова==255||Аргентина==47||Армения==157||Аруба==54||Афганистан==144||Багамы==55||Бангладеш==163||Барбадос==56||Барбуда==125||Бахрейн==109||Беларусь==158||Белиз==155||Бельгия==68||Бенин==164||Бермудские острова==165||Болгария==100||Боливия==135||Босния и Герцеговина==167||Ботсвана==11||Бразилия==49||Брит. Виргинские острова==248||Бруней==24||Буркина-Фасо==168||Бурунди==169||Бутан==166||Вануату==270||Ватикан==185||Великобритания==69||Венгрия==70||Венесуэла==50||Восточный Тимор==284||Вьетнам==25||Габон==193||Гаити==176||Гайана==177||Гамбия==197||Гана==183||Гваделупа==57||Гватемала==133||Гвинея==178||Гвинея Бисау==179||Германия==2||Гибралтар==182||Гондурас==136||Гренада==180||Греция==71||Грузия==146||Дания==72||Джибути==187||Доминика==188||Доминикана==58||Египет==12||Замбия==145||Зимбабве==4||Израиль==34||Индия==35||Индонезия==26||Иордания==36||Ирак==175||Иран==143||Ирландия==93||Исландия==73||Испания==74||Италия==75||Йемен==184||Кабо-Верде==242||Казахстан==149||Каймановы о-ва==127||Камбоджа==116||Камерун==14||Канада==141||Катар==110||Кения==15||Кипр==76||Китай==37||Колумбия==128||Коморские Острова==172||Конго==174||Корея==279||Королевство Тонга==198||Коста-Рика==59||Кот-д’Ивуар==173||Куба==60||Кувейт==195||Кыргызcтан==252||Лаос==200||Латвия==103||Лесото==201||Либерия==202||Ливан==113||Ливия==152||Литва==122||Лихтенштейн==203||Люксембург==139||Маврикий==41||Мавритания==207||Мадагаскар==42||Македония==205||Малави==204||Малайзия==27||Мали==206||Мальдивы==43||Мальта==77||Марианские о-ва==247||Марокко==16||Мартиника==61||Маршалловы острова==267||Мексика==62||Микронезии Федеративные Штаты==208||Мозамбик==156||Молдавия==151||Монако==78||Монголия==209||Мьянма (Бирма)==117||Намибия==17||Независимое Государство Самоа==274||Непал==38||Нигер==212||Нигерия==211||Нидерланды==79||Никарагуа==129||Ниуэ==272||Новая Зеландия==7||Новая Каледония==210||Норвегия==80||Норфолк остров==268||ОАЭ==32||Оман==107||Пакистан==153||Палестина==256||Панама==130||Папуа Новая Гвинея==28||Парагвай==137||Перу==51||Полинезия==132||Польша==140||Португалия==81||Пуэрто-Рико==186||Республика Кирибати==271||Республика Конго==283||Республика Палау==273||Реюньон==44||Российская Федерация==1||Руанда==257||Румыния==123||США==64||Саба==258||Сальвадор==189||Сан-Томе и Принсипи==275||Саудовская Аравия==148||Сахарская Арабская Демократическая Республика==282||Свазиленд==19||Северная Корея==194||Сейшелы==45||Сен-Бартельми==259||Сен-Мартен==260||Сенегал==213||Сент-Люсия==63||Сербия==222||Сингапур==29||Сирия==120||Словакия==82||Словения==96||Сомали==214||Ст-Винсент и Гренадины==261||Судан==215||Суринам==216||Сьерра-Леоне==269||Таджикистан==217||Таиланд==30||Тайвань==39||Танзания==20||Теркс и Кайкос==220||Того==219||Тринидад  и Тобаго==218||Тувалу==285||Тунис==21||Туркменистан==147||Турция==83||Уганда==22||Узбекистан==142||Украина==114||Уругвай==134||Федерация Сент-Китс и Невис==276||Фиджи==9||Филиппины==31||Финляндия==3||Франция==84||Французская Гвиана==196||Хорватия==85||Центрально-Африканская Республика==170||Чад==171||Черногория==86||Чехия==87||Чили==52||Швейцария==89||Швеция==90||Шри-Ланка==46||Эквадор==53||Экваториальная Гвинея==190||Эритрея==191||Эстония==118||Эфиопия==192||ЮАР==23||Южная Корея==119||Ямайка==65||Япония==40||о. Кука==8','0');
  993. INSERT INTO `modx_site_htmlsnippets` VALUES ('21','OrderForm','заказ тура','0','1','0','<div class=\"form-order-tour\">\n  [+validationmessage+]\n <form action=\"[~[*id*]~]\" method=\"post\" id=\"orderForm\">\n <input type=\"hidden\" name=\"orderForm\" value=\"orderForm\">\n        <div class=\"block-line\">\n            \n          <div class=\"item-block-input fl country\">\n               <input type=\"text\" id=\"country\" name=\"country\" class=\"styler\" value=\"\" eform=\"Страна::1\" autofocus>\n             <label for=\"country\">Страна (курорт)&nbsp;<span class=\"star-validate\">*</span></label>\n            </div>\n                \n          <div class=\"item-block-input fl date-start\">\n                <input type=\"text\" name=\"datestart\" id=\"date-start\" value=\"\" class=\"styler\" eform=\"Дата начала поездки::1\">\n              <label for=\"date-start\">Дата начала поездки&nbsp;<span class=\"star-validate\">*</span></label>\n            </div>\n\n          <div class=\"item-block-select fr meal\">\n             <label for=\"meal\">Тип питания</label>\n             <select name=\"meal\" id=\"meal\">\n                    <option value=\"\">Выберите ...</option>\n                  <option value=\"без питания\">без питания</option>\n                    <option value=\"полный пансион\">полный пансион</option>\n                    <option value=\"завтрак\">завтрак</option>\n                  <option value=\"все включено\">все включено</option>\n                    <option value=\"полупансион\">полупансион</option>\n                  <option value=\"ультра все включено\">ультра все включено</option>\n              </select>\n         </div>\n\n          <div class=\"clear sep-block\"></div>\n     </div>\n            \n      <div class=\"block-line\">\n            \n          <div class=\"item-block-select fl\">\n              <label for=\"duration\">Продолжительность поездки</label>\n             <select name=\"duration\" id=\"duration\">\n                    <option value=\"\">Выберите ...</option>\n                  <option value=\"3 ночи\">3 ночи</option>\n                  <option value=\"7 ночей\">7 ночей</option>\n                  <option value=\"14 ночей\">14 ночей</option>\n                    <option value=\"21 ночь\">21 ночь</option>\n                </select>\n         </div>\n                \n          <div class=\"item-block-input fr\">\n               <input type=\"text\" name=\"srok\" id=\"srok\" value=\"\" class=\"styler\">\n               <label for=\"srok\">Или впишите срок поездки</label>\n         </div>\n\n          <div class=\"clear sep-block\"></div>\n     </div>\n            \n      <div class=\"block-line\">\n            \n          <div class=\"item-block-select fl\">\n              <label for=\"star\">Желаемая категория отеля</label>\n                <select name=\"star\" id=\"star\">\n                    <option value=\"\">Выберите ...</option>\n                  <option value=\"Апартаменты\">Апартаменты</option>\n                  <option value=\"2*\">2*</option>\n                  <option value=\"3*\">3*</option>\n                  <option value=\"4*\">4*</option>\n                  <option value=\"5*\">5*</option>\n                  <option value=\"DeLuxe\">DeLuxe</option>\n              </select>\n         </div>\n\n          <div class=\"item-block-input fr\">\n               <input type=\"text\" name=\"hotel\" id=\"hotel\" value=\"\" class=\"styler\">\n             <label for=\"hotel\">Или впишите свое название отеля</label>\n           </div>\n\n          <div class=\"clear sep-block\"></div>\n     </div>\n            \n      <div class=\"item-group fl\">\n         <span class=\"form-order-title-block\">Количество человек:</span>\n\n          <div class=\"block-line-group\">\n              <div class=\"item-block-input\">\n                  <input type=\"text\" name=\"adults\" id=\"adults\" value=\"\" class=\"styler\" eform=\"Взрослых::1\">\n                 <label for=\"adults\">Взрослых&nbsp;<span class=\"star-validate\">*</span></label>\n                </div>\n                <div class=\"sep-block-group\"></div>\n         </div>\n\n          <div class=\"block-line-group\">\n              <div class=\"item-block-input\">\n                  <input type=\"text\" name=\"childs\" id=\"childs\" value=\"\" class=\"styler\">\n                   <label for=\"childs\">Детей</label>\n              </div>\n                <div class=\"sep-block-group\"></div>\n         </div>\n\n          <div class=\"block-line-group\">\n              <div class=\"item-block-input\">\n                  <input type=\"text\" name=\"age\" id=\"age\" value=\"\" class=\"styler\">\n                 <label for=\"age\">Возраст детей</label>\n              </div>\n                <div class=\"sep-block-group\"></div>\n         </div>\n\n      </div>\n            \n      <div class=\"item-group fr\">\n         <span class=\"form-order-title-block\">Контактная информация:</span>\n\n            <div class=\"block-line-group\">\n              <div class=\"item-block-input\">\n                  <input type=\"text\" name=\"fio\" id=\"fio\" value=\"\" class=\"styler\" eform=\"ФИО::1\">\n                 <label for=\"fio\">Фамилия, Имя, Отчество&nbsp;<span class=\"star-validate\">*</span></label>\n               </div>\n                <div class=\"sep-block-group\"></div>\n         </div>\n\n          <div class=\"block-line-group\">\n              <div class=\"item-block-input\">\n                  <input type=\"text\" name=\"phone\" id=\"phone\" value=\"\" class=\"styler\" eform=\"Телефон:phone:1\">\n                    <label for=\"phone\">Контактный телефон&nbsp;<span class=\"star-validate\">*</span></label>\n              </div>\n                <div class=\"sep-block-group\"></div>\n         </div>\n\n          <div class=\"block-line\">\n                <div class=\"item-block-input\">\n                  <input type=\"text\" name=\"email\" id=\"email\" value=\"\" class=\"styler\" eform=\"Email:email:1\">\n                 <label for=\"email\">Контактный e-mail&nbsp;<span class=\"star-validate\">*</span></label>\n              </div>\n                <div class=\"sep-block\"></div>\n           </div>\n        </div>\n\n      <div class=\"clear\"></div>\n       \n      <div class=\"block-line\">\n            \n          <div class=\"item-block-input fl price\">\n             <input type=\"text\" name=\"price\" id=\"price\" value=\"\" class=\"styler\">\n             <label for=\"price\">Предполагаемая цена тура на человека</label>\n         </div>\n            \n          <div class=\"item-block-select fl current\">\n              <select name=\"current\" id=\"current\">\n                  <option value=\"рублей\">рублей</option>\n                  <option value=\"долларов\">долларов</option>\n                  <option value=\"евро\">евро</option>\n                  <option value=\"гривен\">гривен</option>\n              </select>\n         </div>\n            \n          <div class=\"clear sep-block\"></div>\n     </div>\n\n      <div class=\"item-block-input\">\n          <textarea name=\"comment\" id=\"comment\" cols=\"28\" rows=\"6\" wrap=\"virtual\" class=\"styler anim\"></textarea>\n           <label for=\"comment\">Комментарий</label>\n     </div>\n            \n      <div class=\"clear sep-block\"></div>\n\n       <input type=\"submit\" name=\"submit\" value=\"Отправить\" class=\"styler anim\">\n\n      <input type=\"text\" id=\"lastname\" name=\"lastname\">\n   </form>\n   <p class=\"att-text\">Поля, отмеченные <span class=\"star-validate\">*</span>, обязательны для заполнения!</p>\n</div>','0');
  994. INSERT INTO `modx_site_htmlsnippets` VALUES ('22','OrderFormReport','','0','1','0','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html>\n <head>\n        <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"/>      \n        <title>Online заказ тура с сайта</title>\n       <link href=\'http://fonts.googleapis.com/css?family=Cuprum:400,700&subset=latin,cyrillic\' rel=\'stylesheet\' type=\'text/css\'/>\n     <style type=\"text/css\">\n         html, body, span, p, table, tbody, tfoot, thead, tr, th, td{margin: 0; padding: 0; border: 0; outline: 0; font-weight: inherit; font-style: inherit; font-size: 100%; font-family: inherit;}\n          *{box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box;}\n           html{font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%;}\n            :focus{outline: 0;}\n           body{line-height: 1; color: #000; background: #fff;}\n          table{border-collapse: separate; border-spacing: 0;}\n          th, td{text-align: left; font-weight: normal;}\n            #mesTable{width: 600px !important; margin: 40px auto !important; background-color: #eee !important; border: 3px solid #1BBC9B !important; padding: 0px 20px 20px 20px; border-radius: 6px !important;}\n            #mesTable #tableTitle{text-align: center !important; padding: 20px 0 10px 0 !important; font: 700 26px \'Cuprum\', sans-serif !important; color: #1BBC9B !important;}\n         #mesTable .mesTitle{font: 700 16px \'Cuprum\', sans-serif !important; text-transform: uppercase !important; color: #fff !important; background: #1BBC9B !important; padding: 6px 10px 5px 10px !important; border-radius: 6px !important; margin: 10px 0 !important;}\n         #mesTable .mesText{padding: 5px !important; font: 400 16px \'Cuprum\', sans-serif !important; color: #000 !important;}   \n         #mesTable .mesText span.bold{font-weight: bold !important; color: #333 !important;}   \n            #mesTable #send{color: #049372 !important; font: 700 18px \'Cuprum\', sans-serif !important; padding: 20px 0 10px 0 !important;}\n          #mesTable #send a{color: #333 !important; font: 700 18px \'Cuprum\', sans-serif !important; display: block !important; margin-top: 5px !important;}\n       </style>\n  </head>\n   <body leftmargin=\"0\" marginwidth=\"0\" topmargin=\"0\" marginheight=\"0\" offset=\"0\">\n     <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" height=\"100%\" width=\"100%\" id=\"mesTable\">\n           <tr><td><p id=\"tableTitle\">Online заказ тура с сайта</p></td></tr>\n           <tr><th><p class=\"mesTitle\">Параметры заказа: </p></th></tr>\n         <tr><td><p class=\"mesText\"><span class=\"bold\">Страна (курорт):</span> [+country+]</p></td></tr>\n           <tr><td><p class=\"mesText\"><span class=\"bold\">Дата начала поездки:</span> [+datestart+]</p></td></tr>\n            <tr><td><p class=\"mesText\"><span class=\"bold\">Продолжительность поездки:</span> [+duration+] [+srok+]</p></td></tr>\n           <tr><td><p class=\"mesText\"><span class=\"bold\">Желаемая категория отеля:</span> [+star+] [+hotel+]</p></td></tr>\n         <tr><td><p class=\"mesText\"><span class=\"bold\">Тип питания:</span> [+meal+]</p></td></tr>\n            <tr><td><p class=\"mesText\"><span class=\"bold\">Количество взрослых:</span> [+adults+]</p></td></tr>\n          <tr><td><p class=\"mesText\"><span class=\"bold\">Детей:</span> [+childs+]</p></td></tr>\n         <tr><td><p class=\"mesText\"><span class=\"bold\">Возраст детей:</span> [+age+]</p></td></tr>\n         <tr><td><p class=\"mesText\"><span class=\"bold\">Предполагаемая цена тура на человека:</span> [+price+] [+current+]</p></td></tr>\n            <tr><th><p class=\"mesTitle\">Контактная информация:</p></th></tr>\n            <tr><td><p class=\"mesText\"><span class=\"bold\">ФИО:</span> [+fio+]</p></td></tr>\n            <tr><td><p class=\"mesText\"><span class=\"bold\">Телефон:</span> [+phone+]</p></td></tr>\n          <tr><td><p class=\"mesText\"><span class=\"bold\">E-mail:</span> [+email+]</p></td></tr>\n          <tr><th><p class=\"mesTitle\">Комментарий:</p></th></tr>\n           <tr><td><p class=\"mesText\">[+comment+]</p></td></tr>\n            <tr><td><p id=\"send\">Вы можете использовать эту ссылку для ответа: <br><a href=\"mailto:[+email+]?subject=RE:[+subject+]\">[+email+]</a></p></td></tr>\n        </table>\n  </body>\n</html>','0');
  995. INSERT INTO `modx_site_htmlsnippets` VALUES ('23','OrderFormThanks','','0','1','0','<div class=\"thanks-message\">\n    <p class=\"tm-first-title\">Спасибо, что воспользовались формой заказа тура на нашем сайте!</p>\n  <p class=\"tm-second-title\">Ваше сообщение будет рассмотрено в кратчайшие сроки.</p>\n    <p class=\"tm-small-title\">Параметры заказа:</p>\n  <p class=\"parametr\"><span>Страна (курорт):</span>[+country+]</p>\n    <p class=\"parametr\"><span>Дата начала поездки:</span>[+datestart+]</p>\n <p class=\"parametr\"><span>Продолжительность поездки:</span>[+duration+][+srok+]</p>\n <p class=\"parametr\"><span>Желаемая категория отеля:</span>[+star+][+hotel+]</p>\n   <p class=\"parametr\"><span>Тип питания:</span>[+meal+]</p>\n <p class=\"parametr\"><span>Количество взрослых:</span>[+adults+]</p>\n   <p class=\"parametr\"><span>Детей:</span>[+childs+]</p>\n  <p class=\"parametr\"><span>Возраст детей:</span>[+age+]</p>\n  <p class=\"last-parametr\"><span>Предполагаемая цена тура на человека:</span>[+price+] [+current+]</p>\n    <p class=\"tm-small-title\">Контактная информация</p>\n <p class=\"parametr\"><span>ФИО:</span> [+fio+]</p>\n    <p class=\"parametr\"><span>Телефон:</span> [+phone+]</p>\n  <p class=\"last-parametr\"><span>E-mail:</span>[+email+]</p>\n  <p class=\"tm-comment\">Комментарий:</p>\n   <p class=\"tm-text-comment\">[+comment+]</p>\n</div>','0');
  996. INSERT INTO `modx_site_htmlsnippets` VALUES ('24','topmenu.outerTpl','','0','5','0','<ul>\n [+wf.wrapper+]\n</ul>','1');
  997. INSERT INTO `modx_site_htmlsnippets` VALUES ('25','topmenu.rowTpl','','0','5','0','<li [+wf.classes+]><a href=\"[+wf.link+]\" target=\"[+wf.attributes+]\" title=\"[+wf.linktext+]\">[+wf.linktext+]</a></li>','1');
  998. INSERT INTO `modx_site_htmlsnippets` VALUES ('26','banners.outerTpl','','0','9','0','','1');
  999. INSERT INTO `modx_site_htmlsnippets` VALUES ('27','banners.rowTpl','','0','9','0','<td>\n    <div class=\"dialog-round\">\n    <b class=\"d1\"><!-- --></b><b class=\"d2\"><!-- --></b><b class=\"d3\"><!-- --></b>\n    <div class=\"round\">\n        <div class=\"ban\"><a href=\"[~[+id+]~]\">[+longtitle+]</a></div>\n        <div class=\"ban-float\">\n            <div><a href=\"[~[+id+]~]\"><img style=\"background: url([+image+]) no-repeat center center;\" src=\"assets/i/frame_ban.gif\" width=\"100\" height=\"146\" alt=\"[+pagetitle+]\" border=\"0\"></a></div>\n            <div class=\"ban-t\">[+introtext+]</div>\n        </div>\n    </div>\n    <b class=\"d3\"><!-- --></b><b class=\"d2\"><!-- --></b><b class=\"d1\"><!-- --></b>\n    </div>\n</td>\n<td width=\"5%\"><div style=\"width:9px;\"><!-- --></div></td>','1');
  1000. INSERT INTO `modx_site_htmlsnippets` VALUES ('28','bottom','нижняя часть сайта','0','6','0','                <tr valign=\"bottom\">\n                    <td align=\"center\" class=\"bottom\">\n                        <table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"7\" class=\"f11\" width=\"90%\">\n                            <tr>\n                                <td class=\"c3\" width=\"100%\">© «Оранжевое лето» 2011. Все права защищены</td>\n                                <td><a href=\"\"><img src=\"assets/i/counter.gif\" width=\"88\" height=\"31\" alt=\"#\"></a></td>\n                                <td nowrap>\n                                <a href=\"http://www.touradmin.ru\" target=\"_blank\" class=\"c3\">Touradmin-разработка<br>туристических сайтов</a></td>\n                            </tr>\n                        </table>\n                    </td>\n                </tr>','0');
  1001. INSERT INTO `modx_site_htmlsnippets` VALUES ('29','right_column','правая колонка','0','6','0','                                    <table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"100%\">\n                                        <tr>\n                                            <td><img src=\"assets/i/to_anex.gif\" width=\"113\" height=\"60\" alt=\"anex\" border=\"0\"></td>\n                                            <td><img src=\"assets/i/to_tez.gif\" width=\"113\" height=\"60\" alt=\"teztour\" border=\"0\"></td>\n                                            <td><img src=\"assets/i/to_kmp.gif\" width=\"58\" height=\"60\" alt=\"kmp\" border=\"0\"></td>\n                                            <td><img src=\"assets/i/to_delfin.gif\" width=\"115\" height=\"60\" alt=\"\" border=\"0\"></td>\n                                            <td><img src=\"assets/i/to_coral.gif\" width=\"113\" height=\"60\" alt=\"coral\" border=\"0\"></td>\n                                            <td><img src=\"assets/i/to_pegas.gif\" width=\"113\" height=\"60\" alt=\"pegas\" border=\"0\"></td>\n                                        </tr>\n                                    </table>','0');
  1002. INSERT INTO `modx_site_htmlsnippets` VALUES ('30','left_column','левая колонка','0','6','0','<div class=\"informers\">\n<div><EMBED src=\"http://rp5.ru/informer/100x100/1/20.swf\" loop=false menu=false quality=high scale=noscale wmode=transparent bgcolor=#CCCCCC flashvars=\"id=4475&lang=ru\" WIDTH=\"100\" HEIGHT=\"100\" NAME=\"loader\" ALIGN=\"\" TYPE=\"application/x-shockwave-flash\" PLUGINSPAGE= \"http://www.macromedia.com/go/getflashplayer\"></EMBED></div>\n<div><script language=\"javascript\"><!--\ndocument.write(\'<script language=\"javascript\" src=\"http://travelinformer.ru/informers/rate?col=yelow&v1=EUR-USD&lang=RUS&_rand=\'+Math.random()+\'\"></script>\');\n//--></script></div>\n</div>','0');
  1003. INSERT INTO `modx_site_htmlsnippets` VALUES ('31','leftmenu.outerTpl','','0','5','0','<ul id=\"leftmenu\">\n[+wf.wrapper+]\n</ul>','1');
  1004. INSERT INTO `modx_site_htmlsnippets` VALUES ('32','leftmenu.rowTpl','','0','5','0','<li[+wf.classes+]><a href=\"[+wf.link+]\">[+wf.linktext+]</a></li>','1');
  1005. INSERT INTO `modx_site_htmlsnippets` VALUES ('33','maincountries.ditto','','0','7','0','<li[+wf.classes+]><a href=\"[~[+id+]~]\">[+pagetitle+]</a></li>','1');
  1006. INSERT INTO `modx_site_htmlsnippets` VALUES ('34','maincountriesall.ditto','','0','7','0','<li[+wf.classes+]><a href=\"[~[+id+]~]\"><img src=\"[+country_flag+]\" alt=\"[+pagetitle+]\">[+pagetitle+]</a></li>','1');
  1007. INSERT INTO `modx_site_htmlsnippets` VALUES ('35','submenu.outerTpl','','0','5','0','<ul class=\"submenu\">\n[+wf.wrapper+]</ul>','1');
  1008. INSERT INTO `modx_site_htmlsnippets` VALUES ('36','submenu.rowTpl','','0','5','0','<li[+wf.classes+]><a href=\"[+wf.link+]\">[+wf.linktext+]</a></li>','1');
  1009. INSERT INTO `modx_site_htmlsnippets` VALUES ('37','FormLogin','','0','2','0','<!-- #declare:separator <hr> --> \n<!-- login form section-->\n<form method=\"post\" action=\"[+action+]\" style=\"margin: 0px; padding: 0px;\"> \n<div class=\"ls-login\">\n<input type=\"hidden\" value=\"[+rememberme+]\" name=\"rememberme\" /> \n<div class=\"l-logo\">Авторизация</div>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"3\">\n  <tr>\n    <td><b>Логин:</b></td>\n    <td><input type=\"text\" name=\"username\" tabindex=\"1\" onkeypress=\"return webLoginEnter(document.loginfrm.password);\" size=\"8\" style=\"width: 100px;\" value=\"[+username+]\" /></td>\n  </tr>\n  <tr>\n    <td><b>Пароль:</b></td>\n    <td><input type=\"password\" name=\"password\" tabindex=\"2\" onkeypress=\"return webLoginEnter(document.loginfrm.cmdweblogin);\" style=\"width: 100px;\" value=\"\" /></td>\n  </tr>\n</table>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"3\">\n  <tr>\n    <td>\n    <table border=\"0\" cellspacing=\"3\" cellpadding=\"0\" width=\"100%\">\n      <tr>\n        <td><label for=\"chkbox\" style=\"cursor:pointer\">Запомнить меня</label></td>\n        <td><input type=\"checkbox\" id=\"chkbox\" name=\"chkbox\" tabindex=\"4\" size=\"1\" value=\"\" [+checkbox+] onclick=\"webLoginCheckRemember()\" /></td>\n        <td align=\"right\" width=\"100%\"> \n        <input type=\"image\" src=\"/assets/i/vxod.gif\" alt=\"Войти\" name=\"cmdweblogin\" /></td>\n      </tr>\n    </table>\n    </td>\n  </tr>\n</table>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"3\">\n  <tr>\n    <td class=\"ls-pass\" nowrap><a href=\"#\" onclick=\"webLoginShowForm(2);return false;\">Забыли пароль?</a></td>\n    <td class=\"ls-reg\"><a href=\"[~27~]\">Регистрация</a></td>\n  </tr>\n</table>\n</div>\n</form>\n<hr>\n<!-- log out hyperlink section -->\n<div class=\"listmenu\">\n<ul>\n  <li><a href=\"[~28~]\">Личный кабинет</a></li>\n  <li><a href=\"[~275~]\">Мои туры</a></li>\n  <li><a href=\'[+action+]\'>Выйти</a></li>\n</ul>\n</div>\n<hr>\n<!-- Password reminder form section -->\n<form action=\"/index.html\" method=\"post\" name=\"loginreminder\">\n    <div>\n        <input type=\"hidden\" value=\"1\" name=\"txtpwdrem\"> \n        <div class=\"cleare\">\n        <label for=\"txtwebemail\">Введите свой электронный адрес, указанный при регистрации и через несколько минут Вы получите письмо с паролем.</label>\n        <input type=\"text\" size=\"24\" id=\"txtwebemail\" name=\"txtwebemail\">\n        </div> \n        <div class=\"cleare\">\n            <label>Для возврата нажмите кнопку ОТМЕНА.</label>\n        </div>\n        <div>\n             \n            <input type=\"reset\" style=\"clear: none; display: inline;\" class=\"button2\" onclick=\"webLoginShowForm(1);\" name=\"cmdcancel\" value=\"Отмена\">\n            <input type=\"submit\" class=\"button1\" name=\"cmdweblogin\" value=\"Отправить\">\n        </div>        \n    </div>\n</form>','1');
  1010. INSERT INTO `modx_site_htmlsnippets` VALUES ('38','hat','шапка сайта','0','6','0','','0');
  1011. INSERT INTO `modx_site_htmlsnippets` VALUES ('44','news.ditto','','0','7','0','<p><a href=\"[(base_url)][~[+id+]~]\" class=\"f12\"><b>[+pagetitle+]</b></a><br><span class=\"f11\">[+introtext+]</span></p>','1');
  1012. INSERT INTO `modx_site_htmlsnippets` VALUES ('45','newsmenu.outerTpl','','0','7','0','<ul class=\"news\">\n    [+wf.wrapper+]\n</ul>','1');
  1013. INSERT INTO `modx_site_htmlsnippets` VALUES ('46','newsmenu.rowTpl','','0','7','0','<li[+wf.classes+]>\n    <span>[+wf.introtext+]</span>\n    <a href=\"[+wf.link+]\">[+wf.linktext+]</a>\n</li>','1');
  1014. INSERT INTO `modx_site_htmlsnippets` VALUES ('47','PaginateNext.ditto','','0','7','0','<a href=\"[+url+]\"><img src=\"/assets/i/arrow_next.gif\" alt=\"\" width=\"11\" height=\"9\" border=\"0\" hspace=\"5\" vspace=\"5\" align=\"top\"></a>','1');
  1015. INSERT INTO `modx_site_htmlsnippets` VALUES ('48','PaginateNextOff.ditto','','0','7','0','<img src=\"/assets/i/arrow_next.gif\" alt=\"\" width=\"11\" height=\"9\" border=\"0\" hspace=\"5\" vspace=\"5\" align=\"top\">','1');
  1016. INSERT INTO `modx_site_htmlsnippets` VALUES ('49','PaginatePrevious.ditto','','0','7','0','<a href=\"[+url+]\"><img src=\"/assets/i/arrow_prev.gif\" alt=\"\" width=\"11\" height=\"9\" border=\"0\" hspace=\"5\" vspace=\"5\" align=\"top\"></a>','1');
  1017. INSERT INTO `modx_site_htmlsnippets` VALUES ('50','PaginatePrevious.ditto2','','0','7','0','<a href=\"{url}\"><img src=\"/assets/i/arrow_prev.gif\" alt=\"\" width=\"11\" height=\"9\" border=\"0\" hspace=\"5\" vspace=\"5\" align=\"top\"></a>','1');
  1018. INSERT INTO `modx_site_htmlsnippets` VALUES ('51','PaginatePreviousOff.ditto','','0','7','0','<img src=\"/assets/i/arrow_prev.gif\" alt=\"\" width=\"11\" height=\"9\" border=\"0\" hspace=\"5\" vspace=\"5\" align=\"top\">','1');
  1019. INSERT INTO `modx_site_htmlsnippets` VALUES ('56','GetXToursOuter','','0','2','0','<table id=\"archive_tours\">\n    <tr>\n      <th>Сроки поездки</th>\n      <th>Город вылета</th> \n      <th>Страна</th>\n      <th>Цена за номер</th>\n      <th></th>         \n    </tr>\n    [+gt.wrapper+]\n</table>','1');
  1020. INSERT INTO `modx_site_htmlsnippets` VALUES ('57','GetXToursRow','','0','2','0','<tr>\n    <td>[+departure_ru+]</td>\n    <td>[+city_name+]</td>\n    <td>[+country_name+]</td>\n    <td>[+price_rub+]р. ([+real_price+]$)</td>\n    <td>\n        <a target=\"_blank\" href=\"/infotour.html?id=[+id+]\" onclick=\'ShowWin(this.href,760,450,\"offer\",\"yes\"); return false;\' class=\"tp_offers_olink robots-nocontent\" rel=\"nofollow\">Подробнее...</a>\n    </td>\n</tr>','1');
  1021. INSERT INTO `modx_site_htmlsnippets` VALUES ('58','head','no comments','0','6','0','<!doctype html>\n<html lang=\"en\">\n    <head>\n        <meta charset=\"[(modx_charset)]\">\n        <title>[(site_name)] | [*longtitle*]</title>\n        <link rel=\"stylesheet\" href=\"../assets/css/styles.css\"/>\n        <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n        <script type=\"text/javascript\" src=\"//code.jquery.com/jquery-1.11.0.min.js\"></script>\n        <script type=\"text/javascript\" src=\"//code.jquery.com/jquery-migrate-1.2.1.min.js\"></script>\n        <script type=\"text/javascript\" src=\"../assets/js/slick.min.js\"></script>\n\n        <script type=\"text/javascript\">\n            $(document).ready(function(){\n                $(\'.modules-slider\').slick({\n                    adaptiveHeight: true,\n                    arrows: false\n                });\n                $(\'.modules-slider\').on(\'afterChange\', function(slick, curSlide){\n                    console.log(curSlide);\n                    var index = parseInt($(\'.slides li.active\').attr(\'rel\'));\n                    index = curSlide.currentSlide;\n                    $(\'.slides li\').removeClass(\'active\');\n                    index += 1;\n\n                    $(\'.slides li[rel=\"\' + index + \'\"]\').addClass(\'active\');\n\n                });\n\n                $(\'.next\').on(\'click\', function(e){\n                    $(\'.modules-slider\').slick(\'slickNext\');\n                });\n                $(\'.prev\').on(\'click\', function(e){\n\n                    $(\'.modules-slider\').slick(\'slickPrev\');\n                });\n            });\n\n        </script>\n    </head>','0');
  1022. INSERT INTO `modx_site_htmlsnippets` VALUES ('59','fancy','галерея для картинок','0','6','0','<script type=\"text/javascript\" src=\"assets/fancybox/jquery.fancybox-1.3.4.pack.js\"></script>\n<script type=\"text/javascript\" src=\"assets/fancybox/jquery.mousewheel-3.0.4.pack.js\"></script>\n<link rel=\"stylesheet\" href=\"assets/fancybox/jquery.fancybox-1.3.4.css\" type=\"text/css\" media=\"screen\">\n<script type=\"text/javascript\">\n    $(document).ready(function() {\n        $(\".cnt_dsc_maintable a\").fancybox({\n            \'transitionIn\' : \'none\',\n            \'transitionOut\' : \'none\',\n            \'titlePosition\' : \'over\',\n            \'titleFormat\' : function(title, currentArray, currentIndex, currentOpts) {\n            return \'<span id=\"fancybox-title-over\">Фото \' + (currentIndex + 1) + \' / \' + currentArray.length + (title.length ? \' &nbsp; \' + title : \'\') + \'</span>\';\n            }\n        }); \n        $(\"a.tp_offers_olink\").fancybox({\n        \'transitionIn\'  :   \'elastic\',\n        \'transitionOut\' :   \'elastic\',\n        \'speedIn\'       :   600, \n        \'speedOut\'      :   200, \n        \'overlayShow\'   :   false\n    });\n});\n</script>','0');
  1023. INSERT INTO `modx_site_htmlsnippets` VALUES ('67','id-w','id allspo','0','8','0','','1');
  1024. INSERT INTO `modx_site_htmlsnippets` VALUES ('68','email','email','0','8','0','sd@lightsoft.ru','0');
  1025. INSERT INTO `modx_site_htmlsnippets` VALUES ('69','ListsForm','','0','1','0','[+validationmessage+]\n<div class=\"form-order-tour\" style=\"border:none; width:auto;\">\n   <form action=\"[~[*id*]~]\"  method=\"post\" id=\"ListsForm\" name=\"ListsForm\">\n     <div class=\"block-line-group\">\n          <div class=\"item-block-input\">\n              <input type=\"text\" name=\"fio\" id=\"fio\" value=\"\" class=\"styler\" eform=\"ФИО::1\">\n             <label for=\"fio\">Ваше имя <span class=\"star-validate\">*</span></label>\n         </div>\n            <div class=\"sep-block-group\"></div>\n     </div>\n        <div style=\"height:20px;\"><!-- --></div>\n        <div class=\"block-line-group\">\n          <div class=\"item-block-input\">\n              <input type=\"text\" name=\"phone\" id=\"phone\" value=\"\" class=\"styler\" eform=\"Телефон:phone:1\">\n                <label for=\"phone\">Контактный телефон <span class=\"star-validate\">*</span></label>\n           </div>\n            <div class=\"sep-block-group\"></div>\n     </div>\n        <div style=\"height:20px;\"><!-- --></div>\n        <div class=\"block-line\">\n            <div class=\"item-block-input\">\n              <input type=\"text\" name=\"email\" id=\"email\" value=\"\" class=\"styler\" eform=\"Email:email:1\">\n             <label for=\"email\">Контактный e-mail <span class=\"star-validate\">*</span></label>\n           </div>\n            <div class=\"sep-block\"></div>\n       </div>\n        <input type=\"submit\" name=\"submit\" value=\"Отправить\" class=\"styler anim\" style=\"margin:0;\">\n\n      <input type=\"text\" id=\"lastname\" name=\"lastname\">\n   </form>\n</div>','1');
  1026. INSERT INTO `modx_site_htmlsnippets` VALUES ('70','ListsFormReport','','0','1','0','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html>\n <head>\n        <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"/>      \n        <title>Подписка</title>\n       <link href=\'http://fonts.googleapis.com/css?family=Cuprum:400,700&subset=latin,cyrillic\' rel=\'stylesheet\' type=\'text/css\'/>\n     <style type=\"text/css\">\n         html, body, span, p, table, tbody, tfoot, thead, tr, th, td{margin: 0; padding: 0; border: 0; outline: 0; font-weight: inherit; font-style: inherit; font-size: 100%; font-family: inherit;}\n          *{box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box;}\n           html{font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%;}\n            :focus{outline: 0;}\n           body{line-height: 1; color: #000; background: #fff;}\n          table{border-collapse: separate; border-spacing: 0;}\n          th, td{text-align: left; font-weight: normal;}\n            #mesTable{width: 600px !important; margin: 40px auto !important; background-color: #eee !important; border: 3px solid #1BBC9B !important; padding: 0px 20px 20px 20px; border-radius: 6px !important;}\n            #mesTable #tableTitle{text-align: center !important; padding: 20px 0 10px 0 !important; font: 700 26px \'Cuprum\', sans-serif !important; color: #1BBC9B !important;}\n         #mesTable .mesTitle{font: 700 16px \'Cuprum\', sans-serif !important; text-transform: uppercase !important; color: #fff !important; background: #1BBC9B !important; padding: 6px 10px 5px 10px !important; border-radius: 6px !important; margin: 10px 0 !important;}\n         #mesTable .mesText{padding: 5px !important; font: 400 16px \'Cuprum\', sans-serif !important; color: #000 !important;}   \n         #mesTable .mesText span.bold{font-weight: bold !important; color: #333 !important;}   \n            #mesTable #send{color: #049372 !important; font: 700 18px \'Cuprum\', sans-serif !important; padding: 20px 0 10px 0 !important;}\n          #mesTable #send a{color: #333 !important; font: 700 18px \'Cuprum\', sans-serif !important; display: block !important; margin-top: 5px !important;}\n       </style>\n  </head>\n   <body leftmargin=\"0\" marginwidth=\"0\" topmargin=\"0\" marginheight=\"0\" offset=\"0\">\n     <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" height=\"100%\" width=\"100%\" id=\"mesTable\">\n           <tr><td><p class=\"mesText\"><span class=\"bold\">Имя:</span> [+fio+]</p></td></tr>\n            <tr><td><p class=\"mesText\"><span class=\"bold\">Телефон:</span> [+phone+]</p></td></tr>\n          <tr><td><p class=\"mesText\"><span class=\"bold\">E-mail:</span> [+email+]</p></td></tr>\n          <tr><td><p id=\"send\">Вы можете использовать эту ссылку для ответа: <br><a href=\"mailto:[+email+]?subject=RE:[+subject+]\">[+email+]</a></p></td></tr>\n        </table>\n  </body>\n</html>','1');
  1027. INSERT INTO `modx_site_htmlsnippets` VALUES ('71','ListsFormThanks','','0','1','0','<div class=\"thanks-message\">\n    <p class=\"tm-first-title\">Спасибо, что воспользовались формой подписки!</p>\n  <p class=\"parametr\"><span>Имя:</span> [+fio+]</p>\n    <p class=\"parametr\"><span>Телефон:</span> [+phone+]</p>\n  <p class=\"last-parametr\"><span>E-mail:</span>[+email+]</p>\n</div>','1');
  1028. INSERT INTO `modx_site_htmlsnippets` VALUES ('77','eFeedbackReport','шаблон отправки на почту','0','7','0','<p>Прислано человеком, с именем: [+name+] . Подробности ниже:</p>\n<table>\n<tr valign=\"top\"><td>Имя:</td><td>[+name+]</td></tr>\n<tr valign=\"top\"><td>E-mail:</td><td>[+email+]</td></tr>\n<tr valign=\"top\"><td>Номер телефона:</td><td>[+phone+]</td></tr>\n<tr valign=\"top\"><td>Текст сообщения:</td><td>[+comments+]</td></tr>\n</table>\n<p>Можно использовать ссылку для ответа: <a href=\"mailto:[+email+]?subject=RE:[+subject+]\">[+email+]</a></p>\n\n','0');
  1029. INSERT INTO `modx_site_htmlsnippets` VALUES ('78','feedback','форма обратной связи','0','7','0','[!eForm? &formid=`feedbackForm` &subject=`Сообщение с сайта` &tpl=`eFeedbackForm` &report=`eFeedbackReport` &gotoid=`[*id*]` &vericode=`1` !]','0');
  1030. INSERT INTO `modx_site_htmlsnippets` VALUES ('76','eFeedbackForm','Шаблон формы обратной связи','0','7','0','<p><span style=\"color:#900;\">[+validationmessage+]</span></p>\n\n<form  class=\"eform\" method=\"post\" action=\"[~[*id*]~]\">\n\n<input type=\"hidden\" name=\"formid\" value=\"feedbackForm\" />\n<input value=\"\" name=\"special\" class=\"special\" type=\"text\" eform=\"Спец:date:0\"  style=\"display:none;\" />\n<p>\n    <input type=\"text\" name=\"name\" id=\"name\" class=\"grid_3\" value=\"\"  eform=\"Имя:string:1\"/>\n    <label for=\"name\">Ваше имя</label>\n</p>\n            \n<p>\n    <input type=\"text\" name=\"email\" id=\"email\" class=\"grid_3\" value=\"\" eform=\"E-mail:email:1\" />\n    <label for=\"email\">Ваш E-mail</label>\n</p>\n            \n<p>\n    <input type=\"text\" name=\"phone\" id=\"subject\" class=\"grid_3\" value=\"\" eform=\"Номер телефона:string:1\"/>\n    <label for=\"subject\">Номер телефона</label>\n</p>\n            \n<p>\n    <textarea name=\"comments\" id=\"message\" class=\"grid_6\" cols=\"50\" rows=\"10\" eform=\"Текст сообщения:string:1\"></textarea>\n</p>\n<p>Введите код с картинки: <br />\n    <input type=\"text\" class=\"ver\" name=\"vericode\" /><img class=\"feed\" src=\"[+verimageurl+]\" alt=\"Введите код\" />\n</p>            \n<p>\n    <input type=\"submit\" name=\"submit\" class=\"subeform grid_2\" value=\"Отправить сообщение\"/>\n </p>\n\n</form>\n\n\n \n\n','0');
  1031. INSERT INTO `modx_site_htmlsnippets` VALUES ('75','mm_rules','Default ManagerManager rules.','0','13','0','// more example rules are in assets/plugins/managermanager/example_mm_rules.inc.php\n\nmm_widget_showimagetvs(); // Показываем превью ТВ\n\nmm_renameField(\'log\', \'Дочерние ресурсы отображаются в дереве\');\nmm_changeFieldHelp(\'log\', \'Это поле используется для папок с большим числом вложенных страниц\');\n\n// mm_createTab(\'Для SEO\', \'seo\', \'\', \'\', \'\', \'\');\nmm_moveFieldsToTab(\'titl,keyw,desc,seoOverride,noIndex,sitemap_changefreq,sitemap_priority,sitemap_exclude\', \'seo\', \'\', \'\');\nmm_widget_tags(\'keyw\',\',\'); // Give blog tag editing capabilities to the \'documentTags (3)\' TV\n\n\n//mm_createTab(\'Изображения\', \'photos\', \'\', \'\', \'\', \'850\');\n//mm_moveFieldsToTab(\'images,photos\', \'photos\', \'\', \'\');\n\n//mm_hideFields(\'longtitle,description,link_attributes,menutitle,content\', \'\', \'6,7\');\n\n//mm_hideTemplates(\'0,5,8,9,11,12\', \'2,3\');\n\n//mm_hideTabs(\'settings, access\', \'2\');\n\n//mm_widget_evogallery(1, Галерея, \'1,2,3\', 3);   // подключаем галерею \n//mm_galleryLink($fields, $roles, $templates, $moduleid);\n//mm_widget_evogallery($moduleid, $title, $roles, $templates);\n','0');
  1032. INSERT INTO `modx_site_htmlsnippets` VALUES ('80','mm_rules-1_0_13','Default ManagerManager rules.','0','13','0','// more example rules are in assets/plugins/managermanager/example_mm_rules.inc.php\n// example of how PHP is allowed - check that a TV named documentTags exists before creating rule\n\nif ($modx->db->getValue($modx->db->select(\'count(id)\', $modx->getFullTableName(\'site_tmplvars\'), \"name=\'documentTags\'\"))) {\n   mm_widget_tags(\'documentTags\', \' \'); // Give blog tag editing capabilities to the \'documentTags (3)\' TV\n}\nmm_widget_showimagetvs(); // Always give a preview of Image TVs\n','0');
  1033. INSERT INTO `modx_site_htmlsnippets` VALUES ('81','feedback-1_0_14-d6_9','форма обратной связи','0','7','0','[!eForm? &formid=`feedbackForm` &subject=`Сообщение с сайта` &tpl=`eFeedbackForm` &report=`eFeedbackReport` &gotoid=`[*id*]` &vericode=`1` !] \n\n','0');
  1034. INSERT INTO `modx_site_htmlsnippets` VALUES ('82','eFeedbackForm-1_1b-d7_0_16','eFeedbackForm Шаблон формы обратной связи','0','7','0','<p><span style=\"color:#900;\">[+validationmessage+]</span></p>\n\n<form  class=\"eform\" method=\"post\" action=\"[~[*id*]~]\">\n\n<input type=\"hidden\" name=\"formid\" value=\"feedbackForm\" />\n<input value=\"\" name=\"special\" class=\"special\" type=\"text\" eform=\"Спец:date:0\"  style=\"display:none;\" />\n<p>\n    <input type=\"text\" name=\"name\" id=\"name\" class=\"grid_3\" value=\"\"  eform=\"Имя:string:1\"/>\n    <label for=\"name\">Ваше имя</label>\n</p>\n            \n<p>\n    <input type=\"text\" name=\"email\" id=\"email\" class=\"grid_3\" value=\"\" eform=\"E-mail:email:1\" />\n    <label for=\"email\">Ваш E-mail</label>\n</p>\n            \n<p>\n    <input type=\"text\" name=\"phone\" id=\"subject\" class=\"grid_3\" value=\"\" eform=\"Номер телефона:string:1\"/>\n    <label for=\"subject\">Номер телефона</label>\n</p>\n            \n<p>\n    <textarea name=\"comments\" id=\"message\" class=\"grid_6\" cols=\"50\" rows=\"10\" eform=\"Текст сообщения:string:1\"></textarea>\n</p>\n<p>Введите код с картинки: <br />\n    <input type=\"text\" class=\"ver\" name=\"vericode\" /><img class=\"feed\" src=\"[+verimageurl+]\" alt=\"Введите код\" />\n</p>            \n<p>\n    <input type=\"submit\" name=\"submit\" class=\"subeform grid_2\" value=\"Отправить сообщение\"/>\n </p>\n\n</form>\n\n\n \n\n','0');
  1035. INSERT INTO `modx_site_htmlsnippets` VALUES ('83','eFeedbackReport-1_1b-d7_0_16','eFeedbackReport  шаблон отправки на почту','0','7','0','<p>Прислано человеком, с именем: [+name+] . Подробности ниже:</p>\n<table>\n<tr valign=\"top\"><td>Имя:</td><td>[+name+]</td></tr>\n<tr valign=\"top\"><td>E-mail:</td><td>[+email+]</td></tr>\n<tr valign=\"top\"><td>Номер телефона:</td><td>[+phone+]</td></tr>\n<tr valign=\"top\"><td>Текст сообщения:</td><td>[+comments+]</td></tr>\n</table>\n<p>Можно использовать ссылку для ответа: <a href=\"mailto:[+email+]?subject=RE:[+subject+]\">[+email+]</a></p>\n\n','0');
  1036. INSERT INTO `modx_site_htmlsnippets` VALUES ('84','feedback-1_1b-d7_0_16','форма обратной связи','0','7','0','[!eForm? &formid=`feedbackForm` &subject=`Сообщение с сайта` &tpl=`eFeedbackForm` &report=`eFeedbackReport` &gotoid=`[*id*]` &vericode=`1` !] \n\n','0');
  1037. INSERT INTO `modx_site_htmlsnippets` VALUES ('85','mm_rules-1_1b-d7_0_16','Default ManagerManager rules.','0','13','0','// more example rules are in assets/plugins/managermanager/example_mm_rules.inc.php\n\nmm_widget_showimagetvs(); // Показываем превью ТВ\n\nmm_renameField(\'log\', \'Дочерние ресурсы отображаются в дереве\');\nmm_changeFieldHelp(\'log\', \'Это поле используется для папок с большим числом вложенных страниц\');\n\nmm_createTab(\'Для SEO\', \'seo\', \'\', \'\', \'\', \'\');\nmm_moveFieldsToTab(\'titl,keyw,desc,seoOverride,noIndex,sitemap_changefreq,sitemap_priority,sitemap_exclude\', \'seo\', \'\', \'\');\nmm_widget_tags(\'keyw\',\',\'); // Give blog tag editing capabilities to the \'documentTags (3)\' TV\n\n\n//mm_createTab(\'Изображения\', \'photos\', \'\', \'\', \'\', \'850\');\n//mm_moveFieldsToTab(\'images,photos\', \'photos\', \'\', \'\');\n\n//mm_hideFields(\'longtitle,description,link_attributes,menutitle,content\', \'\', \'6,7\');\n\n//mm_hideTemplates(\'0,5,8,9,11,12\', \'2,3\');\n\n//mm_hideTabs(\'settings, access\', \'2\');\n\n//mm_widget_evogallery(1, Галерея, \'1,2,3\', 3);   // подключаем галерею \n//mm_galleryLink($fields, $roles, $templates, $moduleid);\n//mm_widget_evogallery($moduleid, $title, $roles, $templates);\n','0');
  1038.  
  1039. # --------------------------------------------------------
  1040.  
  1041. #
  1042. # Table structure for table `modx_site_keywords`
  1043. #
  1044.  
  1045. DROP TABLE IF EXISTS `modx_site_keywords`;
  1046. CREATE TABLE `modx_site_keywords` (
  1047.   `id` int(11) NOT NULL AUTO_INCREMENT,
  1048.   `keyword` varchar(40) NOT NULL DEFAULT '',
  1049.   PRIMARY KEY (`id`),
  1050.   UNIQUE KEY `keyword` (`keyword`)
  1051. ) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COMMENT='Site keyword list';
  1052.  
  1053. #
  1054. # Dumping data for table `modx_site_keywords`
  1055. #
  1056.  
  1057. INSERT INTO `modx_site_keywords` VALUES ('1','MODx');
  1058. INSERT INTO `modx_site_keywords` VALUES ('2','content management system');
  1059. INSERT INTO `modx_site_keywords` VALUES ('3','Front End Editing');
  1060. INSERT INTO `modx_site_keywords` VALUES ('4','login');
  1061.  
  1062. # --------------------------------------------------------
  1063.  
  1064. #
  1065. # Table structure for table `modx_site_metatags`
  1066. #
  1067.  
  1068. DROP TABLE IF EXISTS `modx_site_metatags`;
  1069. CREATE TABLE `modx_site_metatags` (
  1070.   `id` int(11) NOT NULL AUTO_INCREMENT,
  1071.   `name` varchar(50) NOT NULL DEFAULT '',
  1072.   `tag` varchar(50) NOT NULL DEFAULT '' COMMENT 'tag name',
  1073.   `tagvalue` varchar(255) NOT NULL DEFAULT '',
  1074.   `http_equiv` tinyint(4) NOT NULL DEFAULT '0' COMMENT '1 - use http_equiv tag style, 0 - use name',
  1075.   PRIMARY KEY (`id`)
  1076. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Site meta tags';
  1077.  
  1078. #
  1079. # Dumping data for table `modx_site_metatags`
  1080. #
  1081.  
  1082.  
  1083. # --------------------------------------------------------
  1084.  
  1085. #
  1086. # Table structure for table `modx_site_module_access`
  1087. #
  1088.  
  1089. DROP TABLE IF EXISTS `modx_site_module_access`;
  1090. CREATE TABLE `modx_site_module_access` (
  1091.   `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  1092.   `module` int(11) NOT NULL DEFAULT '0',
  1093.   `usergroup` int(11) NOT NULL DEFAULT '0',
  1094.   PRIMARY KEY (`id`)
  1095. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Module users group access permission';
  1096.  
  1097. #
  1098. # Dumping data for table `modx_site_module_access`
  1099. #
  1100.  
  1101.  
  1102. # --------------------------------------------------------
  1103.  
  1104. #
  1105. # Table structure for table `modx_site_module_depobj`
  1106. #
  1107.  
  1108. DROP TABLE IF EXISTS `modx_site_module_depobj`;
  1109. CREATE TABLE `modx_site_module_depobj` (
  1110.   `id` int(11) NOT NULL AUTO_INCREMENT,
  1111.   `module` int(11) NOT NULL DEFAULT '0',
  1112.   `resource` int(11) NOT NULL DEFAULT '0',
  1113.   `type` int(2) NOT NULL DEFAULT '0' COMMENT '10-chunks, 20-docs, 30-plugins, 40-snips, 50-tpls, 60-tvs',
  1114.   PRIMARY KEY (`id`)
  1115. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Module Dependencies';
  1116.  
  1117. #
  1118. # Dumping data for table `modx_site_module_depobj`
  1119. #
  1120.  
  1121.  
  1122. # --------------------------------------------------------
  1123.  
  1124. #
  1125. # Table structure for table `modx_site_modules`
  1126. #
  1127.  
  1128. DROP TABLE IF EXISTS `modx_site_modules`;
  1129. CREATE TABLE `modx_site_modules` (
  1130.   `id` int(11) NOT NULL AUTO_INCREMENT,
  1131.   `name` varchar(50) NOT NULL DEFAULT '',
  1132.   `description` varchar(255) NOT NULL DEFAULT '0',
  1133.   `editor_type` int(11) NOT NULL DEFAULT '0' COMMENT '0-plain text,1-rich text,2-code editor',
  1134.   `disabled` tinyint(4) NOT NULL DEFAULT '0',
  1135.   `category` int(11) NOT NULL DEFAULT '0' COMMENT 'category id',
  1136.   `wrap` tinyint(4) NOT NULL DEFAULT '0',
  1137.   `locked` tinyint(4) NOT NULL DEFAULT '0',
  1138.   `icon` varchar(255) NOT NULL DEFAULT '' COMMENT 'url to module icon',
  1139.   `enable_resource` tinyint(4) NOT NULL DEFAULT '0' COMMENT 'enables the resource file feature',
  1140.   `resourcefile` varchar(255) NOT NULL DEFAULT '' COMMENT 'a physical link to a resource file',
  1141.   `createdon` int(11) NOT NULL DEFAULT '0',
  1142.   `editedon` int(11) NOT NULL DEFAULT '0',
  1143.   `guid` varchar(32) NOT NULL DEFAULT '' COMMENT 'globally unique identifier',
  1144.   `enable_sharedparams` tinyint(4) NOT NULL DEFAULT '0',
  1145.   `properties` text,
  1146.   `modulecode` mediumtext COMMENT 'module boot up code',
  1147.   PRIMARY KEY (`id`)
  1148. ) ENGINE=MyISAM AUTO_INCREMENT=13 DEFAULT CHARSET=utf8 COMMENT='Site Modules';
  1149.  
  1150. #
  1151. # Dumping data for table `modx_site_modules`
  1152. #
  1153.  
  1154. INSERT INTO `modx_site_modules` VALUES ('1','Doc Manager','<strong>1.1</strong> Quickly perform bulk updates to the Documents in your site including templates, publishing details, and permissions','0','0','3','0','0','','0','','0','0','','1','','include_once(MODX_BASE_PATH.\'assets/modules/docmanager/classes/docmanager.class.php\');\ninclude_once(MODX_BASE_PATH.\'assets/modules/docmanager/classes/dm_frontend.class.php\');\ninclude_once(MODX_BASE_PATH.\'assets/modules/docmanager/classes/dm_backend.class.php\');\n\n$dm = new DocManager($modx);\n$dmf = new DocManagerFrontend($dm, $modx);\n$dmb = new DocManagerBackend($dm, $modx);\n\n$dm->ph = $dm->getLang();\n$dm->ph[\'theme\'] = $dm->getTheme();\n$dm->ph[\'ajax.endpoint\'] = MODX_SITE_URL.\'assets/modules/docmanager/tv.ajax.php\';\n$dm->ph[\'datepicker.offset\'] = $modx->config[\'datepicker_offset\'];\n$dm->ph[\'datetime.format\'] = $modx->config[\'datetime_format\'];\n\nif (isset($_POST[\'tabAction\'])) {\n    $dmb->handlePostback();\n} else {\n    $dmf->getViews();\n    echo $dm->parseTemplate(\'main.tpl\', $dm->ph);\n}');
  1155. INSERT INTO `modx_site_modules` VALUES ('2','Страноведение','','0','1','0','0','1','','0','','0','0','c341a90bc7cadbaedf8d7d2f69b648cf','0','','// SYSTEM VARS\n$debug = 0;\n$_t = $modx->config[\'manager_theme\'];\n$_a = (int) $_GET[\'a\'];\n$_i = (int) $_GET[\'id\'];\n$index = \'index.php?a=\'.$_a.\'&id=\'.$_i;\n$errMessage = \'\';\n$actOutputInstall = \'\';\n\n// MODULE PATCH\n$_modulePatch=\'../assets/modules/country_control/\';\n\ninclude($_modulePatch.\"country_control.class.php\");\n\n$act = empty($_GET[\'act\']) ? \'\' : $_GET[\'act\'];\n$_SESSION[\'cache_region\']=\'\';\n$_SESSION[\'cache_countries\']=\'\';\n$countries = new Countries($_modulePatch, $index, $act, $_t);\nreturn $countries->getContent();');
  1156. INSERT INTO `modx_site_modules` VALUES ('5','Фотогалерея','Модуль фотогалерея','0','0','5','1','0','','0','','0','0','79780fa5f2a8fa6c1c3dd47d3f7c6d90','0','','$moduleFile = realpath(MODX_BASE_PATH . \'assets/modules/easy2/index.php\');\nif (!empty($moduleFile) && file_exists($moduleFile)) {\n    return include $moduleFile;\n} else {\n    return \'\';\n}');
  1157. INSERT INTO `modx_site_modules` VALUES ('6','Голосование','Version 0.3.3','0','0','5','1','0','','0','','0','0','ff3f796934a67d22a6da3c5a4d63a052','0','','/**\n * ------------------------------------------------------------------------------\n * Easy Poll Module for MODx\n * ------------------------------------------------------------------------------\n * Easy Poll Voting, inspired by the Poll Module developed by garryn\n *\n * This Module allows creation of multiple Polls, localized for different languages.\n * Polls can be set active/inactive and timed with a start and end date.\n *\n * ------------------------------------------------------------------------------\n * Read the bundled documentation.html for usage instructions.\n * ------------------------------------------------------------------------------\n *\n * The EasyPoll Module is free software; you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation; either version 2 of the License, or\n * (at your option) any later version.\n *\n * EasyPoll is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with EasyPoll (located in \"/snippets/EasyPoll/\"); if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA\n * or visit: http://www.gnu.org/licenses/gpl-2.0.html\n *\n * Dependencies:\n * MODx 0.9.5, 0.9.6 (this is the version this module was developped for. might work\n *             with other versions as well. not tested)\n * PHP Version 5 or higher\n * MySQL Version 4.1 or higher (utf-8, InnoDB, Trasactions)\n *\n * @author banal\n * @version 0.3 <2008-02-08>\n */\nif(!isset($modx)) die();\n\n$basePath = $modx->config[\'base_path\'];\n$easyPollPath = $basePath . \'assets/modules/EasyPoll/\';\n\n// ------------------------------------------------------------------------------\n// get the user language settings\n// ------------------------------------------------------------------------------\n$manager_language = $modx->config[\'manager_language\'];\n$sql =  \'SELECT setting_name, setting_value FROM \' . $modx->getFullTableName(\'user_settings\') .\n        \' WHERE setting_name=\\\'manager_language\\\' AND user=\' . $modx->getLoginUserID();\n$rs = $modx->db->query($sql);\n\nif ($modx->db->getRecordCount($rs) > 0) {\n    $row = $modx->db->getRow($rs);\n    $manager_language = $row[\'setting_value\'];\n}\n\n// load localization file.\n$_lang = array();\ninclude_once($easyPollPath . \'lang/english.inc.php\');\n\nif($manager_language != \'english\') {\n    $langfile = $easyPollPath . \'lang/\' . $manager_language . \'.inc.php\';\n    if(file_exists($langfile)) {\n         include_once $langfile;\n    }\n}\n\n// ------------------------------------------------------------------------------\n// Create EasyPollController\n// ------------------------------------------------------------------------------\n$classfile = $easyPollPath . \'include/EasyPollController.class.php\';\nif(!file_exists($classfile))\n    $modx->messageQuit(sprintf($_lang[\'EP_noclassfile\'], $classfile));\n\nrequire_once($classfile);\n$controller = new EasyPollController($_lang, $easyPollPath);\ntry {\n    $controller->run();\n} catch (Exception $ex){\n    $modx->messageQuit($ex->getMessage());\n}\nreturn;');
  1158. INSERT INTO `modx_site_modules` VALUES ('7','MassResCreator','добавлялка','0','0','0','1','0','','0','','0','0','ea468ad73398e621fe464d82fdb117d5','0','','include MODX_BASE_PATH.\'assets/modules/massResCreator/massResCreator.module.php\';');
  1159. INSERT INTO `modx_site_modules` VALUES ('8','Massive Move','модуль сортировки','0','0','0','1','0','','0','','0','0','8158a98f383c2ca63164e72325e48ecd','0','','echo \"\n<style type=\'text/css\'>\n<!--\n.table {\n    width:100%;\n    margin:0 auto;\n    border-collapse:collapse;\n    font-size:11px;\n    font-family:Verdana;\n}\n.table td {\n    padding:5px;\n    border:1px dotted #aaa;\n    }\n.table th {\n    padding:5px;\n    background:#aaf;\n    border:1px solid #eee;\n    }\n-->\n</style>\n\n<script type=\'text/javascript\'>\n\nchecked=false;\nfunction checkedAll () {\n    var frm = document.getElementById(\'main\');\n     if (checked == false)\n          {\n           checked = true\n          }\n        else\n          {\n          checked = false\n          }\n    for (var i =0; i < frm.elements.length; i++) \n    {\n     frm.elements[i].checked = checked;\n    }\n      }\n</script>\n\n</script>\n\n\";\nclass MassiveMove {\n\n    private static $url;\n    \n    function __construct() {\n        global $modx;\n        $this->modx = &$modx;\n        $this->a = $_GET[\'a\'];\n        $this->sc = $this->modx->getFullTableName(\'site_content\');\n        $this->id = $_GET[\'id\'];\n        $parent = isset($_GET[\'parent\']) ? $_GET[\'parent\'] : 0;\n        $do = isset($_GET[\'do\']) ? $_GET[\'do\'] : \'\';\n        if ($do != \'\') {\n            $this->updateTree();\n            }\n        self::$url = \'index.php?a=\'.$this->a.\'&id=\'.$this->id;\n        \n        $this->getFolders($parent);\n        $this->crumbs = array();\n        }\n        \n    function clearCache() {\n        \n        include_once MODX_BASE_PATH . \'manager/processors/cache_sync.class.processor.php\';\n        $sync = new synccache();\n        $sync->setCachepath(MODX_BASE_PATH . \"assets/cache/\");\n        $sync->setReport(false);\n        $sync->emptyCache();\n    }\n    function alias2pagetitle($alias) {\n    $res = $this->modx->db->select(\'pagetitle\', $this->sc, \'alias=\"\'.$alias.\'\"\');\n        if ($this->modx->db->getRecordCount($res)) {\n            $pagetitle = $this->modx->db->getValue($res);\n        }       \n        return $pagetitle;\n    }\n    function alias2id($alias) {\n    $res = $this->modx->db->select(\'id\', $this->sc, \'alias=\"\'.$alias.\'\"\');\n        if ($this->modx->db->getRecordCount($res)) {\n            $id = $this->modx->db->getValue($res);\n        }       \n        return $id;\n    }\n    function getFolders($parent=0) {\n        $sql = \"SELECT id, pagetitle, isfolder, parent FROM \".$this->sc.\" WHERE parent=\'\".$parent.\"\' ORDER by menuindex ASC\";\n        $result = $this->modx->db->query($sql);\n        $arrayIDs = $this->modx->db->makeArray($result);\n        // build breadcrumbs if not at top site level\n        if ($parent != 0) \n        {\n            $parentIDs = $this->modx->getParentIds($parent,1);\n            foreach ($parentIDs as $key=>$value) {\n                $pathKey = $key;\n                }\n            $pathway = explode(\'/\',$pathKey);\n            foreach ($pathway as $path) {\n                $this->crumbs[$this->alias2id($path)] = $this->alias2pagetitle($path);\n                }\n            \n            $parentName = $this->modx->getDocument($parent,\"pagetitle\");\n            $this->crumbs[$parent] = $parentName[\'pagetitle\'];\n            $goBack = $this->modx->getParent($parent,\'\',\'id\');\n            echo \"<a href=\'\".self::$url.\"&parent=\".$goBack[\'id\'].\"\'>Назад</a>\n\n            \";\n            // show breadcrumbs\n            if (is_array($this->crumbs)) {      \n                foreach ($this->crumbs as $id=>$pagetitle)\n                {\n                    if (!empty($pagetitle)) { echo \"<a href=\'\".self::$url.\"&parent=\".$id.\"\'>\".$pagetitle.\"</a> » \"; }\n                }\n            }\n        }\n        echo \"\n        <form method=\'post\' action=\'\".self::$url.\"&do=move\' name=\'changeparent\' id=\'main\'>\n        <table class=\'table\'><tr>\n            <th width=\'5%\'><input type=\'checkbox\' name=\'checkall\' onclick=\'checkedAll();\' /></th>\n            <th width=\'5%\'>id</th>\n            <th width=\'90%\'>pagetitle</th>\n            </tr>\n            \n            \";\n            foreach ($arrayIDs as $resource) {\n                echo \"<tr>\n                <td valign=\'middle\'>\";\n \n                    echo \"<input type=\'checkbox\' class=\'all\' name=\'ids[]\' value=\'\".$resource[\'id\'].\"\' />\";\n \n                echo \"</td>\n                <td valign=\'middle\'>\".$resource[\'id\'].\"</td>\n                <td valign=\'middle\'>\";\n                if ($resource[\'isfolder\'] == 1) {\n                echo \"<a href=\'\".self::$url.\"&parent=\".$resource[\'id\'].\"\'>\".$resource[\'pagetitle\'].\"</a>\";\n                } else {\n                    echo $resource[\'pagetitle\'];\n                    }\n                echo \"</td>\n                </tr>\";\n                }\n            echo \"</table>\n            <input type=\'hidden\' name=\'previousparent\' value=\'\".$parent.\"\' />\n            Куда переместить id ресурса: <input type=\'text\' name=\'newparent\' size=\'10\' /> \n\n            <input type=\'submit\' value=\'Переместить\' />\n        </form>\";\n        }\n        \n    function updateTree() {\n        echo \"Папки <b>\";\n        foreach ($_POST[\'ids\'] as $id) {\n            echo $id.\', \';\n            $fields = array(\"parent\" => $_POST[\'newparent\']);\n            $this->modx->db->update($fields, $this->sc, \"id = \'\".$id.\"\'\");\n            }\n        echo \"</b> перемещены в папку \".$_POST[\'newparent\'].\"\n\";\n        // check previous folder, if any documents exist. if NO - remove container flag, else do nothing\n            $this->checkPreviousParentFolder($_POST[\'previousparent\']);\n        // make new resource a container\n            $fields = array(\"isfolder\" => 1);\n            $this->modx->db->update($fields, $this->sc, \"id = \'\".$_POST[\'newparent\'].\"\'\");\n        // eupdate cache\n            $this->clearCache();\n        // reload documents tree\n            echo \'<script type=\"text/javascript\">\n                top.mainMenu.reloadtree();\n            </script>\';\n        // remove breadcrumbs\n        $this->crumbs = array(); \n    }\n    function checkPreviousParentFolder($id) {\n        $children = $this->modx->getDocumentChildren($id);\n        if (empty($children)) {\n            $fields = array(\"isfolder\" => 0);\n            $this->modx->db->update($fields, $this->sc, \"id=\'\".$id.\"\'\");\n            } else {\n                return true;\n                }\n    }\n}\n//initializing object\n$MasMove = new MassiveMove();');
  1160. INSERT INTO `modx_site_modules` VALUES ('9','Dev Manager','','0','0','0','0','1','','0','','0','0','f4a41f79ab84a601302b78e9b8db9b33','0','','include_once($modx->config[\'base_path\'].\'assets/modules/devmanager/\'.\"developerManager.php\");\nif (class_exists(\'DeveloperManager\')){\n        $manager = new DeveloperManager($modx, $_POST);\n        $manager->init();\n}');
  1161. INSERT INTO `modx_site_modules` VALUES ('10','MetaQuickEdit','массовое редактирование стандартных полей документов modx','0','0','0','1','1','','0','','0','0','d6f8806cc17ed96f8ac07a5bc658ce0f','0','&MODid=ModID;int;10 &language=Language;list;german,english,russian-UTF8;russian-UTF8','## Title: MetaQuickEdit\n## Author: Christian Lange\n## Date: October 2010\n## Version 0.2\n## Installation: Create a new module and copy the content of this file into it. After saving the new module go to configuration tab and the following line into the module configuration. The ModID is the ID of this module. You can figure it out by placing the mouse over the the module link in the top navigation. In the brwoser status bar it shows up something like /manager/index.php?a=112&id=X. The last ID is the ID of your module.\n## Configuration: &MODid=ModID;int;3 &language=Language;list;german,english;german \n\nif(IN_MANAGER_MODE != true) die(\"Please use the MODx Manager.\");\n\n## include processor\n    include_once($modx->config[\'base_path\'].\"assets/modules/metaquickedit/processor.inc.php\");\n    ');
  1162. INSERT INTO `modx_site_modules` VALUES ('11','Extras','<strong>0.1.2</strong> first repository for MODX EVO','0','0','3','0','0','','0','','0','0','store435243542tf542t5t','1','','//AUTHORS: Bumkaka & Dmi3yy \ninclude_once(\'../assets/modules/store/core.php\');');
  1163. INSERT INTO `modx_site_modules` VALUES ('12','easyForm','<strong>0.2</strong> manage eForm easy','0','0','7','0','1','','0','','0','0','easyForm','0','','require_once MODX_BASE_PATH.\"assets/modules/easyForm/module.easyForm.php\";');
  1164.  
  1165. # --------------------------------------------------------
  1166.  
  1167. #
  1168. # Table structure for table `modx_site_plugin_events`
  1169. #
  1170.  
  1171. DROP TABLE IF EXISTS `modx_site_plugin_events`;
  1172. CREATE TABLE `modx_site_plugin_events` (
  1173.   `pluginid` int(10) NOT NULL,
  1174.   `evtid` int(10) NOT NULL DEFAULT '0',
  1175.   `priority` int(10) NOT NULL DEFAULT '0' COMMENT 'determines plugin run order',
  1176.   PRIMARY KEY (`pluginid`,`evtid`)
  1177. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Links to system events';
  1178.  
  1179. #
  1180. # Dumping data for table `modx_site_plugin_events`
  1181. #
  1182.  
  1183. INSERT INTO `modx_site_plugin_events` VALUES ('16','29','3');
  1184. INSERT INTO `modx_site_plugin_events` VALUES ('16','30','1');
  1185. INSERT INTO `modx_site_plugin_events` VALUES ('3','3','0');
  1186. INSERT INTO `modx_site_plugin_events` VALUES ('3','13','0');
  1187. INSERT INTO `modx_site_plugin_events` VALUES ('3','28','0');
  1188. INSERT INTO `modx_site_plugin_events` VALUES ('3','31','0');
  1189. INSERT INTO `modx_site_plugin_events` VALUES ('3','92','0');
  1190. INSERT INTO `modx_site_plugin_events` VALUES ('4','3','0');
  1191. INSERT INTO `modx_site_plugin_events` VALUES ('11','93','0');
  1192. INSERT INTO `modx_site_plugin_events` VALUES ('11','81','0');
  1193. INSERT INTO `modx_site_plugin_events` VALUES ('11','80','0');
  1194. INSERT INTO `modx_site_plugin_events` VALUES ('12','28','0');
  1195. INSERT INTO `modx_site_plugin_events` VALUES ('12','29','0');
  1196. INSERT INTO `modx_site_plugin_events` VALUES ('12','35','0');
  1197. INSERT INTO `modx_site_plugin_events` VALUES ('12','53','0');
  1198. INSERT INTO `modx_site_plugin_events` VALUES ('15','100','0');
  1199. INSERT INTO `modx_site_plugin_events` VALUES ('17','3','1');
  1200. INSERT INTO `modx_site_plugin_events` VALUES ('18','47','0');
  1201. INSERT INTO `modx_site_plugin_events` VALUES ('18','23','0');
  1202. INSERT INTO `modx_site_plugin_events` VALUES ('18','41','0');
  1203. INSERT INTO `modx_site_plugin_events` VALUES ('18','73','0');
  1204. INSERT INTO `modx_site_plugin_events` VALUES ('18','35','0');
  1205. INSERT INTO `modx_site_plugin_events` VALUES ('18','29','0');
  1206. INSERT INTO `modx_site_plugin_events` VALUES ('19','42','0');
  1207. INSERT INTO `modx_site_plugin_events` VALUES ('19','41','0');
  1208. INSERT INTO `modx_site_plugin_events` VALUES ('19','40','0');
  1209. INSERT INTO `modx_site_plugin_events` VALUES ('19','36','0');
  1210. INSERT INTO `modx_site_plugin_events` VALUES ('19','35','0');
  1211. INSERT INTO `modx_site_plugin_events` VALUES ('19','34','0');
  1212. INSERT INTO `modx_site_plugin_events` VALUES ('20','53','0');
  1213. INSERT INTO `modx_site_plugin_events` VALUES ('20','29','0');
  1214. INSERT INTO `modx_site_plugin_events` VALUES ('20','28','0');
  1215. INSERT INTO `modx_site_plugin_events` VALUES ('21','13','0');
  1216. INSERT INTO `modx_site_plugin_events` VALUES ('21','28','0');
  1217. INSERT INTO `modx_site_plugin_events` VALUES ('21','31','0');
  1218. INSERT INTO `modx_site_plugin_events` VALUES ('21','92','0');
  1219. INSERT INTO `modx_site_plugin_events` VALUES ('21','3','0');
  1220. INSERT INTO `modx_site_plugin_events` VALUES ('22','49','0');
  1221. INSERT INTO `modx_site_plugin_events` VALUES ('22','47','0');
  1222. INSERT INTO `modx_site_plugin_events` VALUES ('22','46','0');
  1223. INSERT INTO `modx_site_plugin_events` VALUES ('22','51','0');
  1224. INSERT INTO `modx_site_plugin_events` VALUES ('24','20','0');
  1225. INSERT INTO `modx_site_plugin_events` VALUES ('24','91','0');
  1226. INSERT INTO `modx_site_plugin_events` VALUES ('25','29','0');
  1227. INSERT INTO `modx_site_plugin_events` VALUES ('26','30','0');
  1228. INSERT INTO `modx_site_plugin_events` VALUES ('27','205','0');
  1229. INSERT INTO `modx_site_plugin_events` VALUES ('27','53','0');
  1230. INSERT INTO `modx_site_plugin_events` VALUES ('27','35','0');
  1231. INSERT INTO `modx_site_plugin_events` VALUES ('27','31','0');
  1232. INSERT INTO `modx_site_plugin_events` VALUES ('27','30','0');
  1233. INSERT INTO `modx_site_plugin_events` VALUES ('27','29','0');
  1234. INSERT INTO `modx_site_plugin_events` VALUES ('27','28','0');
  1235. INSERT INTO `modx_site_plugin_events` VALUES ('28','85','0');
  1236. INSERT INTO `modx_site_plugin_events` VALUES ('28','87','0');
  1237. INSERT INTO `modx_site_plugin_events` VALUES ('28','88','0');
  1238. INSERT INTO `modx_site_plugin_events` VALUES ('29','88','0');
  1239. INSERT INTO `modx_site_plugin_events` VALUES ('29','87','0');
  1240. INSERT INTO `modx_site_plugin_events` VALUES ('29','85','0');
  1241. INSERT INTO `modx_site_plugin_events` VALUES ('30','28','0');
  1242. INSERT INTO `modx_site_plugin_events` VALUES ('30','29','0');
  1243. INSERT INTO `modx_site_plugin_events` VALUES ('30','30','0');
  1244. INSERT INTO `modx_site_plugin_events` VALUES ('30','31','0');
  1245. INSERT INTO `modx_site_plugin_events` VALUES ('30','35','0');
  1246. INSERT INTO `modx_site_plugin_events` VALUES ('30','53','0');
  1247. INSERT INTO `modx_site_plugin_events` VALUES ('30','205','0');
  1248. INSERT INTO `modx_site_plugin_events` VALUES ('31','201','0');
  1249. INSERT INTO `modx_site_plugin_events` VALUES ('32','98','0');
  1250.  
  1251. # --------------------------------------------------------
  1252.  
  1253. #
  1254. # Table structure for table `modx_site_plugins`
  1255. #
  1256.  
  1257. DROP TABLE IF EXISTS `modx_site_plugins`;
  1258. CREATE TABLE `modx_site_plugins` (
  1259.   `id` int(10) NOT NULL AUTO_INCREMENT,
  1260.   `name` varchar(50) NOT NULL DEFAULT '',
  1261.   `description` varchar(255) NOT NULL DEFAULT 'Plugin',
  1262.   `editor_type` int(11) NOT NULL DEFAULT '0' COMMENT '0-plain text,1-rich text,2-code editor',
  1263.   `category` int(11) NOT NULL DEFAULT '0' COMMENT 'category id',
  1264.   `cache_type` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'Cache option',
  1265.   `plugincode` mediumtext,
  1266.   `locked` tinyint(4) NOT NULL DEFAULT '0',
  1267.   `properties` text COMMENT 'Default Properties',
  1268.   `disabled` tinyint(4) NOT NULL DEFAULT '0' COMMENT 'Disables the plugin',
  1269.   `moduleguid` varchar(32) NOT NULL DEFAULT '' COMMENT 'GUID of module from which to import shared parameters',
  1270.   PRIMARY KEY (`id`)
  1271. ) ENGINE=MyISAM AUTO_INCREMENT=33 DEFAULT CHARSET=utf8 COMMENT='Contains the site plugins.';
  1272.  
  1273. #
  1274. # Dumping data for table `modx_site_plugins`
  1275. #
  1276.  
  1277. INSERT INTO `modx_site_plugins` VALUES ('16','TreeSelectTV','','0','7','0','//<?php\n\n//:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::\n//\n//  @name       TreeSelectTV\n//  @category   plugin\n//  @version    0.2.1\n//  @for        MODX Evolution\n//\n//\n//  @license    http://www.gnu.org/copyleft/gpl.html GNU Public License (GPL)\n//  @author     sam (sam@gmx-topmail.de)\n//  @www        https://github.com/Sammyboy/TreeSelectTV-plugin\n//\n/*  @internal   @plugin configuration:\n\n&pluginPath=Plugin path;string;assets/plugins/TreeSelect/\n&input_tvids=TV IDs;string;\n&input_tplids=Template IDs;string;\n&input_roles=Roles;string;\n&input_status=Inputfield status;list;hide,show,toggle;hide\n&list_separator=Separator;string;/\n&list_depth=Tree depth;int;-1\n&list_sortBy=Sort by;list;unsorted,name,size;name\n&list_sortDir=Sort direction;list;asc,desc;asc\n&list_sortFirst=Sort first;list;not set,folders,files;folders\n&list_hideOnSelect=Hide on select;list;yes,no;no\n&list_image_view=Image preview;list;yes,no;yes\n&list_path_base=Path base;list;Start folder,Website base,Server root;Start folder\n&list_folders__base=Base folder (leave empty for MODX base path);string;\n&list_folders__start=Start folder;string;assets/files\n&list_folders__filter=Folders to ignore (reg. expr.);string;^\\.+\n&list_folders__accept=Folders to accept (reg. expr.);string;.*\n&list_folders__show_size=Show folder sizes;list;yes,no;yes\n&list_folders__only=Folders only;list;yes,no;no\n&list_files__filter=Files to ignore;string;^\\.+\n&list_files__accept=Files to accept;string;.*\n&list_files__show_size=Show file sizes;list;yes,no;yes\n&list_files__skip_0b=Skip empty files;list;yes,no;no\n&list_files__maxsize=Max. filesize;int;-1\n&list_files__minsize=Min. filesize;int;-1\n&list_files__only=Files only;list;yes,no;no\n&list_size_decimals=Number of decimals to display;int;2\n\n*/\n//  @internal   @events OnDocFormRender\n//\n//:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::\n\n$_ts_error = \"<strong>TreeSelect plugin error</strong>: \";\n\nif (!strlen($pluginPath)) { print_r($_ts_error.\"Plugin path is not set!\"); return; }\n$pluginPath = MODX_BASE_PATH.trim($pluginPath, \'/\').\'/\';\n\ninclude $pluginPath.\"TreeSelect.core.php\";\n','0','&pluginPath=Путь до плагина;string;assets/plugins/TreeSelect/ &input_tvids=ID ТВ-параметра;string;7 &input_tplids=ID Шаблона;string;5 &input_roles=Роль;string; &input_status=Вид поля ввода;list;hide,show,toggle;toggle &list_separator=Разделитель;string;/ &list_depth=Глубина дерева;int;-1 &list_sortBy=Сортировка;list;unsorted,name,size;name &list_sortDir=Направление сортировки;list;asc,desc;asc &list_sortFirst=Сортировать сначала;list;not set,folders,files;folders &list_hideOnSelect=Скрывать при выборе;list;yes,no;no &list_image_view=Показывать изображения;list;yes,no;yes &list_path_base=Директория;list;Start folder,Website base,Server root;Website base &list_folders__base=Начальная папка (Оставьте пустым, если установка MODx была по умолчанию);string; &list_folders__start=Start folder;string;assets/images &list_folders__filter=Скрывать папки (reg. expr.);string;^\\.+ &list_folders__accept=Показывать папки (reg. expr.);string;.* &list_folders__show_size=Показывать размер папок;list;yes,no;yes &list_folders__only=Только папки;list;yes,no;no &list_files__filter=Файлы для пропуска;string;^\\.+ &list_files__accept=Обязательные файлы;string;.* &list_files__show_size=Показывать размер файлов;list;yes,no;yes &list_files__skip_0b=Пропускать пустые файлы;list;yes,no;yes &list_files__maxsize=Макс. размер файла;int;-1 &list_files__minsize=Min. filesize;int;-1 &list_files__only=Только файлы;list;yes,no;no &list_size_decimals=Number of decimals to display;int;2','1',' ');
  1278. INSERT INTO `modx_site_plugins` VALUES ('4','Search Highlight','<strong>1.5</strong> Used with AjaxSearch to show search terms highlighted on page linked from search results','0','4','0','/*\n  ------------------------------------------------------------------------\n  Plugin: Search_Highlight v1.5\n  ------------------------------------------------------------------------\n  Changes:\n  18/03/10 - Remove possibility of XSS attempts being passed in the URL\n           - look-behind assertion improved\n  29/03/09 - Removed urldecode calls;\n           - Added check for magic quotes - if set, remove slashes\n           - Highlights terms searched for when target is a HTML entity\n  18/07/08 - advSearch parameter and pcre modifier added\n  10/02/08 - Strip_tags added to avoid sql injection and XSS. Use of $_REQUEST\n  01/03/07 - Added fies/updates from forum from users mikkelwe/identity\n  (better highlight replacement, additional div around term/removal message)\n  ------------------------------------------------------------------------\n  Description: When a user clicks on the link from the AjaxSearch results\n    the target page will have the terms highlighted.\n  ------------------------------------------------------------------------\n  Created By:  Susan Ottwell (sottwell@sottwell.com)\n               Kyle Jaebker (kjaebker@muddydogpaws.com)\n\n  Refactored by Coroico (www.evo.wangba.fr) and TS\n  ------------------------------------------------------------------------\n  Based off the the code by Susan Ottwell (www.sottwell.com)\n    http://forums.modx.com/thread/47775/plugin-highlight-search-terms\n  ------------------------------------------------------------------------\n  CSS:\n    The classes used for the highlighting are the same as the AjaxSearch\n  ------------------------------------------------------------------------\n  Notes:\n    To add a link to remove the highlighting and to show the searchterms\n    put the following on your page where you would like this to appear:\n\n      <!--search_terms-->\n\n    Example output for this:\n\n      Search Terms: the, template\n      Remove Highlighting\n\n    Set the following variables to change the text:\n\n      $termText - the text before the search terms\n      $removeText - the text for the remove link\n  ------------------------------------------------------------------------\n*/\nglobal $database_connection_charset;\n// Conversion code name between html page character encoding and Mysql character encoding\n// Some others conversions should be added if needed. Otherwise Page charset = Database charset\n$pageCharset = array(\n  \'utf8\' => \'UTF-8\',\n  \'latin1\' => \'ISO-8859-1\',\n  \'latin2\' => \'ISO-8859-2\'\n);\n\nif (isset($_REQUEST[\'searched\']) && isset($_REQUEST[\'highlight\'])) {\n\n  // Set these to customize the text for the highlighting key\n  // --------------------------------------------------------\n     $termText = \'<div class=\"searchTerms\">Search Terms: \';\n     $removeText = \'Remove Highlighting\';\n  // --------------------------------------------------------\n\n  $highlightText = $termText;\n  $advsearch = \'oneword\';\n\n  $dbCharset = $database_connection_charset;\n  $pgCharset = array_key_exists($dbCharset,$pageCharset) ? $pageCharset[$dbCharset] : $dbCharset;\n\n  // magic quotes check\n  if (get_magic_quotes_gpc()){\n    $searched = strip_tags(stripslashes($_REQUEST[\'searched\']));\n    $highlight = strip_tags(stripslashes($_REQUEST[\'highlight\']));\n    if (isset($_REQUEST[\'advsearch\'])) $advsearch = strip_tags(stripslashes($_REQUEST[\'advsearch\']));\n  }\n  else {\n    $searched = strip_tags($_REQUEST[\'searched\']);\n    $highlight = strip_tags($_REQUEST[\'highlight\']);\n    if (isset($_REQUEST[\'advsearch\'])) $advsearch = strip_tags($_REQUEST[\'advsearch\']);\n  }\n\n  if ($advsearch != \'nowords\') {\n\n    $searchArray = array();\n    if ($advsearch == \'exactphrase\') $searchArray[0] = $searched;\n    else $searchArray = explode(\' \', $searched);\n\n    $searchArray = array_unique($searchArray);\n    $nbterms = count($searchArray);\n    $searchTerms = array();\n    for($i=0;$i<$nbterms;$i++){\n      // Consider all possible combinations\n      $word_ents = array();\n      $word_ents[] = $searchArray[$i];\n      $word_ents[] = htmlentities($searchArray[$i], ENT_NOQUOTES, $pgCharset);\n      $word_ents[] = htmlentities($searchArray[$i], ENT_COMPAT, $pgCharset);\n      $word_ents[] = htmlentities($searchArray[$i], ENT_QUOTES, $pgCharset);\n      // Avoid duplication\n      $word_ents = array_unique($word_ents);\n      foreach($word_ents as $word) $searchTerms[]= array(\'term\' => $word, \'class\' => $i+1);\n    }\n\n    $output = $modx->documentOutput; // get the parsed document\n    $body = explode(\"<body\", $output); // break out the head\n\n    $highlightClass = explode(\' \',$highlight); // break out the highlight classes\n    /* remove possibility of XSS attempts being passed in URL */\n    foreach ($highlightClass as $key => $value) {\n       $highlightClass[$key] = preg_match(\'/[^A-Za-z0-9_-]/ms\', $value) == 1 ? \'\' : $value;\n    }\n\n    $pcreModifier = ($pgCharset == \'UTF-8\') ? \'iu\' : \'i\';\n    $lookBehind = \'/(?<!&|&[\\w#]|&[\\w#]\\w|&[\\w#]\\w\\w|&[\\w#]\\w\\w\\w|&[\\w#]\\w\\w\\w\\w|&[\\w#]\\w\\w\\w\\w\\w)\';  // avoid a match with a html entity\n    $lookAhead = \'(?=[^>]*<)/\'; // avoid a match with a html tag\n\n    $nbterms = count($searchTerms);\n    for($i=0;$i<$nbterms;$i++){\n      $word = $searchTerms[$i][\'term\'];\n      $class = $highlightClass[0].\' \'.$highlightClass[$searchTerms[$i][\'class\']];\n\n      $highlightText .= ($i > 0) ? \', \' : \'\';\n      $highlightText .= \'<span class=\"\'.$class.\'\">\'.$word.\'</span>\';\n\n      $pattern = $lookBehind . preg_quote($word, \'/\') . $lookAhead . $pcreModifier;\n      $replacement = \'<span class=\"\' . $class . \'\">${0}</span>\';\n      $body[1] = preg_replace($pattern, $replacement, $body[1]);\n    }\n\n    $output = implode(\"<body\", $body);\n\n    $removeUrl = $modx->makeUrl($modx->documentIdentifier);\n    $highlightText .= \'<br /><a href=\"\'.$removeUrl.\'\" class=\"ajaxSearch_removeHighlight\">\'.$removeText.\'</a></div>\';\n\n    $output = str_replace(\'<!--search_terms-->\',$highlightText,$output);\n    $modx->documentOutput = $output;\n  }\n}','0','','0','');
  1279. INSERT INTO `modx_site_plugins` VALUES ('11','Forgot Manager Login','<strong>1.1.6</strong> Resets your manager login when you forget your password via email confirmation','0','3','0','require MODX_BASE_PATH.\'assets/plugins/forgotmanagerlogin/plugin.forgotmanagerlogin.php\';','0','','0',' ');
  1280. INSERT INTO `modx_site_plugins` VALUES ('21','Quick Manager+','<strong>1.5.6</strong> Enables QuickManager+ front end content editing support','0','3','0','// In manager\nif (isset($_SESSION[\'mgrValidated\'])) {\n\n    $show = TRUE;\n\n    if ($disabled  != \'\') {\n        $arr = array_filter(array_map(\'intval\', explode(\',\', $disabled)));\n        if (in_array($modx->documentIdentifier, $arr)) {\n            $show = FALSE;\n        }\n    }\n\n    if ($show) {\n        // Replace [*#tv*] with QM+ edit TV button placeholders\n        if ($tvbuttons == \'true\') {\n            $e = $modx->Event;\n            if ($e->name == \'OnParseDocument\') {\n                 $output = &$modx->documentOutput;\n                 $output = preg_replace(\'~\\[\\*#(.*?)\\*\\]~\', \'<!-- \'.$tvbclass.\' $1 -->[*$1*]\', $output);\n                 $modx->documentOutput = $output;\n             }\n         }\n        // In manager\n        if (isset($_SESSION[\'mgrValidated\'])) {\n            include_once($modx->config[\'base_path\'].\'assets/plugins/qm/qm.inc.php\');\n            $qm = new Qm($modx, $jqpath, $loadmanagerjq, $loadfrontendjq, $noconflictjq, $loadtb, $tbwidth, $tbheight, $hidefields, $hidetabs, $hidesections, $addbutton, $tpltype, $tplid, $custombutton, $managerbutton, $logout, $autohide, $editbuttons, $editbclass, $newbuttons, $newbclass, $tvbuttons, $tvbclass);\n        }\n    }\n}','0','&jqpath=Path to jQuery;text;assets/js/jquery.min.js &loadmanagerjq=Load jQuery in manager;list;true,false;false &loadfrontendjq=Load jQuery in front-end;list;true,false;true &noconflictjq=jQuery noConflict mode in front-end;list;true,false;true &loadtb=Load modal box in front-end;list;true,false;true &tbwidth=Modal box window width;text;80% &tbheight=Modal box window height;text;90% &hidefields=Hide document fields from front-end editors;text;parent &hidetabs=Hide document tabs from front-end editors;text; &hidesections=Hide document sections from front-end editors;text; &addbutton=Show add document here button;list;true,false;true &tpltype=New document template type;list;parent,id,selected;parent &tplid=New document template id;int;3 &custombutton=Custom buttons;textarea; &managerbutton=Show go to manager button;list;true,false;true &logout=Logout to;list;manager,front-end;manager &disabled=Plugin disabled on documents;text; &autohide=Autohide toolbar;list;true,false;true &editbuttons=Inline edit buttons;list;true,false;false &editbclass=Edit button CSS class;text;qm-edit &newbuttons=Inline new resource buttons;list;true,false;false &newbclass=New resource button CSS class;text;qm-new &tvbuttons=Inline template variable buttons;list;true,false;false &tvbclass=Template variable button CSS class;text;qm-tv &1=undefined;; ','1',' ');
  1281. INSERT INTO `modx_site_plugins` VALUES ('15','TransAlias','<strong>1.0.2</strong> Human readible URL translation supporting multiple languages and overrides','0','0','0','require MODX_BASE_PATH.\'assets/plugins/transalias/plugin.transalias.php\';','0','&table_name=Trans table;list;common,russian,dutch,german,czech,utf8,utf8lowercase;russian &char_restrict=Restrict alias to;list;lowercase alphanumeric,alphanumeric,legal characters;legal characters &remove_periods=Remove Periods;list;Yes,No;No &word_separator=Word Separator;list;dash,underscore,none;dash &override_tv=Override TV name;string; ','0',' ');
  1282. INSERT INTO `modx_site_plugins` VALUES ('22','Manage TVs on Template','<strong>0.3.4</strong> Manage TV assignments on template-page','0','0','0','include MODX_BASE_PATH . \'assets/plugins/tvs_on_template/plugin.php\';\n','0','&use_cm  = <h5>Categories Manager in use?</h5><p>What\'s that?</p><p>The categories could displayed by a ordered ranking.<br><strong>If true and the Manager is not installed, an error will occur</strong></p><p>Please visit: http://modxcms.com/extras/package/587</p>;list;true,false;false','0',' ');
  1283. INSERT INTO `modx_site_plugins` VALUES ('17','AddVersion','Добавляет постфикс с версией к CSS и JS файлам с датой редактирования  * Работает с локальными файлами на сервере','0','3','0','//<?php\n/**\n * AddVersion\n *\n * Add postfix-version to CSS and JS files width edit date | Добавляет постфикс с версией к CSS и JS файлам с датой редактирования\n * Работает с локальными файлами на сервере\n *\n * @category    plugin\n * @version     0.2\n * @license     http://www.gnu.org/copyleft/gpl.html GNU Public License (GPL)\n * @author      a-sharapov\n * @internal    @properties &noshow=Имена файлов, которые не должны включать постфикс;string;\n * @internal    @events OnWebPagePrerender\n */\n\n$filehref = \'\';\n\n$noshow = (isset($noshow)) ? $noshow : \'\';\n$noshow = explode(\",\", $noshow);\n\n$domain = $modx->config[\'site_url\'];\n\n$e = &$modx->Event;\nif ($e->name == \'OnWebPagePrerender\') {\n\n        $o = $modx->documentOutput;\n\n        function av_clear_name($in, $end) {\n                preg_match(\'/\\/([A-Za-z0-9-\\.]+)(?=\\.\'.$end.\')/i\', $in, $out);\n                $out = $out[1];\n                return $out;\n        }\n\n        /* CSS */\n        preg_match_all(\'/<link[^>]*text\\/css[^>]*>/im\', $o, $styles);\n        $styles = $styles[0];\n\n        foreach($styles as $style) {\n                preg_match(\'/href=\"([^\"]*)\"/\', $style, $filehref);\n                if (isset($filehref)) {\n                        if (preg_match(\'/\\/assets/\', $filehref[1]) == 1) {\n                                if (preg_match(\'/http/\', $filehref[1]) == 1) {\n                                        $filehref = str_replace($domain, \"\", $filehref[1]);\n                                } else {\n                                        $filehref = substr($filehref[1], 1);\n                                }\n                        } else {\n                                $filehref = $filehref[1];\n                        }\n                        $filehrefclear = av_clear_name($filehref, \'css\');\n                        if (file_exists($filehref) and !in_array($filehrefclear, $noshow)) {\n                                $version = \'?ver=\'.date(\"d-F-H-i\",filemtime($filehref));\n                                $o = str_replace($filehref,$filehref.$version,$o);\n                        }\n                }\n        }\n\n        /* JS */\n        preg_match_all(\'/<script[^>]*text\\/javascript[^>]*>/im\', $o, $scripts);\n        $scripts = $scripts[0];\n\n        foreach($scripts as $script) {\n                preg_match(\'/src=\"([^\"]*)\"/\', $script, $filehref);\n                if (isset($filehref)) {\n                        if (preg_match(\'/\\/assets/\', $filehref[1]) == 1) {\n                                if (preg_match(\'/http/\', $filehref[1]) == 1) {\n                                        $filehref = str_replace($domain, \"\", $filehref[1]);\n                                } else {\n                                        $filehref = substr($filehref[1], 1);\n                                }\n                        } else {\n                                $filehref = $filehref[1];\n                        }\n                        $filehrefclear = av_clear_name($filehref, \'js\');\n                        if (file_exists($filehref) and !in_array($filehrefclear, $noshow)) {\n                                $version = \'?ver=\'.date(\"d-F-H-i\",filemtime($filehref));\n                                $o = str_replace($filehref,$filehref.$version,$o);\n                        }\n                }\n        }\n\n        /* OUT */\n        $modx->documentOutput = $o;\n\n}\n','1','&noshow=Имена файлов, которые не должны включать постфикс;string;','0',' ');
  1284. INSERT INTO `modx_site_plugins` VALUES ('18','CodeMirror','<strong>1.2b</strong> JavaScript library that can be used to create a relatively pleasant editor interface based on CodeMirrir 3.13','0','3','0','$_CM_BASE = \'assets/plugins/codemirror/\';\n\n$_CM_URL = $modx->config[\'site_url\'] . $_CM_BASE;\n\nrequire(MODX_BASE_PATH. $_CM_BASE .\'codemirror.plugin.php\');\n\n','0','&theme=Theme;list;default,ambiance,blackboard,cobalt,eclipse,elegant,erlang-dark,lesser-dark,midnight,monokai,neat,night,rubyblue,solarized,twilight,vibrant-ink,xq-dark,xq-light;default &indentUnit=Indent unit;int;4 &tabSize=The width of a tab character;int;4 &lineWrapping=lineWrapping;list;true,false;true &matchBrackets=matchBrackets;list;true,false;false &activeLine=activeLine;list;true,false;false &emmet=emmet;list;true,false;true &search=search;list;true,false;true ','0',' ');
  1285. INSERT INTO `modx_site_plugins` VALUES ('19','FileSource','<strong>0.1</strong> Save snippet and plugins to file','0','3','0','require MODX_BASE_PATH.\'assets/plugins/filesource/plugin.filesource.php\';','0','','0','');
  1286. INSERT INTO `modx_site_plugins` VALUES ('24','ajaxSubmit','<strong>1.0</strong> Ajax sending of any form','0','0','0','if(!isset($post_signal)) $post_signal = \'ajax_submit\';\nif(!isset($check_referer)) $check_referer = \'yes\';\n\n$e = $modx->Event;\n\nif ($e->name == \'OnLoadWebDocument\' || $e->name == \'OnLoadWebPageCache\'){\n  \n  $output = \'\';\n  \n  $referer_valid = $check_referer==\'yes\' ? in_array(strpos($_SERVER[\'HTTP_REFERER\'],$_SERVER[\'HTTP_HOST\']),array(7,8)) : true;\n  \n  if(isset($_SERVER[\'HTTP_X_REQUESTED_WITH\']) && strtolower($_SERVER[\'HTTP_X_REQUESTED_WITH\']) == \'xmlhttprequest\' && $referer_valid){\n    \n    if(isset($_POST[$post_signal])){\n        \n        class exDocumentParser extends DocumentParser {\n          function sendRedirect() {\n            return true;\n          }\n          function innerHTML($node){\n            $doc = new DOMDocument();\n            foreach ($node->childNodes as $child)\n                $doc->appendChild($doc->importNode($child, true));\n            return $doc->saveHTML();\n          }\n        }\n        \n        $xpath = $_POST[$post_signal];\n        \n        define(AS_PATH, MODX_BASE_PATH.\'assets/plugins/ajax_submit/\');\n        define(AS_URL_PATH, MODX_BASE_URL.\'assets/plugins/ajax_submit/\');\n        \n        $parser = new exDocumentParser;\n        $parser->db->connect();\n        $parser->getSettings();\n        $parser->config = $modx->config;\n        $parser->documentObject = $modx->documentObject;\n        $parser->documentIdentifier = $modx->documentIdentifier;\n        $parser->aliasListing = $modx->aliasListing;\n        $parser->snippetCache = $modx->snippetCache;\n        $parser->chunkCache = $modx->chunkCache;\n        $parser->documentListing = $modx->documentListing;\n        $parser->documentMap = $modx->documentMap;\n        \n        $html = $modx->documentContent;\n        $html = $parser->mergeChunkContent($html);\n        $html = $parser->mergeDocumentContent($html);\n        $html = $parser->mergeSettingsContent($html);\n        $html = $parser->parseDocumentSource($html);\n        if(strpos($html, \'[!\') > -1){\n            $html = str_replace(array(\'[!\',\'!]\'),array(\'[[\',\']]\'),$html);\n            $html = $parser->parseDocumentSource($html);\n        }\n        $html = $parser->rewriteUrls($html);\n        \n        if($modx->config[\'modx_charset\']==\"UTF-8\"){\n            $html = mb_convert_encoding($html, \'HTML-ENTITIES\', \'utf-8\');\n        }\n        \n        //search snippet content in html\n        require_once AS_PATH.\'Dom/Query.php\';\n        $dom = new Zend_Dom_Query($html);\n        $results = $dom->query($xpath);\n        if (count($results) > 0){\n            $output = $parser->innerHTML($results->current());\n            $output = trim($output);\n        }\n        \n        if(!$output) $output = \'success\';\n        \n        echo $output;\n        exit;\n        \n    }\n    \n  }\n  \n}\n','0','&post_signal=Post signal name;string;ajax_submit &check_referer=Check referer;list;yes,no;yes','0',' ');
  1287. INSERT INTO `modx_site_plugins` VALUES ('25','systemField','<strong>1.3</strong> The plugin allows you to add ','0','0','0','/*\nsystemField 1.3 plugin for MODx Evo\nThe plugin allows you to add \"system\" data in a separate field, which will be displayed along with the page content.\nby Andhir\nСделано для студии \"Симпл дрим\" - http://www.simpledream.ru/\n-----------------------------------------\nSystem event: OnDocFormRender\nConfigurtion:\n&separator=Separator;string;<!-- hr --> &open_text=Open link text;string;system content &position=System content position;list;before,after;after\n*/\n\ndefined(\'IN_MANAGER_MODE\') or die();\n\nif(empty($separator)) $separator = \'<!-- hr -->\';\nif(empty($open_text)) $open_text = \'system content\';\nif(empty($position)) $position = \'after\';\n\n$get_action = isset($_GET[\'a\']) ? $_GET[\'a\'] : 27;\n\n$e = &$modx->Event;\n\nif ($e->name == \'OnDocFormRender\') {\n\n$output = <<< OUT\n\n<!-- systemField -->\n<script type=\"text/javascript\">\n\nvar SFloadAction = navigator.userAgent.indexOf(\'AppleWebKit\')>-1 ? \'load\' : \'domready\';\nvar SFposition = \'{$position}\';\n\n//window.addEvent(SFloadAction, function(){\n  \n  var SFseparator = \'{$separator}\';\n  var SFsourceContentField = $(\'ta\');\n  var SFsaveButton = $(\'Button1\').getFirst(\'a\');\n  var SFcontent = SFsourceContentField.value;\n  var SFsepPos = SFcontent.indexOf(SFseparator);\n  \n  function SFonSaveContent(){\n    /*\n    if(typeof(tinyMCE)!=\'undefined\'){\n      var SFoutContent = tinyMCE.get(\'ta\').getContent()+SFseparator+SFtextarea.value;\n      tinyMCE.get(\'ta\').setContent(SFoutContent,{format : \'html\'});\n    }else{\n    */\n      if(SFtextarea.value.length>0){\n        if(SFposition==\'after\')\n          SFsourceContentField.value += SFseparator+SFtextarea.value;\n        else\n          SFsourceContentField.value = $(\'SFcontent\').value+SFseparator+SFsourceContentField.value;\n      }\n    //}\n  }\n  \n  if(SFsepPos>-1){\n    var SFsystemValue = SFposition==\'after\' ? SFcontent.substr(SFsepPos+SFseparator.length) : SFcontent.substr(0,SFsepPos);\n    SFsourceContentField.value = SFposition==\'after\' ? SFcontent.substr(0,SFsepPos) : SFcontent.substr(SFsepPos+SFseparator.length);\n  }else{\n    var SFsystemValue = \'\';\n  }\n  \n  var SFlinkOpen = new Element(\'a\',{\n    href: \'#open\',\n    events: {\n      click: function(){\n        if(SFtextarea.style.display==\'none\')\n          SFtextarea.style.display=\'inline\';\n        else\n          SFtextarea.style.display=\'none\';\n        return false;\n      }\n    },\n    styles: {display:\'block\', margin: \'10px 0\'}\n  });\n  var br = new Element(\'br\');\n  var SFtextarea = new Element(\'textarea\',{\n    cols: 300,\n    rows: 12,\n    id: \'SFcontent\',\n    styles: {width: \'400px\', height: \'200px\', display: \'none\'},\n    value: SFsystemValue\n  });\n  \n  $(\'ta\').getParent().adopt(SFlinkOpen.appendText(\'{$open_text}\'),SFtextarea);\n  \n  if($(\'which_editor\')!=null){\n    $(\'which_editor\')\n    .removeEvents(\'change\')\n    .removeProperty(\'onchange\')\n    .addEvent(\'change\',function(){\n        documentDirty=false;\n         document.mutate.a.value = {$get_action};\n        document.mutate.newtemplate.value = $(\'template\').value;\n          document.mutate.which_editor.value = this.value;\n        document.mutate.mode.value = 4; \n        SFsubmit();\n    });\n  }\n  \n  $(\'template\')\n  .removeEvents(\'change\')\n  .removeProperty(\'onchange\')\n  .addEvent(\'change\',function(){\n    documentDirty=false;\n      document.mutate.a.value = {$get_action};\n      document.mutate.newtemplate.value = this.value;\n       SFsubmit();\n  });\n  \n//});\nwindow.addEvent(\'domready\', function(){\n  if(navigator.userAgent.indexOf(\'MSIE\')>-1 && navigator.userAgent.indexOf(\'MSIE 9\')==-1) {\n    $(\'mutate\').addEvent(\'submit\',SFonSaveContent);\n    SFsubmit = function(){document.mutate.save.click();}\n  }else{\n    SFsubmit = function(){\n      $(\'mutate\').addEvent(\'submit\',SFonSaveContent);\n      document.mutate.save.click();\n    }\n  }\n  \n  SFsaveButton\n  .removeEvents(\'click\')\n  .removeProperty(\'onclick\')\n  .addEvent(\'click\',function(){\n    documentDirty = false;\n    SFsubmit();\n    return false;\n  });\n});\n</script>\n<!-- /systemField -->\n\nOUT;\n\n$e->output($output);\n\n}\n','0','&separator=Separator;string;<!-- hr --> &open_text=Open link text;string;Системный контент - только для разработчиков &position=System content position;list;before,after;after','0',' ');
  1288. INSERT INTO `modx_site_plugins` VALUES ('26','CfgTv','<strong>0.2</strong> Расширение настроек сайта','0','0','0','//<?php\n/**\n * CfgTv 0.2\n * Save TV as system setting from some resourse\n *\n *\n * @category    plugin\n * @version     0.2\n * @author      Bumkaka, Agel_Nash\n * @internal    @properties &ids=ID ресурсов настроек;text;347 &prefix=Префикс;text;cfg_\n * @internal    @events OnBeforeDocFormSave\n * @internal    @modx_category Manager and Admin\n */\n\n$e =& $modx->event;\nswitch ($e->name ) {\n    case \'OnBeforeDocFormSave\':{\n        $list_id=explode(\',\',$ids);\n        if (!in_array($_POST[\'id\'],$list_id)) return;\n        $SQL=\"SELECT * FROM \".$modx->getFullTableName(\'site_tmplvars\').\";\";\n        $result=$modx->db->query($SQL);\n        while($row=$modx->db->getRow($result)) {\n            $TVNAME[$row[\'id\']]=$row[\'name\'];\n     }\n        foreach($_POST as $key=>$value){\n           if (substr($key,0,2)!=\'tv\') continue;\n            $id=substr($key,2,strlen($key));\n            $name=$prefix.$TVNAME[$id];\n            $settings[$name]=$value;\n            $SQL=\"SELECT * FROM \".$modx->getFullTableName(\'system_settings\').\" WHERE `setting_name`=\'\".$name.\"\'\";\n            $count=$modx->db->getRow($modx->db->query($SQL));\n          if(is_array($value)) $value = serialize($value);\n          if (!empty($count[\'setting_name\'])){\n                $SQL=\"UPDATE \".$modx->getFullTableName(\'system_settings\').\" SET `setting_value`=\'\".$value.\"\' WHERE `setting_name`=\'\".$name.\"\'\";\n             $modx->db->query($SQL);\n           } else {\n              $SQL=\"INSERT into \".$modx->getFullTableName(\'system_settings\').\" SET `setting_name`=\'\".$name.\"\',`setting_value`=\'\".$value.\"\'\";\n              $modx->db->query($SQL);\n           }\n     }\n     break ;\n   }\n}','0','&ids=ID ресурсов настроек;text;288 &prefix=Префикс;text;info_','0',' ');
  1289. INSERT INTO `modx_site_plugins` VALUES ('27','ManagerManager','<strong>0.6.1</strong> Customize the MODX Manager to offer bespoke admin functions for end users.','0','3','0','// You can put your ManagerManager rules EITHER in a chunk OR in an external file - whichever suits your development style the best\n\n// To use an external file, put your rules in /assets/plugins/managermanager/mm_rules.inc.php \n// (you can rename default.mm_rules.inc.php and use it as an example)\n// The chunk SHOULD have php opening tags at the beginning and end\n\n// If you want to put your rules in a chunk (so you can edit them through the Manager),\n// create the chunk, and enter its name in the configuration tab.\n// The chunk should NOT have php tags at the beginning or end.\n\n// See also user-friendly module for editing ManagerManager configuration file ddMMEditor (http://code.divandesign.biz/modx/ddmmeditor).\n\n// ManagerManager requires jQuery 1.9.1, which is located in /assets/plugins/managermanager/js/ folder.\n\n// You don\'t need to change anything else from here onwards\n//-------------------------------------------------------\n\n// Run the main code\ninclude($modx->config[\'base_path\'].\'assets/plugins/managermanager/mm.inc.php\');','0','&remove_deprecated_tv_types_pref=Remove deprecated TV types;list;yes,no;yes &config_chunk=Configuration Chunk;text;mm_rules ','1','');
  1290. INSERT INTO `modx_site_plugins` VALUES ('28','TinyMCE Rich Text Editor','<strong>3.5.10</strong> Javascript WYSIWYG Editor','0','3','0','require MODX_BASE_PATH.\'assets/plugins/tinymce/plugin.tinymce.php\';\n','0','&customparams=Custom Parameters;textarea;valid_elements : \"*[*]\", &mce_formats=Block Formats;text;p,h1,h2,h3,h4,h5,h6,div,blockquote,code,pre &entity_encoding=Entity Encoding;list;named,numeric,raw;named &entities=Entities;text; &mce_path_options=Path Options;list;Site config,Absolute path,Root relative,URL,No convert;Site config &mce_resizing=Advanced Resizing;list;true,false;true &disabledButtons=Disabled Buttons;text; &link_list=Link List;list;enabled,disabled;enabled &webtheme=Web Theme;list;simple,editor,creative,custom;simple &webPlugins=Web Plugins;text;style,advimage,advlink,searchreplace,contextmenu,paste,fullscreen,xhtmlxtras,media &webButtons1=Web Buttons 1;text;undo,redo,selectall,|,pastetext,pasteword,|,search,replace,|,hr,charmap,|,image,link,unlink,anchor,media,|,cleanup,removeformat,|,fullscreen,code,help &webButtons2=Web Buttons 2;text;bold,italic,underline,strikethrough,sub,sup,|,|,blockquote,bullist,numlist,outdent,indent,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect,|,styleprops &webButtons3=Web Buttons 3;text; &webButtons4=Web Buttons 4;text; &webAlign=Web Toolbar Alignment;list;ltr,rtl;ltr &width=Width;text;95% &height=Height;text;500 ','1','');
  1291. INSERT INTO `modx_site_plugins` VALUES ('29','TinyMCE Rich Text Editor','<strong>3.5.11</strong> Javascript WYSIWYG Editor','0','3','0','require MODX_BASE_PATH.\'assets/plugins/tinymce/plugin.tinymce.php\';\n','0','&customparams=Custom Parameters;textarea;valid_elements : \"*[*]\", &mce_formats=Block Formats;text;p,h1,h2,h3,h4,h5,h6,div,blockquote,code,pre &entity_encoding=Entity Encoding;list;named,numeric,raw;named &entities=Entities;text; &mce_path_options=Path Options;list;Site config,Absolute path,Root relative,URL,No convert;Site config &mce_resizing=Advanced Resizing;list;true,false;true &disabledButtons=Disabled Buttons;text; &link_list=Link List;list;enabled,disabled;enabled &webtheme=Web Theme;list;simple,editor,creative,custom;simple &webPlugins=Web Plugins;text;style,advimage,advlink,searchreplace,contextmenu,paste,fullscreen,xhtmlxtras,media &webButtons1=Web Buttons 1;text;undo,redo,selectall,|,pastetext,pasteword,|,search,replace,|,hr,charmap,|,image,link,unlink,anchor,media,|,cleanup,removeformat,|,fullscreen,code,help &webButtons2=Web Buttons 2;text;bold,italic,underline,strikethrough,sub,sup,|,|,blockquote,bullist,numlist,outdent,indent,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect,|,styleprops &webButtons3=Web Buttons 3;text; &webButtons4=Web Buttons 4;text; &webAlign=Web Toolbar Alignment;list;ltr,rtl;ltr &width=Width;text;100% &height=Height;text;500 ','0','');
  1292. INSERT INTO `modx_site_plugins` VALUES ('30','ManagerManager','<strong>0.6.2</strong> Customize the MODX Manager to offer bespoke admin functions for end users.','0','3','0','// You can put your ManagerManager rules EITHER in a chunk OR in an external file - whichever suits your development style the best\n\n// To use an external file, put your rules in /assets/plugins/managermanager/mm_rules.inc.php \n// (you can rename default.mm_rules.inc.php and use it as an example)\n// The chunk SHOULD have php opening tags at the beginning and end\n\n// If you want to put your rules in a chunk (so you can edit them through the Manager),\n// create the chunk, and enter its name in the configuration tab.\n// The chunk should NOT have php tags at the beginning or end.\n\n// See also user-friendly module for editing ManagerManager configuration file ddMMEditor (http://code.divandesign.biz/modx/ddmmeditor).\n\n// ManagerManager requires jQuery 1.9.1, which is located in /assets/plugins/managermanager/js/ folder.\n\n// You don\'t need to change anything else from here onwards\n//-------------------------------------------------------\n\n// Run the main code\ninclude($modx->config[\'base_path\'].\'assets/plugins/managermanager/mm.inc.php\');','0','&remove_deprecated_tv_types_pref=Remove deprecated TV types;list;yes,no;yes &config_chunk=Configuration Chunk;text;mm_rules','0','');
  1293. INSERT INTO `modx_site_plugins` VALUES ('31','JotAdminNotify','<strong>0.1</strong> На главной странице админки отображается количество неопубликованных коментариев снипета JotX','0','0','0','$output = \"\";\n$e = &$modx->Event;\nif($e->name == \'OnManagerWelcomePrerender\'){\n\n    $table = $modx->getFullTableName(\'jot_content\');\n    $sitecontent = $modx->getFullTableName(\'site_content\');\n    $rs = $modx->db->query(\"SELECT count(jc.uparent) as count, jc.uparent, sc.pagetitle FROM $table jc left join $sitecontent sc on sc.id = uparent where jc.published=0 group by jc.uparent\");\n    while($row=$modx->db->GetRow($rs)){\n        if ($row[\'count\']>0){\n            $id = $row[\'uparent\'];\n            $count = $row[\'count\'];\n            $url = $modx->makeUrl($id);\n            $output .= \"<li><a href=\'$url\' target=\'_blank\'>\".$row[\'pagetitle\'].\": $count</a></li>\";\n        }\n    }\n    \n    if (!empty($output)){\n        $output = \'<div class=\"sectionHeader\" style=\"color:red\">Имеются неопубликованные комментарии</div><div class=\"sectionBody\"><ul>\'.$output.\'</ul></div>\';\n    }\n    $e->output($output);\n}\n','0','','1','');
  1294. INSERT INTO `modx_site_plugins` VALUES ('32','Clear Comments','<strong>1.0</strong> Remove comments of documents when you empty MODx Trash Can.','0','0','0','/**\n * Clear Comments Plugin: Remove comments of documents when you empty MODx Trash Can.\n * Version: 1.0\n * Event: \"OnEmptyTrash\"\n * Requirement: Jot Snippet\n * Work on: Evolution\n *\n * Author: AHHP ~ Boplo.ir\n * Date: 21 August 2009\n*/\n\ndefined(\'IN_MANAGER_MODE\') or die();\nif($modx->Event->name == \"OnEmptyTrash\")\n{\n   $where = \'uparent IN(\' .join(\',\' , $ids). \')\';\n  $jot_content = $modx->getFullTableName(\'jot_content\');\n  $jot_fields = $modx->getFullTableName(\'jot_fields\');\n    $jot_subscriptions = $modx->getFullTableName(\'jot_subscriptions\');\n  \n  \n  // If `jot_fields` exists\n if($modx->db->getRecordCount( $modx->db->query(\"SHOW TABLES LIKE \'$jot_fields\'\") ) == 1)\n  {\n     // `jot_fields` stores fields by comments ID so we need to get comments ID that are removing.\n     $commentsIds = array();\n       $select = $modx->db->select(\"id\", $jot_content, $where);\n        while($commentRow = $modx->db->getRow($select, \'num\'))\n          $commentsIds[] = $commentRow[0];\n      \n      if(count($commentsIds) > 0)\n           $modx->db->delete($jot_fields, \'id IN(\' .join(\",\",$commentsIds). \')\');\n      \n      unset($select, $commentsIds);\n }\n \n  $modx->db->delete($jot_content, $where);\n  $modx->db->delete($jot_subscriptions, $where);\n}','0','','1','');
  1295.  
  1296. # --------------------------------------------------------
  1297.  
  1298. #
  1299. # Table structure for table `modx_site_snippets`
  1300. #
  1301.  
  1302. DROP TABLE IF EXISTS `modx_site_snippets`;
  1303. CREATE TABLE `modx_site_snippets` (
  1304.   `id` int(10) NOT NULL AUTO_INCREMENT,
  1305.   `name` varchar(50) NOT NULL DEFAULT '',
  1306.   `description` varchar(255) NOT NULL DEFAULT 'Snippet',
  1307.   `editor_type` int(11) NOT NULL DEFAULT '0' COMMENT '0-plain text,1-rich text,2-code editor',
  1308.   `category` int(11) NOT NULL DEFAULT '0' COMMENT 'category id',
  1309.   `cache_type` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'Cache option',
  1310.   `snippet` mediumtext,
  1311.   `locked` tinyint(4) NOT NULL DEFAULT '0',
  1312.   `properties` text COMMENT 'Default Properties',
  1313.   `moduleguid` varchar(32) NOT NULL DEFAULT '' COMMENT 'GUID of module from which to import shared parameters',
  1314.   PRIMARY KEY (`id`)
  1315. ) ENGINE=MyISAM AUTO_INCREMENT=45 DEFAULT CHARSET=utf8 COMMENT='Contains the site snippets.';
  1316.  
  1317. #
  1318. # Dumping data for table `modx_site_snippets`
  1319. #
  1320.  
  1321. INSERT INTO `modx_site_snippets` VALUES ('1','AjaxSearch','<strong>1.10.0</strong> Ajax and non-Ajax search that supports results highlighting','0','4','0','return require MODX_BASE_PATH.\'assets/snippets/ajaxSearch/snippet.ajaxSearch.php\';','0','','');
  1322. INSERT INTO `modx_site_snippets` VALUES ('2','Breadcrumbs','<strong>1.0.4</strong> Configurable breadcrumb page-trail navigation','0','5','0','return require MODX_BASE_PATH.\'assets/snippets/breadcrumbs/snippet.breadcrumbs.php\';','0','','');
  1323. INSERT INTO `modx_site_snippets` VALUES ('3','Ditto','<strong>2.1.1</strong> Summarizes and lists pages to create blogs, catalogs, PR archives, bio listings and more','0','6','0','return require MODX_BASE_PATH.\'assets/snippets/ditto/snippet.ditto.php\';','0','','');
  1324. INSERT INTO `modx_site_snippets` VALUES ('39','DocInfo','<strong>1</strong> Берем любое поле из любого документа (меньше запросов по сравнению с GetField)','0','12','0','return require MODX_BASE_PATH.\'assets/snippets/docinfo/snippet.docinfo.php\';','0','','');
  1325. INSERT INTO `modx_site_snippets` VALUES ('4','eForm','<strong>1.4.6</strong> Robust form parser/processor with validation, multiple sending options, chunk/page support for forms and reports, and file uploads','0','7','0','return require MODX_BASE_PATH.\'assets/snippets/eform/snippet.eform.php\';','0','',' ');
  1326. INSERT INTO `modx_site_snippets` VALUES ('5','FirstChildRedirect','<strong>2.0</strong> Automatically redirects to the first child of a Container Resource','0','5','0','return require MODX_BASE_PATH.\'assets/snippets/firstchildredirect/snippet.firstchildredirect.php\';','0','','');
  1327. INSERT INTO `modx_site_snippets` VALUES ('6','JotX','<strong>1.1</strong> User comments with moderation and email subscription','0','6','0','return require MODX_BASE_PATH.\'assets/snippets/jot/snippet.jot.php\';','0','',' ');
  1328. INSERT INTO `modx_site_snippets` VALUES ('7','ListIndexer','<strong>1.0.1</strong> A flexible way to show the most recent Resources and other Resource lists','0','5','0','return require MODX_BASE_PATH.\'assets/snippets/listindexer/snippet.listindexer.php\';','0','','');
  1329. INSERT INTO `modx_site_snippets` VALUES ('8','MemberCheck','<strong>1.1</strong> Show chunks based on a logged in Web User\'s group membership','0','2','0','return require MODX_BASE_PATH.\'assets/snippets/membercheck/snippet.membercheck.php\';','0','','');
  1330. INSERT INTO `modx_site_snippets` VALUES ('9','Personalize','<strong>2.1</strong> Personalize snippet','0','2','0','return require MODX_BASE_PATH.\'assets/snippets/personalize/snippet.personalize.php\';','0','','');
  1331. INSERT INTO `modx_site_snippets` VALUES ('10','Reflect','<strong>2.1.0</strong> Generates date-based archives using Ditto','0','6','0','/*\n * Author: \n *      Mark Kaplan for MODX CMF\n * \n * Note: \n *      If Reflect is not retrieving its own documents, make sure that the\n *          Ditto call feeding it has all of the fields in it that you plan on\n *       calling in your Reflect template. Furthermore, Reflect will ONLY\n *          show what is currently in the Ditto result set.\n *       Thus, if pagination is on it will ONLY show that page\'s items.\n*/\n \n\n// ---------------------------------------------------\n//  Includes\n// ---------------------------------------------------\n\n$reflect_base = isset($reflect_base) ? $modx->config[\'base_path\'].$reflect_base : $modx->config[\'base_path\'].\"assets/snippets/reflect/\";\n/*\n    Param: ditto_base\n    \n    Purpose:\n    Location of Ditto files\n\n    Options:\n    Any valid folder location containing the Ditto source code with a trailing slash\n\n    Default:\n    [(base_path)]assets/snippets/ditto/\n*/\n\n$config = (isset($config)) ? $config : \"default\";\n/*\n    Param: config\n\n    Purpose:\n    Load a custom configuration\n\n    Options:\n    \"default\" - default blank config file\n    CONFIG_NAME - Other configs installed in the configs folder or in any folder within the MODX base path via @FILE\n\n    Default:\n    \"default\"\n    \n    Related:\n    - <extenders>\n*/\n\nrequire($reflect_base.\"configs/default.config.php\");\nrequire($reflect_base.\"default.templates.php\");\nif ($config != \"default\") {\n    require((substr($config, 0, 5) != \"@FILE\") ? $reflect_base.\"configs/$config.config.php\" : $modx->config[\'base_path\'].trim(substr($config, 5)));\n}\n\n// ---------------------------------------------------\n//  Parameters\n// ---------------------------------------------------\n\n$id = isset($id) ? $id.\"_\" : false;\n/*\n    Param: id\n\n    Purpose:\n    Unique ID for this Ditto instance for connection with other scripts (like Reflect) and unique URL parameters\n\n    Options:\n    Any valid folder location containing the Ditto source code with a trailing slash\n\n    Default:\n    \"\" - blank\n*/\n$getDocuments = isset($getDocuments) ? $getDocuments : 0;\n/*\n    Param: getDocuments\n\n    Purpose:\n    Force Reflect to get documents\n\n    Options:\n    0 - off\n    1 - on\n    \n    Default:\n    0 - off\n*/\n$showItems = isset($showItems) ? $showItems : 1;\n/*\n    Param: showItems\n\n    Purpose:\n    Show individual items in the archive\n\n    Options:\n    0 - off\n    1 - on\n    \n    Default:\n    1 - on\n*/\n$groupByYears = isset($groupByYears)? $groupByYears : 1;\n/*\n    Param: groupByYears\n\n    Purpose:\n    Group the archive by years\n\n    Options:\n    0 - off\n    1 - on\n    \n    Default:\n    1 - on\n*/\n$targetID = isset($targetID) ? $targetID : $modx->documentObject[\'id\'];\n/*\n    Param: targetID\n\n    Purpose:\n    ID for archive links to point to\n\n    Options:\n    Any MODX document with a Ditto call setup with extenders=`dateFilter`\n    \n    Default:\n    Current MODX Document\n*/\n$dateSource = isset($dateSource) ? $dateSource : \"createdon\";\n/*\n    Param: dateSource\n\n    Purpose:\n    Date source to display for archive items\n\n    Options:\n    # - Any UNIX timestamp from MODX fields or TVs such as createdon, pub_date, or editedon\n    \n    Default:\n    \"createdon\"\n    \n    Related:\n    - <dateFormat>\n*/\n$dateFormat = isset($dateFormat) ? $dateFormat : \"%d-%b-%y %H:%M\";  \n/*\n    Param: dateFormat\n\n    Purpose:\n    Format the [+date+] placeholder in human readable form\n\n    Options:\n    Any PHP valid strftime option\n\n    Default:\n    \"%d-%b-%y %H:%M\"\n    \n    Related:\n    - <dateSource>\n*/\n$yearSortDir = isset($yearSortDir) ? $yearSortDir : \"DESC\";\n/*\n    Param: yearSortDir\n\n    Purpose:\n    Direction to sort documents\n\n    Options:\n    ASC - ascending\n    DESC - descending\n\n    Default:\n    \"DESC\"\n    \n    Related:\n    - <monthSortDir>\n*/\n$monthSortDir = isset($monthSortDir) ? $monthSortDir : \"ASC\";\n/*\n    Param: monthSortDir\n\n    Purpose:\n    Direction to sort the months\n\n    Options:\n    ASC - ascending\n    DESC - descending\n\n    Default:\n    \"ASC\"\n    \n    Related:\n    - <yearSortDir>\n*/\n$start = isset($start)? intval($start) : 0;\n/*\n    Param: start\n\n    Purpose:\n    Number of documents to skip in the results\n    \n    Options:\n    Any number\n\n    Default:\n    0\n*/  \n$phx = (isset($phx))? $phx : 1;\n/*\n    Param: phx\n\n    Purpose:\n    Use PHx formatting\n\n    Options:\n    0 - off\n    1 - on\n    \n    Default:\n    1 - on\n*/\n\n// ---------------------------------------------------\n//  Initialize Ditto\n// ---------------------------------------------------\n$placeholder = ($id != false && $getDocuments == 0) ? true : false;\nif ($placeholder === false) {\n    $rID = \"reflect_\".rand(1,1000);\n    $itemTemplate = isset($tplItem) ? $tplItem: \"@CODE:\".$defaultTemplates[\'item\'];\n    $dParams = array(\n        \"id\" => \"$rID\",\n        \"save\" => \"3\",  \n        \"summarize\" => \"all\",\n        \"tpl\" => $itemTemplate,\n    );\n    \n    $source = $dittoSnippetName;\n    $params = $dittoSnippetParameters;\n        // TODO: Remove after 3.0\n        \n    if (isset($params)) {\n        $givenParams = explode(\"|\",$params);\n        foreach ($givenParams as $parameter) {\n            $p = explode(\":\",$parameter);\n            $dParams[$p[0]] = $p[1];\n        }\n    }\n    /*\n        Param: params\n\n        Purpose:\n        Pass parameters to the Ditto instance used to retreive the documents\n\n        Options:\n        Any valid ditto parameters in the format name:value \n        with multiple parameters separated by a pipe (|)\n        \n        Note:\n        This parameter is only needed for config, start, and phx as you can\n        now simply use the parameter as if Reflect was Ditto\n\n        Default:\n        [NULL]\n    */\n    \n    $reflectParameters = array(\'reflect_base\',\'config\',\'id\',\'getDocuments\',\'showItems\',\'groupByYears\',\'targetID\',\'yearSortDir\',\'monthSortDir\',\'start\',\'phx\',\'tplContainer\',\'tplYear\',\'tplMonth\',\'tplMonthInner\',\'tplItem\',\'save\');\n    $params =& $modx->event->params;\n    if(is_array($params)) {\n        foreach ($params as $param=>$value) {\n            if (!in_array($param,$reflectParameters) && substr($param,-3) != \'tpl\') {\n                $dParams[$param] = $value;\n            }\n        }\n    }\n\n    $source = isset($source) ? $source : \"Ditto\";\n    /*\n        Param: source\n\n        Purpose:\n        Name of the Ditto snippet to use\n\n        Options:\n        Any valid snippet name\n\n        Default:\n        \"Ditto\"\n    */\n    $snippetOutput = $modx->runSnippet($source,$dParams);\n    $ditto = $modx->getPlaceholder($rID.\"_ditto_object\");\n    $resource = $modx->getPlaceholder($rID.\"_ditto_resource\");\n} else {\n    $ditto = $modx->getPlaceholder($id.\"ditto_object\");\n    $resource = $modx->getPlaceholder($id.\"ditto_resource\");\n}\nif (!is_object($ditto) || !isset($ditto) || !isset($resource)) {\n    return !empty($snippetOutput) ? $snippetOutput : \"The Ditto object is invalid. Please check it.\";\n}\n\n// ---------------------------------------------------\n//  Templates\n// ---------------------------------------------------\n\n$templates[\'tpl\'] = isset($tplContainer) ? $ditto->template->fetch($tplContainer): $defaultTemplates[\'tpl\'];\n/*\n    Param: tplContainer\n\n    Purpose:\n    Container template for the archive\n\n    Options:\n    - Any valid chunk name\n    - Code via @CODE:\n    - File via @FILE:\n\n    Default:\n    See default.tempates.php\n*/\n$templates[\'year\'] = isset($tplYear) ? $ditto->template->fetch($tplYear): $defaultTemplates[\'year\'];\n/*\n    Param: tplYear\n\n    Purpose:\n    Template for the year item\n\n    Options:\n    - Any valid chunk name\n    - Code via @CODE:\n    - File via @FILE:\n\n    Default:\n    See default.tempates.php\n*/\n$templates[\'year_inner\'] = isset($tplYearInner) ? $ditto->template->fetch($tplYearInner): $defaultTemplates[\'year_inner\'];\n/*\n    Param: tplYearInner\n\n    Purpose:\n    Template for the year item (the ul to hold the year template)\n\n    Options:\n    - Any valid chunk name\n    - Code via @CODE:\n    - File via @FILE:\n\n    Default:\n    See default.tempates.php\n*/\n$templates[\'month\'] = isset($tplMonth) ? $ditto->template->fetch($tplMonth): $defaultTemplates[\'month\'];\n/*\n    Param: tplMonth\n\n    Purpose:\n    Template for the month item\n\n    Options:\n    - Any valid chunk name\n    - Code via @CODE:\n    - File via @FILE:\n\n    Default:\n    See default.tempates.php\n*/\n$templates[\'month_inner\'] = isset($tplMonthInner) ? $ditto->template->fetch($tplMonthInner): $defaultTemplates[\'month_inner\'];\n/*\n    Param: tplMonthInner\n\n    Purpose:\n    Template for the month item  (the ul to hold the month template)\n\n    Options:\n    - Any valid chunk name\n    - Code via @CODE:\n    - File via @FILE:\n\n    Default:\n    See default.tempates.php\n*/\n$templates[\'item\'] = isset($tplItem) ? $ditto->template->fetch($tplItem): $defaultTemplates[\'item\'];\n/*\n    Param: tplItem\n\n    Purpose:\n    Template for the individual item\n\n    Options:\n    - Any valid chunk name\n    - Code via @CODE:\n    - File via @FILE:\n\n    Default:\n    See default.tempates.php\n*/\n\n$ditto->addField(\"date\",\"display\",\"custom\");\n    // force add the date field if receiving data from a Ditto instance\n\n// ---------------------------------------------------\n//  Reflect\n// ---------------------------------------------------\n\nif (function_exists(\"reflect\") === FALSE) {\nfunction reflect($templatesDocumentID, $showItems, $groupByYears, $resource, $templatesDateSource, $dateFormat, $ditto, $templates,$id,$start,$yearSortDir,$monthSortDir) {\n    global $modx;\n    $cal = array();\n    $output = \'\';\n    $ph = array(\'year\'=>\'\',\'month\'=>\'\',\'item\'=>\'\',\'out\'=>\'\');\n    $build = array();\n    $stop = count($resource);\n\n    // loop and fetch all the results\n    for ($i = $start; $i < $stop; $i++) {\n        $date = getdate($resource[$i][$templatesDateSource]);\n        $year = $date[\"year\"];\n        $month = $date[\"mon\"];\n        $cal[$year][$month][] = $resource[$i];\n    }\n    if ($yearSortDir == \"DESC\") {\n        krsort($cal);\n    } else {\n        ksort($cal);\n    }\n    foreach ($cal as $year=>$months) {\n        if ($monthSortDir == \"ASC\") {\n            ksort($months);\n        } else {\n            krsort($months);\n        }\n        $build[$year] = $months;\n    }\n    \n    foreach ($build as $year=>$months) {\n        $r_year = \'\';\n        $r_month = \'\';\n        $r_month_2 = \'\';\n        $year_count = 0;\n        $items = array();\n        \n        foreach ($months as $mon=>$month) {\n            $month_text = strftime(\"%B\", mktime(10, 10, 10, $mon, 10, $year));\n            $month_url = $ditto->buildURL(\"month=\".$mon.\"&year=\".$year.\"&day=false&start=0\",$templatesDocumentID,$id);\n            $month_count = count($month);\n            $year_count += $month_count;\n            $r_month = $ditto->template->replace(array(\"year\"=>$year,\"month\"=>$month_text,\"url\"=>$month_url,\"count\"=>$month_count),$templates[\'month\']);\n            if ($showItems) {\n                foreach ($month as $item) {\n                    $items[$year][$mon][\'items\'][] = $ditto->render($item, $templates[\'item\'], false, $templatesDateSource, $dateFormat, array(),$phx);\n                }\n                $r_month_2 = $ditto->template->replace(array(\'wrapper\' => implode(\'\',$items[$year][$mon][\'items\'])),$templates[\'month_inner\']);\n                $items[$year][$mon] = $ditto->template->replace(array(\'wrapper\' => $r_month_2),$r_month);\n            } else {\n                $items[$year][$mon] = $r_month;\n            }\n        }\n        if ($groupByYears) {\n            $year_url = $ditto->buildURL(\"year=\".$year.\"&month=false&day=false&start=0\",$templatesDocumentID,$id);\n            $r_year =  $ditto->template->replace(array(\"year\"=>$year,\"url\"=>$year_url,\"count\"=>$year_count),$templates[\'year\']);\n            $var = $ditto->template->replace(array(\'wrapper\'=>implode(\'\',$items[$year])),$templates[\'year_inner\']);\n            $output .= $ditto->template->replace(array(\'wrapper\'=>$var),$r_year);\n        } else {\n            $output .= implode(\'\',$items[$year]);\n        }\n    }\n\n    $output = $ditto->template->replace(array(\'wrapper\'=>$output),$templates[\'tpl\']);\n    $modx->setPlaceholder($id.\'reset\',$ditto->buildURL(\'year=false&month=false&day=false\',$templatesDocumentID,$id));\n\nreturn $output;\n    \n}\n}\n\nreturn reflect($targetID, $showItems, $groupByYears, $resource, $dateSource, $dateFormat, $ditto, $templates,$id,$start,$yearSortDir,$monthSortDir);','0','','');
  1332. INSERT INTO `modx_site_snippets` VALUES ('11','UltimateParent','<strong>2.0</strong> Travels up the document tree from a specified document and returns its \"ultimate\" non-root parent','0','5','0','return require MODX_BASE_PATH.\'assets/snippets/ultimateparent/snippet.ultimateparent.php\';','0','','');
  1333. INSERT INTO `modx_site_snippets` VALUES ('12','Wayfinder','<strong>2.0.4</strong> Completely template-driven and highly flexible menu builder','0','5','0','return require MODX_BASE_PATH.\'assets/snippets/wayfinder/snippet.wayfinder.php\';\n','0','','');
  1334. INSERT INTO `modx_site_snippets` VALUES ('13','WebChangePwd','<strong>1.0</strong> Allows Web User to change their password from the front-end of the website','0','2','0','# Created By Raymond Irving April, 2005\n#::::::::::::::::::::::::::::::::::::::::\n# Params:   \n#\n#  &tpl            - (Optional)\n#     Chunk name or document id to use as a template\n#                 \n#   Note: Templats design:\n#           section 1: change pwd template\n#           section 2: notification template \n#\n# Examples:\n#\n# [[WebChangePwd? &tpl=`ChangePwd`]] \n\n# Set Snippet Paths \n$snipPath  = (($modx->insideManager())? \"../\":\"\");\n$snipPath .= \"assets/snippets/\";\n\n# check if inside manager\nif ($m = $modx->insideManager()) {\n  return \'\'; # don\'t go any further when inside manager\n}\n\n\n# Snippet customize settings\n$tpl     = isset($tpl)? $tpl:\"\";\n\n# System settings\n$isPostBack     = count($_POST) && isset($_POST[\'cmdwebchngpwd\']);\n\n# Start processing\ninclude_once $snipPath.\"weblogin/weblogin.common.inc.php\";\ninclude_once $snipPath.\"weblogin/webchangepwd.inc.php\";\n\n# Return\nreturn $output;\n\n\n\n','0','','');
  1335. INSERT INTO `modx_site_snippets` VALUES ('14','WebLogin','<strong>1.1</strong> Allows webusers to login to protected pages in the website, supporting multiple user groups','0','2','0','# Created By Raymond Irving 2004\n#::::::::::::::::::::::::::::::::::::::::\n# Params: \n#\n#  &loginhomeid    - (Optional)\n#     redirects the user to first authorized page in the list.\n#     If no id was specified then the login home page id or \n#       the current document id will be used\n#\n#  &logouthomeid   - (Optional)\n#     document id to load when user logs out  \n#\n#  &pwdreqid   - (Optional)\n#     document id to load after the user has submited\n#      a request for a new password\n#\n#  &pwdactid   - (Optional)\n#     document id to load when the after the user has activated\n#        their new password\n#\n#    &logintext      - (Optional) \n#        Text to be displayed inside login button (for built-in form)\n#\n#  &logouttext     - (Optional)\n#     Text to be displayed inside logout link (for built-in form)\n\n# &tpl            - (Optional)\n#     Chunk name or document id to as a template\n#                 \n#   Note: Templats design:\n#           section 1: login template\n#            section 2: logout template \n#          section 3: password reminder template \n#\n#            See weblogin.tpl for more information\n#\n# Examples:\n#\n# [[WebLogin? &loginhomeid=`8` &logouthomeid=`1`]] \n#\n# [[WebLogin? &loginhomeid=`8,18,7,5` &tpl=`Login`]] \n\n# Set Snippet Paths \n$snipPath = $modx->config[\'base_path\'] . \"assets/snippets/\";\n\n# check if inside manager\nif ($m = $modx->insideManager()) {\n    return \'\'; # don\'t go any further when inside manager\n}\n\n# deprecated params - only for backward compatibility\nif(isset($loginid)) $loginhomeid=$loginid;\nif(isset($logoutid)) $logouthomeid = $logoutid;\nif(isset($template)) $tpl = $template;\n\n# Snippet customize settings\n$liHomeId    = isset($loginhomeid)? array_filter(array_map(\'intval\', explode(\',\', $loginhomeid))):array($modx->config[\'login_home\'],$modx->documentIdentifier);\n$loHomeId = isset($logouthomeid)? $logouthomeid:$modx->documentIdentifier;\n$pwdReqId = isset($pwdreqid)? $pwdreqid:0;\n$pwdActId = isset($pwdactid)? $pwdactid:0;\n$loginText    = isset($logintext)? $logintext:\'Login\';\n$logoutText = isset($logouttext)? $logouttext:\'Logout\';\n$tpl     = isset($tpl)? $tpl:\"\";\n\n# System settings\n$webLoginMode = isset($_REQUEST[\'webloginmode\'])? $_REQUEST[\'webloginmode\']: \'\';\n$isLogOut       = $webLoginMode==\'lo\' ? 1:0;\n$isPWDActivate  = $webLoginMode==\'actp\' ? 1:0;\n$isPostBack       = count($_POST) && (isset($_POST[\'cmdweblogin\']) || isset($_POST[\'cmdweblogin_x\']));\n$txtPwdRem        = isset($_REQUEST[\'txtpwdrem\'])? $_REQUEST[\'txtpwdrem\']: 0;\n$isPWDReminder = $isPostBack && $txtPwdRem==\'1\' ? 1:0;\n\n$site_id = isset($site_id)? $site_id: \'\';\n$cookieKey = substr(md5($site_id.\"Web-User\"),0,15);\n\n# Start processing\ninclude_once $snipPath.\"weblogin/weblogin.common.inc.php\";\ninclude_once ($modx->config[\'site_manager_path\'] . \"includes/crypt.class.inc.php\");\n\nif ($isPWDActivate || $isPWDReminder || $isLogOut || $isPostBack) {\n   # include the logger class\n    include_once $modx->config[\'site_manager_path\'] . \"includes/log.class.inc.php\";\n   include_once $snipPath.\"weblogin/weblogin.processor.inc.php\";\n}\n\ninclude_once $snipPath.\"weblogin/weblogin.inc.php\";\n\n# Return\nreturn $output;\n','0','&loginhomeid=Login Home Id;string; &logouthomeid=Logout Home Id;string; &logintext=Login Button Text;string; &logouttext=Logout Button Text;string; &tpl=Template;string; ','');
  1336. INSERT INTO `modx_site_snippets` VALUES ('15','WebSignup','<strong>1.1</strong> Basic Web User account creation/signup system','0','2','0','# Created By Raymond Irving April, 2005\n#::::::::::::::::::::::::::::::::::::::::\n# Usage:     \n#    Allows a web user to signup for a new web account from the website\n#    This snippet provides a basic set of form fields for the signup form\n#    You can customize this snippet to create your own signup form\n#\n# Params:    \n#\n#    &tpl        - (Optional) Chunk name or document id to use as a template\n#                If custom template AND captcha on AND using WebSignup and \n#                  WebLogin on the same page make sure you have a field named\n#                  cmdwebsignup. In the default template it is the submit button \n#                  One can use a hidden field.\n#    &groups     - Web users groups to be assigned to users\n#    &useCaptcha - (Optional) Determine to use (1) or not to use (0) captcha\n#                  on signup form - if not defined, will default to system\n#                  setting. GD is required for this feature. If GD is not \n#                  available, useCaptcha will automatically be set to false;\n#                  \n#    Note: Templats design:\n#        section 1: signup template\n#        section 2: notification template \n#\n# Examples:\n#\n#    [[WebSignup? &tpl=`SignupForm` &groups=`NewsReaders,WebUsers`]] \n\n# Set Snippet Paths \n$snipPath = $modx->config[\'base_path\'] . \"assets/snippets/\";\n\n# check if inside manager\nif ($m = $modx->insideManager()) {\n    return \'\'; # don\'t go any further when inside manager\n}\n\n\n# Snippet customize settings\n$tpl = isset($tpl)? $tpl:\"\";\n$useCaptcha = isset($useCaptcha)? $useCaptcha : $modx->config[\'use_captcha\'] ;\n// Override captcha if no GD\nif ($useCaptcha && !gd_info()) $useCaptcha = 0;\n\n# setup web groups\n$groups = isset($groups) ? array_filter(array_map(\'trim\', explode(\',\', $groups))):array();\n\n# System settings\n$isPostBack        = count($_POST) && isset($_POST[\'cmdwebsignup\']);\n\n$output = \'\';\n\n# Start processing\ninclude_once $snipPath.\"weblogin/weblogin.common.inc.php\";\ninclude_once $snipPath.\"weblogin/websignup.inc.php\";\n\n# Return\nreturn $output;','0','&tpl=Template;string; ','');
  1337. INSERT INTO `modx_site_snippets` VALUES ('16','WebClient','','0','8','0','\n$type = isset($type) ? $type : \'index\';\n$module = isset($module) ? $module : \'find_tour_online\';\n\nif ($module==\"hotelsV2\"){\n  if(isset($_GET[\'hotel\']) && is_numeric($_GET[\'hotel\'])) {\n    $type = \"offers\";\n  } elseif(isset($_GET[\'co\']) && is_numeric($_GET[\'co\'])) {\n    $type = \"hotels\";\n  } else {\n    $type = \"index\";\n  }\n}\n\n$wc_lib = $modx->config[\"base_path\"].\"assets/tours/wc_lib.php\";\ninclude_once ($wc_lib);\n$objWC = new Webclient;\nreturn $objWC->getPage($type,$module);\n','0','',' ');
  1338. INSERT INTO `modx_site_snippets` VALUES ('17','GetDocInfo','Показывает информацию о документе','0','3','0','\n// GetDocInfo - snippet for MODx 0.9x \n// Displays introtext of the document\n// arguments:\n// &id      - the id of the document\n// &tpl     - the chunk name \n// examples:\n// [!GetDocInfo? &id=`45` &tpl=`chunkName`!] \n\n$default_template = \'\n<h2>[+pagetitle+]</h2>\n[+content+]\n\';\n\n$id = isset($id) ? $id : \'\';\n$tpl = isset($tpl) ? $modx->getChunk($tpl) : $default_template;\n\n$output = \'\';\nif ($id!=\'\') {\n    $PageInfo=$modx->getPageInfo($id,1,\"id,pagetitle,introtext,content\");\n    if ($PageInfo != false){\n        $fields = array(\'[+id+]\', \'[+pagetitle+]\', \'[+introtext+]\', \'[+content+]\');\n        $values = array($PageInfo[\'id\'],$PageInfo[\'pagetitle\'],$PageInfo[\'introtext\'],$PageInfo[\'content\']);\n        $output .= str_replace($fields,$values,$tpl);\n    }\n    preg_match_all(\'~\\[\\+tv(.*?)\\+\\]~\', $tpl, $matches);\n    $cnt = count($matches[1]);\n    $tvnames = array ();\n    for ($i = 0; $i < $cnt; $i++) {\n        $tvnames[] = $matches[1][$i];\n    }\n    $tvnames = array_unique($tvnames);\n    if (count($tvnames) >= 1) {\n        $tvs = $modx->getTemplateVarOutput($tvnames, $id);\n        if ($tvs !== false) {\n            foreach ($tvs as $name => $object) {\n                $output = str_replace(\"[+tv$name+]\", $object, $output);\n            }\n        }\n    }\n}\nreturn $output;\n','0','',' ');
  1339. INSERT INTO `modx_site_snippets` VALUES ('18','marquee','бегущая строка новая','0','3','0','\nglobal $modx;\n\n/*\n\nparams of snippet\n\ndocid - ID of document to retrive (обязательно)\ndirection - direction of marquee (\'rtl\' or \'ltr\'). left to right slide or righ to left slide (default \'rtl\' right to left)\nscrolldelay - scrolldelay in ms (default 30)\nscrollstep - scrollstep in px (default 1)\npause  - pause (default true)\n\n\n\nexample\n\n[!marquee?docID=`340`!]\n\n\nfor custom style see the \'ls_marquee.css\'\n\n*/\n\n$docid          = isset($docid)       ? (int) $docid                : false;\n$direction      = isset($direction)   ? trim($direction)            : \'rtl\';\n$scrolldelay    = isset($scrolldelay) ? (int) trim($scrolldelay)    : 30;\n$scrollstep     = isset($scrollstep)  ? (int) trim($scrollstep)     : 1;\n$margin         = isset($margin)      ? (int) ($margin)             : 100;\n$pause          = isset($pause)       ? (bool) ($pause)             : true;\n        \nif ($docid) {\n    \n    $doc = $modx->getDocument($docid);\n\n    $marqueeText =  str_replace(array(\"\\n\",\"\\r\"), \'\', $doc[\'content\']);\n        \n    $marqueeCSS = \'<link href=\"assets/js/ls_marquee/ls_marquee.css\" rel=\"stylesheet\" type=\"text/css\" />\';\n    $modx->regClientCSS( $marqueeCSS );\n        \n    $customscript = \"<script type=\\\"text/javascript\\\">\\n\".\n        \"var ls_marqueeConfig = new Array();\\n\".\n        \"ls_marqueeConfig[\'direction\']   = \'\".$direction.\"\';\\n\".\n        \"ls_marqueeConfig[\'scrolldelay\'] = \".$scrolldelay.\";\\n\".\n        \"ls_marqueeConfig[\'scrollstep\']  = \".$scrollstep.\";\\n\".\n        \"ls_marqueeConfig[\'margin\']      = \".$margin.\";\\n\".\n        \"ls_marqueeConfig[\'pause\']       = \".$pause.\";\\n\".\n        \"ls_marqueeConfig[\'text\']        = \'\".$marqueeText.\"\';\\n\".\n        \"</script>\";\n        \n    //  add script to head (jquery-1.6.1.min.js)\n    if (!$registered) {\n        $modx->regClientStartupScript(\'<script type=\"text/javascript\" src=\"/assets/js/jquery-1.6.1.min.js\"></script>\');\n    }\n        \n    $src = \'<script type=\"text/javascript\" src=\"/assets/js/ls_marquee/ls_assets.js\"></script>\';\n    $modx->regClientStartupScript($src);\n    $modx->regClientStartupScript($customscript);\n    $src = \'<script type=\"text/javascript\" src=\"/assets/js/ls_marquee/ls_marquee.js\"></script>\';\n    $modx->regClientStartupScript($src);\n        \n    return \'<div id=\"ls-marquee-container\"></div>\';\n        \n}\n\n\nreturn null;\n','0','',' ');
  1340. INSERT INTO `modx_site_snippets` VALUES ('19','splitPagination','разбиение страниц для Ditto','0','3','0','\n// Snippet: splitPagination\n// Must be placed immediately following a Ditto call\n// Based on the function written by Aaron Hall, evilwalrus.org\nif (!function_exists(\"generatePagination\")) {\nfunction generatePagination($curPage, $totResults, $resultsPerPage)\n{\n    $totPages = ceil($totResults / $resultsPerPage);\n    \n    $pagesBefore = $curPage - 1;\n    $pagesAfter = $totPages - $curPage;\n    \n    $tabArr = array();\n    \n    if($totPages > 15) {\n        \n        if($pagesBefore > 7) {\n            $tabArr = array(1,2,0);\n            \n            if($pagesAfter > 7)\n            {\n                for($i=($curPage-(4)); $i<$curPage; $i++) { $tabArr[] = $i; }\n            } else {\n                for($i=($totPages-11); $i<$curPage; $i++) { $tabArr[] = $i; }\n            }\n        } else {\n            for($i=1; $i<$curPage; $i++) { $tabArr[] = $i; }\n        }\n        \n        $tabArr[] = $curPage;\n        \n        if($pagesAfter > 7) {\n            if($pagesBefore > 7) {              \n                for($i=($curPage+1); $i<=$curPage+4; $i++) { $tabArr[] = $i; }\n            } else {\n                for($i=($curPage+1); $i<13; $i++) { $tabArr[] = $i; }\n            }\n            $tabArr[] = 0;\n            $tabArr[] = $totPages-1;\n            $tabArr[] = $totPages;\n        } else {\n            for($i=($curPage+1); $i<=$totPages; $i++) { $tabArr[] = $i; }\n        }\n        \n    } else {\n        for($i=1;$i<=$totPages;$i++) { $tabArr[] = $i; }\n    }\n            \n    return $tabArr;\n    \n}\n}\n$id = isset($id) ? $id.\'_\' : \'\';\n$total = isset($total) ? $total : $modx->getPlaceholder($id.\"total\");\n$start = isset($start) ? $start : $modx->getPlaceholder($id.\"start\");\n$summarize = isset($summarize) ? $summarize : $modx->getPlaceholder($id.\"perPage\");\n$currentPage = isset($currentPage) ? $currentPage : $modx->getPlaceholder($id.\"current\");\n$landing = isset($tagDocumentID) ? $tagDocumentID : $modx->documentObject[\'id\'];\nif ($total == 0 || $summarize==0) {\n    return \"<span class=\\\"ditto_currentpage\\\">1</span>\";;\n}\n$page = ($start/$summarize)+1;\n$return = isset($return) ? $return : 0;\n$paginationArray = generatePagination($page, $total, $summarize);\n$ph = \"\";\n$cInc = $_GET[$id.\'start\'];\nforeach($paginationArray as $page) {\n    $inc = ($page-1)*$summarize;\n    if($page == 0) {\n        $ph .= \"...\"; // print an elipse, representing pages that aren\'t displayed\n    } else if ($inc==$cInc) {\n        $ph .= \"<span class=\\\"ditto_currentpage\\\">$page</span>\";        \n    } else {\n        $ph .= \"<a class=\\\"ditto_page\\\" href=\'\".ditto::buildURL(\"start=\".$inc,$landing,$id).\"\'>$page</a>\";\n    }\n    \n\n}\n$modx->setPlaceholder($id.\"splitPages\",$ph);\nif ($return) return $ph;\n','0','',' ');
  1341. INSERT INTO `modx_site_snippets` VALUES ('20','year','выводит нынешний год','0','3','0','\necho date(\'Y\');\n','0','',' ');
  1342. INSERT INTO `modx_site_snippets` VALUES ('21','WebLoginPE','','0','2','0','\n/**\n     * WebLoginPE Snippet 1.3.1 repacked by ZLS team (www.zls.su)\n     * @package WebLoginPE\n     * @version 1.3.1\n     */\n\n    $type = isset($type) ? $type : \'simple\';\n    $regType = isset($regType) ? $regType : \'instant\';\n    $notify = isset($notify) ? $notify : \'\';\n    $groups = isset($groups) ? $groups : \'\';\n    $regRequired = isset($regRequired) ? $regRequired : \'\';\n    $customTable = isset($customTable) ? $customTable : \'web_user_attributes_extended\';\n    $customFields = isset($customFields) ? $customFields : \'\';\n    $prefixTable = isset($prefixTable) ? $prefixTable : 1;\n    $lang = isset($lang) ? $lang : \'ru\';\n    $userImageSettings = isset($userImage) ? $userImage : \'105000,100,100\';\n    $dateFormat = isset($dateFormat) ? $dateFormat : \'%d-%m-%Y\';\n    $disableServices = isset($disableServices) ? explode(\',\', str_replace(\', \',\',\',$disableServices)) : array();\n    $tableCheck = isset($tableCheck) ? $tableCheck : 1;\n    \n    include_once MODX_BASE_PATH.\'assets/snippets/webloginpe/webloginpe.class.php\';\n    include MODX_BASE_PATH.\'assets/snippets/webloginpe/webloginpe.templates.php\';\n    include_once MODX_BASE_PATH.\'assets/snippets/webloginpe/lang/ru.php\';\n   \n    \n    $wlpe = new WebLoginPE($wlpe_lang, $dateFormat, $userImageSettings, $type);\n    $wlpe->CustomTable($customTable, $customFields, $prefixTable, $tableCheck);\n\n    $liHomeId = isset($liHomeId) ? explode(\',\', $liHomeId) : \'\';\n    $loHomeId = isset($loHomeId) ? $loHomeId : \'\';\n    $regHomeId = isset($regHomeId) ? $regHomeId : \'\';\n    $regSuccessId = isset($regSuccessId) ? $regSuccessId : \'\';\n    $regSuccessPause = isset($regSuccessPause) ? $regSuccessPause : 5;\n    $profileHomeId = isset($profileHomeId) ? $profileHomeId : \'\';\n    $inputHandler = isset($inputHandler) ? explode(\'||\', $inputHandler) : array();\n    $usersList = isset($usersList) ? $usersList : \'\';\n    \n    if ($regType == \'verify\'){$wlpeRegisterTpl = $wlpeRegisterVerifyTpl;}else{$wlpeRegisterTpl = $wlpeRegisterInstantTpl;}\n    \n    $displayLoginFormTpl = isset($loginFormTpl) ? $wlpe->Template($loginFormTpl) : $wlpeDefaultFormTpl;\n    $displaySuccessTpl = isset($successTpl) ? $wlpe->Template($successTpl) : $wlpeDefaultSuccessTpl;\n    $displayRegisterTpl = isset($registerTpl) ? $wlpe->Template($registerTpl) : $wlpeRegisterTpl;\n    $displayRegSuccessTpl = isset($registerSuccessTpl) ? $wlpe->Template($registerSuccessTpl) : $wlpeDefaultFormTpl;\n    $displayProfileTpl = isset($profileTpl) ? $wlpe->Template($profileTpl) : $wlpeProfileTpl;\n    $displayViewProfileTpl = isset($viewProfileTpl) ? $wlpe->Template($viewProfileTpl) : $wlpeViewProfileTpl;\n    $displayUsersOuterTpl = isset($usersOuterTpl) ? $wlpe->Template($usersOuterTpl) : $wlpeUsersOuterTpl;\n    $displayUsersTpl = isset($usersTpl) ? $wlpe->Template($usersTpl) : $wlpeUsersTpl;\n    $displayManageOuterTpl = isset($manageOuterTpl) ? $wlpe->Template($manageOuterTpl) : $wlpeUsersOuterTpl;\n    $displayManageTpl = isset($manageTpl) ? $wlpe->Template($manageTpl) : $wlpeManageTpl;\n    $displayManageProfileTpl = isset($manageProfileTpl) ? $wlpe->Template($manageProfileTpl) : $wlpeManageProfileTpl;\n    $displayManageDeleteTpl = isset($manageDeleteTpl) ? $wlpe->Template($manageDeleteTpl) : $wlpeManageDeleteTpl;\n    $displayProfileDeleteTpl = isset($profileDeleteTpl) ? $wlpe->Template($profileDeleteTpl) : $wlpeProfileDeleteTpl;\n    $displayActivateTpl = isset($activateTpl) ? $wlpe->Template($activateTpl) : $wlpeActivateTpl;\n    $displayResetTpl = isset($resetTpl) ? $wlpe->Template($resetTpl) : $wlpeResetTpl;\n    $notifyTpl = isset($notifyTpl) ? $wlpe->Template($notifyTpl) : $wlpeNotifyTpl;\n    $notifySubject = isset($notifySubject) ? $notifySubject : \'New Web User for \'.$modx->config[\'site_name\'].\'.\';\n    $messageTpl = isset($messageTpl) ? $wlpe->Template($messageTpl) : $wlpeMessageTpl;\n    $tosChunk = isset($tosChunk) ? $wlpe->Template($tosChunk) : $wlpeTos;\n    $modx->setPlaceholder(\'tos\', $tosChunk);\n    \n    $loadJquery = isset($loadJquery) ? $loadJquery : false;\n    $customJs = isset($customJs) ? $customJs : \'\';\n    \n    $css = $modx->config[\'site_url\'].\'assets/snippets/webloginpe/css/webloginpe.css\';\n    $modx->regClientCSS($css);\n    \n    if (isset($pruneDays))\n    {\n        $wlpe->PruneUsers($pruneDays);\n    }\n        \n    if ($loadJquery == \'true\' || $loadJquery == true || $loadJquery == 1 || $loadJquery == \'1\') \n    {\n        $wlpe->RegisterScripts($customJs);\n    }\n    else if (!empty($customJs))\n    {\n        $modx->regClientStartupScript($customJs);\n    }\n    \n    $wlpe->ActiveUsers();\n    $wlpe->PlaceHolders($inputHandler, $messageTpl);\n\n    $service = $_REQUEST[\'service\'];\n\n    if (empty($service) || $service == \'\')\n    {\n        $service = $_REQUEST[\'serviceButtonValue\'];\n    }\n    \n    if ($type == \'register\')\n    {\n        if (in_array(\'register\', $disableServices)){return;}// если нельзя использовать этот тип, то ничего не делаем\n        switch ($service) \n        {\n            case \'Зарегистрироваться\' :\n                if (in_array(\'register\', $disableServices)){return;}\n                $registration = $wlpe->Register($regType, $groups, $regRequired, $notify, $notifyTpl, $notifySubject);\n                \n                if (isset($regSuccessId) && $regSuccessId !== \'\')\n                {\n                    if ($registration == \'success\')\n                    {\n                        $url = $modx->makeURL($regSuccessId);\n                        header(\"location: $url\");// перенаправляем на нужную страницу\n                        return $displayRegSuccessTpl; \n                    }\n                    return $displayRegisterTpl; // если была ошибка, то возвращаемся назад и исправляем\n                    \n                }\n                if ($registration == \'success\') // если не задали страницу, куда нужно при успешной регистрации, тогда тут же\n                {\n                    return $displayRegSuccessTpl;\n                }\n                return $displayRegisterTpl; // ошибка в регистрации\n                break;\n                \n            case \'Отмена\':  // нажали отмена регистрации\n                if ($loHomeId == \'\') $loHomeId = $modx->config[\'site_start\'];\n                $url = $modx->makeURL($loHomeId);\n                header(\"location: $url\");\n                break; // отправляемся на главную\n            \n            case \'login\' : \n                $wlpe->Login($type, $liHomeId);\n\n                if ($modx->getLoginUserID())\n                {\n                    return $displaySuccessTpl; // если залогинились\n                }\n                return $displayLoginFormTpl; // ошибка в авторизации\n                break;\n\n            case \'logout\' :\n                $wlpe->Logout($type, $loHomeId);\n                return $displayLoginFormTpl; // снова ставим форму авторизации\n            \n            default :\n                return $displayRegisterTpl;\n        }\n        return;\n    }\n    \n    else if ($type == \'profile\')\n    {\n        if (in_array(\'profile\', $disableServices)){return;} // если нельзя использовать этот тип, то ничего не делаем\n        switch ($service) \n        {\n            case \'Сохранить\' :\n                if (in_array(\'saveprofile\', $disableServices)){return;}\n                $wlpe->SaveUserProfile();\n                $wlpe->PlaceHolders($inputHandler, $messageTpl);\n                return $displayProfileTpl;\n                break;\n                \n            case \'Закончить\':\n                if ($loHomeId == \'\') $loHomeId = $modx->config[\'site_start\'];\n                $url = $modx->makeURL($loHomeId);\n                header(\"location: $url\");\n                break; // отправляемся на главную\n                \n            case \'Выйти\':\n                if ($loHomeId == \'\') $loHomeId = $modx->config[\'site_start\'];\n                $wlpe->Logout($type, $loHomeId);\n                break;  // отправляемся на главную\n                \n            case \'Удалить профиль\':\n                if (in_array(\'deleteprofile\', $disableServices)){return;}\n                return $displayProfileDeleteTpl;\n                break;\n            \n            case \'Да\':\n                if (in_array(\'confirmdeleteprofile\', $disableServices)){return;}\n                $wlpe->RemoveUserProfile();\n                return \'[+wlpe.message+]\';\n                break; //подтвердили удаление\n                \n            default :\n                return $displayProfileTpl;\n                break;\n        }\n        return;\n    }\n    \n    else if ($type == \'users\')\n    {\n        if (in_array(\'users\', $disableServices)){return;}\n        switch ($service)\n        {\n            case \'viewprofile\':\n                if (in_array(\'viewprofile\', $disableServices)){return;}\n                $wlpe->ViewUserProfile($_REQUEST[\'username\'],$inputHandler);\n                return $displayViewProfileTpl;\n                break;\n                \n            case \'Отправить сообщение\':\n                if (in_array(\'messageuser\', $disableServices)){return;}\n                $wlpe->SendMessageToUser();\n                return $displayViewProfileTpl;\n                break;\n            \n            default :\n                $userpage = $wlpe->ViewAllUsers($displayUsersTpl, $displayUsersOuterTpl, $usersList);\n                return $userpage;\n        }\n        return;\n    }\n    \n    else if ($type == \'manager\')\n    {\n        if (in_array(\'manager\', $disableServices)){return;}\n        switch ($service)\n        {\n            case \'editprofile\':\n                if (in_array(\'editprofile\', $disableServices)){return;}\n                $wlpe->ViewUserProfile($_REQUEST[\'username\'],$inputHandler);\n                return $displayManageProfileTpl;\n                break;\n                \n            case \'saveuserprofile\' :\n                if (in_array(\'saveuserprofile\', $disableServices)){return;}\n                $wlpe->SaveUserProfile($_POST[\'internalKey\']);\n                $manageUsersPage = $wlpe->ViewAllUsers($displayManageTpl, $displayManageOuterTpl, $usersList);\n                return $manageUsersPage;\n                break;\n                \n            case \'messageuser\':\n                if (in_array(\'messageuser\', $disableServices)){return;}\n                $wlpe->SendMessageToUser();\n                return $displayViewProfileTpl;\n                break;\n                \n            case \'deleteuser\':\n                if (in_array(\'deleteuser\', $disableServices)){return;}\n                $_SESSION[\'editInternalKey\'] = $_POST[\'internalKey\'];\n                return $displayManageDeleteTpl;\n                break;\n\n            case \'confirmdeleteuser\':\n                if (in_array(\'confirmdeleteuser\', $disableServices)){return;}\n                $wlpe->RemoveUserProfileManager($_SESSION[\'editInternalKey\']);\n                $manageUsersPage = $wlpe->ViewAllUsers($displayManageTpl, $displayManageOuterTpl, $usersList);\n                unset($_SESSION[\'editInternalKey\']);\n                return $manageUsersPage;\n                break;\n            \n            default :\n                $manageUsersPage = $wlpe->ViewAllUsers($displayManageTpl, $displayManageOuterTpl, $usersList);\n                return $manageUsersPage;\n        }\n        return;\n    }\n    \n    else if ($type == \'simple\')\n    {\n        switch ($service) \n        {\n\n            case \'Войти\' : // нажали кнопку войти\n                $wlpe->Login($type, $liHomeId);\n                if ($modx->getLoginUserID())\n                {\n                    return $displaySuccessTpl;\n                }\n                return $displayLoginFormTpl;\n                break;\n\n            case \'Выйти\' : // выходим из профиля\n                $wlpe->Logout($type, $loHomeId);\n                return $displayLoginFormTpl;\n                break;\n\n            case \'Профиль\' :\n                if (in_array(\'profile\', $disableServices)){return;}\n                if (empty($profileHomeId))\n                {\n                    return $displayProfileTpl;\n                }\n                $url = $modx->makeURL($profileHomeId);\n                header(\"location: $url\");\n                return;\n                break;\n                \n            case \'saveprofilesimple\' :\n                if (in_array(\'saveprofile\', $disableServices)){return;}\n                $wlpe->SaveUserProfile();\n                $wlpe->PlaceHolders($inputHandler, $messageTpl);\n                return $displayProfileTpl;\n                break;\n            \n            case \'deleteprofilesimple\':\n                if (in_array(\'deleteprofile\', $disableServices)){return;}\n                return $displayProfileDeleteTpl;\n                break;\n\n            case \'confirmdeleteprofilesimple\':\n                if (in_array(\'confirmdeleteprofile\', $disableServices)){return;}\n                $wlpe->RemoveUserProfile();\n                return \'[+wlpe.message+]\';\n                break;\n\n            case \'Регистрация\' :\n                if (in_array(\'register\', $disableServices)){return;}\n                if (empty($regHomeId))\n                {\n                    return $displayRegisterTpl;\n                }\n                $url= $modx->makeURL($regHomeId);\n                header(\"location: $url\");\n                return;\n                break;\n                \n            case \'register\':\n                if (in_array(\'register\', $disableServices)){return;}\n                $registration = $wlpe->Register($regType, $groups, $regRequired, $notify, $notifyTpl, $notifySubject);\n                \n                if (isset($regSuccessId) && $regSuccessId !== \'\')\n                {\n                    if ($registration == \'success\')\n                    {\n                        $url = rtrim($modx->config[\'site_url\'], \'/\').$modx->makeURL($regSuccessId);\n                        header(\'Refresh: \'.$regSuccessPause.\';URL=\'.$url);\n                        return $displayRegSuccessTpl;\n                    }\n                    return $displayRegisterTpl;\n                    \n                }\n                if ($registration == \'success\')\n                {\n                    return $displayRegSuccessTpl;\n                }\n                return $displayRegisterTpl;\n                break;\n\n            case \'Забыли пароль?\' :\n                if (in_array(\'forgot\', $disableServices)){return;}\n                return $displayResetTpl;\n                break;\n            \n            case \'Отправить\' :\n                if (in_array(\'resetpassword\', $disableServices)){return;}\n                $wlpe->ResetPassword();\n                if (isset($wlpe->Report)) \n                {\n                    if (isset($_POST[\'email\']))\n                    {\n                        return $displayResetTpl;\n                    }\n                    else\n                    {\n                        return $displayActivateTpl;\n                    }\n                }\n                return;\n                break;\n            \n            case \'activate\' :\n                if (in_array(\'activate\', $disableServices)){return;}\n                return $displayActivateTpl;\n                break;\n            \n            case \'Активация\':\n                if (in_array(\'activated\', $disableServices)){return;}\n                $wlpe->ActivateUser();\n                if ( isset( $wlpe->Report ) && !preg_match( \"/\".strip_tags($wlpe_lang[104]).\"/i\", $wlpe->Report ) )\n                {\n                    return $displayActivateTpl;\n                }                \n                return $displayLoginFormTpl;\n                break;\n            \n            default :\n                \n                if ($modx->getLoginUserID())\n                {\n                    return $displaySuccessTpl;\n                }\n                else\n                {\n                    $wlpe->AutoLogin();\n                    return $displayLoginFormTpl;\n                }\n\n        }// [END] Switch : $service for simple.\n    }\n    \n    else if ($type == \'taconite\')\n    {\n        switch ($service) \n        {\n\n            case \'login\' :\n                $wlpe->Login($type, $liHomeId);\n\n                if (isset($wlpe->Report)) \n                {\n                    return $wlpe->Report;\n                }\n                return;\n                break;\n\n            case \'logout\' :\n                $wlpe->Logout($type, $loHomeId);                \n                return;\n                break;\n\n            case \'register\' :\n                if (in_array(\'register\', $disableServices)){return;}\n                $wlpe->Register($regType, $groups, $regRequired, $notify, $notifyTpl, $notifySubject);\n                return $wlpe->Report;\n                break;\n            \n            case \'resetpassword\' :\n                if (in_array(\'resetpassword\', $disableServices)){return;}\n                $wlpe->ResetPassword();\n                return $wlpe->Report;\n                break;\n                \n            case \'activated\':\n                if (in_array(\'activated\', $disableServices)){return;}\n                $wlpe->ActivateUser();\n                return $wlpe->Report;\n                break;\n                    \n            default :\n                if ($modx->getLoginUserID())\n                {\n                    return;\n                }\n                else\n                {\n                    $wlpe->AutoLogin();\n                }\n        }// [END] Switch : $service for taconite.\n    }\n    \n    else\n    {\n        return;\n    }\n','0','',' ');
  1343. INSERT INTO `modx_site_snippets` VALUES ('23','EasyPoll','Опросы Version 0.3.3','0','0','0','\n/**\n * ------------------------------------------------------------------------------\n * EasyPoll Snippet\n * ------------------------------------------------------------------------------\n * Another Poll Module, inspired by the Poll Module developped by garryn\n *\n * EasyPoll is free software; you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation; either version 2 of the License, or\n * (at your option) any later version.\n *\n * EasyPoll is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with EasyPoll (located in \"/snippets/EasyPoll/\"); if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA\n * or visit: http://www.gnu.org/licenses/gpl-2.0.html\n *\n * ------------------------------------------------------------------------------\n * Read the bundled documentation.html for usage instructions.\n * ------------------------------------------------------------------------------\n *\n * @author banal\n * @version 0.3.3 <2008-10-21>\n */\n\n\n// set up parameters\n$config = array();\n$config[\'lang\']             = isset($lang) && preg_match(\'/^[a-z]{2,3}$/\', $lang) ? $lang : \'ru\';\n$config[\'easylang\']         = isset($easylang) && preg_match(\'/^[a-z]{1,3}$/\', $easylang) ? $easylang : $config[\'lang\'];\n$config[\'pollid\']           = isset($pollid) ? intval($pollid) : false;\n$config[\'onevote\']          = isset($onevote) ? $onevote == true : false;\n$config[\'useip\']            = isset($useip) ? $useip == true : false;\n$config[\'nojs\']             = isset($nojs) ? $nojs == true : false;\n$config[\'noajax\']           = isset($noajax) ? $noajax == true : false;\n$config[\'archive\']          = isset($archive) ? $archive == true : false;\n$config[\'votesorting\']      = isset($votesorting) && preg_match(\'/^(Sorting|Votes)(\\s(DESC|ASC))?$/i\', $votesorting) ? $votesorting : \'Sorting ASC\';\n$config[\'skipfirst\']        = isset($skipfirst) ? $skipfirst == true : false;\n$config[\'css\']              = isset($css) ? $css : \'/assets/snippets/EasyPoll/poll.css\';\n$config[\'identifier\']       = isset($identifier) ? $identifier : \'easypoll\';\n$config[\'accuracy\']         = isset($accuracy) ? intval($accuracy) : 1;\n$config[\'tplVoteOuter\']     = isset($tplVoteOuter) ? $tplVoteOuter : false;\n$config[\'tplVote\']          = isset($tplVote) ? $tplVote : false;\n$config[\'tplResultOuter\']   = isset($tplResultOuter) ? $tplResultOuter : false;\n$config[\'tplResult\']        = isset($tplResult) ? $tplResult : false;\n$config[\'ovtime\']           = isset($ovtime) ? intval($ovtime) : 608400;\n$config[\'jscallback\']       = isset($jscallback) ? $jscallback : false;\n$config[\'customjs\']         = isset($customjs) ? $customjs : false;\n$config[\'showexception\']    = isset($showexception) ? $showexception == true : false;\n\n// set the base path\n$path = $modx->config[\'base_path\'] . \'assets/snippets/EasyPoll/\';\n\n// check if required files exist\n$langfile = $path . \'lang/lang.\' . $config[\'lang\'] . \'.php\';\n$classfile = $path . \'easypoll.class.php\';\n\nif(!file_exists($langfile)){\n    $modx->messageQuit(\'EasyPoll Snippet Error: Unable to locate language File for language: \' . $config[\'lang\']);\n    return;\n}\n\nif(!file_exists($classfile)){\n    $modx->messageQuit(\'EasyPoll Snippet Error: Unable to locate easypoll.class.php\');\n    return;\n}\n\n// include files\n$_lang = array();\nrequire($langfile);\nrequire_once($classfile);\n\ntry {\n    $handler = new EasyPoll($config, $_lang);\n    return $handler->generateOutput();\n} catch (Exception $ex){\n    // only display the exception if we have a error code above 0. otherwise remain silent\n    if($ex->getCode() > 0 || $config[\'showexception\']){\n        // if we get a code above or equal to 128, we just exit\n        if($ex->getCode() >= 128){\n            return $ex->getMessage();\n        } else {\n            $modx->messageQuit(\'EasyPoll Snippet Error: \' . $ex->getMessage());\n        }\n    }\n}\n\nreturn;\n','0','',' ');
  1344. INSERT INTO `modx_site_snippets` VALUES ('24','webloginpe2','авторизация','0','0','0','\n/**\n* WebLoginPE Snippet 1.3.1\n* v1.3.1 Bugfix by Soshite @ MODx CMS Forums & Various Other Forum Members\n* Rus-utf8 and Bugfix by AKots\n*\n* @package WebLoginPE\n* @author Scotty Delicious\n* @version 1.3.1\n*\n* See the \"docs\" folder for detailed usage and parameter instructions.\n*/\n\n    $type = isset($type) ? $type : \'simple\';\n    $regType = isset($regType) ? $regType : \'instant\';\n    $notify = isset($notify) ? $notify : \'\';\n    $groups = isset($groups) ? $groups : \'\';\n    $regRequired = isset($regRequired) ? $regRequired : \'email,username,fullname,password,password_confirm,formcode,tos\';\n    $customTable = isset($customTable) ? $customTable : \'web_user_attributes_extended\';\n    $customFields = isset($customFields) ? $customFields : \'\';\n    $prefixTable = isset($prefixTable) ? $prefixTable : 1;\n    $lang = isset($lang) ? $lang : \'ru-utf8\';\n    $userImageSettings = isset($userImage) ? $userImage : \'105000,100,100\';\n    $dateFormat = isset($dateFormat) ? $dateFormat : \'%A %B %d, %Y at %I:%M %p\';\n    $disableServices = isset($disableServices) ? explode(\',\', str_replace(\', \',\',\',$disableServices)) : array();\n    $tableCheck = isset($tableCheck) ? $tableCheck : 1;\n    \n    include_once MODX_BASE_PATH.\'assets/snippets/webloginpe/webloginpe.class.php\';\n    include MODX_BASE_PATH.\'assets/snippets/webloginpe/webloginpe.templates.php\';\n    if (file_exists(MODX_BASE_PATH.\'assets/snippets/webloginpe/lang/\'.$lang.\'.php\'))\n    {\n        include_once MODX_BASE_PATH.\'assets/snippets/webloginpe/lang/\'.$lang.\'.php\';\n    }\n    else\n    {\n        include_once MODX_BASE_PATH.\'assets/snippets/webloginpe/lang/en.php\';\n        $modx->setPlaceholder(\'wlpe.message\', $wlpe_lang[105]);\n        print \'[+wlpe.message+]\';\n    }\n    \n    $wlpe = new WebLoginPE($wlpe_lang, $dateFormat, $userImageSettings, $type);\n    $wlpe->CustomTable($customTable, $customFields, $prefixTable, $tableCheck);\n\n    $liHomeId = isset($liHomeId) ? explode(\',\', $liHomeId) : \'\';\n    $loHomeId = isset($loHomeId) ? $loHomeId : \'\';\n    $regHomeId = isset($regHomeId) ? $regHomeId : \'\';\n    $regSuccessId = isset($regSuccessId) ? $regSuccessId : \'\';\n    $regSuccessPause = isset($regSuccessPause) ? $regSuccessPause : 5;\n    $profileHomeId = isset($profileHomeId) ? $profileHomeId : \'\';\n    $inputHandler = isset($inputHandler) ? explode(\'||\', $inputHandler) : array();\n    $usersList = isset($usersList) ? $usersList : \'\';\n    \n    if ($regType == \'verify\'){$wlpeRegisterTpl = $wlpeRegisterVerifyTpl;}else{$wlpeRegisterTpl = $wlpeRegisterInstantTpl;}\n    \n    $displayLoginFormTpl = isset($loginFormTpl) ? $wlpe->Template($loginFormTpl) : $wlpeDefaultFormTpl;\n    $displaySuccessTpl = isset($successTpl) ? $wlpe->Template($successTpl) : $wlpeDefaultSuccessTpl;\n    $displayRegisterTpl = isset($registerTpl) ? $wlpe->Template($registerTpl) : $wlpeRegisterTpl;\n    $displayRegSuccessTpl = isset($registerSuccessTpl) ? $wlpe->Template($registerSuccessTpl) : $wlpeDefaultFormTpl;\n    $displayProfileTpl = isset($profileTpl) ? $wlpe->Template($profileTpl) : $wlpeProfileTpl;\n    $displayViewProfileTpl = isset($viewProfileTpl) ? $wlpe->Template($viewProfileTpl) : $wlpeViewProfileTpl;\n    $displayUsersOuterTpl = isset($usersOuterTpl) ? $wlpe->Template($usersOuterTpl) : $wlpeUsersOuterTpl;\n    $displayUsersTpl = isset($usersTpl) ? $wlpe->Template($usersTpl) : $wlpeUsersTpl;\n    $displayManageOuterTpl = isset($manageOuterTpl) ? $wlpe->Template($manageOuterTpl) : $wlpeUsersOuterTpl;\n    $displayManageTpl = isset($manageTpl) ? $wlpe->Template($manageTpl) : $wlpeManageTpl;\n    $displayManageProfileTpl = isset($manageProfileTpl) ? $wlpe->Template($manageProfileTpl) : $wlpeManageProfileTpl;\n    $displayManageDeleteTpl = isset($manageDeleteTpl) ? $wlpe->Template($manageDeleteTpl) : $wlpeManageDeleteTpl;\n    $displayProfileDeleteTpl = isset($profileDeleteTpl) ? $wlpe->Template($profileDeleteTpl) : $wlpeProfileDeleteTpl;\n    $displayActivateTpl = isset($activateTpl) ? $wlpe->Template($activateTpl) : $wlpeActivateTpl;\n    $displayResetTpl = isset($resetTpl) ? $wlpe->Template($resetTpl) : $wlpeResetTpl;\n    $notifyTpl = isset($notifyTpl) ? $wlpe->Template($notifyTpl) : $wlpeNotifyTpl;\n    $notifySubject = isset($notifySubject) ? $notifySubject : \'New Web User for \'.$modx->config[\'site_name\'].\'.\';\n    $messageTpl = isset($messageTpl) ? $wlpe->Template($messageTpl) : $wlpeMessageTpl;\n    $tosChunk = isset($tosChunk) ? $wlpe->Template($tosChunk) : $wlpeTos;\n    $modx->setPlaceholder(\'tos\', $tosChunk);\n    \n    $loadJquery = isset($loadJquery) ? $loadJquery : false;\n    $customJs = isset($customJs) ? $customJs : \'\';\n    \n    if (isset($pruneDays))\n    {\n        $wlpe->PruneUsers($pruneDays);\n    }\n        \n    if ($loadJquery == \'true\' || $loadJquery == true || $loadJquery == 1 || $loadJquery == \'1\') \n    {\n        $wlpe->RegisterScripts($customJs);\n    }\n    else if (!empty($customJs))\n    {\n        $modx->regClientStartupScript($customJs);\n    }\n    \n    $wlpe->ActiveUsers();\n    $wlpe->PlaceHolders($inputHandler, $messageTpl);\n    \n    $modx->regClientStartupScript(\'assets/snippets/webloginpe/js/ieButtonFix.js\');\n\n    $service = $_REQUEST[\'service\'];\n    if (empty($service) || $service == \'\')\n    {\n        $service = $_REQUEST[\'serviceButtonValue\'];\n    }\n    \n    if ($type == \'register\')\n    {\n        if (in_array(\'register\', $disableServices)){return;}\n        switch ($service) \n        {\n            case \'register\' :\n                if (in_array(\'register\', $disableServices)){return;}\n                $registration = $wlpe->Register($regType, $groups, $regRequired, $notify, $notifyTpl, $notifySubject);\n                \n                if (isset($regSuccessId) && $regSuccessId !== \'\')\n                {\n                    if ($registration == \'success\')\n                    {\n                        $url = rtrim($modx->config[\'site_url\'], \'/\').$modx->makeURL($regSuccessId);\n                        header(\'Refresh: \'.$regSuccessPause.\';URL=\'.$url);\n                        return $displayRegSuccessTpl;\n                    }\n                    return $displayRegisterTpl;\n                    \n                }\n                if ($registration == \'success\')\n                {\n                    return $displayRegSuccessTpl;\n                }\n                return $displayRegisterTpl;\n                break;\n                \n            case \'cancel\':\n                if ($loHomeId == \'\') $loHomeId = $modx->config[\'site_start\'];\n                $url = $modx->makeURL($loHomeId);\n                $modx->sendRedirect($url,0,\'REDIRECT_REFRESH\');\n                break;\n            \n            case \'login\' :\n                $wlpe->Login($type, $liHomeId);\n\n                if ($modx->getLoginUserID())\n                {\n                    return $displaySuccessTpl;\n                }\n                return $displayLoginFormTpl;\n                break;\n\n            case \'logout\' :\n                $wlpe->Logout($type, $loHomeId);\n                return $displayLoginFormTpl;\n                break;\n            \n            default :\n                return $displayRegisterTpl;\n        }\n        return;\n    }\n    \n    else if ($type == \'profile\')\n    {\n        if (in_array(\'profile\', $disableServices)){return;}\n        switch ($service) \n        {\n            case \'saveprofile\' :\n                if (in_array(\'saveprofile\', $disableServices)){return;}\n                $wlpe->SaveUserProfile();\n                $wlpe->PlaceHolders($inputHandler, $messageTpl);\n                return $displayProfileTpl;\n                break;\n                \n            case \'cancel\':\n                if ($loHomeId == \'\') $loHomeId = $modx->config[\'site_start\'];\n                $url = $modx->makeURL($loHomeId);\n                $modx->sendRedirect($url,0,\'REDIRECT_REFRESH\');\n                break;\n                \n            case \'logout\':\n                if ($loHomeId == \'\') $loHomeId = $modx->config[\'site_start\'];\n                $wlpe->Logout($type, $loHomeId);\n                break;\n                \n            case \'deleteprofile\':\n                if (in_array(\'deleteprofile\', $disableServices)){return;}\n                return $displayProfileDeleteTpl;\n                break;\n            \n            case \'confirmdeleteprofile\':\n                if (in_array(\'confirmdeleteprofile\', $disableServices)){return;}\n                $wlpe->RemoveUserProfile();\n                return \'[+wlpe.message+]\';\n                break;\n                \n            default :\n                return $displayProfileTpl;\n                break;\n        }\n        return;\n    }\n    \n    else if ($type == \'users\')\n    {\n        if (in_array(\'users\', $disableServices)){return;}\n        switch ($service)\n        {\n            case \'viewprofile\':\n                if (in_array(\'viewprofile\', $disableServices)){return;}\n                $wlpe->ViewUserProfile($_REQUEST[\'username\'],$inputHandler);\n                return $displayViewProfileTpl;\n                break;\n                \n            case \'messageuser\':\n                if (in_array(\'messageuser\', $disableServices)){return;}\n                $wlpe->SendMessageToUser();\n                return $displayViewProfileTpl;\n                break;\n            \n            default :\n                $userpage = $wlpe->ViewAllUsers($displayUsersTpl, $displayUsersOuterTpl, $usersList);\n                return $userpage;\n        }\n        return;\n    }\n    \n    else if ($type == \'manager\')\n    {\n        if (in_array(\'manager\', $disableServices)){return;}\n        switch ($service)\n        {\n            case \'editprofile\':\n                if (in_array(\'editprofile\', $disableServices)){return;}\n                $wlpe->ViewUserProfile($_REQUEST[\'username\'],$inputHandler);\n                return $displayManageProfileTpl;\n                break;\n                \n            case \'saveuserprofile\' :\n                if (in_array(\'saveuserprofile\', $disableServices)){return;}\n                $wlpe->SaveUserProfile($_POST[\'internalKey\']);\n                $manageUsersPage = $wlpe->ViewAllUsers($displayManageTpl, $displayManageOuterTpl, $usersList);\n                return $manageUsersPage;\n                break;\n                \n            case \'messageuser\':\n                if (in_array(\'messageuser\', $disableServices)){return;}\n                $wlpe->SendMessageToUser();\n                return $displayViewProfileTpl;\n                break;\n                \n            case \'deleteuser\':\n                if (in_array(\'deleteuser\', $disableServices)){return;}\n                $_SESSION[\'editInternalKey\'] = $_POST[\'internalKey\'];\n                return $displayManageDeleteTpl;\n                break;\n\n            case \'confirmdeleteuser\':\n                if (in_array(\'confirmdeleteuser\', $disableServices)){return;}\n                $wlpe->RemoveUserProfileManager($_SESSION[\'editInternalKey\']);\n                $manageUsersPage = $wlpe->ViewAllUsers($displayManageTpl, $displayManageOuterTpl, $usersList);\n                unset($_SESSION[\'editInternalKey\']);\n                return $manageUsersPage;\n                break;\n            \n            default :\n                $manageUsersPage = $wlpe->ViewAllUsers($displayManageTpl, $displayManageOuterTpl, $usersList);\n                return $manageUsersPage;\n        }\n        return;\n    }\n    \n    else if ($type == \'simple\')\n    {\n        switch ($service) \n        {\n\n            case \'login\' :\n                $wlpe->Login($type, $liHomeId);\n\n                if ($modx->getLoginUserID())\n                {\n                    return $displaySuccessTpl;\n                }\n                return $displayLoginFormTpl;\n                break;\n\n            case \'logout\' :\n                $wlpe->Logout($type, $loHomeId);\n                return $displayLoginFormTpl;\n                break;\n\n            case \'profile\' :\n                if (in_array(\'profile\', $disableServices)){return;}\n                if (empty($profileHomeId))\n                {\n                    return $displayProfileTpl;\n                }\n                $url = $modx->makeURL($profileHomeId);\n                $modx->sendRedirect($url,0,\'REDIRECT_REFRESH\');\n                return;\n                break;\n                \n            case \'saveprofilesimple\' :\n                if (in_array(\'saveprofile\', $disableServices)){return;}\n                $wlpe->SaveUserProfile();\n                $wlpe->PlaceHolders($inputHandler, $messageTpl);\n                return $displayProfileTpl;\n                break;\n            \n            case \'deleteprofilesimple\':\n                if (in_array(\'deleteprofile\', $disableServices)){return;}\n                return $displayProfileDeleteTpl;\n                break;\n\n            case \'confirmdeleteprofilesimple\':\n                if (in_array(\'confirmdeleteprofile\', $disableServices)){return;}\n                $wlpe->RemoveUserProfile();\n                return \'[+wlpe.message+]\';\n                break;\n\n            case \'registernew\' :\n                if (in_array(\'register\', $disableServices)){return;}\n                if (empty($regHomeId))\n                {\n                    return $displayRegisterTpl;\n                }\n                $url = $modx->makeURL($regHomeId);\n                $modx->sendRedirect($url,0,\'REDIRECT_REFRESH\');\n                return;\n                break;\n                \n            case \'register\':\n                if (in_array(\'register\', $disableServices)){return;}\n                $registration = $wlpe->Register($regType, $groups, $regRequired, $notify, $notifyTpl, $notifySubject);\n                \n                if (isset($regSuccessId) && $regSuccessId !== \'\')\n                {\n                    if ($registration == \'success\')\n                    {\n                        $url = rtrim($modx->config[\'site_url\'], \'/\').$modx->makeURL($regSuccessId);\n                        header(\'Refresh: \'.$regSuccessPause.\';URL=\'.$url);\n                        return $displayRegSuccessTpl;\n                    }\n                    return $displayRegisterTpl;\n                    \n                }\n                if ($registration == \'success\')\n                {\n                    return $displayRegSuccessTpl;\n                }\n                return $displayRegisterTpl;\n                break;\n\n            case \'forgot\' :\n                if (in_array(\'forgot\', $disableServices)){return;}\n                return $displayResetTpl;\n                break;\n            \n            case \'resetpassword\' :\n                if (in_array(\'resetpassword\', $disableServices)){return;}\n                $wlpe->ResetPassword();\n                if (isset($wlpe->Report)) \n                {\n                    if (isset($_POST[\'email\']))\n                    {\n                        return $displayResetTpl;\n                    }\n                    else\n                    {\n                        return $displayActivateTpl;\n                    }\n                }\n                return;\n                break;\n            \n            case \'activate\' :\n                if (in_array(\'activate\', $disableServices)){return;}\n                return $displayActivateTpl;\n                break;\n            \n            case \'activated\':\n                if (in_array(\'activated\', $disableServices)){return;}\n                $wlpe->ActivateUser();\n                // pixelchutes 1:57 AM 9/19/2007\n                // Here we check for an error, then reload the activation template if necessary\n                // Do NOT reload if wlpe->Report indicates success\n                 // Added strip_tags() around string which means an error is not thrown regarding a modifier from closing\n                // html tag e.g. if $wlpe_lang[104] contains \"</div>\" this will fail as \"/d\" treated as modifier\n                if ( isset( $wlpe->Report ) && !preg_match( \"/\".strip_tags($wlpe_lang[104]).\"/i\", $wlpe->Report ) )\n                {\n                    return $displayActivateTpl;\n                }                \n                return $displayLoginFormTpl;\n                break;\n            \n            default :\n                \n                if ($modx->getLoginUserID())\n                {\n                    return $displaySuccessTpl;\n                }\n                else\n                {\n                    $wlpe->AutoLogin();\n                    return $displayLoginFormTpl;\n                }\n\n        }// [END] Switch : $service for simple.\n    }\n    \n    else if ($type == \'taconite\')\n    {\n        switch ($service) \n        {\n\n            case \'login\' :\n                $wlpe->Login($type, $liHomeId);\n\n                if (isset($wlpe->Report)) \n                {\n                    return $wlpe->Report;\n                }\n                return;\n                break;\n\n            case \'logout\' :\n                $wlpe->Logout($type, $loHomeId);                \n                return;\n                break;\n\n            case \'register\' :\n                if (in_array(\'register\', $disableServices)){return;}\n                $wlpe->Register($regType, $groups, $regRequired, $notify, $notifyTpl, $notifySubject);\n                return $wlpe->Report;\n                break;\n            \n            case \'resetpassword\' :\n                if (in_array(\'resetpassword\', $disableServices)){return;}\n                $wlpe->ResetPassword();\n                return $wlpe->Report;\n                break;\n                \n            case \'activated\':\n                if (in_array(\'activated\', $disableServices)){return;}\n                $wlpe->ActivateUser();\n                return $wlpe->Report;\n                break;\n                    \n            default :\n                if ($modx->getLoginUserID())\n                {\n                    return;\n                }\n                else\n                {\n                    $wlpe->AutoLogin();\n                }\n        }// [END] Switch : $service for taconite.\n    }\n    \n    else\n    {\n        return;\n    }\n','0','',' ');
  1345. INSERT INTO `modx_site_snippets` VALUES ('27','ShowBanner','Показ случайного баннера <b>v. betta 1</b>','0','7','0','\n/**\n * Отображение случайных банеров\n * ShowBanner\n * @Автор Vayan\n * @Дата  02.07.2009\n * @version beta 1\n * \n * \n * &conteiner - ID документа контейнера с баннерами\n * &tpl - шаблон баннера\n * &id - уникальный идентификатор для блока банера (уникальный идентификатор для блока баннера (каждая копия баннера на одной странице должна иметь свой уникальный идентификатор))\n * &update - время в секундах для перезагрузки баннера на странице\n * &noBanner - текст если баннер не найден\n */\n\n$default_template = \'[+pagetitle+]\';\n\n$id = isset($id) ? md5($id) : \'\';\n$tpl = isset($tpl) ? $modx->getChunk($tpl) : $default_template;\n\n$noBanner = isset($noBanner)? $noBanner : \'\';\n$output = \"\";\n$outputArray = array();\n\nif (empty($id)) $update=0;\nif (!empty($update)) $update = (int) $update;\n\nif (empty($conteiner)) return $noBanner;\n\n// получаем список TV параметров\npreg_match_all(\'~\\[\\+tv(.*?)\\+\\]~\', $tpl, $matches);\n$cnt = count($matches[1]);\n$tvnames = array ();\nfor ($i = 0; $i < $cnt; $i++) {\n    $tvnames[] = $matches[1][$i];\n}\n$tvnames = array_unique($tvnames);\n\n\nif (!empty($update)){\n    // установленно время обновления, значит обрабатываем влю доступную группу баннеров\n    $result = $modx->db->query(\"SELECT id, pagetitle, introtext, content FROM \".$modx->getFullTableName(\'site_content\').\" WHERE parent=\".$conteiner.\" AND deleted=0 AND published=1 AND (pub_date=0 OR pub_date < \".time().\") AND (unpub_date=0 OR unpub_date > \".time().\") ORDER BY RAND() LIMIT 0,50\");\n    if (!$modx->db->getRecordCount($result)) return $noBanner;\n\n    while($line = $modx->db->getRow($result)){\n        $tempTpl = $tpl;\n        $fields = array(\'[+id+]\', \'[+pagetitle+]\', \'[+introtext+]\', \'[+content+]\');\n        $values = array($line[\'id\'],$line[\'pagetitle\'],$line[\'introtext\'],$line[\'content\']);\n        $tempTpl = str_replace($fields,$values,$tempTpl);\n        $docId = $line[\'id\'];\n\n        if (count($tvnames) >= 1) {\n            $tvs = $modx->getTemplateVarOutput($tvnames, $docId);\n            if ($tvs !== false) {\n                foreach ($tvs as $name => $object) {\n                    $tempTpl = str_replace(\"[+tv$name+]\", $object, $tempTpl);\n                }\n            }\n        }\n\n        \n        $tempTpl = str_replace(\"\'\", \"\\\'\", $tempTpl);\n        $tempTpl = str_replace(\"\\r\", \" \", $tempTpl);\n        $tempTpl = str_replace(\"\\n\", \" \", $tempTpl);\n        $outputArray[] = $tempTpl;\n\n    }\n\n    // выводим ява массив\n    $output = \"<div id=\'banner_\".$id.\"\'>\".str_replace(\"\\\'\",\"\'\", $outputArray[0]).\"</div>\n    <script> \n    var banners_$id = [\'\".implode(\"\',\'\", $outputArray).\"\'];\n    \n    function updateBanner_\".$id.\"(){\n    var updateTime = \".($update*1000).\";\n    var roundElement = Math.round(Math.random()*(banners_\".$id.\".length-1));\n    document.getElementById(\'banner_\".$id.\"\').innerHTML = banners_\".$id.\"[roundElement];\n    setTimeout(updateBanner_$id, updateTime);\n    }\n    updateBanner_\".$id.\"();\n    </script>\";\n\n\n}else{\n    //выводим один случайный баннер\n\n\n    // 1. получаем один случайный документ из контейнера который не удален и опубликован\n    $result = $modx->db->query(\"SELECT id, pagetitle, introtext, content FROM \".$modx->getFullTableName(\'site_content\').\" WHERE parent=\".$conteiner.\" AND deleted=0 AND published=1 AND (pub_date=0 OR pub_date < \".time().\") AND (unpub_date=0 OR unpub_date > \".time().\") ORDER BY RAND() LIMIT 0,1\");\n    if (!$modx->db->getRecordCount($result)) return $noBanner;\n    $line = $modx->db->getRow($result);\n\n    $fields = array(\'[+id+]\', \'[+pagetitle+]\', \'[+introtext+]\', \'[+content+]\');\n    $values = array($line[\'id\'],$line[\'pagetitle\'],$line[\'introtext\'],$line[\'content\']);\n    $output .= str_replace($fields,$values,$tpl);\n    $docId = $line[\'id\'];\n\n\n    if (count($tvnames) >= 1) {\n        $tvs = $modx->getTemplateVarOutput($tvnames, $docId);\n        if ($tvs !== false) {\n            foreach ($tvs as $name => $object) {\n                $output = str_replace(\"[+tv$name+]\", $object, $output);\n            }\n        }\n    }\n}\n\nreturn $output;\n','0','',' ');
  1346. INSERT INTO `modx_site_snippets` VALUES ('31','GetTour','','0','0','0','\n$id= isset($_GET[\'id\']) ? (int)$_GET[\'id\'] : 0;\n \nif ($id && $modx->getLoginUserID()>0) {\n     $web_users_tours = \'ls_get_tours\';\n     $result = $modx->db->select(\'*\',$web_users_tours,\'id=\'.$id.\' AND uid=\'.$modx->getLoginUserID(),\'\',\'\');\n     $row = $modx->db->getRow($result);\n     echo \'ID тура: \'.$row[\'id\'].\'<br>\';\n \n     echo \'ext ID тура: \'.$row[\'id_tours\'].\'<br>\';\n     echo \'Город вылета: \'.$row[\'city_name\'].\'<br>\';\n     echo \'Страна: \'.$row[\'country_name\'].\'<br>\';\n     echo \'Отель: \'.$row[\'allocation_name\'].\'<br>\';\n     echo \'Сроки поездки: \'.$row[\'departure_ru\'].\'<br>\';\n     echo \'Продолжительность: \'.$row[\'duration\'].\'<br>\';\n     echo \'Размещение: \'.$row[\'room_size_name\'].\'<br>\';\n     echo \'Тип номера: \'.$row[\'room_type_name\'].\'<br>\';\n     echo \'Вид из номера: \'.$row[\'room_view_name\'].\'<br>\';     \n     echo \'Питание: \'.$row[\'meal_name\'].\'<br>\';\n     echo \'Цена за номер: \'.$row[\'price_rub\'].\' (\'.$row[\'real_price\'].\')<br>\';\n \n} else { \n    echo \'<b>Hacking attempt!</b>\';\n}\n','0','',' ');
  1347. INSERT INTO `modx_site_snippets` VALUES ('30','GetTours','архив заявок с поиска и прочего','0','0','0','\nif ($modx->getLoginUserID()>0){\n$ls_get_tours =\'ls_get_tours\';\n \n$result = $modx->db->select(\'*\',$ls_get_tours,\'uid=\'.$modx->getLoginUserID(),\'\',\'\');\n \n$count = $modx->db->getRecordCount($result);\n$output = \'\';\n \nif ($count>0) {\n    while( $row = $modx->db->getRow($result)) {\n        $chunk = $modx->getChunk(\'GetXToursRow\');\n        foreach($row as $k=>$v) {\n                    $chunk = str_replace(\"[+$k+]\",$v,$chunk);\n            }\n   $output .= $chunk;\n    }\n \n \n    $chunk  = $modx->getChunk(\'GetXToursOuter\');\n    $output = str_replace(\"[+gt.wrapper+]\",$output,$chunk);\n} else {\n    $output = \'<center>Данных не поступало</center>\';\n}\n}else{\n    $output = \'Ошибка\';\n}\nreturn $output;\n','0','',' ');
  1348. INSERT INTO `modx_site_snippets` VALUES ('34','zip-folder','упаковщик zip','0','0','0','\n$startDir = isset($startDir) ? $startDir : MODX_BASE_PATH;\n// increase script timeout value\nini_set(\"max_execution_time\", 300);\n// create object\n$zip = new ZipArchive();\n// open archive\nif ($zip->open(\"my-archive.zip\", ZIPARCHIVE::CREATE) !== TRUE) {\ndie (\"Could not open archive\");\n}\n// initialize an iterator\n// pass it the directory to be processed\n$iterator = new RecursiveIteratorIterator(new RecursiveDirectoryIterator($startDir));\n// iterate over the directory\n// add each file found to the archive\nforeach ($iterator as $key=>$value) {\n$zip->addFile(realpath($key), $key) or die (\"ERROR: Could not add file: $key\");\n}\n// close and save archive\n$zip->close();\necho \"Archive created successfully.\";\n','0','',' ');
  1349. INSERT INTO `modx_site_snippets` VALUES ('35','Archive','архив туров','0','0','0','\n$hack = strpos($_SERVER[\"HTTP_REFERER\"],$_SERVER[\"SERVER_NAME\"]);\nif ($hack>0){\n    $id_user = $modx->getLoginUserID();\n    if ($id_user>0){\n \n        $allocation_name = $modx->db->escape($_POST[\'allocation_name\']);\n        $arrival_ru = $modx->db->escape($_POST[\'arrival_ru\']);\n        $city_name = $modx->db->escape($_POST[\'city_name\']);\n        $country_name = $modx->db->escape($_POST[\'country_name\']);\n        $departure_ru = $modx->db->escape($_POST[\'departure_ru\']);\n        $duration = $modx->db->escape($_POST[\'duration\']);\n        $id = $modx->db->escape($_POST[\'id\']);\n        $meal_name = $modx->db->escape($_POST[\'meal_name\']);\n        $price_rub = $modx->db->escape($_POST[\'price_rub\']);\n        $real_price = $modx->db->escape($_POST[\'real_price\']);\n        $resort_name = $modx->db->escape($_POST[\'resort_name\']);\n        $room_size_name = $modx->db->escape($_POST[\'room_size_name\']);\n        $room_type_name = $modx->db->escape($_POST[\'room_type_name\']);\n        $room_view_name = $modx->db->escape($_POST[\'room_view_name\']);\n \n        $fields = array(\n            \'allocation_name\' => $allocation_name,    \n            \'arrival_ru\'  => $arrival_ru,\n            \'city_name\' => $city_name,\n            \'country_name\'  => $country_name,\n            \'departure_ru\'  => $departure_ru,\n            \'id_tours\'  => $id,\n            \'meal_name\'  => $meal_name ,\n            \'price_rub\' => $price_rub,\n            \'real_price\'=>  $real_price,\n            \'resort_name\'  => $resort_name,\n            \'room_size_name\' => $room_size_name,                                                                                                                        \n            \'room_type_name\' => $room_type_name,\n            \'room_view_name\' => $room_view_name,\n            \'uid\'=>$modx->getLoginUserID()\n        );\n \n        $table = \'ls_get_tours\';\n        $modx->db->insert( $fields, $table);  \n \n    }else{\n        die(\'Невозможно продолжить работу!\');\n    }\n}else{\n    die(\'Невозможно продолжить работу!\');\n}\n','0','',' ');
  1350. INSERT INTO `modx_site_snippets` VALUES ('41','ajaxSubmit','<strong>1.0</strong> Ajax sending of any form','0','7','0','return require MODX_BASE_PATH.\'assets/plugins/ajax_submit/ajax_submit.inc.php\';\n','0','','');
  1351. INSERT INTO `modx_site_snippets` VALUES ('36','if','<strong>1.2</strong> A simple conditional snippet. Allows for eq/neq/lt/gt/etc logic within templates, resources, chunks, etc.','0','0','0','return require MODX_BASE_PATH.\'assets/snippets/if/snippet.if.php\';','0','','');
  1352. INSERT INTO `modx_site_snippets` VALUES ('40','phpthumb','<strong>1.2</strong> PHPThumb creates thumbnails and altered images on the fly and caches them','0','6','0','return require MODX_BASE_PATH.\'assets/snippets/phpthumb/snippet.phpthumb.php\';\n','0','','');
  1353. INSERT INTO `modx_site_snippets` VALUES ('37','Jot','<strong>1.1.4</strong> User comments with moderation and email subscription','0','6','0','/*####\n#\n# Author: Armand \"bS\" Pondman (apondman@zerobarrier.nl)\n#\n# Latest Version: http://modx.com/extras/package/jot\n# Jot Demo Site: http://projects.zerobarrier.nl/modx/\n# Documentation: http://wiki.modxcms.com/index.php/Jot (wiki)\n#\n####*/\n\n$jotPath = $modx->config[\'base_path\'] . \'assets/snippets/jot/\';\ninclude_once($jotPath.\'jot.class.inc.php\');\n\n$Jot = new CJot;\n$Jot->VersionCheck(\"1.1.4\");\n$Jot->Set(\"path\",$jotPath);\n$Jot->Set(\"action\", $action);\n$Jot->Set(\"postdelay\", $postdelay);\n$Jot->Set(\"docid\", $docid);\n$Jot->Set(\"tagid\", $tagid);\n$Jot->Set(\"subscribe\", $subscribe);\n$Jot->Set(\"moderated\", $moderated);\n$Jot->Set(\"captcha\", $captcha);\n$Jot->Set(\"badwords\", $badwords);\n$Jot->Set(\"bw\", $bw);\n$Jot->Set(\"sortby\", $sortby);\n$Jot->Set(\"numdir\", $numdir);\n$Jot->Set(\"customfields\", $customfields);\n$Jot->Set(\"guestname\", $guestname);\n$Jot->Set(\"canpost\", $canpost);\n$Jot->Set(\"canview\", $canview);\n$Jot->Set(\"canedit\", $canedit);\n$Jot->Set(\"canmoderate\", $canmoderate);\n$Jot->Set(\"trusted\", $trusted);\n$Jot->Set(\"pagination\", $pagination);\n$Jot->Set(\"placeholders\", $placeholders);\n$Jot->Set(\"subjectSubscribe\", $subjectSubscribe);\n$Jot->Set(\"subjectModerate\", $subjectModerate);\n$Jot->Set(\"subjectAuthor\", $subjectAuthor);\n$Jot->Set(\"notify\", $notify);\n$Jot->Set(\"notifyAuthor\", $notifyAuthor);\n$Jot->Set(\"validate\", $validate);\n$Jot->Set(\"title\", $title);\n$Jot->Set(\"authorid\", $authorid);\n$Jot->Set(\"css\", $css);\n$Jot->Set(\"cssFile\", $cssFile);\n$Jot->Set(\"cssRowAlt\", $cssRowAlt);\n$Jot->Set(\"cssRowMe\", $cssRowMe);\n$Jot->Set(\"cssRowAuthor\", $cssRowAuthor);\n$Jot->Set(\"tplForm\", $tplForm);\n$Jot->Set(\"tplComments\", $tplComments);\n$Jot->Set(\"tplModerate\", $tplModerate);\n$Jot->Set(\"tplNav\", $tplNav);\n$Jot->Set(\"tplNotify\", $tplNotify);\n$Jot->Set(\"tplNotifyModerator\", $tplNotifyModerator);\n$Jot->Set(\"tplNotifyAuthor\", $tplNotifyAuthor);\n$Jot->Set(\"tplSubscribe\", $tplSubscribe);\n$Jot->Set(\"debug\", $debug);\n$Jot->Set(\"output\", $output);\nreturn $Jot->Run();','0','',' ');
  1354. INSERT INTO `modx_site_snippets` VALUES ('38','alterTitle','<strong>1</strong> Pagetitle если Longtitle пуст','0','12','0','//[[alterTitle? &id = `[+id+]`]] к примеру для вывода в Ditto\n$id = isset($id) ? $id : $modx->documentIdentifier;  \n$arr = $modx->getPageInfo($id,1,\'pagetitle,longtitle\');\n$title = (strlen($arr[\"longtitle\"])>0) ? $arr[\"longtitle\"] : $arr[\"pagetitle\"]; \nreturn $title;','0','','');
  1355. INSERT INTO `modx_site_snippets` VALUES ('42','checkField','<strong>1.0</strong> Проверка формы без CAPTCHA','0','7','0','\nfunction checkField(&$fields,&$vMsg,&$rMsg) {\n    if(!empty($fields[\'lastname\'])) {\n        return false;\n    } else {\n    return true;\n    }\n}\n','0','',' ');
  1356. INSERT INTO `modx_site_snippets` VALUES ('43','Informer','<strong>1.1</strong> Информер валюты','0','12','0','\n// Параметры\n     $type_valuta = isset ($type_valuta) ? $type_valuta : \'USD.EUR\';\n     $color = isset ($color) ? $color : \'blue\';\n     \n     define(\'_DEFOUT\',$type_valuta,true);\n     \n    // Проверяем наличие параметра\n     if (isset($_GET[\'out\'])) \n     if (ctype_alnum(str_replace(\'.\',\'\',$_GET[\'out\'])))\n       define(\'_GETOUT\',$_GET[\'out\'],true);\n       define(\'_VALOUT\',(defined(\'_GETOUT\')?_GETOUT:_DEFOUT),true);\n         $ch = curl_init();\n         curl_setopt($ch, CURLOPT_URL,\"http://www.cbr.ru/scripts/XML_daily.asp\");\n         curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);\n         curl_setopt($ch, CURLOPT_CONNECTTIMEOUT,29);\n         curl_setopt($ch, CURLOPT_HEADER,0);\n         $page = curl_exec($ch);\n         curl_close($ch);  \n    $pos = strpos($page,\'Foreign Currency Market\');    \n    // Получаем курсы на текущую дату и саму дату\n    if ($pos===false){\n        echo \'<link rel=\"stylesheet\" href=\"assets/snippets/informer/informer.css\">\'.\"\\n\";\n        echo \'<span class=\"er\">Извините.<br>По техническим причинам информер временно недоступен.</span>\';\n    }else{\n     $CBRFDoc = simplexml_load_string($page);\n     $attr = $CBRFDoc->attributes();\n     $_d = $attr[\"Date\"];\n     $CBRFDat = array();\n     \n    // Пихаем всё в ассоциативный массив\n     foreach ($CBRFDoc->children() as $CBRFItem)\n     {\n       $_chc = strval($CBRFItem->CharCode);\n       $_res = array(\n           \'name\'  => strval($CBRFItem->CharCode),\n           \'nomc\'  => strval($CBRFItem->Nominal),\n           \'value\' => strval($CBRFItem->Value)\n       );\n       $CBRFDat[$_chc] = $_res;\n     }\n     \n    // Выводим информер\n     $_TOOUT = explode(\'.\',_VALOUT);\n     echo \'<link rel=\"stylesheet\" href=\"assets/snippets/informer/informer.css\">\'.\"\\n\";\n     echo \'<div class=\"informer-valuta info-\'.$color.\'\">\'.\"\\n\";\n         echo \'<div class=\"name\"><span>Курсы валют</span></div>\'.\"\\n\";\n         echo \'<div class=\"date\"><span>Курс цб рф</span><span>\'.$_d.\'</span></div>\'.\"\\n\";\n             echo \'<div class=\"list\">\'.\"\\n\";\n                 foreach ($_TOOUT as $_KEY => $_VAL)\n                 {\n                  if (isset($CBRFDat[$_VAL]))\n                      {\n                       echo \"<p>\n                               <i class=\'fl\'>\".$CBRFDat[$_VAL][\'nomc\'].\"&nbsp;\".$CBRFDat[$_VAL][\'name\'].\"</i>\n                               <i class=\'fr\'>\".$CBRFDat[$_VAL][\'value\'].\"</i>\n                               <i class=\'clear\'></i>\n                             </p>\\n\";\n                      }\n                 }\n             echo \"</div>\\n\";\n         echo \'<div class=\"copyright\"><span>LightSoft Research</span></div>\'.\"\\n\";\n     echo \"</div>\\n\";\n    }\n','0','',' ');
  1357. INSERT INTO `modx_site_snippets` VALUES ('44','easyForm','<strong>0.2</strong> display easyForm on front','0','7','0','// пример вызова [!easyForm? &formid=`f1`!] - для формы с id = 1\n// параметр formid - обязательный, начинается с буквы f, далее - число, соответствующее id формы в модуле.\n\n// пример совмещения с evoBabel для мультиязычности\n// $eF->lang=$_SESSION[\'perevod\']; перед строкой $out=$eF->Run();\n// не забудьте создать соответствующие переводы в модуля управления переводами\n\n \n$out=\'\';\n$eid=str_replace(\'f\',\'\',$params[\'formid\']);\n\nif((int)$eid!=0){\n  include_once(MODX_BASE_PATH.\"assets/snippets/easyForm/easyForm.class.php\");\n $eF=new easyForm($modx,$params,$eid);\n $out=$eF->Run();\n}\nelse{\n    $out.=\'<p>Неверно задан id формы. Проверьте параметр &formid</p>\';\n}\n\nreturn $out;\n','0','','');
  1358.  
  1359. # --------------------------------------------------------
  1360.  
  1361. #
  1362. # Table structure for table `modx_site_templates`
  1363. #
  1364.  
  1365. DROP TABLE IF EXISTS `modx_site_templates`;
  1366. CREATE TABLE `modx_site_templates` (
  1367.   `id` int(10) NOT NULL AUTO_INCREMENT,
  1368.   `templatename` varchar(50) NOT NULL DEFAULT '',
  1369.   `description` varchar(255) NOT NULL DEFAULT 'Template',
  1370.   `editor_type` int(11) NOT NULL DEFAULT '0' COMMENT '0-plain text,1-rich text,2-code editor',
  1371.   `category` int(11) NOT NULL DEFAULT '0' COMMENT 'category id',
  1372.   `icon` varchar(255) NOT NULL DEFAULT '' COMMENT 'url to icon file',
  1373.   `template_type` int(11) NOT NULL DEFAULT '0' COMMENT '0-page,1-content',
  1374.   `content` mediumtext,
  1375.   `locked` tinyint(4) NOT NULL DEFAULT '0',
  1376.   PRIMARY KEY (`id`)
  1377. ) ENGINE=MyISAM AUTO_INCREMENT=9 DEFAULT CHARSET=utf8 COMMENT='Contains the site templates.';
  1378.  
  1379. #
  1380. # Dumping data for table `modx_site_templates`
  1381. #
  1382.  
  1383. INSERT INTO `modx_site_templates` VALUES ('3','Главная','главная страница сайта','0','6','','0','{{head}}\n    <body>\n        <div class=\"wrapper\">\n            <div class=\"logo-bg\">\n                <img class=\"logo\" src=\"../assets/images/logo.png\" alt=\"На главную\"/>\n            </div>\n            <div class=\"skew-block\">\n                <a class=\"prev\"><img src=\"../assets/images/next.png\" alt=\"\"/></a>\n                <span class=\"name-module\">Найти тур</span>\n                <ul class=\"slides\">\n                    <li class=\"active\" rel=\"1\"><a href=\"slide1.html\"></a></li>\n                    <li rel=\"2\"><a href=\"[~268~]\"></a></li>\n                    <li rel=\"3\"><a href=\"slide3.html\"></a></li>\n                    <li rel=\"4\"><a href=\"slide4.html\"></a></li>\n                </ul>\n                <a class=\"next\"><img src=\"../assets/images/prev.png\" alt=\"\"/></a>\n            </div>\n            <div class=\"modules-slider\">\n                <div>\n                    [[DocInfo? &docid=`17` &field=`content`]]\n                </div>\n                <div>\n                    [[DocInfo? &docid=`268` &field=`content`]]\n                </div>\n                <div>\n                    <div class=\"contacts\">\n                        <ul>\n                            <li><a href=\"#\"><img src=\"../assets/images/1.1.png\" alt=\"\"/></a></li>\n                            <li><a href=\"#\"><img src=\"../assets/images/1.2.png\" alt=\"\"/></a></li>\n                            <li><a href=\"#\"><img src=\"../assets/images/1.3.png\" alt=\"\"/></a></li>\n                            <li><a href=\"#\"><img src=\"../assets/images/1.4.png\" alt=\"\"/></a></li>\n                            <li><a href=\"#\"><img src=\"../assets/images/1.5.png\" alt=\"\"/></a></li>\n                            <li><a href=\"#\"><img src=\"../assets/images/1.6.png\" alt=\"\"/></a></li>\n                        </ul>\n                    </div>\n                    <script type=\"text/javascript\" language=\"JavaScript\" src=\"http://tourclient.ru/f/jsboot/61285/mobile_free_order?style=default&conf=default\"></script>\n                    <footer class=\"info\">\n                        <ul>\n                            [[DocInfo? &docid=`35` &field=`content`]]\n                        </ul>\n                    </footer>\n                </div>\n                <div>\n                    <div class=\"about-us\">\n                        [[DocInfo? &docid=`291` &field=`content`]]\n                    </div>\n                    <footer>\n                        [[DocInfo? &docid=`34` &field=`content`]]\n                    </footer>\n                </div>\n            </div>\n        </div>\n    </body>\n</html>','0');
  1384. INSERT INTO `modx_site_templates` VALUES ('4','Внутренняя','внутренняя страница сайта','0','6','','0','[*#content*]','0');
  1385. INSERT INTO `modx_site_templates` VALUES ('5','Баннеры','копия внутренней для баннеров','0','6','','0','[*#content*]','0');
  1386. INSERT INTO `modx_site_templates` VALUES ('6','Поиск тура','копия внутренней для поиска','0','8','','0','{{head}}\n    <body>\n        <div class=\"wrapper\">\n            <div class=\"logo-bg\">\n                <img class=\"logo\" src=\"../assets/images/logo.png\" alt=\"На главную\"/>\n            </div>\n            <div class=\"skew-block\">\n                <a class=\"prev\"><img src=\"../assets/images/next.png\" alt=\"\"/></a>\n                <span class=\"name-module\">Найти тур</span>\n                <ul class=\"slides\">\n                    <li class=\"active\" rel=\"1\"><a href=\"slide1.html\"></a></li>\n                    <li rel=\"2\"><a href=\"slide2.html\"></a></li>\n                    <li rel=\"3\"><a href=\"slide3.html\"></a></li>\n                    <li rel=\"4\"><a href=\"slide4.html\"></a></li>\n                </ul>\n                <a class=\"next\"><img src=\"../assets/images/prev.png\" alt=\"\"/></a>\n            </div>\n            <div class=\"modules-slider\">\n                <div>\n                    [*#content*]\n\n                </div>\n                <div>\n                    <!--BEGIN OF MODULE BLOCK-->\n                    <script type=\"text/javascript\" language=\"JavaScript\" src=\"http://tourclient.ru/f/jsboot/61285/mobile_hot_tour?style=default&conf=default\"></script>\n\n                </div>\n                <div>\n                    <div class=\"contacts\">\n                        <ul>\n                            <li><a href=\"#\"><img src=\"../assets/images/1.1.png\" alt=\"\"/></a></li>\n                            <li><a href=\"#\"><img src=\"../assets/images/1.2.png\" alt=\"\"/></a></li>\n                            <li><a href=\"#\"><img src=\"../assets/images/1.3.png\" alt=\"\"/></a></li>\n                            <li><a href=\"#\"><img src=\"../assets/images/1.4.png\" alt=\"\"/></a></li>\n                            <li><a href=\"#\"><img src=\"../assets/images/1.5.png\" alt=\"\"/></a></li>\n                            <li><a href=\"#\"><img src=\"../assets/images/1.6.png\" alt=\"\"/></a></li>\n                        </ul>\n                    </div>\n                    <form action=\"\" class=\"main-info\">\n                        <input placeholder=\"Имя\" type=\"text\"/>\n                        <input placeholder=\"Email или телефон\" type=\"text\"/>\n                        <textarea placeholder=\"Сообщение\" name=\"\" id=\"\" cols=\"30\" rows=\"10\"></textarea>\n                        <input type=\"submit\"/>\n                    </form>\n                    <footer class=\"info\">\n                        <ul>\n                            <li>Контактная  информация</li>\n                            <li>Москва, Россия</li>\n                            <li>15035, ул. Балчуг, 7info@mysite.com</li>\n                            <li>Тел.: +7 (495) 000 00 00</li>\n                            <li>Факс: +7 (495) 000 00 00</li>\n                            <li>© 2023 «В добрый путь»</li>\n                            <li>Сайт создан на TourAdmin.ru</li>\n                        </ul>\n                    </footer>\n                </div>\n                <div>\n                    <div class=\"about-us\">\n                        <ul>\n                            <li>Идейные соображения высшего порядка, а также новая модель </li>\n                            <li>Формировании направлений прогрессивного развития</li>\n                            <li>Количественный рост и сфера нашей активности обеспечивает широкому</li>\n                        </ul>\n                        <ul>\n                            <li>Организационной деятельности играет важную роль в </li>\n                            <li>Повседневная практика показывает, что постоянный</li>\n                            <li>В кругу (специалистов) участие в формировании дальнейших направлений</li>\n                        </ul>\n                    </div>\n                    <footer>\n                        <p>\n                            Идейные соображения высшего порядка, а также новая модель организационной деятельности играет важную роль в формировании направлений прогрессивного развития. Повседневная практика показывает, что постоянный количественный рост и сфера нашей активности обеспечивает широкому кругу (специалистов) участие в формировании дальнейших направлений развития. Разнообразный и богатый опыт укрепление и развитие структуры влечет за собой процесс внедрения и модернизации направлений прогрессивного развития.\n                        </p>\n                    </footer>\n                </div>\n            </div>\n        </div>\n    </body>\n</html>','0');
  1387. INSERT INTO `modx_site_templates` VALUES ('7','Страны','копия внутренней для стран','0','8','','0','[*#content*]','0');
  1388.  
  1389. # --------------------------------------------------------
  1390.  
  1391. #
  1392. # Table structure for table `modx_site_tmplvar_access`
  1393. #
  1394.  
  1395. DROP TABLE IF EXISTS `modx_site_tmplvar_access`;
  1396. CREATE TABLE `modx_site_tmplvar_access` (
  1397.   `id` int(10) NOT NULL AUTO_INCREMENT,
  1398.   `tmplvarid` int(10) NOT NULL DEFAULT '0',
  1399.   `documentgroup` int(10) NOT NULL DEFAULT '0',
  1400.   PRIMARY KEY (`id`)
  1401. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Contains data used for template variable access permissions.';
  1402.  
  1403. #
  1404. # Dumping data for table `modx_site_tmplvar_access`
  1405. #
  1406.  
  1407.  
  1408. # --------------------------------------------------------
  1409.  
  1410. #
  1411. # Table structure for table `modx_site_tmplvar_contentvalues`
  1412. #
  1413.  
  1414. DROP TABLE IF EXISTS `modx_site_tmplvar_contentvalues`;
  1415. CREATE TABLE `modx_site_tmplvar_contentvalues` (
  1416.   `id` int(11) NOT NULL AUTO_INCREMENT,
  1417.   `tmplvarid` int(10) NOT NULL DEFAULT '0' COMMENT 'Template Variable id',
  1418.   `contentid` int(10) NOT NULL DEFAULT '0' COMMENT 'Site Content Id',
  1419.   `value` text,
  1420.   PRIMARY KEY (`id`),
  1421.   KEY `idx_tmplvarid` (`tmplvarid`),
  1422.   KEY `idx_id` (`contentid`),
  1423.   FULLTEXT KEY `value_ft_idx` (`value`)
  1424. ) ENGINE=MyISAM AUTO_INCREMENT=487 DEFAULT CHARSET=utf8 COMMENT='Site Template Variables Content Values Link Table';
  1425.  
  1426. #
  1427. # Dumping data for table `modx_site_tmplvar_contentvalues`
  1428. #
  1429.  
  1430. INSERT INTO `modx_site_tmplvar_contentvalues` VALUES ('4','4','1','0');
  1431. INSERT INTO `modx_site_tmplvar_contentvalues` VALUES ('6','4','25','0');
  1432. INSERT INTO `modx_site_tmplvar_contentvalues` VALUES ('8','4','27','0');
  1433. INSERT INTO `modx_site_tmplvar_contentvalues` VALUES ('9','4','28','0');
  1434. INSERT INTO `modx_site_tmplvar_contentvalues` VALUES ('10','4','17','0');
  1435. INSERT INTO `modx_site_tmplvar_contentvalues` VALUES ('13','4','31','0');
  1436. INSERT INTO `modx_site_tmplvar_contentvalues` VALUES ('14','4','34','0');
  1437. INSERT INTO `modx_site_tmplvar_contentvalues` VALUES ('15','4','35','0');
  1438. INSERT INTO `modx_site_tmplvar_contentvalues` VALUES ('464','4','267','0');
  1439. INSERT INTO `modx_site_tmplvar_contentvalues` VALUES ('486','4','291','0');
  1440. INSERT INTO `modx_site_tmplvar_contentvalues` VALUES ('23','4','39','0');
  1441. INSERT INTO `modx_site_tmplvar_contentvalues` VALUES ('25','4','41','0');
  1442. INSERT INTO `modx_site_tmplvar_contentvalues` VALUES ('469','4','2','0');
  1443. INSERT INTO `modx_site_tmplvar_contentvalues` VALUES ('468','4','273','0');
  1444. INSERT INTO `modx_site_tmplvar_contentvalues` VALUES ('465','4','268','0');
  1445. INSERT INTO `modx_site_tmplvar_contentvalues` VALUES ('34','4','50','0');
  1446. INSERT INTO `modx_site_tmplvar_contentvalues` VALUES ('35','4','51','0');
  1447. INSERT INTO `modx_site_tmplvar_contentvalues` VALUES ('36','4','52','0');
  1448. INSERT INTO `modx_site_tmplvar_contentvalues` VALUES ('37','4','53','0');
  1449. INSERT INTO `modx_site_tmplvar_contentvalues` VALUES ('38','4','54','0');
  1450. INSERT INTO `modx_site_tmplvar_contentvalues` VALUES ('470','4','275','0');
  1451. INSERT INTO `modx_site_tmplvar_contentvalues` VALUES ('472','4','279','0');
  1452. INSERT INTO `modx_site_tmplvar_contentvalues` VALUES ('479','4','19','0');
  1453. INSERT INTO `modx_site_tmplvar_contentvalues` VALUES ('480','4','48','0');
  1454. INSERT INTO `modx_site_tmplvar_contentvalues` VALUES ('483','4','21','0');
  1455. INSERT INTO `modx_site_tmplvar_contentvalues` VALUES ('484','4','20','0');
  1456. INSERT INTO `modx_site_tmplvar_contentvalues` VALUES ('485','4','290','0');
  1457.  
  1458. # --------------------------------------------------------
  1459.  
  1460. #
  1461. # Table structure for table `modx_site_tmplvar_templates`
  1462. #
  1463.  
  1464. DROP TABLE IF EXISTS `modx_site_tmplvar_templates`;
  1465. CREATE TABLE `modx_site_tmplvar_templates` (
  1466.   `tmplvarid` int(10) NOT NULL DEFAULT '0' COMMENT 'Template Variable id',
  1467.   `templateid` int(11) NOT NULL DEFAULT '0',
  1468.   `rank` int(11) NOT NULL DEFAULT '0',
  1469.   PRIMARY KEY (`tmplvarid`,`templateid`)
  1470. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Site Template Variables Templates Link Table';
  1471.  
  1472. #
  1473. # Dumping data for table `modx_site_tmplvar_templates`
  1474. #
  1475.  
  1476. INSERT INTO `modx_site_tmplvar_templates` VALUES ('6','4','12');
  1477. INSERT INTO `modx_site_tmplvar_templates` VALUES ('5','4','11');
  1478. INSERT INTO `modx_site_tmplvar_templates` VALUES ('4','4','10');
  1479. INSERT INTO `modx_site_tmplvar_templates` VALUES ('7','5','0');
  1480. INSERT INTO `modx_site_tmplvar_templates` VALUES ('8','3','4');
  1481. INSERT INTO `modx_site_tmplvar_templates` VALUES ('8','4','4');
  1482. INSERT INTO `modx_site_tmplvar_templates` VALUES ('8','5','0');
  1483. INSERT INTO `modx_site_tmplvar_templates` VALUES ('8','6','4');
  1484. INSERT INTO `modx_site_tmplvar_templates` VALUES ('8','7','0');
  1485. INSERT INTO `modx_site_tmplvar_templates` VALUES ('19','3','2');
  1486. INSERT INTO `modx_site_tmplvar_templates` VALUES ('17','3','1');
  1487. INSERT INTO `modx_site_tmplvar_templates` VALUES ('16','3','0');
  1488.  
  1489. # --------------------------------------------------------
  1490.  
  1491. #
  1492. # Table structure for table `modx_site_tmplvars`
  1493. #
  1494.  
  1495. DROP TABLE IF EXISTS `modx_site_tmplvars`;
  1496. CREATE TABLE `modx_site_tmplvars` (
  1497.   `id` int(11) NOT NULL AUTO_INCREMENT,
  1498.   `type` varchar(20) NOT NULL DEFAULT '',
  1499.   `name` varchar(50) NOT NULL DEFAULT '',
  1500.   `caption` varchar(80) NOT NULL DEFAULT '',
  1501.   `description` varchar(255) NOT NULL DEFAULT '',
  1502.   `editor_type` int(11) NOT NULL DEFAULT '0' COMMENT '0-plain text,1-rich text,2-code editor',
  1503.   `category` int(11) NOT NULL DEFAULT '0' COMMENT 'category id',
  1504.   `locked` tinyint(4) NOT NULL DEFAULT '0',
  1505.   `elements` text,
  1506.   `rank` int(11) NOT NULL DEFAULT '0',
  1507.   `display` varchar(20) NOT NULL DEFAULT '' COMMENT 'Display Control',
  1508.   `display_params` text COMMENT 'Display Control Properties',
  1509.   `default_text` text,
  1510.   PRIMARY KEY (`id`),
  1511.   KEY `indx_rank` (`rank`)
  1512. ) ENGINE=MyISAM AUTO_INCREMENT=20 DEFAULT CHARSET=utf8 COMMENT='Site Template Variables';
  1513.  
  1514. #
  1515. # Dumping data for table `modx_site_tmplvars`
  1516. #
  1517.  
  1518. INSERT INTO `modx_site_tmplvars` VALUES ('6','checkbox','country_lists','Вывод стран','Отметьте галочками в каких блоках необходимо отображать страну','0','0','0','На главной==index','0','','','');
  1519. INSERT INTO `modx_site_tmplvars` VALUES ('4','dropdown','country_id','Страна','Связь страны с словариком','0','0','0','@CHUNK countries','0','','','');
  1520. INSERT INTO `modx_site_tmplvars` VALUES ('5','image','country_flag','Флаг страны','Изображение флага страны','0','0','0','','0','','','');
  1521. INSERT INTO `modx_site_tmplvars` VALUES ('7','image','image','Выберите картинку','','0','0','0','','0','','','');
  1522. INSERT INTO `modx_site_tmplvars` VALUES ('8','text','keywords','Ключевые слова','Ключевые слова для страниц сайта. Разделяются запятыми.','0','5','0','','0','','','');
  1523. INSERT INTO `modx_site_tmplvars` VALUES ('12','textarea','desc','Мета дескрипшин','Мета дескрипшин','0','11','0','','0','','','[*introtext*]');
  1524. INSERT INTO `modx_site_tmplvars` VALUES ('13','text','keyw','Ключевые слова','Ключевые слова','0','11','0','','0','','','[*pagetitle*]');
  1525. INSERT INTO `modx_site_tmplvars` VALUES ('14','checkbox','noIndex','Индексировать страницу','Управление URL','0','11','0','Нет==<meta name=\"robots\" content=\"noindex, nofollow\">','0','','','');
  1526. INSERT INTO `modx_site_tmplvars` VALUES ('15','text','titl','Мета тайтл','Мета тайтл','0','11','0','','0','','','[*pagetitle*] - [(site_name)]');
  1527. INSERT INTO `modx_site_tmplvars` VALUES ('16','text','phone','Телефон','Введите номер телефона с кодом региона','0','6','0','','0','','','');
  1528. INSERT INTO `modx_site_tmplvars` VALUES ('17','text','adres','Адрес','введите адрес','0','6','0','','0','','','');
  1529. INSERT INTO `modx_site_tmplvars` VALUES ('18','text','loginName','loginName','Conditional name for the Login menu item','0','1','0','','0','','','@EVAL if ($modx->getLoginUserID()) return \'Logout\'; else return \'Login\';');
  1530. INSERT INTO `modx_site_tmplvars` VALUES ('19','text','email','E-mail','Введите адрес e-mail','0','6','0','','0','','','');
  1531.  
  1532. # --------------------------------------------------------
  1533.  
  1534. #
  1535. # Table structure for table `modx_system_eventnames`
  1536. #
  1537.  
  1538. DROP TABLE IF EXISTS `modx_system_eventnames`;
  1539. CREATE TABLE `modx_system_eventnames` (
  1540.   `id` int(10) NOT NULL AUTO_INCREMENT,
  1541.   `name` varchar(50) NOT NULL DEFAULT '',
  1542.   `service` tinyint(4) NOT NULL DEFAULT '0' COMMENT 'System Service number',
  1543.   `groupname` varchar(20) NOT NULL DEFAULT '',
  1544.   PRIMARY KEY (`id`)
  1545. ) ENGINE=MyISAM AUTO_INCREMENT=1005 DEFAULT CHARSET=utf8 COMMENT='System Event Names.';
  1546.  
  1547. #
  1548. # Dumping data for table `modx_system_eventnames`
  1549. #
  1550.  
  1551. INSERT INTO `modx_system_eventnames` VALUES ('1','OnDocPublished','5','');
  1552. INSERT INTO `modx_system_eventnames` VALUES ('2','OnDocUnPublished','5','');
  1553. INSERT INTO `modx_system_eventnames` VALUES ('3','OnWebPagePrerender','5','');
  1554. INSERT INTO `modx_system_eventnames` VALUES ('4','OnWebLogin','3','');
  1555. INSERT INTO `modx_system_eventnames` VALUES ('5','OnBeforeWebLogout','3','');
  1556. INSERT INTO `modx_system_eventnames` VALUES ('6','OnWebLogout','3','');
  1557. INSERT INTO `modx_system_eventnames` VALUES ('7','OnWebSaveUser','3','');
  1558. INSERT INTO `modx_system_eventnames` VALUES ('8','OnWebDeleteUser','3','');
  1559. INSERT INTO `modx_system_eventnames` VALUES ('9','OnWebChangePassword','3','');
  1560. INSERT INTO `modx_system_eventnames` VALUES ('10','OnWebCreateGroup','3','');
  1561. INSERT INTO `modx_system_eventnames` VALUES ('11','OnManagerLogin','2','');
  1562. INSERT INTO `modx_system_eventnames` VALUES ('12','OnBeforeManagerLogout','2','');
  1563. INSERT INTO `modx_system_eventnames` VALUES ('13','OnManagerLogout','2','');
  1564. INSERT INTO `modx_system_eventnames` VALUES ('14','OnManagerSaveUser','2','');
  1565. INSERT INTO `modx_system_eventnames` VALUES ('15','OnManagerDeleteUser','2','');
  1566. INSERT INTO `modx_system_eventnames` VALUES ('16','OnManagerChangePassword','2','');
  1567. INSERT INTO `modx_system_eventnames` VALUES ('17','OnManagerCreateGroup','2','');
  1568. INSERT INTO `modx_system_eventnames` VALUES ('18','OnBeforeCacheUpdate','4','');
  1569. INSERT INTO `modx_system_eventnames` VALUES ('19','OnCacheUpdate','4','');
  1570. INSERT INTO `modx_system_eventnames` VALUES ('20','OnLoadWebPageCache','4','');
  1571. INSERT INTO `modx_system_eventnames` VALUES ('21','OnBeforeSaveWebPageCache','4','');
  1572. INSERT INTO `modx_system_eventnames` VALUES ('22','OnChunkFormPrerender','1','Chunks');
  1573. INSERT INTO `modx_system_eventnames` VALUES ('23','OnChunkFormRender','1','Chunks');
  1574. INSERT INTO `modx_system_eventnames` VALUES ('24','OnBeforeChunkFormSave','1','Chunks');
  1575. INSERT INTO `modx_system_eventnames` VALUES ('25','OnChunkFormSave','1','Chunks');
  1576. INSERT INTO `modx_system_eventnames` VALUES ('26','OnBeforeChunkFormDelete','1','Chunks');
  1577. INSERT INTO `modx_system_eventnames` VALUES ('27','OnChunkFormDelete','1','Chunks');
  1578. INSERT INTO `modx_system_eventnames` VALUES ('28','OnDocFormPrerender','1','Documents');
  1579. INSERT INTO `modx_system_eventnames` VALUES ('29','OnDocFormRender','1','Documents');
  1580. INSERT INTO `modx_system_eventnames` VALUES ('30','OnBeforeDocFormSave','1','Documents');
  1581. INSERT INTO `modx_system_eventnames` VALUES ('31','OnDocFormSave','1','Documents');
  1582. INSERT INTO `modx_system_eventnames` VALUES ('32','OnBeforeDocFormDelete','1','Documents');
  1583. INSERT INTO `modx_system_eventnames` VALUES ('33','OnDocFormDelete','1','Documents');
  1584. INSERT INTO `modx_system_eventnames` VALUES ('34','OnPluginFormPrerender','1','Plugins');
  1585. INSERT INTO `modx_system_eventnames` VALUES ('35','OnPluginFormRender','1','Plugins');
  1586. INSERT INTO `modx_system_eventnames` VALUES ('36','OnBeforePluginFormSave','1','Plugins');
  1587. INSERT INTO `modx_system_eventnames` VALUES ('37','OnPluginFormSave','1','Plugins');
  1588. INSERT INTO `modx_system_eventnames` VALUES ('38','OnBeforePluginFormDelete','1','Plugins');
  1589. INSERT INTO `modx_system_eventnames` VALUES ('39','OnPluginFormDelete','1','Plugins');
  1590. INSERT INTO `modx_system_eventnames` VALUES ('40','OnSnipFormPrerender','1','Snippets');
  1591. INSERT INTO `modx_system_eventnames` VALUES ('41','OnSnipFormRender','1','Snippets');
  1592. INSERT INTO `modx_system_eventnames` VALUES ('42','OnBeforeSnipFormSave','1','Snippets');
  1593. INSERT INTO `modx_system_eventnames` VALUES ('43','OnSnipFormSave','1','Snippets');
  1594. INSERT INTO `modx_system_eventnames` VALUES ('44','OnBeforeSnipFormDelete','1','Snippets');
  1595. INSERT INTO `modx_system_eventnames` VALUES ('45','OnSnipFormDelete','1','Snippets');
  1596. INSERT INTO `modx_system_eventnames` VALUES ('46','OnTempFormPrerender','1','Templates');
  1597. INSERT INTO `modx_system_eventnames` VALUES ('47','OnTempFormRender','1','Templates');
  1598. INSERT INTO `modx_system_eventnames` VALUES ('48','OnBeforeTempFormSave','1','Templates');
  1599. INSERT INTO `modx_system_eventnames` VALUES ('49','OnTempFormSave','1','Templates');
  1600. INSERT INTO `modx_system_eventnames` VALUES ('50','OnBeforeTempFormDelete','1','Templates');
  1601. INSERT INTO `modx_system_eventnames` VALUES ('51','OnTempFormDelete','1','Templates');
  1602. INSERT INTO `modx_system_eventnames` VALUES ('52','OnTVFormPrerender','1','Template Variables');
  1603. INSERT INTO `modx_system_eventnames` VALUES ('53','OnTVFormRender','1','Template Variables');
  1604. INSERT INTO `modx_system_eventnames` VALUES ('54','OnBeforeTVFormSave','1','Template Variables');
  1605. INSERT INTO `modx_system_eventnames` VALUES ('55','OnTVFormSave','1','Template Variables');
  1606. INSERT INTO `modx_system_eventnames` VALUES ('56','OnBeforeTVFormDelete','1','Template Variables');
  1607. INSERT INTO `modx_system_eventnames` VALUES ('57','OnTVFormDelete','1','Template Variables');
  1608. INSERT INTO `modx_system_eventnames` VALUES ('58','OnUserFormPrerender','1','Users');
  1609. INSERT INTO `modx_system_eventnames` VALUES ('59','OnUserFormRender','1','Users');
  1610. INSERT INTO `modx_system_eventnames` VALUES ('60','OnBeforeUserFormSave','1','Users');
  1611. INSERT INTO `modx_system_eventnames` VALUES ('61','OnUserFormSave','1','Users');
  1612. INSERT INTO `modx_system_eventnames` VALUES ('62','OnBeforeUserFormDelete','1','Users');
  1613. INSERT INTO `modx_system_eventnames` VALUES ('63','OnUserFormDelete','1','Users');
  1614. INSERT INTO `modx_system_eventnames` VALUES ('64','OnWUsrFormPrerender','1','Web Users');
  1615. INSERT INTO `modx_system_eventnames` VALUES ('65','OnWUsrFormRender','1','Web Users');
  1616. INSERT INTO `modx_system_eventnames` VALUES ('66','OnBeforeWUsrFormSave','1','Web Users');
  1617. INSERT INTO `modx_system_eventnames` VALUES ('67','OnWUsrFormSave','1','Web Users');
  1618. INSERT INTO `modx_system_eventnames` VALUES ('68','OnBeforeWUsrFormDelete','1','Web Users');
  1619. INSERT INTO `modx_system_eventnames` VALUES ('69','OnWUsrFormDelete','1','Web Users');
  1620. INSERT INTO `modx_system_eventnames` VALUES ('70','OnSiteRefresh','1','');
  1621. INSERT INTO `modx_system_eventnames` VALUES ('71','OnFileManagerUpload','1','');
  1622. INSERT INTO `modx_system_eventnames` VALUES ('72','OnModFormPrerender','1','Modules');
  1623. INSERT INTO `modx_system_eventnames` VALUES ('73','OnModFormRender','1','Modules');
  1624. INSERT INTO `modx_system_eventnames` VALUES ('74','OnBeforeModFormDelete','1','Modules');
  1625. INSERT INTO `modx_system_eventnames` VALUES ('75','OnModFormDelete','1','Modules');
  1626. INSERT INTO `modx_system_eventnames` VALUES ('76','OnBeforeModFormSave','1','Modules');
  1627. INSERT INTO `modx_system_eventnames` VALUES ('77','OnModFormSave','1','Modules');
  1628. INSERT INTO `modx_system_eventnames` VALUES ('78','OnBeforeWebLogin','3','');
  1629. INSERT INTO `modx_system_eventnames` VALUES ('79','OnWebAuthentication','3','');
  1630. INSERT INTO `modx_system_eventnames` VALUES ('80','OnBeforeManagerLogin','2','');
  1631. INSERT INTO `modx_system_eventnames` VALUES ('81','OnManagerAuthentication','2','');
  1632. INSERT INTO `modx_system_eventnames` VALUES ('82','OnSiteSettingsRender','1','System Settings');
  1633. INSERT INTO `modx_system_eventnames` VALUES ('83','OnFriendlyURLSettingsRender','1','System Settings');
  1634. INSERT INTO `modx_system_eventnames` VALUES ('84','OnUserSettingsRender','1','System Settings');
  1635. INSERT INTO `modx_system_eventnames` VALUES ('85','OnInterfaceSettingsRender','1','System Settings');
  1636. INSERT INTO `modx_system_eventnames` VALUES ('86','OnMiscSettingsRender','1','System Settings');
  1637. INSERT INTO `modx_system_eventnames` VALUES ('87','OnRichTextEditorRegister','1','RichText Editor');
  1638. INSERT INTO `modx_system_eventnames` VALUES ('88','OnRichTextEditorInit','1','RichText Editor');
  1639. INSERT INTO `modx_system_eventnames` VALUES ('89','OnManagerPageInit','2','');
  1640. INSERT INTO `modx_system_eventnames` VALUES ('90','OnWebPageInit','5','');
  1641. INSERT INTO `modx_system_eventnames` VALUES ('91','OnLoadWebDocument','5','');
  1642. INSERT INTO `modx_system_eventnames` VALUES ('92','OnParseDocument','5','');
  1643. INSERT INTO `modx_system_eventnames` VALUES ('93','OnManagerLoginFormRender','2','');
  1644. INSERT INTO `modx_system_eventnames` VALUES ('94','OnWebPageComplete','5','');
  1645. INSERT INTO `modx_system_eventnames` VALUES ('95','OnLogPageHit','5','');
  1646. INSERT INTO `modx_system_eventnames` VALUES ('96','OnBeforeManagerPageInit','2','');
  1647. INSERT INTO `modx_system_eventnames` VALUES ('97','OnBeforeEmptyTrash','1','Documents');
  1648. INSERT INTO `modx_system_eventnames` VALUES ('98','OnEmptyTrash','1','Documents');
  1649. INSERT INTO `modx_system_eventnames` VALUES ('99','OnManagerLoginFormPrerender','2','');
  1650. INSERT INTO `modx_system_eventnames` VALUES ('100','OnStripAlias','1','Documents');
  1651. INSERT INTO `modx_system_eventnames` VALUES ('200','OnCreateDocGroup','1','Documents');
  1652. INSERT INTO `modx_system_eventnames` VALUES ('201','OnManagerWelcomePrerender','2','');
  1653. INSERT INTO `modx_system_eventnames` VALUES ('202','OnManagerWelcomeHome','2','');
  1654. INSERT INTO `modx_system_eventnames` VALUES ('203','OnManagerWelcomeRender','2','');
  1655. INSERT INTO `modx_system_eventnames` VALUES ('204','OnBeforeDocDuplicate','1','Documents');
  1656. INSERT INTO `modx_system_eventnames` VALUES ('205','OnDocDuplicate','1','Documents');
  1657. INSERT INTO `modx_system_eventnames` VALUES ('206','OnManagerMainFrameHeaderHTMLBlock','2','');
  1658. INSERT INTO `modx_system_eventnames` VALUES ('999','OnPageUnauthorized','1','');
  1659. INSERT INTO `modx_system_eventnames` VALUES ('1000','OnPageNotFound','1','');
  1660. INSERT INTO `modx_system_eventnames` VALUES ('1001','OnFileBrowserUpload','1','File Browser Events');
  1661. INSERT INTO `modx_system_eventnames` VALUES ('1002','OnBeforeAddToGroup','3','');
  1662. INSERT INTO `modx_system_eventnames` VALUES ('1003','OnViewUserProfile','3','');
  1663. INSERT INTO `modx_system_eventnames` VALUES ('101','OnLoadDocumentObject','5','');
  1664. INSERT INTO `modx_system_eventnames` VALUES ('207','OnManagerPreFrameLoader','2','');
  1665. INSERT INTO `modx_system_eventnames` VALUES ('208','OnManagerFrameLoader','2','');
  1666. INSERT INTO `modx_system_eventnames` VALUES ('209','OnManagerTreeInit','2','');
  1667. INSERT INTO `modx_system_eventnames` VALUES ('210','OnManagerTreePrerender','2','');
  1668. INSERT INTO `modx_system_eventnames` VALUES ('211','OnManagerTreeRender','2','');
  1669. INSERT INTO `modx_system_eventnames` VALUES ('212','OnManagerNodePrerender','2','');
  1670. INSERT INTO `modx_system_eventnames` VALUES ('213','OnManagerNodeRender','2','');
  1671. INSERT INTO `modx_system_eventnames` VALUES ('214','OnManagerMenuPrerender','2','');
  1672. INSERT INTO `modx_system_eventnames` VALUES ('224','OnDocFormTemplateRender','1','Documents');
  1673. INSERT INTO `modx_system_eventnames` VALUES ('1004','OnBeforeWebSaveUser','3','');
  1674.  
  1675. # --------------------------------------------------------
  1676.  
  1677. #
  1678. # Table structure for table `modx_system_settings`
  1679. #
  1680.  
  1681. DROP TABLE IF EXISTS `modx_system_settings`;
  1682. CREATE TABLE `modx_system_settings` (
  1683.   `setting_name` varchar(50) NOT NULL DEFAULT '',
  1684.   `setting_value` text,
  1685.   PRIMARY KEY (`setting_name`)
  1686. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Contains Content Manager settings.';
  1687.  
  1688. #
  1689. # Dumping data for table `modx_system_settings`
  1690. #
  1691.  
  1692. INSERT INTO `modx_system_settings` VALUES ('manager_theme','MODxRE');
  1693. INSERT INTO `modx_system_settings` VALUES ('settings_version','1.1b-d7.0.16');
  1694. INSERT INTO `modx_system_settings` VALUES ('show_meta','1');
  1695. INSERT INTO `modx_system_settings` VALUES ('server_offset_time','-3600');
  1696. INSERT INTO `modx_system_settings` VALUES ('server_protocol','http');
  1697. INSERT INTO `modx_system_settings` VALUES ('manager_language','russian-UTF8');
  1698. INSERT INTO `modx_system_settings` VALUES ('modx_charset','UTF-8');
  1699. INSERT INTO `modx_system_settings` VALUES ('site_name','Сайт');
  1700. INSERT INTO `modx_system_settings` VALUES ('site_start','1');
  1701. INSERT INTO `modx_system_settings` VALUES ('error_page','2');
  1702. INSERT INTO `modx_system_settings` VALUES ('unauthorized_page','3');
  1703. INSERT INTO `modx_system_settings` VALUES ('site_status','1');
  1704. INSERT INTO `modx_system_settings` VALUES ('site_unavailable_message','В настоящее время сайт недоступен.');
  1705. INSERT INTO `modx_system_settings` VALUES ('track_visitors','0');
  1706. INSERT INTO `modx_system_settings` VALUES ('top_howmany','10');
  1707. INSERT INTO `modx_system_settings` VALUES ('auto_template_logic','parent');
  1708. INSERT INTO `modx_system_settings` VALUES ('default_template','3');
  1709. INSERT INTO `modx_system_settings` VALUES ('old_template','3');
  1710. INSERT INTO `modx_system_settings` VALUES ('publish_default','1');
  1711. INSERT INTO `modx_system_settings` VALUES ('cache_default','1');
  1712. INSERT INTO `modx_system_settings` VALUES ('search_default','1');
  1713. INSERT INTO `modx_system_settings` VALUES ('friendly_urls','1');
  1714. INSERT INTO `modx_system_settings` VALUES ('friendly_url_prefix','');
  1715. INSERT INTO `modx_system_settings` VALUES ('friendly_url_suffix','.html');
  1716. INSERT INTO `modx_system_settings` VALUES ('friendly_alias_urls','1');
  1717. INSERT INTO `modx_system_settings` VALUES ('use_alias_path','0');
  1718. INSERT INTO `modx_system_settings` VALUES ('use_udperms','1');
  1719. INSERT INTO `modx_system_settings` VALUES ('udperms_allowroot','1');
  1720. INSERT INTO `modx_system_settings` VALUES ('failed_login_attempts','3');
  1721. INSERT INTO `modx_system_settings` VALUES ('blocked_minutes','60');
  1722. INSERT INTO `modx_system_settings` VALUES ('use_captcha','0');
  1723. INSERT INTO `modx_system_settings` VALUES ('captcha_words','1876,7684,8372,9854,0193,9537,1093,0937,1032,0869,1234,4321,8765');
  1724. INSERT INTO `modx_system_settings` VALUES ('emailsender','sd@lightsoft.ru');
  1725. INSERT INTO `modx_system_settings` VALUES ('emailsubject','Данные для авторизации');
  1726. INSERT INTO `modx_system_settings` VALUES ('number_of_logs','100');
  1727. INSERT INTO `modx_system_settings` VALUES ('number_of_messages','30');
  1728. INSERT INTO `modx_system_settings` VALUES ('number_of_results','20');
  1729. INSERT INTO `modx_system_settings` VALUES ('use_editor','1');
  1730. INSERT INTO `modx_system_settings` VALUES ('use_browser','1');
  1731. INSERT INTO `modx_system_settings` VALUES ('rb_base_dir','/usr/local/www/hosting/b00.inprogress.ru/www/assets/');
  1732. INSERT INTO `modx_system_settings` VALUES ('rb_base_url','assets/');
  1733. INSERT INTO `modx_system_settings` VALUES ('which_editor','TinyMCE');
  1734. INSERT INTO `modx_system_settings` VALUES ('fe_editor_lang','russian');
  1735. INSERT INTO `modx_system_settings` VALUES ('fck_editor_toolbar','standard');
  1736. INSERT INTO `modx_system_settings` VALUES ('fck_editor_autolang','0');
  1737. INSERT INTO `modx_system_settings` VALUES ('editor_css_path','');
  1738. INSERT INTO `modx_system_settings` VALUES ('editor_css_selectors','');
  1739. INSERT INTO `modx_system_settings` VALUES ('strip_image_paths','1');
  1740. INSERT INTO `modx_system_settings` VALUES ('upload_images','bmp,ico,gif,jpeg,jpg,png,psd,tif,tiff');
  1741. INSERT INTO `modx_system_settings` VALUES ('upload_media','au,avi,mp3,mp4,mpeg,mpg,wav,wmv');
  1742. INSERT INTO `modx_system_settings` VALUES ('upload_flash','fla,flv,swf');
  1743. INSERT INTO `modx_system_settings` VALUES ('upload_files','aac,au,avi,css,cache,doc,docx,gz,gzip,htaccess,htm,html,js,mp3,mp4,mpeg,mpg,ods,odp,odt,pdf,ppt,pptx,rar,tar,tgz,txt,wav,wmv,xls,xlsx,xml,z,zip');
  1744. INSERT INTO `modx_system_settings` VALUES ('upload_maxsize','1048576');
  1745. INSERT INTO `modx_system_settings` VALUES ('new_file_permissions','0644');
  1746. INSERT INTO `modx_system_settings` VALUES ('new_folder_permissions','0755');
  1747. INSERT INTO `modx_system_settings` VALUES ('filemanager_path','/usr/local/www/hosting/b00.inprogress.ru/www/');
  1748. INSERT INTO `modx_system_settings` VALUES ('theme_refresher','');
  1749. INSERT INTO `modx_system_settings` VALUES ('manager_layout','4');
  1750. INSERT INTO `modx_system_settings` VALUES ('custom_contenttype','application/rss+xml,application/pdf,application/vnd.ms-word,application/vnd.ms-excel,text/html,text/css,text/xml,text/javascript,text/plain,application/json');
  1751. INSERT INTO `modx_system_settings` VALUES ('auto_menuindex','1');
  1752. INSERT INTO `modx_system_settings` VALUES ('session.cookie.lifetime','604800');
  1753. INSERT INTO `modx_system_settings` VALUES ('mail_check_timeperiod','60');
  1754. INSERT INTO `modx_system_settings` VALUES ('manager_direction','ltr');
  1755. INSERT INTO `modx_system_settings` VALUES ('tinymce_editor_theme','full');
  1756. INSERT INTO `modx_system_settings` VALUES ('tinymce_custom_plugins','style,advimage,advlink,searchreplace,print,contextmenu,paste,fullscreen,nonbreaking,xhtmlxtras,visualchars,media');
  1757. INSERT INTO `modx_system_settings` VALUES ('tinymce_custom_buttons1','undo,redo,selectall,separator,pastetext,pasteword,separator,search,replace,separator,nonbreaking,hr,charmap,separator,image,link,unlink,anchor,media,separator,cleanup,removeformat,separator,fullscreen,print,code,help');
  1758. INSERT INTO `modx_system_settings` VALUES ('tinymce_custom_buttons2','bold,italic,underline,strikethrough,sub,sup,separator,bullist,numlist,outdent,indent,separator,justifyleft,justifycenter,justifyright,justifyfull,separator,styleselect,formatselect,separator,styleprops');
  1759. INSERT INTO `modx_system_settings` VALUES ('tree_show_protected','0');
  1760. INSERT INTO `modx_system_settings` VALUES ('rss_url_news','http://feeds.feedburner.com/modx-announce');
  1761. INSERT INTO `modx_system_settings` VALUES ('rss_url_security','http://feeds.feedburner.com/modxsecurity');
  1762. INSERT INTO `modx_system_settings` VALUES ('validate_referer','1');
  1763. INSERT INTO `modx_system_settings` VALUES ('datepicker_offset','-10');
  1764. INSERT INTO `modx_system_settings` VALUES ('xhtml_urls','0');
  1765. INSERT INTO `modx_system_settings` VALUES ('allow_duplicate_alias','0');
  1766. INSERT INTO `modx_system_settings` VALUES ('automatic_alias','1');
  1767. INSERT INTO `modx_system_settings` VALUES ('datetime_format','dd-mm-YYYY');
  1768. INSERT INTO `modx_system_settings` VALUES ('warning_visibility','0');
  1769. INSERT INTO `modx_system_settings` VALUES ('remember_last_tab','1');
  1770. INSERT INTO `modx_system_settings` VALUES ('site_id','543e613702829');
  1771. INSERT INTO `modx_system_settings` VALUES ('site_unavailable_page','4');
  1772. INSERT INTO `modx_system_settings` VALUES ('reload_site_unavailable','');
  1773. INSERT INTO `modx_system_settings` VALUES ('siteunavailable_message_default','В настоящее время сайт недоступен.');
  1774. INSERT INTO `modx_system_settings` VALUES ('reload_captcha_words','');
  1775. INSERT INTO `modx_system_settings` VALUES ('captcha_words_default','MODX,Access,Better,BitCode,Chunk,Cache,Desc,Design,Excell,Enjoy,URLs,TechView,Gerald,Griff,Humphrey,Holiday,Intel,Integration,Joystick,Join(),Oscope,Genetic,Light,Likeness,Marit,Maaike,Niche,Netherlands,Ordinance,Oscillo,Parser,Phusion,Query,Question,Regalia,Righteous,Snippet,Sentinel,Template,Thespian,Unity,Enterprise,Verily,Tattoo,Veri,Website,WideWeb,Yap,Yellow,Zebra,Zygote');
  1776. INSERT INTO `modx_system_settings` VALUES ('reload_emailsubject','');
  1777. INSERT INTO `modx_system_settings` VALUES ('emailsubject_default','Данные для авторизации');
  1778. INSERT INTO `modx_system_settings` VALUES ('reload_signupemail_message','');
  1779. INSERT INTO `modx_system_settings` VALUES ('signupemail_message','Здравствуйте, [+uid+]!\n\nВаши данные для авторизации в системе управления сайтом [+sname+]:\n\nИмя пользователя: [+uid+]\nПароль: [+pwd+]\n\nПосле успешной авторизации в системе управления сайтом ([+surl+]), вы сможете изменить свой пароль.\n\nС уважением, Администрация');
  1780. INSERT INTO `modx_system_settings` VALUES ('system_email_signup_default','Здравствуйте, [+uid+]!\n\nВаши данные для авторизации в системе управления сайтом [+sname+]:\n\nИмя пользователя: [+uid+]\nПароль: [+pwd+]\n\nПосле успешной авторизации в системе управления сайтом ([+surl+]), вы сможете изменить свой пароль.\n\nС уважением, Администрация');
  1781. INSERT INTO `modx_system_settings` VALUES ('reload_websignupemail_message','');
  1782. INSERT INTO `modx_system_settings` VALUES ('websignupemail_message','Здравствуйте, [+uid+]!\n\nВаши данные для авторизации на [+sname+]:\n\nИмя пользователя: [+uid+]\nПароль: [+pwd+]\n\nПосле успешной авторизации на [+sname+] ([+surl+]), вы сможете изменить свой пароль.\n\nС уважением, Администрация');
  1783. INSERT INTO `modx_system_settings` VALUES ('system_email_websignup_default','Здравствуйте, [+uid+]!\n\nВаши данные для авторизации на [+sname+]:\n\nИмя пользователя: [+uid+]\nПароль: [+pwd+]\n\nПосле успешной авторизации на [+sname+] ([+surl+]), вы сможете изменить свой пароль.\n\nС уважением, Администрация');
  1784. INSERT INTO `modx_system_settings` VALUES ('reload_system_email_webreminder_message','');
  1785. INSERT INTO `modx_system_settings` VALUES ('webpwdreminder_message','Здравствуйте, [+uid+]!\n\nЧтобы активировать ваш новый пароль, перейдите по следующей ссылке:\n\n[+surl+]\n\nПозже вы сможете использовать следующий пароль для авторизации: [+pwd+]\n\nЕсли это письмо пришло к вам по ошибке, пожалуйста, проигнорируйте его.\n\nС уважением, Администрация');
  1786. INSERT INTO `modx_system_settings` VALUES ('system_email_webreminder_default','Здравствуйте, [+uid+]!\n\nЧтобы активировать ваш новый пароль, перейдите по следующей ссылке:\n\n[+surl+]\n\nПозже вы сможете использовать следующий пароль для авторизации: [+pwd+]\n\nЕсли это письмо пришло к вам по ошибке, пожалуйста, проигнорируйте его.\n\nС уважением, Администрация');
  1787. INSERT INTO `modx_system_settings` VALUES ('tree_page_click','27');
  1788. INSERT INTO `modx_system_settings` VALUES ('rb_webuser','0');
  1789. INSERT INTO `modx_system_settings` VALUES ('clean_uploaded_filename','1');
  1790. INSERT INTO `modx_system_settings` VALUES ('tinymce_custom_buttons3','');
  1791. INSERT INTO `modx_system_settings` VALUES ('tinymce_custom_buttons4','');
  1792. INSERT INTO `modx_system_settings` VALUES ('tinymce_css_selectors','');
  1793. INSERT INTO `modx_system_settings` VALUES ('CUNTRY_CONTROL_MODULE_conteiner','5');
  1794. INSERT INTO `modx_system_settings` VALUES ('CUNTRY_CONTROL_MODULE_template_for_region','4');
  1795. INSERT INTO `modx_system_settings` VALUES ('CUNTRY_CONTROL_MODULE_template_for_country','4');
  1796. INSERT INTO `modx_system_settings` VALUES ('enable_bindings','1');
  1797. INSERT INTO `modx_system_settings` VALUES ('make_folders','0');
  1798. INSERT INTO `modx_system_settings` VALUES ('check_files_onlogin','index.php\n.htaccess\nmanager/index.php\nmanager/includes/config.inc.php');
  1799. INSERT INTO `modx_system_settings` VALUES ('error_reporting','1');
  1800. INSERT INTO `modx_system_settings` VALUES ('pwd_hash_algo','UNCRYPT');
  1801. INSERT INTO `modx_system_settings` VALUES ('mce_editor_skin','default');
  1802. INSERT INTO `modx_system_settings` VALUES ('mce_template_docs','');
  1803. INSERT INTO `modx_system_settings` VALUES ('mce_template_chunks','');
  1804. INSERT INTO `modx_system_settings` VALUES ('mce_entermode','p');
  1805. INSERT INTO `modx_system_settings` VALUES ('mce_element_format','xhtml');
  1806. INSERT INTO `modx_system_settings` VALUES ('mce_schema','html4');
  1807. INSERT INTO `modx_system_settings` VALUES ('sys_files_checksum','a:4:{s:54:\"/usr/local/www/hosting/b00.inprogress.ru/www/index.php\";s:32:\"c6f73908b7b0a58acfe95b0f844d134e\";s:54:\"/usr/local/www/hosting/b00.inprogress.ru/www/.htaccess\";s:32:\"aa196ef65d07f9406b55aaf000f8a0a2\";s:62:\"/usr/local/www/hosting/b00.inprogress.ru/www/manager/index.php\";s:32:\"99fb55f26a1883c687fe6e0bb0bfe076\";s:76:\"/usr/local/www/hosting/b00.inprogress.ru/www/manager/includes/config.inc.php\";s:32:\"a0f41a9e8c41598a58b31756c2b6f883\";}');
  1808. INSERT INTO `modx_system_settings` VALUES ('email_method','smtp');
  1809. INSERT INTO `modx_system_settings` VALUES ('smtp_auth','1');
  1810. INSERT INTO `modx_system_settings` VALUES ('smtp_host','192.168.150.5');
  1811. INSERT INTO `modx_system_settings` VALUES ('smtp_port','25');
  1812. INSERT INTO `modx_system_settings` VALUES ('smtp_username','info@inprogress.ru');
  1813. INSERT INTO `modx_system_settings` VALUES ('seostrict','0');
  1814. INSERT INTO `modx_system_settings` VALUES ('cache_type','2');
  1815. INSERT INTO `modx_system_settings` VALUES ('maxImageWidth','1600');
  1816. INSERT INTO `modx_system_settings` VALUES ('maxImageHeight','1200');
  1817. INSERT INTO `modx_system_settings` VALUES ('thumbWidth','150');
  1818. INSERT INTO `modx_system_settings` VALUES ('thumbHeight','150');
  1819. INSERT INTO `modx_system_settings` VALUES ('thumbsDir','.thumbs');
  1820. INSERT INTO `modx_system_settings` VALUES ('jpegQuality','90');
  1821. INSERT INTO `modx_system_settings` VALUES ('denyZipDownload','0');
  1822. INSERT INTO `modx_system_settings` VALUES ('denyExtensionRename','0');
  1823. INSERT INTO `modx_system_settings` VALUES ('showHiddenFiles','0');
  1824. INSERT INTO `modx_system_settings` VALUES ('docid_incrmnt_method','0');
  1825. INSERT INTO `modx_system_settings` VALUES ('send_errormail','0');
  1826. INSERT INTO `modx_system_settings` VALUES ('resource_tree_node_name','pagetitle');
  1827. INSERT INTO `modx_system_settings` VALUES ('info_keywords','');
  1828. INSERT INTO `modx_system_settings` VALUES ('info_phone','');
  1829. INSERT INTO `modx_system_settings` VALUES ('info_adres','');
  1830. INSERT INTO `modx_system_settings` VALUES ('aliaslistingfolder','0');
  1831. INSERT INTO `modx_system_settings` VALUES ('smtp_secure','none');
  1832. INSERT INTO `modx_system_settings` VALUES ('smtppw','bzNBVG8zZTc%3rcgGXF');
  1833.  
  1834. # --------------------------------------------------------
  1835.  
  1836. #
  1837. # Table structure for table `modx_user_attributes`
  1838. #
  1839.  
  1840. DROP TABLE IF EXISTS `modx_user_attributes`;
  1841. CREATE TABLE `modx_user_attributes` (
  1842.   `id` int(10) NOT NULL AUTO_INCREMENT,
  1843.   `internalKey` int(10) NOT NULL DEFAULT '0',
  1844.   `fullname` varchar(100) NOT NULL DEFAULT '',
  1845.   `role` int(10) NOT NULL DEFAULT '0',
  1846.   `email` varchar(100) NOT NULL DEFAULT '',
  1847.   `phone` varchar(100) NOT NULL DEFAULT '',
  1848.   `mobilephone` varchar(100) NOT NULL DEFAULT '',
  1849.   `blocked` int(1) NOT NULL DEFAULT '0',
  1850.   `blockeduntil` int(11) NOT NULL DEFAULT '0',
  1851.   `blockedafter` int(11) NOT NULL DEFAULT '0',
  1852.   `logincount` int(11) NOT NULL DEFAULT '0',
  1853.   `lastlogin` int(11) NOT NULL DEFAULT '0',
  1854.   `thislogin` int(11) NOT NULL DEFAULT '0',
  1855.   `failedlogincount` int(10) NOT NULL DEFAULT '0',
  1856.   `sessionid` varchar(100) NOT NULL DEFAULT '',
  1857.   `dob` int(10) NOT NULL DEFAULT '0',
  1858.   `gender` int(1) NOT NULL DEFAULT '0' COMMENT '0 - unknown, 1 - Male 2 - female',
  1859.   `country` varchar(5) NOT NULL DEFAULT '',
  1860.   `street` varchar(255) NOT NULL DEFAULT '',
  1861.   `city` varchar(255) NOT NULL DEFAULT '',
  1862.   `state` varchar(25) NOT NULL DEFAULT '',
  1863.   `zip` varchar(25) NOT NULL DEFAULT '',
  1864.   `fax` varchar(100) NOT NULL DEFAULT '',
  1865.   `photo` varchar(255) NOT NULL DEFAULT '' COMMENT 'link to photo',
  1866.   `comment` text,
  1867.   PRIMARY KEY (`id`),
  1868.   KEY `userid` (`internalKey`)
  1869. ) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COMMENT='Contains information about the backend users.';
  1870.  
  1871. #
  1872. # Dumping data for table `modx_user_attributes`
  1873. #
  1874.  
  1875. INSERT INTO `modx_user_attributes` VALUES ('1','1','Default admin account','1','dsv11@ya.ru','','','0','0','0','46','1447151684','1447158287','0','9jm6n5luc48dmle7b5hc5mn8u2','0','0','','','','','','','','');
  1876. INSERT INTO `modx_user_attributes` VALUES ('2','2','manager','3','sd@lightsoft.ru','','','0','0','0','1','0','1303208834','0','vmksh32tehgldfqcqqhsjq9706','0','0','176','','','','','','','');
  1877.  
  1878. # --------------------------------------------------------
  1879.  
  1880. #
  1881. # Table structure for table `modx_user_messages`
  1882. #
  1883.  
  1884. DROP TABLE IF EXISTS `modx_user_messages`;
  1885. CREATE TABLE `modx_user_messages` (
  1886.   `id` int(10) NOT NULL AUTO_INCREMENT,
  1887.   `type` varchar(15) NOT NULL DEFAULT '',
  1888.   `subject` varchar(60) NOT NULL DEFAULT '',
  1889.   `message` text,
  1890.   `sender` int(10) NOT NULL DEFAULT '0',
  1891.   `recipient` int(10) NOT NULL DEFAULT '0',
  1892.   `private` tinyint(4) NOT NULL DEFAULT '0',
  1893.   `postdate` int(20) NOT NULL DEFAULT '0',
  1894.   `messageread` tinyint(1) NOT NULL DEFAULT '0',
  1895.   PRIMARY KEY (`id`)
  1896. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Contains messages for the Content Manager messaging system.';
  1897.  
  1898. #
  1899. # Dumping data for table `modx_user_messages`
  1900. #
  1901.  
  1902.  
  1903. # --------------------------------------------------------
  1904.  
  1905. #
  1906. # Table structure for table `modx_user_roles`
  1907. #
  1908.  
  1909. DROP TABLE IF EXISTS `modx_user_roles`;
  1910. CREATE TABLE `modx_user_roles` (
  1911.   `id` int(10) NOT NULL AUTO_INCREMENT,
  1912.   `name` varchar(50) NOT NULL DEFAULT '',
  1913.   `description` varchar(255) NOT NULL DEFAULT '',
  1914.   `frames` int(1) NOT NULL DEFAULT '0',
  1915.   `home` int(1) NOT NULL DEFAULT '0',
  1916.   `view_document` int(1) NOT NULL DEFAULT '0',
  1917.   `new_document` int(1) NOT NULL DEFAULT '0',
  1918.   `save_document` int(1) NOT NULL DEFAULT '0',
  1919.   `publish_document` int(1) NOT NULL DEFAULT '0',
  1920.   `delete_document` int(1) NOT NULL DEFAULT '0',
  1921.   `empty_trash` int(1) NOT NULL DEFAULT '0',
  1922.   `action_ok` int(1) NOT NULL DEFAULT '0',
  1923.   `logout` int(1) NOT NULL DEFAULT '0',
  1924.   `help` int(1) NOT NULL DEFAULT '0',
  1925.   `messages` int(1) NOT NULL DEFAULT '0',
  1926.   `new_user` int(1) NOT NULL DEFAULT '0',
  1927.   `edit_user` int(1) NOT NULL DEFAULT '0',
  1928.   `logs` int(1) NOT NULL DEFAULT '0',
  1929.   `edit_parser` int(1) NOT NULL DEFAULT '0',
  1930.   `save_parser` int(1) NOT NULL DEFAULT '0',
  1931.   `edit_template` int(1) NOT NULL DEFAULT '0',
  1932.   `settings` int(1) NOT NULL DEFAULT '0',
  1933.   `credits` int(1) NOT NULL DEFAULT '0',
  1934.   `new_template` int(1) NOT NULL DEFAULT '0',
  1935.   `save_template` int(1) NOT NULL DEFAULT '0',
  1936.   `delete_template` int(1) NOT NULL DEFAULT '0',
  1937.   `edit_snippet` int(1) NOT NULL DEFAULT '0',
  1938.   `new_snippet` int(1) NOT NULL DEFAULT '0',
  1939.   `save_snippet` int(1) NOT NULL DEFAULT '0',
  1940.   `delete_snippet` int(1) NOT NULL DEFAULT '0',
  1941.   `edit_chunk` int(1) NOT NULL DEFAULT '0',
  1942.   `new_chunk` int(1) NOT NULL DEFAULT '0',
  1943.   `save_chunk` int(1) NOT NULL DEFAULT '0',
  1944.   `delete_chunk` int(1) NOT NULL DEFAULT '0',
  1945.   `empty_cache` int(1) NOT NULL DEFAULT '0',
  1946.   `edit_document` int(1) NOT NULL DEFAULT '0',
  1947.   `change_password` int(1) NOT NULL DEFAULT '0',
  1948.   `error_dialog` int(1) NOT NULL DEFAULT '0',
  1949.   `about` int(1) NOT NULL DEFAULT '0',
  1950.   `file_manager` int(1) NOT NULL DEFAULT '0',
  1951.   `save_user` int(1) NOT NULL DEFAULT '0',
  1952.   `delete_user` int(1) NOT NULL DEFAULT '0',
  1953.   `save_password` int(11) NOT NULL DEFAULT '0',
  1954.   `edit_role` int(1) NOT NULL DEFAULT '0',
  1955.   `save_role` int(1) NOT NULL DEFAULT '0',
  1956.   `delete_role` int(1) NOT NULL DEFAULT '0',
  1957.   `new_role` int(1) NOT NULL DEFAULT '0',
  1958.   `access_permissions` int(1) NOT NULL DEFAULT '0',
  1959.   `bk_manager` int(1) NOT NULL DEFAULT '0',
  1960.   `new_plugin` int(1) NOT NULL DEFAULT '0',
  1961.   `edit_plugin` int(1) NOT NULL DEFAULT '0',
  1962.   `save_plugin` int(1) NOT NULL DEFAULT '0',
  1963.   `delete_plugin` int(1) NOT NULL DEFAULT '0',
  1964.   `new_module` int(1) NOT NULL DEFAULT '0',
  1965.   `edit_module` int(1) NOT NULL DEFAULT '0',
  1966.   `save_module` int(1) NOT NULL DEFAULT '0',
  1967.   `delete_module` int(1) NOT NULL DEFAULT '0',
  1968.   `exec_module` int(1) NOT NULL DEFAULT '0',
  1969.   `view_eventlog` int(1) NOT NULL DEFAULT '0',
  1970.   `delete_eventlog` int(1) NOT NULL DEFAULT '0',
  1971.   `manage_metatags` int(1) NOT NULL DEFAULT '0' COMMENT 'manage site meta tags and keywords',
  1972.   `edit_doc_metatags` int(1) NOT NULL DEFAULT '0' COMMENT 'edit document meta tags and keywords',
  1973.   `new_web_user` int(1) NOT NULL DEFAULT '0',
  1974.   `edit_web_user` int(1) NOT NULL DEFAULT '0',
  1975.   `save_web_user` int(1) NOT NULL DEFAULT '0',
  1976.   `delete_web_user` int(1) NOT NULL DEFAULT '0',
  1977.   `web_access_permissions` int(1) NOT NULL DEFAULT '0',
  1978.   `view_unpublished` int(1) NOT NULL DEFAULT '0',
  1979.   `import_static` int(1) NOT NULL DEFAULT '0',
  1980.   `export_static` int(1) NOT NULL DEFAULT '0',
  1981.   `remove_locks` int(1) NOT NULL DEFAULT '0',
  1982.   PRIMARY KEY (`id`)
  1983. ) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COMMENT='Contains information describing the user roles.';
  1984.  
  1985. #
  1986. # Dumping data for table `modx_user_roles`
  1987. #
  1988.  
  1989. INSERT INTO `modx_user_roles` VALUES ('3','Менеджер','','1','1','1','1','1','1','1','1','1','1','1','0','0','0','0','0','0','0','0','1','0','0','0','0','0','0','0','0','0','0','0','1','1','1','1','1','1','0','0','1','0','0','0','0','0','0','0','0','0','0','0','0','0','0','1','0','0','1','0','0','0','0','0','0','1','0','0','0');
  1990. INSERT INTO `modx_user_roles` VALUES ('1','Administrator','Site administrators have full access to all functions','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1');
  1991.  
  1992. # --------------------------------------------------------
  1993.  
  1994. #
  1995. # Table structure for table `modx_user_settings`
  1996. #
  1997.  
  1998. DROP TABLE IF EXISTS `modx_user_settings`;
  1999. CREATE TABLE `modx_user_settings` (
  2000.   `user` int(11) NOT NULL,
  2001.   `setting_name` varchar(50) NOT NULL DEFAULT '',
  2002.   `setting_value` text,
  2003.   PRIMARY KEY (`user`,`setting_name`),
  2004.   KEY `setting_name` (`setting_name`),
  2005.   KEY `user` (`user`)
  2006. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Contains backend user settings.';
  2007.  
  2008. #
  2009. # Dumping data for table `modx_user_settings`
  2010. #
  2011.  
  2012. INSERT INTO `modx_user_settings` VALUES ('2','manager_language','russian-UTF8');
  2013. INSERT INTO `modx_user_settings` VALUES ('1','manager_language','russian-UTF8');
  2014. INSERT INTO `modx_user_settings` VALUES ('1','allow_manager_access','1');
  2015. INSERT INTO `modx_user_settings` VALUES ('2','allow_manager_access','1');
  2016.  
  2017. # --------------------------------------------------------
  2018.  
  2019. #
  2020. # Table structure for table `modx_web_groups`
  2021. #
  2022.  
  2023. DROP TABLE IF EXISTS `modx_web_groups`;
  2024. CREATE TABLE `modx_web_groups` (
  2025.   `id` int(10) NOT NULL AUTO_INCREMENT,
  2026.   `webgroup` int(10) NOT NULL DEFAULT '0',
  2027.   `webuser` int(10) NOT NULL DEFAULT '0',
  2028.   PRIMARY KEY (`id`),
  2029.   UNIQUE KEY `ix_group_user` (`webgroup`,`webuser`)
  2030. ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='Contains data used for web access permissions.';
  2031.  
  2032. #
  2033. # Dumping data for table `modx_web_groups`
  2034. #
  2035.  
  2036. INSERT INTO `modx_web_groups` VALUES ('1','1','1');
  2037.  
  2038. # --------------------------------------------------------
  2039.  
  2040. #
  2041. # Table structure for table `modx_web_user_attributes`
  2042. #
  2043.  
  2044. DROP TABLE IF EXISTS `modx_web_user_attributes`;
  2045. CREATE TABLE `modx_web_user_attributes` (
  2046.   `id` int(10) NOT NULL AUTO_INCREMENT,
  2047.   `internalKey` int(10) NOT NULL DEFAULT '0',
  2048.   `fullname` varchar(100) NOT NULL DEFAULT '',
  2049.   `role` int(10) NOT NULL DEFAULT '0',
  2050.   `email` varchar(100) NOT NULL DEFAULT '',
  2051.   `phone` varchar(100) NOT NULL DEFAULT '',
  2052.   `mobilephone` varchar(100) NOT NULL DEFAULT '',
  2053.   `blocked` int(1) NOT NULL DEFAULT '0',
  2054.   `blockeduntil` int(11) NOT NULL DEFAULT '0',
  2055.   `blockedafter` int(11) NOT NULL DEFAULT '0',
  2056.   `logincount` int(11) NOT NULL DEFAULT '0',
  2057.   `lastlogin` int(11) NOT NULL DEFAULT '0',
  2058.   `thislogin` int(11) NOT NULL DEFAULT '0',
  2059.   `failedlogincount` int(10) NOT NULL DEFAULT '0',
  2060.   `sessionid` varchar(100) NOT NULL DEFAULT '',
  2061.   `dob` int(10) NOT NULL DEFAULT '0',
  2062.   `gender` int(1) NOT NULL DEFAULT '0' COMMENT '0 - unknown, 1 - Male 2 - female',
  2063.   `country` varchar(25) NOT NULL DEFAULT '',
  2064.   `street` varchar(255) NOT NULL DEFAULT '',
  2065.   `city` varchar(255) NOT NULL DEFAULT '',
  2066.   `state` varchar(25) NOT NULL DEFAULT '',
  2067.   `zip` varchar(25) NOT NULL DEFAULT '',
  2068.   `fax` varchar(100) NOT NULL DEFAULT '',
  2069.   `photo` varchar(255) NOT NULL DEFAULT '' COMMENT 'link to photo',
  2070.   `comment` text,
  2071.   PRIMARY KEY (`id`),
  2072.   KEY `userid` (`internalKey`)
  2073. ) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COMMENT='Contains information for web users.';
  2074.  
  2075. #
  2076. # Dumping data for table `modx_web_user_attributes`
  2077. #
  2078.  
  2079. INSERT INTO `modx_web_user_attributes` VALUES ('1','1','Site Admin','0','you@example.com','','','0','0','0','25','1129049624','1129063123','0','f426f3209310abfddf2ee00e929774b4','0','0','','','','','','','','');
  2080.  
  2081. # --------------------------------------------------------
  2082.  
  2083. #
  2084. # Table structure for table `modx_web_user_attributes_extended`
  2085. #
  2086.  
  2087. DROP TABLE IF EXISTS `modx_web_user_attributes_extended`;
  2088. CREATE TABLE `modx_web_user_attributes_extended` (
  2089.   `id` int(10) NOT NULL AUTO_INCREMENT,
  2090.   `internalKey` int(10) NOT NULL,
  2091.   PRIMARY KEY (`id`),
  2092.   KEY `userid` (`internalKey`)
  2093. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  2094.  
  2095. #
  2096. # Dumping data for table `modx_web_user_attributes_extended`
  2097. #
  2098.  
  2099.  
  2100. # --------------------------------------------------------
  2101.  
  2102. #
  2103. # Table structure for table `modx_web_user_settings`
  2104. #
  2105.  
  2106. DROP TABLE IF EXISTS `modx_web_user_settings`;
  2107. CREATE TABLE `modx_web_user_settings` (
  2108.   `webuser` int(11) NOT NULL,
  2109.   `setting_name` varchar(50) NOT NULL DEFAULT '',
  2110.   `setting_value` text,
  2111.   PRIMARY KEY (`webuser`,`setting_name`),
  2112.   KEY `setting_name` (`setting_name`),
  2113.   KEY `webuserid` (`webuser`)
  2114. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Contains web user settings.';
  2115.  
  2116. #
  2117. # Dumping data for table `modx_web_user_settings`
  2118. #
  2119.  
  2120.  
  2121. # --------------------------------------------------------
  2122.  
  2123. #
  2124. # Table structure for table `modx_web_users`
  2125. #
  2126.  
  2127. DROP TABLE IF EXISTS `modx_web_users`;
  2128. CREATE TABLE `modx_web_users` (
  2129.   `id` int(10) NOT NULL AUTO_INCREMENT,
  2130.   `username` varchar(100) NOT NULL DEFAULT '',
  2131.   `password` varchar(100) NOT NULL DEFAULT '',
  2132.   `cachepwd` varchar(100) NOT NULL DEFAULT '' COMMENT 'Store new unconfirmed password',
  2133.   PRIMARY KEY (`id`),
  2134.   UNIQUE KEY `username` (`username`)
  2135. ) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
  2136.  
  2137. #
  2138. # Dumping data for table `modx_web_users`
  2139. #
  2140.  
  2141. INSERT INTO `modx_web_users` VALUES ('1','siteadmin','5f4dcc3b5aa765d61d8327deb882cf99','');
  2142.  
  2143. # --------------------------------------------------------
  2144.  
  2145. #
  2146. # Table structure for table `modx_web_users_tours`
  2147. #
  2148.  
  2149. DROP TABLE IF EXISTS `modx_web_users_tours`;
  2150. CREATE TABLE `modx_web_users_tours` (
  2151.   `id` int(11) NOT NULL AUTO_INCREMENT,
  2152.   `uid` int(11) NOT NULL,
  2153.   `tourdate` varchar(100) NOT NULL,
  2154.   `tourdata` varchar(1000) NOT NULL,
  2155.   PRIMARY KEY (`id`),
  2156.   KEY `uid` (`uid`,`tourdate`)
  2157. ) ENGINE=MyISAM AUTO_INCREMENT=17 DEFAULT CHARSET=utf8;
  2158.  
  2159. #
  2160. # Dumping data for table `modx_web_users_tours`
  2161. #
  2162.  
  2163.  
  2164. # --------------------------------------------------------
  2165.  
  2166. #
  2167. # Table structure for table `modx_webgroup_access`
  2168. #
  2169.  
  2170. DROP TABLE IF EXISTS `modx_webgroup_access`;
  2171. CREATE TABLE `modx_webgroup_access` (
  2172.   `id` int(10) NOT NULL AUTO_INCREMENT,
  2173.   `webgroup` int(10) NOT NULL DEFAULT '0',
  2174.   `documentgroup` int(10) NOT NULL DEFAULT '0',
  2175.   PRIMARY KEY (`id`)
  2176. ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='Contains data used for web access permissions.';
  2177.  
  2178. #
  2179. # Dumping data for table `modx_webgroup_access`
  2180. #
  2181.  
  2182. INSERT INTO `modx_webgroup_access` VALUES ('1','1','1');
  2183.  
  2184. # --------------------------------------------------------
  2185.  
  2186. #
  2187. # Table structure for table `modx_webgroup_names`
  2188. #
  2189.  
  2190. DROP TABLE IF EXISTS `modx_webgroup_names`;
  2191. CREATE TABLE `modx_webgroup_names` (
  2192.   `id` int(10) NOT NULL AUTO_INCREMENT,
  2193.   `name` varchar(255) NOT NULL DEFAULT '',
  2194.   PRIMARY KEY (`id`),
  2195.   UNIQUE KEY `name` (`name`)
  2196. ) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COMMENT='Contains data used for web access permissions.';
  2197.  
  2198. #
  2199. # Dumping data for table `modx_webgroup_names`
  2200. #
  2201.  
  2202. INSERT INTO `modx_webgroup_names` VALUES ('1','Site Admins');
  2203. INSERT INTO `modx_webgroup_names` VALUES ('2','Registered Users');
Add Comment
Please, Sign In to add comment