ALTER TABLE `forums_table` ADD `forums_allow_guest` TINYINT( 1 ) NOT NULL ;
ALTER TABLE `advertisement_table` ADD `advertisement_swf_path` VARCHAR( 255 ) NOT NULL AFTER `advertisement_image_path` ;
-- ALTER TABLE `advertisement_table` ADD `advertisement_swf_width` TINYINT NOT NULL AFTER `advertisement_image_path` ;
-- ALTER TABLE `advertisement_table` ADD `advertisement_swf_height` TINYINT NOT NULL AFTER `advertisement_swf_width` ;
ALTER TABLE `stat_ipcountry` ADD `stat_ipcountry_id` INT NOT NULL FIRST ;
ALTER TABLE `stat_ipcountry` ADD PRIMARY KEY ( `stat_ipcountry_id` ) ;

-- ALTER TABLE `shop_order_table` ADD `shop_order_cancel` TINYINT( 1 ) NOT NULL AFTER `shop_order_system_information` ;
-- ALTER TABLE `shop_shops_table` CHANGE `shop_max_size_small_image` `shop_image_small_max_width` INT( 11 ) NOT NULL DEFAULT '0',
-- CHANGE `shop_max_size_big_image` `shop_image_big_max_width` INT( 11 ) NOT NULL DEFAULT '0';

-- ALTER TABLE `shop_shops_table` ADD `shop_image_small_max_height` INT NOT NULL AFTER `shop_image_big_max_width` ,
-- ADD `shop_image_big_max_height` INT NOT NULL AFTER `shop_image_small_max_height` ;

-- UPDATE `shop_shops_table` SET `shop_image_small_max_height` = `shop_image_small_max_width`, `shop_image_big_max_height` = `shop_image_big_max_width`;

ALTER TABLE `search_log_table` ADD `search_log_text_crc32` INT NOT NULL ;

ALTER TABLE `search_log_table` ADD INDEX ( `search_log_text_crc32` );

ALTER TABLE `comment_table` ADD `comment_grade` TINYINT NOT NULL AFTER `comment_date` ;

ALTER TABLE `shop_order_discount_table` CHANGE `shop_order_discount_sum_from` `shop_order_discount_sum_from` DECIMAL( 12, 2 ) NULL DEFAULT NULL ,
CHANGE `shop_order_discount_sum_to` `shop_order_discount_sum_to` DECIMAL( 12, 2 ) NULL DEFAULT NULL ,
CHANGE `shop_order_discount_value` `shop_order_discount_value` DECIMAL( 12, 2 ) NULL DEFAULT NULL;

ALTER TABLE `information_items_table` ADD `information_items_image_width` SMALLINT NULL AFTER `information_items_small_image` ;

ALTER TABLE `information_items_table` ADD `information_items_image_height` SMALLINT NULL AFTER `information_items_image_width` ;

ALTER TABLE `information_items_table` ADD `information_items_small_image_width` SMALLINT NULL AFTER `information_items_image_height` ;

ALTER TABLE `information_items_table` ADD `information_items_small_image_height` SMALLINT NULL AFTER `information_items_small_image_width` ;

CREATE TABLE IF NOT EXISTS `data_templates_group_table` (
  `data_templates_group_id` int(11) NOT NULL auto_increment,
  `data_templates_group_parent_id` int(11) NOT NULL default '0',
  `data_templates_group_name` varchar(255) NOT NULL default '',
  `users_id` int(10) unsigned NOT NULL default '0',
  `site_id` int(11) NOT NULL default '0',
  PRIMARY KEY  (`data_templates_group_id`)
) ENGINE=MyISAM DEFAULT CHARSET=cp1251 COLLATE=cp1251_general_ci ;

CREATE TABLE IF NOT EXISTS `templates_group_table` (
  `templates_group_id` int(11) NOT NULL auto_increment,
  `templates_group_parent_id` int(11) NOT NULL default '0',
  `templates_group_name` varchar(255) NOT NULL default '',
  `users_id` int(10) unsigned NOT NULL default '0',
  `site_id` int(11) NOT NULL default '0',
  PRIMARY KEY  (`templates_group_id`)
) ENGINE=MyISAM DEFAULT CHARSET=cp1251 COLLATE=cp1251_general_ci;


ALTER TABLE `data_templates_table` ADD `data_templates_group_id` INT NOT NULL AFTER `data_templates_id`;

ALTER TABLE `templates_table` ADD `templates_group_id` INT NOT NULL AFTER `templates_id` ;


ALTER TABLE `information_blocks_table` CHANGE `information_blocks_big_image_max_size` `information_blocks_image_big_max_width` INT NOT NULL DEFAULT '0',
CHANGE `information_blocks_small_image_max_size` `information_blocks_image_small_max_width` INT NOT NULL DEFAULT '0';

ALTER TABLE `information_blocks_table` ADD `information_blocks_image_small_max_height` INT NOT NULL AFTER `information_blocks_image_small_max_width` ;

ALTER TABLE `information_blocks_table` ADD `information_blocks_image_big_max_height` INT NOT NULL AFTER `information_blocks_image_big_max_width` ;



-- ALTER TABLE `shop_order_table` ADD `shop_order_users_name` VARCHAR( 255 ) NOT NULL AFTER `site_users_id` ,
-- ADD `shop_order_users_surname` VARCHAR( 255 ) NOT NULL AFTER `shop_order_users_name` ,
-- ADD `shop_order_users_patronymic` VARCHAR( 255 ) NOT NULL AFTER `shop_order_users_surname` ,
-- ADD `shop_order_users_email` VARCHAR( 255 ) NOT NULL AFTER `shop_order_users_patronymic` ,
-- ADD `shop_order_users_company` VARCHAR( 255 ) NOT NULL AFTER `shop_order_users_email` ,
-- ADD `shop_order_users_fax` VARCHAR( 255 ) NOT NULL AFTER `shop_order_users_company` ;


ALTER TABLE `information_propertys_table` ADD INDEX ( `information_propertys_order` );


UPDATE `information_blocks_table` SET information_blocks_image_big_max_height = information_blocks_image_big_max_width,
information_blocks_image_small_max_height = information_blocks_image_small_max_width;


ALTER TABLE `shop_shops_table` ADD `shop_shops_yandex_market_name` VARCHAR( 255 ) NOT NULL AFTER `shop_shops_description` ;


ALTER TABLE `information_blocks_table` DROP `information_blocks_url`;


ALTER TABLE `templates_table` DROP `templates_main` ,
DROP `templates_css`;


-- ALTER TABLE `shop_properties_item_for_groups_table` ADD `shop_shops_id` INT UNSIGNED NOT NULL ;



ALTER TABLE `shop_items_catalog_table` CHANGE `shop_items_catalog_order` `shop_items_catalog_order` INT NULL DEFAULT '0';
ALTER TABLE `shop_items_catalog_table` ADD INDEX ( `shop_items_catalog_order` );


ALTER TABLE `maillist_table` ADD `maillist_order` SMALLINT UNSIGNED NOT NULL AFTER `maillist_sender_email` ;


ALTER TABLE `xsl_table` ADD `xsl_order` SMALLINT UNSIGNED NOT NULL AFTER `xsl_comment` ;


ALTER TABLE `shop_currency_table` CHANGE `shop_currency_value_in_basic_currency` `shop_currency_value_in_basic_currency` DECIMAL( 8, 6 ) NULL DEFAULT NULL;


ALTER TABLE `shop_list_of_prices_table` CHANGE `shop_list_of_prices_percent_to_basic` `shop_list_of_prices_percent_to_basic` DECIMAL( 4, 2 ) NULL DEFAULT NULL;


ALTER TABLE `information_propertys_groups_table` ADD `information_propertys_groups_information_systems_id` INT NOT NULL AFTER `information_propertys_groups_lists_id` ;


ALTER TABLE `site_users_table` CHANGE `site_users_email` `site_users_email` VARCHAR( 100 ) NOT NULL;

ALTER TABLE `information_propertys_groups_value_table` ADD `information_propertys_groups_value_file_small` VARCHAR( 255 ) NOT NULL ;

UPDATE `information_propertys_groups_value_table` SET information_propertys_groups_value_file_small = CONCAT( 'small_', information_propertys_groups_value_file ) WHERE TRIM( information_propertys_groups_value_file ) != '';

ALTER TABLE `information_propertys_groups_value_table` ADD `information_propertys_groups_value_value_small` VARCHAR( 255 ) NOT NULL AFTER `information_propertys_groups_value_value` ;


ALTER TABLE `shop_items_catalog_table` CHANGE `shop_items_catalog_price` `shop_items_catalog_price` DECIMAL( 12, 2 ) NULL DEFAULT NULL ;
 

ALTER TABLE `shop_prices_to_item_table` CHANGE `shop_prices_to_item_value` `shop_prices_to_item_value` DECIMAL( 12, 2 ) NULL DEFAULT NULL ;

UPDATE `information_propertys_items_table` SET information_propertys_items_file = CONCAT( 'information_items_property_image_', information_propertys_items_id, '.', SUBSTRING(information_propertys_items_value, -3 , 3)  ) WHERE TRIM( information_propertys_items_file) != '';

ALTER TABLE `information_propertys_items_table` ADD `information_propertys_items_value_small` VARCHAR( 255 ) NOT NULL AFTER `information_propertys_items_value` ;

ALTER TABLE `information_propertys_items_table` ADD `information_propertys_items_file_small` VARCHAR( 255 ) NOT NULL AFTER `information_propertys_items_file` ;

UPDATE `information_propertys_items_table` SET information_propertys_items_file_small = CONCAT( 'small_', information_propertys_items_file ) WHERE TRIM( information_propertys_items_file ) != '';


ALTER TABLE `information_blocks_table` DROP `template_id`;


ALTER TABLE `modules_table` DROP `modules_date`;


ALTER TABLE `shop_items_catalog_table` CHANGE `shop_items_catalog_order` `shop_items_catalog_order` INT NULL DEFAULT NULL;


ALTER TABLE `site_table` ADD `site_is_close` INT( 11 ) UNSIGNED NOT NULL DEFAULT '0';



DROP TABLE IF EXISTS `session_table`;
CREATE TABLE IF NOT EXISTS `session_table` (
  `session_id` varchar(32) NOT NULL default '',
  `session_expire` int(11) unsigned NOT NULL default '0',
  `session_value` text NOT NULL,
  `session_maxlifetime` int(11) NOT NULL default '0',
  PRIMARY KEY  (`session_id`)
) ENGINE=MyISAM DEFAULT CHARSET=cp1251 COLLATE=cp1251_general_ci;



ALTER TABLE `shop_city_table` ADD `shop_city_order` VARCHAR( 255 ) NOT NULL ;
ALTER TABLE `shop_city_area_table` ADD `shop_city_area_order` VARCHAR( 255 ) NOT NULL ;
ALTER TABLE `shop_country_table` ADD `shop_country_order` VARCHAR( 255 ) NOT NULL ;
ALTER TABLE `shop_location_table` ADD `shop_location_order` VARCHAR( 255 ) NOT NULL ;



DELETE FROM `modules_table` WHERE `modules_path` = 'Menu';



ALTER TABLE `structure_propertys_values_table` CHANGE `structure_propertys_values_value` `structure_propertys_values_value` TEXT NULL DEFAULT NULL ;


ALTER TABLE `shop_items_catalog_table` CHANGE `shop_items_catalog_rest` `shop_items_catalog_rest` INT( 11 ) NULL DEFAULT '1';


RENAME TABLE information_blocks_table TO information_systems_table;

ALTER TABLE `information_systems_table`
CHANGE `information_blocks_id` `information_systems_id` INT(11) NOT NULL AUTO_INCREMENT,
CHANGE `structure_id` `structure_id` INT(11) NULL DEFAULT NULL,
CHANGE `site_id` `site_id` INT(11) NOT NULL DEFAULT '0',
CHANGE `information_blocks_name` `information_systems_name` VARCHAR(255) NULL DEFAULT NULL,
CHANGE `information_blocks_description` `information_systems_description` TEXT NULL DEFAULT NULL,
CHANGE `information_blocks_items_order_type` `information_systems_items_order_type` TINYINT(4) NOT NULL DEFAULT '0',
CHANGE `information_blocks_items_order_field` `information_systems_items_order_field` TINYINT(4) NOT NULL DEFAULT '0',
CHANGE `information_blocks_group_items_order_type` `information_systems_group_items_order_type` TINYINT(4) NOT NULL DEFAULT '0',
CHANGE `information_blocks_group_items_order_field` `information_systems_group_items_order_field` TINYINT(4) NOT NULL DEFAULT '0',
CHANGE `information_blocks_image_big_max_width` `information_systems_image_big_max_width` INT(11) NOT NULL DEFAULT '0',
CHANGE `information_blocks_image_big_max_height` `information_systems_image_big_max_height` INT(11) NOT NULL DEFAULT '0',
CHANGE `information_blocks_image_small_max_width` `information_systems_image_small_max_width` INT(11) NOT NULL DEFAULT '0',
CHANGE `information_blocks_image_small_max_height` `information_systems_image_small_max_height` INT(11) NOT NULL DEFAULT '0',
CHANGE `information_blocks_access` `information_systems_access` SMALLINT(6) NOT NULL DEFAULT '-1',
CHANGE `information_blocks_captcha_used` `information_systems_captcha_used` SMALLINT(2) NOT NULL DEFAULT '1',
CHANGE `information_blocks_watermark_file` `information_systems_watermark_file` VARCHAR(255) NOT NULL,
CHANGE `information_blocks_default_used_watermark` `information_systems_default_used_watermark` TINYINT(4) NOT NULL DEFAULT '1',
CHANGE `information_blocks_default_used_small_watermark` `information_systems_default_used_small_watermark` TINYINT(4) NOT NULL DEFAULT '1',
CHANGE `information_blocks_watermark_default_position_x` `information_systems_watermark_default_position_x` VARCHAR(10) NOT NULL DEFAULT '50%',
CHANGE `information_blocks_watermark_default_position_y` `information_systems_watermark_default_position_y` VARCHAR(10) NOT NULL DEFAULT '100%',
CHANGE `users_id` `users_id` INT(10) UNSIGNED NOT NULL DEFAULT '0',
CHANGE `information_blocks_items_on_page` `information_systems_items_on_page` TINYINT(4) NOT NULL DEFAULT '0',
CHANGE `information_blocks_format_date` `information_systems_format_date` VARCHAR(30) NOT NULL,
CHANGE `information_blocks_format_datetime` `information_systems_format_datetime` VARCHAR(30) NOT NULL;

ALTER TABLE `information_groups_table` CHANGE `information_blocks_id` `information_systems_id` INT( 11 ) NOT NULL DEFAULT '0';

ALTER TABLE `information_groups_table` DROP INDEX `information_blocks_id` ,
ADD INDEX `information_systems_id` ( `information_systems_id` );

ALTER TABLE `information_items_table` CHANGE `information_blocks_id` `information_systems_id` INT( 11 ) NOT NULL DEFAULT '0';

ALTER TABLE `information_items_table` DROP INDEX `information_blocks_id` ,
ADD INDEX `information_systems_id` ( `information_systems_id` );

ALTER TABLE `information_propertys_groups_table` CHANGE `information_blocks_id` `information_systems_id` INT( 11 ) NULL DEFAULT NULL;

ALTER TABLE `information_propertys_groups_table` DROP INDEX `information_blocks_id` ,
ADD INDEX `information_systems_id` ( `information_systems_id` );

ALTER TABLE `information_propertys_table` CHANGE `information_blocks_id` `information_systems_id` INT( 11 ) NOT NULL DEFAULT '0';

ALTER TABLE `information_propertys_table` DROP INDEX `information_blocks_id` ,
ADD INDEX `information_systems_id` ( `information_systems_id` );

ALTER TABLE `information_systems_table` DROP INDEX `information_blocks_access` ,
ADD INDEX `information_systems_access` ( `information_systems_access` );

UPDATE `lib_property_table` SET `lib_id` = '34',
`lib_property_name` = 'Код информационной системы',
`lib_property_description` = '',
`lib_property_varible_name` = 'InformationSystemID',
`lib_property_type` = '4',
`lib_property_default_value` = '',
`lib_property_order` = '10',
`lib_property_sql_request` = 'SELECT * FROM `information_systems_table` WHERE `site_id` = ''{SITE_ID}'' ORDER BY `information_systems_name`;',
`lib_property_sql_caption_field` = 'information_systems_name',
`lib_property_sql_value_field` = 'information_systems_id' WHERE `lib_property_id` =55 LIMIT 1 ;

UPDATE `lib_property_table` SET `lib_id` = '40',
`lib_property_name` = 'Код информационной системы',
`lib_property_description` = '',
`lib_property_varible_name` = 'InformationSystemID',
`lib_property_type` = '4',
`lib_property_default_value` = '',
`lib_property_order` = '10',
`lib_property_sql_request` = 'SELECT * FROM `information_systems_table` WHERE `site_id` = ''{SITE_ID}'' ORDER BY `information_systems_name`;',
`lib_property_sql_caption_field` = 'information_systems_name',
`lib_property_sql_value_field` = 'information_systems_id' WHERE `lib_property_id` =91 LIMIT 1 ;

UPDATE `lib_property_table` SET `lib_id` = '42',
`lib_property_name` = 'Код информационной системы',
`lib_property_description` = '',
`lib_property_varible_name` = 'InformationSystemID',
`lib_property_type` = '4',
`lib_property_default_value` = '',
`lib_property_order` = '10',
`lib_property_sql_request` = 'SELECT * FROM `information_systems_table` WHERE `site_id` = ''{SITE_ID}'' ORDER BY `information_systems_name`;',
`lib_property_sql_caption_field` = 'information_systems_name',
`lib_property_sql_value_field` = 'information_systems_id' WHERE `lib_property_id` =100 LIMIT 1 ;

ALTER TABLE `information_items_table` ADD `site_users_id` INT( 11 ) UNSIGNED NULL;


ALTER TABLE `information_systems_table` ADD `information_systems_url_type` TINYINT NOT NULL DEFAULT '0' AFTER `information_systems_format_datetime` ;



ALTER TABLE `site_table` ADD `site_safe_email` TINYINT NOT NULL DEFAULT '1';


ALTER TABLE `users_type_table` ADD `users_type_root_dir` VARCHAR( 255 ) NOT NULL ;


ALTER TABLE `structure_propertys_values_table` ADD `structure_propertys_values_file_small` VARCHAR( 255 ) NOT NULL ;


ALTER TABLE `shop_order_table` CHANGE `shop_order_sum` `shop_order_sum` DECIMAL( 12, 2 ) NULL DEFAULT NULL ; 


ALTER TABLE `shop_items_catalog_table` ADD `shop_vendorcode` VARCHAR( 255 ) NOT NULL AFTER `shop_items_catalog_marking` ;


ALTER TABLE `advertisement_table` CHANGE `advertisement_comment` `advertisement_comment` TEXT CHARACTER SET cp1251 COLLATE cp1251_general_ci NULL DEFAULT NULL ;


ALTER TABLE `shop_items_catalog_table` CHANGE `shop_items_catalog_weight` `shop_items_catalog_weight` DECIMAL( 8, 3 ) NULL DEFAULT NULL ;


ALTER TABLE `documents_dir_table` ADD `site_id` INT( 11 ) NOT NULL ;
ALTER TABLE `documents_table` ADD `site_id` INT( 11 ) NOT NULL ;
ALTER TABLE `documents_status_table` ADD `site_id` INT( 11 ) NOT NULL ;


ALTER TABLE `users_table` ADD `users_settings` TINYINT UNSIGNED NOT NULL ;
ALTER TABLE `templates_table` ADD `site_id` INT( 11 ) NOT NULL ;


ALTER TABLE `data_templates_table` ADD `site_id` INT( 11 ) NOT NULL ;


ALTER TABLE `maillist_table` ADD `site_id` INT( 11 ) NOT NULL ;
ALTER TABLE `advertisement_group_table` ADD `site_id` INT( 11 ) NOT NULL ;
ALTER TABLE `advertisement_table` ADD `site_id` INT( 11 ) NOT NULL ;
ALTER TABLE `lists_table` ADD `site_id` INT( 11 ) NOT NULL ;
ALTER TABLE `forms_table` ADD `site_id` INT( 11 ) NOT NULL ;

ALTER TABLE `search_page_table` ADD `search_page_module` TINYINT UNSIGNED NOT NULL AFTER `search_page_size` ,
ADD `search_page_module_entity_id` INT( 11 ) UNSIGNED NOT NULL AFTER `search_page_module` ;


ALTER TABLE `shop_groups_table` ADD `shop_groups_small_image` VARCHAR( 255 ) CHARACTER SET cp1251 COLLATE cp1251_general_ci NOT NULL AFTER `shop_groups_image` ;


ALTER TABLE `shop_country_table` CHANGE `shop_country_order` `shop_country_order` INT NOT NULL;
ALTER TABLE `shop_location_table` CHANGE `shop_location_order` `shop_location_order` INT NOT NULL;
ALTER TABLE `shop_city_table` CHANGE `shop_city_order` `shop_city_order` INT NOT NULL;
ALTER TABLE `shop_city_area_table` CHANGE `shop_city_area_order` `shop_city_area_order` INT NOT NULL;


ALTER TABLE `shop_items_catalog_table` ADD `shop_items_catalog_small_image` VARCHAR( 255 ) CHARACTER SET cp1251 COLLATE cp1251_general_ci NOT NULL AFTER `shop_items_catalog_image` ;

UPDATE `shop_items_catalog_table` SET `shop_items_catalog_small_image` = CONCAT( 'small_', shop_items_catalog_image ) WHERE TRIM( shop_items_catalog_image ) != '';


ALTER TABLE `shop_properties_items_table` ADD `shop_properties_items_value_small` VARCHAR( 255 ) NOT NULL ,
ADD `shop_properties_items_file` VARCHAR( 255 ) NOT NULL ,
ADD `shop_properties_items_file_small` VARCHAR( 255 ) NOT NULL ;


UPDATE `site_table` SET `site_date_time_format` = '%d.%m.%Y %H:%M:%S', `site_date_format` = '%d.%m.%Y';
UPDATE `information_systems_table` SET `information_systems_format_datetime` = '%d.%m.%Y %H:%M:%S', `information_systems_format_date` = '%d.%m.%Y';


ALTER TABLE `structure_propertys_values_table` ADD `structure_propertys_values_file` VARCHAR( 255 ) NOT NULL AFTER `structure_propertys_values_value` ;

ALTER TABLE `structure_propertys_values_table` ADD `structure_propertys_values_value_small` VARCHAR( 255 ) NOT NULL AFTER `structure_propertys_values_file` ;


ALTER TABLE `shop_items_catalog_table` ADD `shop_items_catalog_rambler_pokupki_allow` TINYINT( 1 ) NOT NULL AFTER `shop_items_catalog_yandex_market_allow` ;

ALTER TABLE `shop_order_table` DROP `shop_order_sum`;


ALTER TABLE `shop_discount_table` CHANGE `shop_discount_percent` `shop_discount_percent` DECIMAL( 5, 2 ) UNSIGNED NULL DEFAULT NULL;


ALTER TABLE `information_systems_table` ADD `information_systems_typograph_item` TINYINT NOT NULL DEFAULT '1';

ALTER TABLE `information_systems_table` ADD `information_systems_typograph_group` TINYINT NOT NULL DEFAULT '1';


ALTER TABLE `shop_items_catalog_table` ADD `shop_items_catalog_type` TINYINT( 1 ) NOT NULL DEFAULT '0' AFTER `shop_mesures_id` ;

CREATE TABLE  IF NOT EXISTS `shop_eitem_table` (
`shop_eitem_id` INT( 11 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`shop_items_catalog_item_id` INT( 11 ) NOT NULL ,
`shop_eitem_value` TEXT NOT NULL ,
`shop_eitem_filename` VARCHAR( 255 ) NOT NULL ,
`shop_eitem_count` INT NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=cp1251 COLLATE=cp1251_general_ci ;

ALTER TABLE `shop_eitem_table` ADD `shop_eitem_name` VARCHAR( 255 ) NOT NULL AFTER `shop_items_catalog_item_id` ;


ALTER TABLE `comment_table` ADD `site_users_id` INT UNSIGNED NOT NULL AFTER `comment_grade`;



ALTER TABLE `comment_table` ADD `comment_parent_id` INT NOT NULL AFTER `comment_id` ;
ALTER TABLE `comment_table` ADD INDEX ( `comment_parent_id` );


ALTER TABLE `structure_table` ADD `structure_change_frequency` INT( 11 ) NOT NULL AFTER `structure_allow_indexation` ,
ADD `structure_priority` FLOAT NOT NULL AFTER `structure_change_frequency` ;

UPDATE `structure_table` SET `structure_change_frequency` = '2';
UPDATE `structure_table` SET `structure_priority` = '0.5';

ALTER TABLE `shop_items_catalog_table` ADD `shop_items_cml_id` VARCHAR( 12 ) NOT NULL;
ALTER TABLE `shop_items_catalog_table` ADD INDEX ( `shop_items_cml_id` );

ALTER TABLE `shop_groups_table` ADD `shop_groups_cml_id` VARCHAR( 12 ) NOT NULL ;
ALTER TABLE `shop_groups_table` ADD INDEX ( `shop_groups_cml_id` );


ALTER TABLE `shop_list_of_properties_table` ADD `shop_list_of_properties_cml_id` VARCHAR( 100 ) NOT NULL ;


ALTER TABLE `site_table` ADD `site_html_cache_use` TINYINT( 1 ) NOT NULL ,
ADD `site_html_cache_with` TEXT NOT NULL ,
ADD `site_html_cache_without` TEXT NOT NULL;



CREATE TABLE  IF NOT EXISTS `shop_site_users_account_table` (
  `shop_site_users_account_id` int(11) NOT NULL auto_increment,
  `shop_shops_id` int(11) NOT NULL default '0',
  `site_users_id` int(11) NOT NULL default '0',
  `shop_site_users_account_active` tinyint(1) NOT NULL default '0',
  `shop_site_users_account_datetime` datetime NOT NULL default '0000-00-00 00:00:00',
  `shop_site_users_account_sum` int(11) NOT NULL default '0',
  `shop_currency_id` int(11) NOT NULL default '0',
  `shop_site_users_account_sum_in_base_currency` int(11) NOT NULL default '0',
  `shop_order_id` int(11) NOT NULL default '0',
  `shop_site_users_account_description` TEXT NOT NULL default '',
  `users_id` int(11) NOT NULL default '0',
  PRIMARY KEY  (`shop_site_users_account_id`),
  KEY `shop_shops_id` (`shop_shops_id`),
  KEY `site_users_id` (`site_users_id`),
  KEY `shop_currency_id` (`shop_currency_id`),
  KEY `shop_order_id` (`shop_order_id`),
  KEY `users_id` (`users_id`)
) ENGINE=MyISAM DEFAULT CHARSET=cp1251 AUTO_INCREMENT=1;



ALTER TABLE `information_items_table` ADD `information_items_show_count` INT UNSIGNED NOT NULL AFTER `information_items_putend_date` ; 

ALTER TABLE `shop_site_users_account_table` CHANGE `shop_site_users_account_sum` `shop_site_users_account_sum` DECIMAL( 12, 2 ) NOT NULL DEFAULT '0',
CHANGE `shop_site_users_account_sum_in_base_currency` `shop_site_users_account_sum_in_base_currency` DECIMAL( 12, 2 ) NOT NULL DEFAULT '0';



ALTER TABLE `shop_currency_table` ADD `shop_currency_order` INT( 11 ) NOT NULL DEFAULT '0' AFTER `shop_currency_is_default` ;

ALTER TABLE `shop_items_catalog_table` ADD `shop_items_catalog_putoff_date` DATETIME NOT NULL ,
ADD `shop_items_catalog_putend_date` DATETIME NOT NULL ;


ALTER TABLE `shop_order_table` ADD INDEX ( `shop_order_date_time` );

ALTER TABLE `shop_shops_table` ADD `shop_shops_guid` VARCHAR( 36 ) NOT NULL ;


ALTER TABLE `shop_system_of_pay_table` ADD `shop_system_of_pay_order` INT( 11 ) NOT NULL DEFAULT '0';


-- 
-- Структура таблицы `tags_relation_table`
-- 

CREATE TABLE IF NOT EXISTS `tags_relation_table` (
  `tag_relation_id` int(11) NOT NULL auto_increment,
  `tag_id` int(11) NOT NULL default '0',
  `information_items_id` int(11) NOT NULL default '0',
  `shop_items_catalog_item_id` int(11) NOT NULL default '0',
  `site_id` int(11) default NULL,
  PRIMARY KEY  (`tag_relation_id`)
) ENGINE=MyISAM DEFAULT CHARSET=cp1251 COLLATE=cp1251_general_ci ;

-- 
-- Структура таблицы `tags_table`
-- 

CREATE TABLE IF NOT EXISTS `tags_table` (
  `tag_id` int(11) NOT NULL auto_increment,
  `tag_name` varchar(255) default NULL,
  PRIMARY KEY  (`tag_id`)
) ENGINE=MyISAM DEFAULT CHARSET=cp1251 COLLATE=cp1251_general_ci ;



ALTER TABLE `site_table` ADD `site_css_left` VARCHAR( 20 ) NOT NULL ,
ADD `site_css_right` VARCHAR( 20 ) NOT NULL ;

-- 
-- Структура таблицы `shop_properties_group_table`
-- 

CREATE TABLE IF NOT EXISTS `shop_properties_group_table` (
  `shop_properties_group_id` int(11) NOT NULL auto_increment,
  `shop_shops_id` int(11) default NULL,
  `shop_mesures_id` int(11) default NULL,
  `lists_id` int(11) default NULL,
  `shop_properties_group_name` varchar(255) default NULL,
  `shop_properties_group_xml_name` varchar(255) default NULL,
  `shop_properties_group_type` tinyint(4) default NULL,
  `shop_properties_group_default_value` varchar(255) default NULL,
  `shop_properties_group_order` int(11) default NULL,
  `users_id` int(11) default NULL,
  PRIMARY KEY  (`shop_properties_group_id`)
) ENGINE=MyISAM DEFAULT CHARSET=cp1251 AUTO_INCREMENT=1 ;

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


-- --------------------------------------------------------

-- 
-- Структура таблицы `shop_properties_group_value_table`
-- 

CREATE TABLE IF NOT EXISTS `shop_properties_group_value_table` (
  `shop_properties_group_value_id` int(11) NOT NULL auto_increment,
  `shop_properties_group_id` int(11) NOT NULL default '0',
  `shop_groups_id` int(11) default NULL,
  `shop_properties_group_value_value` text,
  `shop_properties_group_value_value_small` varchar(255) default NULL,
  `shop_properties_group_value_file` varchar(255) default NULL,
  `shop_properties_group_value_file_small` varchar(255) default NULL,
  PRIMARY KEY  (`shop_properties_group_value_id`)
) ENGINE=MyISAM DEFAULT CHARSET=cp1251 AUTO_INCREMENT=1 ;


ALTER TABLE `shop_properties_items_table` CHANGE `shop_properties_items_value` `shop_properties_items_value` TEXT NOT NULL;


-- 
-- Структура таблицы `admin_forms_events_table`
-- 

DROP TABLE IF EXISTS `admin_forms_events_table`;
CREATE TABLE IF NOT EXISTS `admin_forms_events_table` (
  `admin_forms_events_id` int(10) unsigned NOT NULL auto_increment,
  `admin_words_id` int(10) unsigned default '0',
  `admin_forms_id` int(10) unsigned NOT NULL default '0',
  `admin_forms_events_function` varchar(255) character set cp1251 default NULL,
  `admin_forms_events_picture` varchar(255) character set cp1251 default NULL,
  `admin_forms_events_show_button` tinyint(1) default NULL,
  `admin_forms_events_group_operation` tinyint(1) default NULL,
  `admin_forms_events_order` int(11) NOT NULL default '0',
  `admin_forms_events_dataset_id` int(11) NOT NULL default '-1',
  `admin_forms_events_ask` tinyint(4) NOT NULL default '0',
  `users_id` int(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`admin_forms_events_id`)
) ENGINE=MyISAM DEFAULT CHARSET=cp1251 COLLATE=cp1251_bin AUTO_INCREMENT=338 ;

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

INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (1, 6, 1, 'edit_form', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(2, 7, 1, 'delete_form', '/admin/images/delete.gif', 1, 1, 30, -1, 1, 19),
(3, 10, 1, 'apply_changes', '/admin/images/apply.gif', 0, 1, 20, -1, 0, 19),
(4, 6, 2, 'edit_field', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(5, 7, 2, 'delete_field', '/admin/images/delete.gif', 1, 1, 40, -1, 1, 19),
(6, 10, 2, 'apply_changes_field', '/admin/images/apply.gif', 0, 1, 30, -1, 0, 19),
(7, 26, 4, 'apply_changes_events', '/admin/images/apply.gif', 0, 1, 30, -1, 0, 19),
(8, 43, 4, 'edit_event', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(9, 28, 4, 'delete_event', '/admin/images/delete.gif', 1, 1, 40, -1, 1, 19),
(10, 32, 5, 'edit_data_template', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 0),
(11, 33, 5, 'delete_data_template', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19),
(12, 34, 5, 'apply_data_template', '/admin/images/apply.gif', 0, 1, 16, -1, 0, 19),
(15, 40, 5, 'copy_data_template', '/admin/images/copy.gif', 1, 1, 15, 1, 0, 19),
(16, 49, 6, 'edit_template', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(17, 50, 6, 'delete_template', '/admin/images/delete.gif', 1, 1, 30, -1, 1, 19),
(18, 51, 6, 'apply_template', '/admin/images/apply.gif', 0, 1, 25, -1, 0, 19),
(19, 52, 6, 'copy_template', '/admin/images/copy.gif', 1, 1, 20, 1, 0, 19),
(20, 56, 7, 'edit_user_type', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(21, 57, 7, 'delete_user_type', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19),
(22, 61, 8, 'edit_user', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(23, 62, 8, 'delete_user', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19),
(24, 63, 8, 'apply_changes_users', '/admin/images/apply.gif', 0, 1, 15, -1, 0, 19),
(25, 73, 10, 'apply_users_type_access', '/admin/images/apply.gif', 0, 1, 30, -1, 0, 19),
(26, 76, 9, 'edit_document', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(27, 77, 9, 'delete_document', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19),
(28, 78, 9, 'copy_document', '/admin/images/copy.gif', 1, 1, 15, 1, 0, 19),
(29, 83, 11, 'edit_information_system', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(30, 84, 11, 'delete_information_system', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19),
(31, 93, 12, 'edit_group_item', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(32, 94, 12, 'copy_item', '/admin/images/copy.gif', 1, 1, 20, 1, 0, 19),
(33, 95, 12, 'delete_group_item', '/admin/images/delete.gif', 1, 1, 30, -1, 1, 19),
(179, 560, 77, 'delete_type_delivery', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19),
(35, 100, 13, 'edit_polls_group', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(36, 101, 13, 'delete_polls_group', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19),
(37, 107, 14, 'edit_maillist', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(38, 108, 14, 'delete_maillist', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19),
(39, 113, 15, 'edit_poll', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(40, 114, 15, 'delete_poll', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19),
(41, 123, 16, 'edit_maillist_production', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(42, 124, 16, 'copy_maillist_production', '/admin/images/copy.gif', 1, 1, 20, -1, 0, 19),
(43, 125, 16, 'delete_maillist_production', '/admin/images/delete.gif', 1, 1, 30, -1, 1, 19),
(44, 131, 17, 'edit_poll_reply', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(45, 132, 17, 'delete_poll_reply', '/admin/images/delete.gif', 1, 1, 30, -1, 1, 19),
(46, 133, 17, 'apply_changes_events', '/admin/images/apply.gif', 0, 1, 20, -1, 0, 19),
(264, 856, 18, 'apply_changes', '/admin/images/apply.gif', 0, 1, 10, -1, 0, 19),
(237, 697, 55, 'change_status', '', 0, 0, 60, -1, 0, 19),
(49, 146, 20, 'edit_list', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(50, 147, 20, 'delete_list', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19),
(51, 148, 19, 'apply_changes_maillist_user_group', '/admin/images/apply.gif', 0, 1, 10, -1, 0, 19),
(52, 153, 21, 'edit_list_item', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(53, 154, 21, 'copy_list_item', '/admin/images/copy.gif', 1, 1, 20, -1, 0, 19),
(54, 155, 21, 'delete_list_item', '/admin/images/delete.gif', 1, 1, 30, -1, 1, 19),
(55, 156, 21, 'apply_changes_list_item', '/admin/images/apply.gif', 0, 1, 25, -1, 0, 19),
(56, 162, 22, 'edit_xsl_dir', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(57, 163, 22, 'delete_xsl_dir', '/admin/images/delete.gif', 1, 1, 30, -1, 1, 19),
(58, 165, 22, 'apply_changes_xsl', '/admin/images/apply.gif', 0, 1, 20, -1, 0, 19),
(59, 166, 14, 'apply_changes_maillist', '/admin/images/apply.gif', 0, 1, 15, -1, 0, 19),
(60, 171, 24, 'edit_form', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(61, 172, 24, 'copy_form', '/admin/images/copy.gif', 1, 1, 20, -1, 0, 19),
(62, 173, 24, 'delete_form', '/admin/images/delete.gif', 1, 1, 30, -1, 1, 19),
(63, 179, 25, 'edit_ip', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(64, 180, 25, 'delete_ip', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19),
(65, 186, 26, 'edit_constant', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(66, 187, 26, 'delete_constant', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19),
(67, 193, 27, 'edit_form_field', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(68, 194, 27, 'copy_form_field', '/admin/images/copy.gif', 1, 1, 20, -1, 0, 19),
(69, 195, 27, 'delete_form_field', '/admin/images/delete.gif', 1, 1, 40, -1, 1, 19),
(70, 200, 28, 'edit_usersgroup', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(71, 201, 28, 'delete_usersgroup', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19),
(72, 206, 29, 'delete_form_fill', '/admin/images/delete.gif', 1, 1, 10, -1, 1, 19),
(73, 214, 30, 'edit_user', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(74, 215, 30, 'delete_user', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19),
(75, 216, 22, 'copy_xsl', '/admin/images/copy.gif', 1, 1, 15, 1, 0, 19),
(76, 221, 31, 'edit_ext_prop', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(77, 222, 31, 'delete_ext_prop', '/admin/images/delete.gif', 1, 1, 40, -1, 1, 19),
(78, 223, 31, 'copy_ext_prop', '/admin/images/copy.gif', 1, 0, 30, -1, 0, 19),
(79, 224, 31, 'apply_ext_prop', '/admin/images/apply.gif', 0, 1, 20, -1, 0, 19),
(80, 231, 32, 'edit_lib', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(83, 234, 32, 'copy_lib', '/admin/images/copy.gif', 1, 1, 20, 1, 0, 19),
(82, 233, 32, 'delete_lib', '/admin/images/delete.gif', 1, 1, 30, -1, 1, 19),
(84, 240, 33, 'edit_lib_prop', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(85, 241, 33, 'delete_lib_prop', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19),
(86, 242, 33, 'apply_prop', '/admin/images/apply.gif', 0, 1, 16, -1, 0, 19),
(87, 246, 34, 'edit_menu', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(88, 247, 34, 'delete_menu', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19),
(89, 252, 35, 'edit_forum_conf', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(90, 253, 35, 'delete_forum_conf', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19),
(91, 258, 36, 'edit_forum_group', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(92, 259, 36, 'delete_forum_group', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19),
(93, 260, 36, 'apply_forum_group_change', '/admin/images/apply.gif', 0, 1, 15, -1, 0, 19),
(94, 266, 37, 'edit_forum', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(95, 267, 37, 'delete_forum', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19),
(96, 268, 37, 'apply_forum', '/admin/images/apply.gif', 0, 1, 15, -1, 0, 19),
(97, 275, 38, 'edit_forums_theme', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(98, 276, 38, 'delete_forums_theme', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19),
(99, 281, 39, 'delete_user_group', '/admin/images/delete.gif', 1, 1, 10, -1, 1, 19),
(100, 290, 40, 'edit_module', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(101, 291, 40, 'delete_modules', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19),
(102, 292, 40, 'apply_change', '/admin/images/apply.gif', 0, 1, 30, -1, 0, 19),
(103, 298, 41, 'delete_backup', '/admin/images/delete.gif', 1, 1, 10, -1, 1, 19),
(104, 306, 42, 'edit_site', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(105, 307, 42, 'delete_site', '/admin/images/delete.gif', 1, 1, 30, -1, 1, 19),
(106, 308, 42, 'apply_change', '/admin/images/apply.gif', 0, 1, 20, -1, 0, 19),
(107, 312, 43, 'edit_domain', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(108, 313, 43, 'delete_domain', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19),
(109, 318, 44, 'edit_banner_group', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(110, 319, 44, 'delete_banner_group', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19),
(111, 331, 45, 'edit_advertise', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(235, 691, 45, 'apply_changes_banners_group', '/admin/images/apply.gif', 0, 1, 30, -1, 0, 19),
(113, 337, 46, 'edit_banner_control', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(114, 338, 46, 'delete_banner_control', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19),
(115, 353, 48, 'edit_user_drop', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(116, 354, 48, 'delete_user_drop', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19),
(117, 365, 50, 'edit_info_prop', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(118, 366, 50, 'delete_info_prop', '/admin/images/delete.gif', 1, 1, 30, -1, 1, 19),
(119, 367, 50, 'apply_info_prop', '/admin/images/apply.gif', 0, 1, 20, -1, 0, 19),
(120, 373, 51, 'edit_ext_prop_group', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(121, 374, 51, 'delete_ext_prop_group', '/admin/images/delete.gif', 1, 1, 30, -1, 1, 19),
(122, 375, 51, 'apply_change_ext_prop_group', '/admin/images/apply.gif', 0, 1, 20, -1, 0, 19),
(123, 383, 52, 'edit_comment', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(124, 384, 52, 'delete_comment', '/admin/images/delete.gif', 1, 1, 30, -1, 1, 19),
(125, 392, 54, 'edit_shop', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(126, 393, 54, 'delete_shop', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19),
(127, 398, 55, 'edit_tax', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(128, 399, 55, 'delete_tax', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19),
(129, 405, 56, 'edit_currency', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(130, 406, 56, 'delete_currency', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19),
(131, 410, 57, 'edit_system_of_pay', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(132, 411, 57, 'delete_system_of_pay', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19),
(133, 415, 58, 'edit_country', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(134, 416, 58, 'delete_country', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19),
(135, 420, 59, 'edit_place', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(136, 421, 59, 'delete_place', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19),
(137, 425, 60, 'edit_city', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(138, 426, 60, 'delete_city', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19),
(139, 429, 61, 'edit_area', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(140, 430, 61, 'delete_area', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19),
(141, 434, 62, 'edit_mesures', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(142, 435, 62, 'delete_mesures', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19),
(143, 439, 63, 'edit_order_status', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(144, 440, 63, 'delete_order_status', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19),
(145, 445, 64, 'edit_company', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(146, 446, 64, 'delete_company', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19),
(147, 461, 65, 'edit_item', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(151, 465, 65, 'delete_item', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19),
(153, 473, 66, 'edit_comment', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(152, 466, 65, 'apply_changes', '/admin/images/apply.gif', 0, 1, 17, -1, 0, 19),
(154, 474, 66, 'delete_comment', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19),
(155, 480, 67, 'edit_external_prop', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(156, 481, 67, 'delete_external_prop', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19),
(157, 482, 67, 'apply_change', '/admin/images/apply.gif', 0, 1, 15, -1, 0, 19),
(160, 488, 68, 'delete_price', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19),
(159, 487, 68, 'edit_price', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(161, 492, 69, 'edit_producer', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(162, 493, 69, 'delete_producer', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19),
(163, 494, 69, 'apply_change', '/admin/images/apply.gif', 0, 1, 15, -1, 0, 19),
(164, 500, 70, 'edit_seller', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(165, 501, 70, 'delete_seller', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19),
(166, 514, 72, 'edit_discount', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(167, 515, 72, 'delete_discount', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19),
(168, 525, 73, 'edit_order_discount', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(169, 526, 73, 'delete_order_discount', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19),
(170, 533, 74, 'edit_coupon', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(171, 534, 74, 'delete_coupon', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19),
(172, 543, 75, 'edit_order', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(173, 544, 75, 'delete_order', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19),
(174, 552, 76, 'edit_item', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(178, 559, 77, 'edit_type_delivery', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(176, 554, 76, 'delete_item', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19),
(180, 569, 78, 'edit_cond_delivery', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(181, 570, 78, 'delete_cond_delivery', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19),
(335, 1121, 79, 'active', '', 0, 0, 0, -1, 0, 19),
(336, 1122, 79, 'all_on', '/admin/images/check.gif', 0, 1, 10, -1, 0, 19),
(329, 1100, 56, 'apply_change', '/admin/images/apply.gif', 0, 1, 0, -1, 0, 19),
(186, 599, 81, 'edit_mod', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(187, 600, 81, 'delete_mod', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19),
(188, 601, 81, 'apply_mod', '/admin/images/apply.gif', 0, 1, 16, -1, 0, 19),
(189, 603, 27, 'apply_form_field', '/admin/images/apply.gif', 0, 1, 30, -1, 0, 19),
(190, 604, 65, 'copy_item', '/admin/images/copy.gif', 1, 1, 15, 1, 0, 19),
(191, 606, 65, 'active', '', 0, 0, 0, -1, 0, 19),
(192, 607, 65, 'index', '', 0, 0, 0, -1, 0, 19),
(193, 618, 82, 'edit_node', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(194, 619, 82, 'delete_node', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19),
(203, 631, 82, 'apply_change', '/admin/images/apply.gif', 0, 1, 15, -1, 0, 19),
(202, 630, 82, 'index', '', 0, 0, 1, -1, 0, 19),
(198, 626, 82, 'active', '', 0, 0, 5, -1, 0, 19),
(205, 633, 48, 'add_user_to_group', '', 0, 0, 30, -1, 0, 19),
(206, 642, 85, 'apply_changes_users_group', '/admin/images/apply.gif', 0, 1, 30, -1, 0, 19),
(207, 643, 12, 'change_item_active', '', 0, 0, 40, -1, 0, 19),
(208, 644, 12, 'change_item_indexation', '', 0, 0, 50, -1, 0, 19),
(209, 645, 12, 'change_group_indexation', '', 0, 0, 60, -1, 0, 19),
(210, 646, 52, 'change_comment_status', '', 0, 0, 40, -1, 0, 19),
(211, 652, 86, 'edit_node_prop', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(212, 653, 86, 'delete_node_prop', '/admin/images/delete.gif', 1, 1, 30, -1, 1, 19),
(213, 654, 86, 'apply_change', '/admin/images/apply.gif', 0, 1, 20, -1, 0, 19),
(214, 655, 25, 'change_deny_access', '', 0, 0, 0, -1, 0, 19),
(215, 656, 25, 'change_no_statistic', '', 0, 0, 0, -1, 0, 19),
(216, 660, 87, 'edit_menu', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(217, 661, 87, 'delete_menu', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19),
(218, 663, 20, 'show_list_items', '', 0, 0, 0, -1, 0, 19),
(219, 666, 58, 'apply_change', '/admin/images/apply.gif', 0, 1, 15, -1, 0, 19),
(220, 669, 59, 'apply_change', '/admin/images/apply.gif', 0, 1, 15, -1, 0, 19),
(221, 670, 40, 'change_module_active', '', 0, 0, 40, -1, 0, 19),
(222, 672, 60, 'apply_change', '/admin/images/apply.gif', 0, 1, 15, -1, 0, 19),
(223, 675, 61, 'apply_change', '/admin/images/apply.gif', 0, 1, 15, -1, 0, 19),
(224, 676, 29, 'show_form_fill_values', '', 0, 0, 20, -1, 0, 19),
(225, 677, 20, 'copy_list', '/admin/images/copy.gif', 1, 1, 15, -1, 0, 19),
(226, 678, 85, 'edit_user', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(236, 694, 33, 'copy_lib_prop', '/admin/images/copy.gif', 1, 1, 15, -1, 0, 19),
(228, 680, 16, 'send_fascicle', '', 0, 0, 40, -1, 0, 19),
(229, 681, 42, 'active_site', '', 0, 0, 0, -1, 0, 19),
(230, 682, 28, 'change_group_default', '', 0, 0, 30, -1, 0, 19),
(233, 686, 30, 'change_user_confirmation', '', 0, 0, 30, -1, 0, 19),
(232, 685, 43, 'set_alias_current', '', 0, 0, 0, -1, 0, 19),
(265, 857, 2, 'copy_field', '/admin/images/copy.gif', 1, 1, 20, -1, 0, 19),
(238, 700, 56, 'change_status', '', 0, 0, 0, -1, 0, 19),
(245, 726, 71, 'enabled', '', 0, 0, 0, -1, 0, 19),
(240, 710, 88, 'edit_stat_param', '', 0, 0, 0, -1, 0, 19),
(244, 723, 65, 'delete_big_image', '', 0, 0, 0, -1, 0, 19),
(246, 730, 93, 'edit_admin_language', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(247, 731, 93, 'delete_admin_language', '/admin/images/delete.gif', 1, 1, 30, -1, 1, 19),
(248, 732, 93, 'apply_changes_languages', '/admin/images/apply.gif', 0, 1, 20, -1, 0, 19),
(251, 735, 73, 'active', '', 0, 0, 0, -1, 0, 19),
(250, 734, 72, 'active', '', 0, 0, 0, -1, 0, 19),
(252, 736, 74, 'active', '', 0, 0, 0, -1, 0, 19),
(253, 737, 75, 'status', '', 0, 0, 0, -1, 0, 19),
(254, 741, 81, 'active', '', 0, 0, 0, -1, 0, 19),
(255, 742, 81, 'index', '', 0, 0, 0, -1, 0, 19),
(256, 753, 95, 'opikjkl;j', 'hokj', 1, 1, 0, -1, 1, 19),
(257, 755, 26, 'change_constant_status', '', 0, 0, 0, -1, 0, 19),
(258, 772, 37, 'access', '', 0, 0, 0, -1, 0, 19),
(259, 777, 39, 'edit_forums_group_user', '', 0, 0, 0, -1, 0, 19),
(260, 779, 39, 'is_moderator', '', 0, 0, 0, -1, 0, 19),
(261, 797, 101, 'counter_code', '', 0, 0, 0, -1, 0, 19),
(270, 880, 4, 'copy_event', '/admin/images/copy.gif', 1, 1, 20, -1, 0, 19),
(268, 867, 57, 'active', '', 0, 0, 0, -1, 0, 19),
(269, 879, 81, 'copy_item', '/admin/images/copy.gif', 1, 1, 15, -1, 0, 19),
(285, 927, 115, 'edit_document_version', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(283, 925, 115, 'change_current_version', '', 0, 0, 10, -1, 0, 19),
(284, 926, 52, 'copy_comment', '/admin/images/copy.gif', 1, 1, 20, -1, 0, 19),
(286, 928, 115, 'delete_document_version', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19),
(287, 929, 115, 'delete_old_document_versions', '', 0, 0, 40, -1, 0, 19),
(288, 976, 124, 'edit_documents_status', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(289, 977, 124, 'delete_documents_status', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19),
(291, 980, 9, 'delete_old_document_versions_from_dir', '', 0, 0, 40, -1, 0, 19),
(295, 999, 127, 'edit_file', '/admin/images/edit.gif', 1, 0, 20, 1, 0, 19),
(296, 1000, 127, 'delete_file', '/admin/images/delete.gif', 1, 1, 30, -1, 1, 19),
(297, 1006, 71, 'change_access_status_on', '/admin/images/check.gif', 0, 1, 5, -1, 0, 19),
(298, 1008, 71, 'change_access_status_off', '/admin/images/not_check.gif', 0, 1, 7, -1, 0, 19),
(304, 1023, 75, 'cancel', '', 0, 0, 0, -1, 0, 19),
(313, 1045, 130, 'edit_file', '/admin/images/edit.gif', 1, 0, 10, 1, 0, 19),
(312, 1037, 66, 'show', '', 0, 0, 0, -1, 0, 19),
(314, 1046, 130, 'delete_file', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19),
(315, 1056, 131, 'cache_clear', '/admin/images/bin.gif', 1, 1, 10, -1, 0, 19),
(316, 1057, 131, 'cache_clear_all', '', 0, 0, 20, -1, 0, 19),
(321, 1067, 10, 'access_granted', '/admin/images/check.gif', 0, 1, 20, -1, 0, 19),
(322, 1068, 10, 'access_denied', '/admin/images/not_check.gif', 0, 1, 25, -1, 0, 19),
(323, 1074, 132, 'edit_eitem', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19),
(324, 1076, 132, 'delete_eitem', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19),
(325, 1077, 131, 'clear_static_cache_current_site', '/admin/images/bin.gif', 0, 0, 30, -1, 0, 19),
(326, 1078, 131, 'clear_static_cache_all_sites', '/admin/images/bin.gif', 0, 0, 40, -1, 0, 19),
(327, 1094, 134, 'edit_transaction', '/admin/images/edit.gif', 1, 0, 0, -1, 0, 19),
(328, 1095, 134, 'set_active', '', 0, 0, 0, -1, 0, 19),
(330, 1103, 57, 'apply_change', '/admin/images/apply.gif', 0, 1, 15, -1, 0, 19),
(331, 1109, 135, 'edit_external_prop', '/admin/images/edit.gif', 1, 0, 0, -1, 0, 19),
(332, 1110, 135, 'delete_external_prop', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19),
(333, 1111, 135, 'apply_change', '/admin/images/apply.gif', 0, 1, 15, -1, 0, 19),
(334, 1114, 87, 'apply_change', '/admin/images/apply.gif', 0, 1, 0, -1, 0, 19),
(337, 1123, 79, 'all_off', '/admin/images/not_check.gif', 0, 1, 20, -1, 0, 19);

-- --------------------------------------------------------

-- 
-- Структура таблицы `admin_forms_field_table`
-- 

DROP TABLE IF EXISTS `admin_forms_field_table`;
CREATE TABLE IF NOT EXISTS `admin_forms_field_table` (
  `admin_forms_field_id` int(10) unsigned NOT NULL auto_increment,
  `admin_forms_id` int(10) unsigned default NULL,
  `admin_words_id` int(10) unsigned default '0',
  `admin_forms_field_name` varchar(255) character set cp1251 NOT NULL default '',
  `admin_forms_field_order` int(11) default NULL,
  `admin_forms_field_type` int(11) default NULL,
  `admin_forms_field_format` varchar(255) character set cp1251 default NULL,
  `admin_forms_field_allow_order` tinyint(1) default '0',
  `admin_forms_field_allow_filter` tinyint(1) default '0',
  `admin_forms_field_align_title` varchar(10) character set cp1251 default NULL,
  `admin_forms_field_align` varchar(10) character set cp1251 default NULL,
  `admin_forms_field_width` varchar(10) character set cp1251 default NULL,
  `admin_forms_field_style` varchar(50) character set cp1251 default NULL,
  `admin_forms_field_attrib` varchar(255) character set cp1251 NOT NULL default '',
  `admin_forms_field_image` varchar(255) character set cp1251 NOT NULL default '',
  `admin_forms_field_link` text character set cp1251 NOT NULL,
  `admin_forms_field_onclick` text character set cp1251 NOT NULL,
  `admin_forms_field_list` text character set cp1251 NOT NULL,
  `users_id` int(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`admin_forms_field_id`)
) ENGINE=MyISAM DEFAULT CHARSET=cp1251 COLLATE=cp1251_bin AUTO_INCREMENT=635 ;

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

INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (1, 1, 1, 'admin_words_value_name', 10, 1, NULL, 1, 1, 'center', 'left', '', NULL, '', '', '', '', '', 19),
(4, 1, 4, 'admin_forms_show_operations', 40, 3, '', 0, 0, 'center', 'center', '', '', '', '', '', '', '', 19),
(5, 1, 5, 'admin_forms_show_group_operations', 50, 3, '', 0, 0, 'center', 'center', '', '', '', '', '', '', '', 19),
(6, 1, 8, '', 60, 7, '', 0, 0, 'center', 'center', '', '', '', '=/admin/images/application_form.gif', '/admin/admin_forms/admin_forms.php?admin_forms_id=2&operation=load_data&admin_forms_edit_id={admin_forms_id}', 'DoLoadAjax(''/admin/admin_forms/admin_forms.php'', ''&admin_forms_edit_id={admin_forms_id}'', 2, ''load_data'', '''', '''', '''', ''''); return false;', '', 19),
(7, 2, 12, 'admin_forms_field_id', 10, 1, '', 1, 1, 'center', '', '45px', 'width: 45px;', '', '', '', '', '', 19),
(8, 2, 13, 'admin_words_value_name', 20, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19),
(9, 2, 14, 'admin_forms_field_order', 50, 2, '', 1, 1, 'center', '', '80px', 'width: 80px;', '', '', '', '', '', 19),
(10, 2, 15, 'admin_forms_field_allow_order', 30, 3, '', 0, 1, 'center', 'center', '60px', 'widht: 60px;', '', '', '', '', '', 19),
(11, 2, 16, 'admin_forms_field_allow_filter', 40, 3, '', 0, 1, 'center', 'center', '60px', 'widht: 60px;', '', '', '', '', '', 19),
(15, 4, 20, 'admin_forms_events_id', 10, 1, '', 1, 1, 'center', '', '45px', 'width: 45px;', '', '', '', '', '', 19),
(16, 4, 21, 'admin_forms_events_function', 20, 1, '', 1, 1, 'center', 'left', '', '', '', '', '', '', '', 19),
(17, 4, 22, 'admin_forms_events_order', 50, 2, '', 1, 1, 'center', '', '80px', 'width: 80px;', '', '', '', '', '', 19),
(18, 4, 23, 'admin_forms_events_show_button', 30, 3, '', 1, 1, 'center', 'center', '50px', 'widht: 50px;', '', '', '', '', '', 19),
(19, 4, 24, 'admin_forms_events_group_operation', 40, 3, '', 1, 1, 'center', 'center', '50px', 'widht: 50px;', '', '', '', '', '', 19),
(20, 1, 25, '', 70, 7, '', 0, 0, 'center', 'center', '', '', '', '=/admin/images/lightning.gif', '/admin/admin_forms/admin_forms.php?admin_forms_id=4&operation=load_data&admin_forms_edit_id={admin_forms_id}', 'DoLoadAjax(''/admin/admin_forms/admin_forms.php'', ''&admin_forms_edit_id={admin_forms_id}'', 4, ''load_data'', '''', '''', '''', ''''); return false;', '', 19),
(21, 5, 30, 'key_field', 10, 1, '', 1, 1, 'center', '', '45px', 'width: 45px;', '', '', '', '', '', 19),
(22, 5, 31, 'name', 30, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(24, 5, 41, '', 20, 7, '', 0, 0, 'center', 'center', '20px', '', '', '/admin/images/page.gif', '', '', '', 19),
(25, 1, 45, 'admin_forms_id', 5, 1, '', 1, 1, 'left', 'left', '45px', 'width: 45px;', '', '', '', '', '', 19),
(26, 6, 46, 'key_field', 10, 1, '', 1, 1, 'center', '', '45px', 'width: 45px;', '', '', '', '', '', 19),
(27, 6, 47, 'name', 30, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(28, 6, 48, '', 20, 7, '', 0, 0, 'center', 'center', '20px', '', '', '=/admin/images/template.gif', '', '', '', 19),
(29, 7, 54, 'users_type_name', 10, 4, '', 1, 1, 'left', 'left', '', '', '', '', '/admin/users_access/users_access.php?admin_forms_id=8&operation=load_data&action=show_users&users_type_id={users_type_id}', 'DoLoadAjax(''/admin/users_access/users_access.php'', ''&action=show_users&users_type_id={users_type_id}'', 8, ''load_data'', '''', '''', '''', ''''); return false;', '', 19),
(30, 7, 55, 'users_type_comment', 20, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(31, 8, 59, 'users_name', 20, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(32, 8, 60, 'users_superuser', 30, 3, '', 0, 1, '', 'center', '130px', '', '', '', '', '', '', 19),
(33, 8, 64, 'users_id', 10, 1, '', 1, 1, '', '', '50px', '', '', '', '', '', '', 19),
(34, 9, 66, 'key_field', 10, 1, '', 1, 1, '', '', '45px', 'width: 45px;', '', '', '', '', '', 19),
(35, 9, 67, 'name', 20, 4, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(36, 9, 68, 'templates_name', 30, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(37, 10, 70, 'users_access_value', 10, 3, '', 0, 1, 'center', 'center', '100px', '', '', '', '', '', '', 19),
(38, 10, 71, 'modules_name', 20, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(39, 10, 72, 'modules_path', 30, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(42, 11, 80, 'information_systems_id', 10, 1, '', 1, 1, '', '', '40px', '', '', '', '', '', '', 19),
(41, 9, 75, '', 15, 7, '', 0, 0, '', 'center', '20px', '', '', '/admin/images/page.gif', '', '', '', 19),
(43, 11, 81, 'information_systems_name', 20, 4, '', 1, 1, 'left', 'left', '', '', '', '', '/admin/InformationSystems/InformationSystems.php?admin_forms_id=12&information_system_id={information_systems_id}', 'DoLoadAjax(''/admin/InformationSystems/InformationSystems.php'', ''&information_system_id={information_systems_id}'', 12, ''load_data'', '''', '''', '''', ''''); return false;', '', 19),
(45, 12, 86, 'key_field', 10, 1, '', 1, 1, 'center', 'center', '40px', '', '', '', '', '', '', 19),
(46, 12, 87, '', 20, 7, '', 0, 0, 'center', 'center', '20px', '', '', ' =/admin/images/page.gif', '', '', '', 19),
(47, 12, 88, 'name', 30, 1, '', 1, 1, 'left', 'left', '', '', '', '', '/admin/InformationSystems/InformationSystems.php?admin_forms_id=12&operation=load_data&information_system_id={information_systems_id}&information_groups_parent_id={key_field}', 'DoLoadAjax(''/admin/InformationSystems/InformationSystems.php'', ''&information_system_id={information_systems_id}&information_groups_parent_id={key_field}'', 12, ''load_data''); return false;', '', 19),
(48, 12, 89, 'comment_field', 40, 4, '', 1, 0, 'center', 'center', '', '', '', '', '/admin/InformationSystems/InformationSystems.php?admin_forms_id=52&operation=load_data&action=show_comments&information_system_id={information_systems_id}&information_groups_parent_id={information_groups_parent_id}&information_item_id={key_field}', 'DoLoadAjax(''/admin/InformationSystems/InformationSystems.php'', ''&action=show_comments&information_system_id={information_systems_id}&information_groups_parent_id={information_groups_parent_id}&information_item_id={key_field}'', 52, ''load_data'', '''', '''', '''', ''''); return false;', '', 19),
(49, 12, 90, 'status_field', 50, 7, '', 0, 1, 'center', 'center', '', '', '', '1=/admin/images/check.gif\r\n0=/admin/images/not_check.gif', '/admin/InformationSystems/InformationSystems.php?admin_forms_id=12&information_system_id={information_systems_id}&information_groups_parent_id={information_groups_parent_id}&operation=change_item_active&check_1_{key_field}=1', 'TrigerSingleAction(''/admin/InformationSystems/InformationSystems.php'', ''&information_system_id={information_systems_id}&information_groups_parent_id={information_groups_parent_id}'', ''change_item_active'', ''check_1_{key_field}'', ''12'', '''', '''', '''', ''''); return false;', '', 19),
(50, 12, 91, 'indexation_field', 60, 7, '', 0, 1, 'center', 'center', '', '', '', '1=/admin/images/check.gif\r\n0=/admin/images/not_check.gif', '/admin/InformationSystems/InformationSystems.php?admin_forms_id=12&operation=change_item_indexation&information_system_id={information_systems_id}&information_groups_parent_id={information_groups_parent_id}&check_1_{key_field}=1', 'TrigerSingleAction(''/admin/InformationSystems/InformationSystems.php'', ''&information_system_id={information_systems_id}&information_groups_parent_id={information_groups_parent_id}'', ''change_item_indexation'', ''check_1_{key_field}'', ''12'', '''', '''', '''', ''''); return false;', '', 19),
(52, 13, 98, 'poll_group_id', 10, 1, '', 1, 1, '', '', '45px', '', '', '', '', '', '', 19),
(53, 13, 99, 'poll_group_name', 20, 4, '', 1, 1, 'left', 'left', '', '', '', '', '/admin/polls/polls.php?admin_forms_id=15&operation=load_data&action=show_polls&polls_group_id={poll_group_id}', 'DoLoadAjax(''/admin/polls/polls.php'', ''&action=show_polls&polls_group_id={poll_group_id}'', 15, ''load_data'', '''', '''', '''', ''''); return false;', '', 19),
(54, 14, 103, 'maillist_id', 10, 1, '', 1, 1, '', '', '45px', '', '', '', '', '', '', 19),
(55, 14, 104, 'maillist_order', 30, 2, '', 1, 1, '', '', '80px', 'width: 80px;', '', '', '', '', '', 19),
(56, 14, 105, 'maillist_name', 20, 4, '', 1, 1, 'left', 'left', '', '', '', '', '/admin/Maillist/maillist.php?admin_forms_id=16&operation=load_data&maillist_id={maillist_id}', 'DoLoadAjax(''/admin/Maillist/maillist.php'', ''&maillist_id={maillist_id}'', 16, ''load_data'', '''', '''', '''', ''''); return false;', '', 19),
(89, 25, 175, 'ip_ip', 20, 1, '', 1, 1, '', '', '', '', 'width="333"', '', '', '', '', 19),
(58, 15, 110, 'poll_name', 20, 4, '', 1, 1, 'left', 'left', '', '', '', '', '/admin/polls/polls.php?admin_forms_id=17&operation=load_data&action=show_poll_replys&polls_group_id={poll_group_id}&poll_id={poll_id}', 'DoLoadAjax(''/admin/polls/polls.php'', ''&action=show_poll_replys&polls_group_id={poll_group_id}&poll_id={poll_id}'', 17, ''load_data'', '''', '''', '''', ''''); return false;', '', 19),
(59, 15, 111, 'poll_begin_date', 30, 10, '', 1, 1, 'left', 'left', '70px', 'width: 70px;', '', '', '', '', '', 19),
(60, 15, 112, 'poll_end_date', 40, 10, '', 1, 1, 'left', 'left', '70px', 'widht: 70px;', '', '', '', '', '', 19),
(61, 15, 115, 'poll_id', 10, 1, '', 1, 1, '', '', '45px', '', '', '', '', '', '', 19),
(62, 16, 117, 'maillist_fascicle_theme', 10, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(63, 16, 118, 'users_name', 20, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19),
(64, 16, 119, 'maillist_fascicle_make_date_time', 30, 6, '', 1, 1, 'left', 'left', '40px', 'widht: 40px;', '', '', '', '', '', 19),
(65, 16, 120, 'maillist_fascicle_send_date_time', 40, 5, '', 1, 1, 'left', 'left', '70px', 'widht: 70px;', '', '', '', '', '', 19),
(66, 16, 121, 'maillist_fascicle_edited', 50, 7, '', 0, 0, 'left', 'center', '', '', '', '0 = /admin/images/not_check.gif\r\n1 = /admin/images/check.gif', '', '', '', 19),
(67, 16, 122, 'send_fascicle', 60, 10, '', 0, 0, 'left', 'center', '', '', '', '=/admin/images/send_email.gif', 'javascript:TrigerSingleAction(''/admin/Maillist/maillist.php'', ''&maillist_id={maillist_id}'', ''send_fascicle'', ''check_0_{maillist_fascicle_id}'', ''16'', 0, 0, ''45'', ''2'');', '', '', 19),
(68, 17, 127, 'poll_reply_id', 10, 1, '', 1, 1, '', '', '45px', '', '', '', '', '', '', 19),
(69, 17, 128, 'poll_reply_text', 20, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(70, 17, 129, 'poll_reply_order', 40, 2, '', 1, 1, '', '', '80px', 'width: 80px;', '', '', '', '', '', 19),
(71, 17, 130, 'poll_reply_number', 30, 1, '', 1, 1, '', '', '50px', '', '', '', '', '', '', 19),
(72, 18, 135, 'site_users_login', 10, 1, '', 1, 1, '', '', '', '', '', '', 'javascript:TrigerSingleAction(''/admin/Site_users/Site_users.php'', ''&check_0_{site_users_id}=1'', ''edit_user'', ''check_0_{site_users_id}'', ''30'', 0, 0, ''107'', ''1'');', '', '', 19),
(82, 22, 159, 'key_field_id', 10, 1, '', 1, 1, '', '', '45px', '', '', '', '', '', '', 19),
(73, 18, 136, 'maillist_users_value', 20, 8, '', 1, 1, 'left', 'left', '50px', '', '', '', '', '', '0=Текст\r\n1=HTML', 19),
(74, 19, 140, 'site_users_group_name', 10, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(75, 19, 141, 'site_users_group_comment', 20, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(76, 20, 143, 'lists_id', 10, 1, '', 1, 1, '', '', '45px', 'width: 45px', '', '', '', '', '', 19),
(77, 20, 144, 'lists_name', 20, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(78, 20, 145, 'list_items', 30, 7, '', 0, 0, 'left', 'center', '60px', '', '', '=/admin/images/list.gif', '/admin/lists/lists.php?admin_forms_id=21&operation=show_list_items&check_0_{lists_id}=1&list_id={lists_id}', 'TrigerSingleAction(''/admin/lists/lists.php'', ''&list_id={lists_id}'', ''show_list_items'', ''check_0_{lists_id}'', 21, 0, 0, 0, 1); return false;', '', 19),
(79, 21, 150, 'lists_items_id', 10, 1, '', 1, 1, '', '', '45px', 'width: 45px', '', '', '', '', '', 19),
(80, 21, 151, 'lists_items_order', 35, 2, '', 1, 1, '', '', '80px', 'width: 80px;', '', '', '', '', '', 19),
(81, 21, 152, 'lists_items_value', 30, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(83, 22, 160, '', 20, 7, '', 0, 0, '', 'center', '20px', '', '', '=/admin/images/xslt.gif', '', '', '', 19),
(84, 22, 161, 'field_name', 30, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(85, 22, 164, 'order_field', 40, 2, '', 1, 1, '', '', '80px', 'width: 80px;', '', '', '', '', '', 19),
(86, 24, 168, 'forms_id', 10, 1, '', 1, 1, '', '', '50px', '', '', '', '', '', '', 19),
(87, 24, 169, 'forms_name', 20, 4, '', 1, 1, 'left', 'left', '', '', '', '', '/admin/Forms/Forms.php?admin_forms_id=29&operation=load_data&form_id={forms_id}', 'DoLoadAjax(''/admin/Forms/Forms.php'', ''&form_id={forms_id}'', 29, ''load_data'', '''', '''', '''', ''''); return false;', '', 19),
(88, 24, 170, '', 30, 7, '', 0, 0, 'left', 'center', '60px', '', '', '=/admin/images/application_form.gif', '/admin/Forms/Forms.php?admin_forms_id=27&operation=load_data&form_id={forms_id}', 'DoLoadAjax(''/admin/Forms/Forms.php'', ''&form_id={forms_id}'', 27, ''load_data'', '''', '''', '''', ''''); return false;', '', 19),
(90, 25, 176, 'ip_comment', 30, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(91, 25, 177, 'ip_deny_access', 40, 7, '', 0, 0, '', 'center', '', '', '', '0 = /admin/images/not_check.gif\r\n1 = /admin/images/check.gif', '', '', '', 19),
(357, 87, 658, 'menu_id', 10, 1, '', 1, 1, '', '', '45px', '', '', '', '', '', '', 19),
(92, 25, 178, 'ip_no_statistic', 50, 7, '', 0, 0, '', 'center', '', '', '', '0 = /admin/images/not_check.gif\r\n1 = /admin/images/check.gif', '', '', '', 19),
(358, 87, 659, 'menu_name', 20, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(93, 26, 182, 'constants_name', 20, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19),
(94, 26, 183, 'constants_value', 30, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(95, 26, 184, 'constants_activity', 40, 7, '', 0, 0, '', 'center', '', '', '', '0 = /admin/images/not_check.gif\r\n1 = /admin/images/check.gif', 'javascript:TrigerSingleAction(''/admin/constants/constants.php'', '''', ''change_constant_status'', ''check_0_{constants_id}'', ''26'', 0, 0, '''', '''');', '', '', 19),
(96, 26, 185, 'constants_description', 50, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(97, 27, 189, 'forms_fields_id', 10, 1, '', 1, 1, '', '', '50px', '', '', '', '', '', '', 19),
(98, 27, 190, 'forms_fields_order', 40, 2, '', 1, 1, '', '', '80px', 'width: 80px;', '', '', '', '', '', 19),
(99, 27, 191, 'forms_fields_text_name', 20, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(100, 27, 192, 'forms_fields_name', 30, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(101, 28, 197, 'site_users_group_name', 10, 4, '', 1, 1, 'left', 'left', '', '', '', '', '/admin/Site_users/Site_users.php?admin_forms_id=85&operation=load_data&site_users_group_id={site_users_group_id}', 'DoLoadAjax(''/admin/Site_users/Site_users.php'', ''&site_users_group_id={site_users_group_id}'', 85, ''load_data'', '''', '''', '''', ''''); return false;', '', 19),
(102, 28, 198, 'site_users_group_comment', 20, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(103, 28, 199, 'site_users_group_default', 30, 7, '', 0, 0, '', 'center', '', '', '', '0 = /admin/images/not_check.gif\r\n1 = /admin/images/check.gif', '', '', '', 19),
(367, 28, 683, 'site_users_group_id', 0, 1, '', 1, 1, '', '', '45px', '', '', '', '', '', '', 19),
(104, 29, 203, 'forms_fill_date', 10, 5, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(105, 29, 204, 'forms_fill_ip', 20, 1, '', 1, 1, '', '', '100px', 'width: 70px;', '', '', '', '', '', 19),
(106, 29, 205, '', 30, 7, '', 0, 0, 'center', 'center', '70px', '', '', '=/admin/images/application_form_eye.gif', '/admin/Forms/Forms.php?admin_forms_id=29&operation=show_form_fill_values&check_0_{forms_fill_id}=1&form_id={forms_id}', 'TrigerSingleAction(''/admin/Forms/Forms.php'', ''&form_id={forms_id}'', ''show_form_fill_values'', ''check_0_{forms_fill_id}'', 29, '''', '''', '''', ''''); return false;', '', 19),
(107, 30, 208, 'site_users_id', 10, 1, '', 1, 1, '', '', '45px', '', '', '', '', '', '', 19),
(108, 30, 209, 'site_users_name', 20, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(109, 30, 210, 'site_users_login', 30, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19),
(110, 30, 211, 'site_users_email', 40, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(111, 30, 212, 'site_users_confirmation', 50, 7, '', 0, 0, '', 'center', '', '', '', '0 = /admin/images/not_check.gif\r\n1 = /admin/images/check.gif', '', '', '', 19),
(113, 31, 218, 'site_users_extra_property_order', 40, 2, '', 1, 1, '', '', '80px', 'width: 80px', '', '', '', '', '', 19),
(112, 29, 213, 'forms_fill_id', 0, 1, '', 1, 1, '', '', '50px', '', '', '', '', '', '', 19),
(114, 31, 219, 'site_users_extra_property_title', 20, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(115, 31, 220, 'site_users_extra_property_name', 30, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(116, 32, 226, 'key_field', 10, 1, '', 1, 1, '', '', '45px', 'width: 45px', '', '', '', '', '', 19),
(117, 32, 227, '', 20, 7, '', 0, 0, 'left', 'center', '16px', 'widht: 16px;', '', '/admin/images/script_code_red.gif', '', '', '', 19),
(118, 32, 228, 'name', 30, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19),
(599, 41, 1058, 'file_image', 0, 10, '', 0, 0, 'left', 'left', '16px', 'widht: 16px;', '', '', '', '', '', 19),
(119, 32, 229, 'description', 40, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(120, 32, 230, 'page_param', 50, 7, '', 0, 0, 'left', 'center', '50px', '', '', ' = /admin/images/spacer.gif', '', '', '', 19),
(121, 33, 236, 'lib_property_id', 10, 1, '', 1, 1, '', '', '45px', 'width: 45px;', '', '', '', '', '', 19),
(122, 33, 237, 'lib_property_name', 20, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(123, 33, 238, 'lib_property_varible_name', 30, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(124, 33, 239, 'lib_property_order', 40, 2, '', 1, 1, '', '', '80px', 'width: 80px;', '', '', '', '', '', 19),
(125, 34, 244, 'menu_id', 10, 1, '', 1, 1, '', '', '50px', '', '', '', '', '', '', 19),
(126, 34, 245, 'menu_name', 20, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(127, 35, 249, 'forums_conference_id', 10, 1, '', 1, 1, '', '', '45px', 'width: 45px;', '', '', '', '', '', 19),
(128, 35, 250, 'forums_conference_name', 20, 4, '', 1, 1, 'left', 'left', '', '', '', '', '/admin/Forums/Forums.php?admin_forms_id=36&operation=load_data&forums_conference_id={forums_conference_id}', 'DoLoadAjax(''/admin/Forums/Forums.php'', ''&forums_conference_id={forums_conference_id}'', 36, ''load_data'', '''', '''', '''', ''''); return false;', '', 19),
(129, 35, 251, 'forums_conference_description', 30, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(130, 36, 255, 'forums_group_order', 40, 2, '', 1, 1, '', '', '80px', 'width: 80px;', '', '', '', '', '', 19),
(131, 36, 256, 'forums_group_name', 20, 4, '', 1, 1, 'left', 'left', '', '', '', '', '/admin/Forums/Forums.php?admin_forms_id=37&operation=load_data&forums_conference_id={forums_conference_id}&forums_group_id={forums_group_id}', 'DoLoadAjax(''/admin/Forums/Forums.php'', ''&forums_conference_id={forums_conference_id}&forums_group_id={forums_group_id}'', 37, ''load_data'', '''', '''', '''', ''''); return false;', '', 19),
(132, 36, 257, 'forums_group_description', 30, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(133, 37, 262, 'forums_order', 60, 2, '', 1, 1, '', '', '80px', 'width: 80px;', '', '', '', '', '', 19),
(134, 37, 263, 'forums_name', 30, 4, '', 1, 1, 'left', 'left', '', '', '', '', '/admin/Forums/Forums.php?admin_forms_id=38&operation=load_data&forums_conference_id={forums_conference_id}&forums_group_id={forums_group_id}&forums_id={forums_id}', 'DoLoadAjax(''/admin/Forums/Forums.php'', ''&forums_conference_id={forums_conference_id}&forums_group_id={forums_group_id}&forums_id={forums_id}'', 38, ''load_data'', '''', '''', '''', ''''); return false;', '', 19),
(135, 37, 264, 'forums_description', 40, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(136, 37, 265, 'forums_close', 50, 7, '', 0, 0, '', 'center', '', '', '', '1 = /admin/images/not_check.gif\r\n0 = /admin/images/check.gif', '/admin/Forums/Forums.php?action=show_forums&forums_group_id={forums_group_id}&forums_conference_id={forums_conference_id}&link_change={forums_id}', '', '', 19),
(137, 37, 269, 'forums_id', 10, 1, '', 1, 1, '', '', '45px', 'width: 45px;', '', '', '', '', '', 19),
(138, 38, 271, 'forums_theme_id', 10, 1, '', 1, 1, '', '', '45px', 'width: 45px;', '', '', '', '', '', 19),
(139, 38, 272, 'forums_theme_title', 20, 10, '', 1, 1, 'left', 'left', '', '', '', '', '/forums/{forums_id}/{forums_theme_id}/', '', '', 19),
(140, 38, 273, 'site_users_name', 30, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(141, 38, 274, 'forums_message_datetime', 40, 5, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(142, 39, 278, 'site_users_group_name', 10, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(143, 39, 279, 'site_users_group_comment', 20, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(144, 39, 280, 'forums_users_group_list_value', 30, 7, '', 0, 0, '', 'center', '', '', '', '0 = /admin/images/not_check.gif\r\n1 = /admin/images/check.gif', '/admin/Forums/Forums.php?action=show_forums_users&forums_conference_id={forums_conference_id}&forums_group_id={forums_group_id}&forums_id={forums_id}&link_change={forums_users_group_list_id}', '', '', 19),
(145, 40, 283, 'modules_name', 20, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(146, 40, 284, 'modules_id', 10, 1, '', 1, 1, '', '', '45px', 'width: 45px;', '', '', '', '', '', 19),
(147, 40, 285, 'modules_version', 30, 10, '', 0, 0, '', '', '', '', '', '', '', '', '', 19),
(148, 40, 286, 'modules_date', 40, 10, '', 0, 0, '', '', '', '', '', '', '', '', '', 19),
(149, 40, 287, 'modules_status', 50, 7, '', 0, 0, 'left', 'center', '50px', '', '', '0 = /admin/images/not_check.gif\r\n1 = /admin/images/check.gif', '/admin/modules/modules.php?admin_forms_id=40&operation=change_module_active&check_0_{modules_id}=1', 'TrigerSingleAction(''/admin/modules/modules.php'', '''', ''change_module_active'', ''check_0_{modules_id}'', ''40'', '''', '''', '''', ''''); return false;', '', 19),
(150, 40, 288, 'modules_path', 60, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(151, 40, 289, 'modules_order', 70, 2, '', 1, 1, '', '', '80px', 'width: 80px;', '', '', '', '', '', 19),
(152, 25, 293, 'ip_id', 10, 1, '', 1, 1, '', '', '45px', 'width: 45px', '', '', '', '', '', 19),
(153, 41, 295, 'fs_name', 10, 4, '', 0, 0, '', '', '', '', '', '', '/admin/backup/backup.php?download={fs_name}', '', '', 19),
(154, 41, 296, 'fs_date', 20, 5, '', 0, 0, '', '', '', '', '', '', '', '', '', 19),
(155, 41, 297, 'fs_size', 30, 1, '', 0, 0, 'left', 'left', '', '', '', '', '', '', '', 19),
(156, 42, 300, 'site_id', 10, 1, '', 1, 1, '', '', '45px', 'width: 45px;', '', '', '', '', '', 19),
(157, 42, 301, 'site_name', 20, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(158, 42, 302, 'site_admin_email', 30, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(159, 42, 303, 'site_order', 170, 2, '', 1, 1, '', '', '80px', 'width: 80px;', '', '', '', '', '', 19),
(160, 42, 304, 'site_is_active', 50, 7, '', 0, 0, '', 'center', '', '', '', '0 = /admin/images/off.gif\r\n1 = /admin/images/on.gif', '', '', '', 19),
(161, 42, 305, 'domen_site', 60, 7, '', 0, 0, 'left', 'center', '', '', '', ' = /admin/images/world.gif', '/admin/site/site.php?admin_forms_id=43&operation=show_domen_4_site&check_0_{site_id}=1&site_id={site_id}', 'TrigerSingleAction(''/admin/site/site.php'', ''&site_id={site_id}'', ''show_domen_4_site'', ''check_0_{site_id}'', 43, '''', '''', '''', ''''); return false;', '', 19),
(162, 43, 310, 'alias_name', 10, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(163, 43, 311, 'alias_current', 20, 7, '', 1, 0, '', 'center', '50px', '', '', '0 = /admin/images/not_check.gif\r\n1 = /admin/images/check.gif', 'javascript:TrigerSingleAction(''/admin/site/site.php'', ''&site_id={site_id}'', ''set_alias_current'', ''check_0_{alias_id}'', ''43'', 0, 0, ''0'', ''1'');', '', '', 19),
(164, 44, 315, 'advertisement_group_id', 10, 1, '', 1, 1, '', '', '45px', '', '', '', '', '', '', 19),
(165, 44, 316, 'advertisement_group_name', 20, 4, '', 1, 1, 'left', 'left', '', '', '', '', '/admin/Advertisement/Advertisement.php?admin_forms_id=45&operation=load_data&advertisement_group_id={advertisement_group_id}', 'DoLoadAjax(''/admin/Advertisement/Advertisement.php'', ''&advertisement_group_id={advertisement_group_id}'', 45, ''load_data'', '''', '''', '''', ''''); return false;', '', 19),
(166, 44, 317, 'advertisement_group_comment', 30, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(167, 45, 321, 'advertisement_id', 10, 1, '', 1, 1, '', '', '45px', '', '', '', '', '', '', 19),
(168, 45, 322, 'advertisement_name', 20, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(182, 47, 342, 'advertisement_showing_show', 30, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(181, 47, 341, 'date', 20, 6, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(180, 47, 340, 'number', 10, 1, '', 1, 0, '', '', '', '', '', '', '', '', '', 19),
(172, 45, 326, 'advertisement_allcount', 70, 1, '', 1, 1, 'left', 'left', '70px', 'width: 70px', '', '', '', '', '', 19),
(173, 45, 327, 'advertisement_count', 60, 1, '', 1, 1, 'left', 'left', '70px', 'width: 70px;', '', '', '', '', '', 19),
(174, 45, 328, 'CTR', 80, 1, '%s%%', 1, 0, 'left', 'left', '50px', '', '', '', '', '', '', 19),
(176, 45, 330, '', 100, 7, '', 0, 0, 'left', 'center', '50px', '', '', ' = /admin/images/chart_bar.gif', '/admin/Advertisement/Advertisement.php?admin_forms_id=47&operation=load_data&banner_id={advertisement_id}', 'DoLoadAjax(''/admin/Advertisement/Advertisement.php'', ''&banner_id={advertisement_id}'', 47, ''load_data'', '''', '''', '''', ''''); return false;', '', 19),
(177, 46, 334, 'advertisement_name', 10, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(178, 46, 335, 'advertisement_comment', 20, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(179, 46, 336, '', 30, 7, '', 0, 0, '', 'center', '50px', '', '', ' = /admin/images/statistic.gif', 'javascript:DoLoadAjax(''/admin/Advertisement/Advertisement.php'', ''&banner_id={advertisement_id}'', 47, ''load_data'', '''', '''', '''', '''');', '', '', 19),
(183, 47, 343, 'advertisement_showing_pressed', 40, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(184, 47, 344, 'CTR', 50, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(185, 6, 345, 'templates_order', 40, 1, '', 1, 1, '', '', '80px', 'width: 80px;', '', '', '', '', '', 19),
(186, 48, 347, 'site_users_id', 10, 1, '', 1, 1, '', '', '45px', '', '', '', '', '', '', 19),
(187, 48, 348, 'site_users_name', 30, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(189, 48, 350, 'site_users_surname', 50, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(190, 48, 351, 'site_users_email', 60, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(191, 48, 352, 'site_users_login', 20, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(192, 49, 356, 'search_log_id', 10, 1, '', 1, 0, '', '', '', '', '', '', '', '', '', 19),
(193, 49, 357, 'search_log_text', 20, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(194, 49, 358, 'count', 30, 1, '', 1, 0, '', '', '', '', '', '', '', '', '', 19),
(195, 49, 359, 'percent', 40, 1, '', 1, 0, '', '', '', '', '', '', '', '', '', 19),
(196, 50, 361, 'information_propertys_id', 10, 1, '', 1, 0, '', '', '', '', '', '', '', '', '', 19),
(197, 50, 362, 'information_propertys_order', 40, 2, '', 1, 0, 'left', 'left', '80px', 'width: 80px;', '', '', '', '', '', 19),
(198, 50, 363, 'information_propertys_name', 20, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(199, 50, 364, 'information_propertys_xml_name', 30, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(200, 51, 369, 'information_propertys_groups_id', 10, 1, '', 1, 0, '', '', '50px', '', '', '', '', '', '', 19),
(201, 51, 370, 'information_propertys_groups_order', 40, 2, '', 1, 0, 'left', 'left', '80px', 'width: 80px;', '', '', '', '', '', 19),
(202, 51, 371, 'information_propertys_groups_name', 20, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(203, 51, 372, 'information_propertys_groups_xml_name', 30, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(204, 52, 377, 'comment_fio', 20, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(205, 52, 378, 'comment_id', 10, 1, '', 1, 0, '', '', '50px', '', '', '', '', '', '', 19),
(206, 52, 379, 'comment_email', 30, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(207, 52, 380, 'comment_subject', 40, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(208, 52, 381, 'comment_status', 50, 7, '', 0, 1, '', 'center', '50px', '', '', '0 = /admin/images/not_check.gif\r\n1 = /admin/images/check.gif', 'javascript:TrigerSingleAction(''/admin/InformationSystems/InformationSystems.php'', ''&information_item_id={information_item_id}&information_system_id={information_system_id}&information_groups_parent_id={information_group_id}'', ''change_comment_status'', ''check_0_{comment_id}'', ''52'', 0, 0, ''208'', ''1'');', '', '', 19),
(209, 52, 382, 'comment_date', 15, 5, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(210, 53, 386, 'structure_menu_name', 10, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(212, 54, 389, 'shop_shops_id', 10, 1, '', 1, 0, '', '', '50px', '', '', '', '', '', '', 19),
(211, 53, 387, 'structure_path_name', 20, 4, '', 1, 1, '', '', '', '', '', '', '{path_link}', '', '', 19),
(213, 54, 390, 'shop_shops_name', 20, 4, '', 1, 1, 'left', 'left', '', '', '', '', '/admin/shop/shop.php?admin_forms_id=65&operation=load_data&shop_groups_parent_id=0&shop_shops_id={shop_shops_id}', 'DoLoadAjax(''/admin/shop/shop.php'', ''&shop_groups_parent_id=0&shop_shops_id={shop_shops_id}'', 65, ''load_data'', '''', '''', '''', ''''); return false;', '', 19),
(214, 54, 391, 'shop_currency_name', 30, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(215, 55, 395, 'shop_tax_name', 10, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(216, 55, 396, 'shop_tax_rate', 20, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(217, 55, 397, 'shop_tax_is_in_price', 30, 7, '', 0, 1, '', 'center', '50px', '', '', '0 = /admin/images/not_check.gif\r\n1 = /admin/images/check.gif', '', '', '', 19),
(375, 56, 698, 'shop_currency_id', 0, 1, '', 1, 1, '', '', '45px', 'width: 45px;', '', '', '', '', '', 19),
(218, 56, 401, 'shop_currency_name', 10, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19),
(219, 56, 402, 'shop_currency_international_name', 20, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19),
(220, 56, 403, 'shop_currency_value_in_basic_currency', 30, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19),
(221, 56, 404, 'shop_currency_is_default', 40, 7, '', 1, 0, '', 'center', '50px', '', '', '0 = /admin/images/not_check.gif\r\n1 = /admin/images/check.gif', '/admin/shop/shop.php?action=show_currency&change_status_of_currency=1&link_change={shop_currency_id}', '', '', 19),
(222, 57, 408, 'shop_system_of_pay_name', 20, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(223, 57, 409, 'shop_system_of_pay_is_active', 30, 7, '', 0, 0, '', 'center', '50px', '', '', '0 = /admin/images/not_check.gif\r\n1 = /admin/images/check.gif', '/admin/shop/shop.php?action=show_system_of_pay&change_status_system_of_pay=1&link_change={shop_system_of_pay_id}', '', '', 19),
(224, 58, 413, 'shop_country_name', 20, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(225, 58, 414, 'send', 30, 7, '', 0, 0, 'left', 'center', '50px', '', '', ' = /admin/images/location.gif', '/admin/shop/shop.php?admin_forms_id=59&operation=load_data&shop_country_id={shop_country_id}', 'DoLoadAjax(''/admin/shop/shop.php'', ''&shop_country_id={shop_country_id}'', 59, ''load_data'', '''', '''', '''', ''''); return false;', '', 19),
(226, 59, 418, 'shop_location_name', 20, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(227, 59, 419, 'timer', 30, 7, '', 0, 0, 'left', 'center', '50px', '', '', ' = /admin/images/city.gif', '/admin/shop/shop.php?admin_forms_id=60&operation=load_data&shop_country_id={shop_country_id}&shop_location_id={shop_location_id}', 'DoLoadAjax(''/admin/shop/shop.php'', ''&shop_country_id={shop_country_id}&shop_location_id={shop_location_id}'', 60, ''load_data'', '''', '''', '''', ''''); return false;', '', 19),
(228, 60, 423, 'shop_city_name', 10, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(229, 60, 424, 'field', 20, 7, '', 0, 0, 'left', 'center', '50px', '', '', ' = /admin/images/city_area.gif', '/admin/shop/shop.php?admin_forms_id=61&operation=load_data&shop_country_id={shop_country_id}&shop_location_id={shop_location_id}&shop_city_id={shop_city_id}', 'DoLoadAjax(''/admin/shop/shop.php'', ''&shop_country_id={shop_country_id}&shop_location_id={shop_location_id}&shop_city_id={shop_city_id}'', 61, ''load_data''); return false;', '', 19),
(230, 61, 428, 'shop_city_area_name', 10, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(231, 62, 432, 'shop_mesures_name', 10, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(232, 62, 433, 'shop_mesures_description', 20, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(233, 63, 437, 'shop_order_status_name', 10, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(234, 63, 438, 'shop_order_status_description', 20, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(235, 64, 442, 'shop_company_name', 10, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(236, 64, 443, 'shop_company_address', 20, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(237, 64, 444, 'shop_company_inn', 30, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(238, 65, 448, 'type', 10, 7, '', 0, 0, 'left', 'center', '16px', 'widht: 16px;', '', ' = /admin/images/folder.gif', '', '', '', 19),
(239, 65, 449, 'orderr', 131, 2, '', 1, 0, '', '', '80px', 'width: 80px;', '', '', '', '', '', 19),
(240, 65, 450, 'name', 30, 1, '', 1, 1, '', '', '', '', '', '', '/admin/shop/shop.php?action=show_groups&shop_shops_id={shop_shops_id}&shop_groups_parent_id={shop_groups_parent_id}', '', '', 19),
(243, 65, 453, 'ostatok', 60, 1, '', 1, 1, 'left', 'left', '50px', 'widht: 50px;', '', '', '', '', '', 19),
(244, 65, 454, 'price', 70, 1, '', 1, 1, 'left', 'left', '50px', 'widht: 50px;', '', '', '', '', '', 19),
(245, 65, 455, 'activity', 80, 7, '', 0, 1, 'left', 'center', '16px', 'widht: 16px;', '', '0 = /admin/images/not_check.gif\r\n1 = /admin/images/check.gif', '', '', '', 19),
(247, 65, 457, 'addonses', 100, 1, '', 0, 0, 'left', 'center', '16px', 'widht: 16px;', 'alt="Сопут. товары"', '', '', '', '', 19),
(248, 65, 458, 'easy', 120, 1, '', 0, 0, 'left', 'center', '16px', 'widht: 16px;', '', '', '', '', '', 19),
(249, 65, 459, 'voices', 130, 1, '', 0, 0, 'left', 'center', '16px', 'widht: 16px;', '', '', '', '', '', 19),
(250, 65, 460, 'mods', 110, 1, '', 0, 0, 'left', 'center', '16px', 'widht: 16px;', '', '', '', '', '', 19),
(251, 66, 468, 'shop_comment_id', 10, 1, '', 1, 0, '', '', '45px', 'width: 45px;', '', '', '', '', '', 19),
(252, 66, 469, 'shop_comment_date_time', 20, 5, '', 1, 1, '', '', '80px', 'width: 80px;', '', '', '', '', '', 19),
(253, 66, 470, 'shop_comment_user_name', 30, 1, '', 1, 1, '', '', '80px', 'width: 80px;', '', '', '', '', '', 19),
(254, 66, 471, 'shop_comment_subject', 40, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(255, 66, 472, 'shop_comment_grade', 50, 7, '', 1, 1, '', 'center', '50px', '', '', '0 = /admin/images/stars_0.gif\r\n1 = /admin/images/stars_1.gif\r\n2 = /admin/images/stars_2.gif\r\n3 = /admin/images/stars_3.gif\r\n4 = /admin/images/stars_4.gif\r\n5 = /admin/images/stars_5.gif', '', '', '', 19),
(256, 67, 476, 'shop_list_of_properties_id', 10, 1, '', 0, 0, '', '', '45px', 'width: 45px;', '', '', '', '', '', 19),
(257, 67, 477, 'shop_list_of_properties_order', 41, 2, '', 1, 0, '', 'center', '80px', 'width: 80px;', '', '', '', '', '', 19),
(258, 67, 478, 'shop_list_of_properties_name', 30, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(259, 67, 479, 'shop_list_of_properties_xml_name', 40, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(260, 68, 484, 'shop_list_of_prices_name', 10, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(261, 68, 485, 'shop_list_of_prices_percent_to_basic', 20, 1, '', 1, 1, 'left', 'left', '150px', 'width: 150px;', '', '', '', '', '', 19),
(262, 69, 490, 'shop_producers_list_order', 21, 2, '', 1, 0, 'left', 'center', '80px', 'width: 80px;', '', '', '', '', '', 19),
(263, 69, 491, 'shop_producers_list_name', 20, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(264, 70, 496, 'shop_sallers_name', 10, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(265, 70, 497, 'shop_sallers_contact_person', 20, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(266, 70, 498, 'shop_sallers_http', 30, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(267, 70, 499, 'shop_sallers_email', 40, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(268, 71, 503, 'shop_list_of_properties_name', 10, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(269, 71, 504, 'enable', 20, 7, '', 0, 0, '', 'center', '50px', '', '', '0 = /admin/images/not_check.gif\r\n1 = /admin/images/check.gif', '/admin/shop/shop.php?action=set_enable&item_id={shop_list_of_properties_id}', '', '', 19),
(270, 57, 505, 'shop_system_of_pay_id', 10, 1, '', 1, 0, '', 'center', '50px', '', '', '', '', '', '', 19),
(273, 72, 509, 'shop_discount_from', 20, 5, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(272, 72, 508, 'shop_discount_name', 10, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(274, 72, 510, 'shop_discount_to', 30, 5, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(275, 72, 511, 'shop_discount_is_active', 40, 7, '', 0, 0, '', 'center', '50px', '', '', '0 = /admin/images/not_check.gif\r\n1 = /admin/images/check.gif', '', '', '', 19),
(276, 72, 512, 'shop_discount_percent', 50, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(277, 72, 513, 'keyfield', 5, 1, '', 1, 0, 'left', 'left', '45px', 'width: 45px;', '', '', '', '', '', 19),
(278, 73, 517, 'shop_order_discount_id', 10, 1, '', 1, 0, 'left', 'left', '45px', 'width: 45px;', '', '', '', '', '', 19),
(279, 73, 518, 'shop_order_discount_name', 20, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(280, 73, 519, 'shop_order_discount_value', 30, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(281, 73, 520, 'shop_order_discount_sum_from', 40, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(282, 73, 521, 'shop_order_discount_sum_to', 50, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(283, 73, 522, 'shop_order_discount_active_from', 60, 5, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(284, 73, 523, 'shop_order_discount_active_to', 70, 5, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(285, 73, 524, 'shop_order_discount_active', 80, 7, '', 0, 0, '', 'center', '50px', '', '', '0 = /admin/images/not_check.gif\r\n1 = /admin/images/check.gif', '', '', '', 19),
(286, 74, 528, 'shop_coupon_id', 10, 1, '', 1, 0, '', '', '45px', 'width: 45px;', '', '', '', '', '', 19),
(287, 74, 529, 'shop_coupon_name', 20, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(288, 74, 530, 'shop_coupon_active', 30, 7, '', 0, 0, '', 'center', '50px', '', '', '0 = /admin/images/not_check.gif\r\n1 = /admin/images/check.gif', '', '', '', 19),
(289, 74, 531, 'shop_coupon_count', 40, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(290, 74, 532, 'shop_coupon_text', 50, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(291, 75, 536, 'shop_order_id', 10, 1, '', 1, 0, '', 'center', '50px', '', '', '', '', '', '', 19),
(292, 75, 537, 'shop_order_date_time', 20, 6, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19),
(293, 75, 538, 'shop_order_users_name', 30, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(294, 75, 539, 'shop_order_sum', 40, 10, '', 1, 0, 'left', 'left', '', '', '', '', '', '', '', 19),
(295, 75, 540, 'shop_order_status_of_pay', 50, 7, '', 0, 0, 'left', 'center', '50px', '', '', '0 = /admin/images/not_check.gif\r\n1 = /admin/images/check.gif', '', '', '', 19),
(296, 75, 541, 'shop_order_date_of_pay', 60, 6, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19),
(297, 75, 542, 'tovar', 70, 7, '', 0, 0, 'left', 'center', '50px', '', '', ' = /admin/images/page.gif', '', '', '', 19),
(298, 76, 546, 'shop_order_items_name', 10, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(299, 76, 547, 'shop_order_items_id', 5, 1, '', 1, 0, '', 'center', '50px', '', '', '', '', '', '', 19),
(300, 76, 548, 'shop_order_items_marking', 20, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(301, 76, 549, 'shop_order_items_quantity', 30, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(302, 76, 550, 'shop_order_items_price', 40, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(303, 76, 551, 'summ', 50, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(304, 77, 556, 'shop_type_of_delivery_name', 10, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(305, 77, 557, 'delivery', 20, 7, '', 0, 0, 'left', 'center', '50px', '', '', ' = /admin/images/cond_of_delivery.gif', '', '', '', 19),
(306, 78, 562, 'shop_cond_of_delivery_name', 10, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(307, 78, 563, 'shop_cond_of_delivery_weight_from', 20, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(308, 78, 564, 'shop_cond_of_delivery_weight_to', 30, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(309, 78, 565, 'shop_cond_of_delivery_price_from', 40, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(310, 78, 566, 'shop_cond_of_delivery_price_to', 50, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(311, 78, 567, 'shop_cond_of_delivery_price', 60, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(312, 78, 568, 'shop_currency_name', 70, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(313, 79, 572, 'name', 10, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(314, 0, 575, '', 0, 0, '', 0, 0, '', '', '', '', '', '', '', '', '', 19),
(315, 0, 576, '', 0, 0, '', 0, 0, '', '', '', '', '', '', '', '', '', 19),
(316, 60, 577, 'shop_city_id', 5, 1, '', 0, 0, '', '', '45px', 'width: 45px;', '', '', '', '', '', 19),
(620, 134, 1098, 'shop_site_users_account_description', 60, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19),
(618, 133, 1096, 'transactions', 15, 7, '', 0, 0, 'left', 'center', '45px', 'width: 45px;', '', '=/admin/images/transaction.gif', '', '', '', 19),
(322, 81, 587, 'shop_items_catalog_item_id', 5, 1, '', 1, 0, '', '', '45px', 'width: 45px;', '', '', '', '', '', 19),
(323, 81, 588, 'shop_items_catalog_order', 111, 2, '', 1, 1, '', '', '80px', 'width: 80px;', '', '', '', '', '', 19),
(324, 81, 589, 'shop_items_catalog_name', 20, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(326, 81, 591, 'shop_items_catalog_rest', 40, 1, '', 1, 1, 'left', 'left', '50px', '', '', '', '', '', '', 19),
(327, 81, 592, 'shop_items_catalog_price', 50, 1, '', 1, 1, 'left', 'left', '50px', 'widht: 50px;', '', '', '', '', '', 19),
(633, 79, 1119, 'action_type', 30, 7, '', 0, 0, 'left', 'center', '16px', 'widht: 16px', '', '1 = /admin/images/check.gif\r\n0 = /admin/images/not_check.gif', '', '', '', 19),
(329, 81, 594, 'shop_items_catalog_is_active', 70, 7, '', 0, 0, 'left', 'center', '50px', '', '', '0 = /admin/images/not_check.gif\r\n1 = /admin/images/check.gif', '', '', '', 19),
(634, 79, 1120, 'view', 0, 7, '', 0, 0, 'left', 'left', '16px', 'widht: 16px', '', ' = /admin/images/folder.gif', '', '', '', 19),
(331, 81, 596, 'addonses', 90, 7, '', 0, 0, 'left', 'center', '50px', '', '', ' = /admin/images/copy.gif', '', '', '', 19),
(332, 81, 597, 'easy', 100, 7, '', 0, 0, 'left', 'center', '50px', '', '', ' =/admin/images/money.gif', '', '', '', 19),
(333, 81, 598, 'voices', 110, 7, '', 0, 0, 'left', 'center', '50px', '', '', ' = /admin/images/comments.gif', '', '', '', 19),
(334, 62, 602, 'shop_mesures_id', 5, 1, '', 0, 0, '', '', '45px', 'width: 45px;', '', '', '', '', '', 19),
(335, 65, 605, 'keyfield', 5, 1, '', 1, 1, '', '', '45px', 'width: 45px;', '', '', '', '', '', 19),
(336, 82, 609, 'structure_id', 10, 1, '', 1, 1, '', '', '45px', '', '', '', '', '', '', 19),
(337, 82, 610, 'structure_order', 70, 2, '', 1, 0, '', '', '80px', 'width: 80px;', '', '', '', '', '', 19),
(338, 82, 611, 'structure_menu_name', 30, 4, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(339, 82, 613, 'structure_path_name', 40, 10, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19),
(341, 82, 615, 'structure_activity', 50, 7, '', 0, 0, '', 'center', '40px', '', '', '0 = /admin/images/not_check.gif\r\n1 = /admin/images/check.gif', '', '', '', 19),
(342, 82, 617, 'structure_allow_indexation', 60, 7, '', 0, 0, '', 'center', '40px', '', '', '0 = /admin/images/not_check.gif\r\n1 = /admin/images/check.gif', '', '', '', 19),
(346, 85, 635, 'site_users_id', 10, 1, '', 1, 1, '', '', '45px', '', '', '', '', '', '', 19),
(347, 85, 636, 'site_users_login', 20, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(348, 85, 637, 'site_users_name', 30, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(350, 85, 639, 'site_users_surname', 50, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(351, 85, 640, 'site_users_email', 60, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(352, 85, 641, 'site_users_group_list_value', 70, 3, '', 0, 1, 'center', 'center', '50px', 'widht: 50px;', '', '', '', '', '', 19),
(353, 86, 648, 'structure_propertys_id', 10, 1, '', 1, 1, '', '', '45px', '', '', '', '', '', '', 19),
(354, 86, 649, 'structure_propertys_order', 50, 2, '', 1, 0, '', '', '80px', 'width: 80px;', '', '', '', '', '', 19),
(355, 86, 650, 'structure_propertys_name', 30, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(356, 86, 651, 'structure_propertys_xml_name', 40, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(359, 5, 662, 'data_templates_order', 40, 1, '', 1, 1, '', '', '80px', 'width: 80px;', '', '', '', '', '', 19),
(360, 58, 664, 'shop_country_id', 10, 1, '', 1, 1, '', '', '45px', 'width: 45px;', '', '', '', '', '', 19),
(361, 58, 665, 'shop_country_order', 35, 2, '', 1, 1, '', '', '80px', 'width: 80px;', '', '', '', '', '', 19),
(362, 59, 667, 'shop_location_id', 10, 1, '', 1, 1, '', '', '45px', 'width: 45px;', '', '', '', '', '', 19),
(363, 59, 668, 'shop_location_order', 35, 2, '', 1, 1, '', '', '80px', 'width: 80px;', '', '', '', '', '', 19),
(364, 60, 671, 'shop_city_order', 21, 2, '', 1, 1, '', '', '80px', 'width: 80px;', '', '', '', '', '', 19),
(365, 61, 673, 'shop_city_area_id', 5, 1, '', 1, 1, '', '', '45px', 'width: 45px;', '', '', '', '', '', 19),
(366, 61, 674, 'shop_city_area_order', 11, 2, '', 1, 1, '', '', '80px', 'width: 80px;', '', '', '', '', '', 19),
(368, 31, 687, 'site_users_extra_property_id', 0, 1, '', 1, 1, '', '', '45px', '', '', '', '', '', '', 19),
(369, 18, 688, 'maillist_id', 30, 3, '', 1, 1, 'left', 'left', '60px', 'widht: 60px;', '', '', '', '', '', 19),
(370, 45, 690, 'advertisement_group_list_value', 110, 3, '', 0, 1, 'center', 'center', '40px', 'widht: 40px;', '', '', '', '', '', 19),
(371, 46, 692, 'advertisement_id', 0, 1, '', 1, 1, '', '', '45px', '', '', '', '', '', '', 19),
(372, 19, 693, 'maillist_id', 30, 3, '', 0, 1, '', '', '', '', '', '', '', '', '', 19),
(373, 63, 695, 'shop_order_status_id', 2, 1, '', 1, 1, '', '', '45px', 'width: 45px;', '', '', '', '', '', 19),
(374, 64, 696, 'shop_company_id', 5, 1, '', 1, 1, '', '', '45px', 'width: 45px;', '', '', '', '', '', 19),
(377, 88, 702, 'name_param_stat', 10, 1, '', 0, 0, '', '', '', '', '', '', '', '', '', 19),
(378, 88, 703, 'today', 20, 1, '', 0, 0, '', 'center', '10%', 'width: 10%;', '', '', '', '', '', 19),
(379, 88, 704, 'yesterday', 30, 1, '', 0, 0, '', 'center', '10%', 'width: 10%;', '', '', '', '', '', 19),
(380, 88, 705, 'seven_day', 40, 1, '', 0, 0, '', 'center', '10%', 'width: 10%;', '', '', '', '', '', 19),
(381, 88, 706, 'thirty_day', 50, 1, '', 0, 0, '', 'center', '10%', 'width: 10%;', '', '', '', '', '', 19),
(382, 88, 707, 'all_days', 60, 1, '', 0, 0, '', 'center', '10%', 'width: 10%;', '', '', '', '', '', 19),
(383, 88, 708, 'param_stat_id', 0, 1, '', 0, 0, '', '', '45px', 'width: 45px;', '', '', '', '', '', 19),
(388, 93, 725, 'admin_language_id', 10, 1, '', 1, 1, '', '', '45px', 'width: 45px;', '', '', '', '', '', 19),
(389, 93, 727, 'admin_language_name', 20, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(390, 93, 728, 'admin_language_order', 40, 2, '', 1, 1, '', '', '80px', 'width: 80px;', '', '', '', '', '', 19),
(391, 93, 729, 'admin_language_short_name', 30, 1, '', 1, 1, '', '', '80px', 'width: 80px;', '', '', '', '', '', 19),
(555, 124, 972, 'documents_status_id', 10, 1, '', 1, 1, '', '', '45px', 'width: 45px;', '', '', '', '', '', 19),
(397, 96, 757, 'stat_data_id', 10, 1, '', 1, 1, '', '', '45px', 'width: 45px;', '', '', '', '', '', 19),
(398, 96, 758, 'stat_data_date', 20, 6, '', 1, 1, '', '', '80px', 'width: 80px;', '', '', '', '', '', 19),
(399, 96, 759, 'stat_data_hits', 35, 1, '', 1, 1, '', '', '50px', 'width: 50px;', '', '', '', '', '', 19),
(400, 96, 760, 'stat_data_sessions', 40, 1, '', 1, 1, '', '', '50px', 'width: 50px;', '', '', '', '', '', 19),
(401, 96, 761, 'stat_data_hosts', 50, 1, '', 1, 1, '', '', '50px', 'width: 50px;', '', '', '', '', '', 19),
(402, 96, 762, 'stat_data_new_users', 60, 1, '', 1, 1, '', '', '60px', 'width: 60px;', '', '', '', '', '', 19),
(403, 96, 763, 'stat_data_bots', 70, 1, '', 1, 1, '', '', '50px', 'width: 50px;', '', '', '', '', '', 19),
(404, 97, 765, 'stat_id', 10, 1, '', 1, 1, '', '', '45px', 'width: 45px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (405, 97, 766, 'stat_ipadr', 30, 10, '', 1, 1, 'left', 'left', '60px', '', '', '', '', '', '', 19),
(406, 97, 767, 'stat_page_name', 40, 10, '', 1, 1, '', '', '', '', '', '', '{stat_page_name}', '', '', 19),
(407, 97, 768, 'stat_refer_name', 50, 10, '', 1, 1, '', '', '', '', '', '', '{stat_refer_name}', '', '', 19),
(408, 97, 769, 'stat_date', 20, 10, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19),
(409, 36, 770, 'forums_group_id', 10, 1, '', 1, 1, '', '', '45px', 'width: 45px;', '', '', '', '', '', 19),
(430, 102, 800, 'count', 30, 10, '', 1, 0, '', '', '120px', 'width: 120px;', '', '', '', '', '', 19),
(411, 98, 774, 'stat_refer_name', 30, 10, '', 1, 1, '', '', '', '', '', '', '{stat_refer_name}', '', '', 19),
(412, 98, 775, 'count', 40, 10, '', 1, 0, '', '', '120px', 'width: 120px;', '', '', '', '', '', 19),
(446, 108, 822, 'stat_date', 10, 6, '&mdash;', 1, 1, '', 'center', '60px', 'width: 60px;', '', '', '', '', '', 19),
(414, 98, 778, 'stat_date', 20, 6, '&mdash;', 1, 1, '', 'center', '60px', 'width: 60px;', '', '', '', '', '', 19),
(429, 102, 799, 'stat_search_query', 20, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(416, 99, 782, 'stat_date', 20, 6, '&mdash;', 1, 1, '', 'center', '60px', 'width: 60px;', '', '', '', '', '', 19),
(417, 99, 783, 'count', 40, 10, '', 1, 0, '', '', '120px', 'width: 120px;', '', '', '', '', '', 19),
(419, 99, 785, 'stat_page_name', 30, 10, '', 1, 1, '', '', '', '', '', '', '{stat_page_name}', '', '', 19),
(421, 100, 788, 'stat_date', 20, 6, '&mdash;', 1, 1, '', 'center', '60px', 'width: 60px;', '', '', '', '', '', 19),
(422, 100, 789, 'stat_session_user_agent', 30, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(423, 100, 790, 'count', 40, 10, '', 1, 0, '', '', '120px', 'width: 120px;', '', '', '', '', '', 19),
(425, 101, 793, 'counter_type_id', 10, 1, '', 0, 0, '', '', '45px', 'width: 45px;', '', '', '', '', '', 19),
(426, 101, 794, 'counter_type_name', 20, 1, '', 0, 0, '', '', '', '', '', '', '', '', '', 19),
(427, 101, 795, 'counter_type_image', 30, 9, '', 0, 0, 'center', 'center', '70px', 'width: 70px;', '', '', '', '', '', 19),
(428, 101, 796, 'counter_type_code', 40, 7, '', 0, 0, 'center', 'center', '90px', 'width: 90px;', '', '=/admin/images/script_code.gif', 'javascript:void(0);', 'TrigerSingleAction(''/admin/counter/counter.php'', '''', ''counter_code'', ''check_0_'' + ({counter_type_id} - 1), ''101'', 0, 0, ''25'', ''1''); return false;', '', 19),
(437, 103, 808, 'search_log_datetime', 25, 6, '', 1, 1, 'left', 'center', '70px', 'width: 70px;', '', '', '', '', '', 19),
(433, 103, 804, 'search_log_text', 20, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(434, 103, 805, 'counter', 30, 1, '', 1, 0, 'left', 'left', '70px', 'width: 70px;', '', '', '', '', '', 19),
(438, 104, 813, 'datetime', 10, 10, '', 0, 1, 'left', 'left', '120px', 'widht: 120px;', '', '', '', '', '', 19),
(435, 102, 806, 'stat_date', 10, 6, '&mdash;', 1, 1, '', 'center', '60px', 'width: 60px;', '', '', '', '', '', 19),
(436, 103, 807, 'percent', 40, 1, '', 1, 0, 'left', 'left', '70px', 'width: 70px;', '', '', '', '', '', 19),
(448, 108, 824, 'stat_search_system', 30, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(439, 104, 814, 'userfield', 40, 9, '', 0, 0, 'left', 'left', '', '', '', '', '', '', '', 19),
(441, 104, 816, 'eventfield', 30, 10, '', 0, 1, 'left', 'left', '', '', '', '', '', '', '', 19),
(447, 108, 823, 'stat_search_query', 20, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(449, 108, 825, 'count', 40, 10, '', 1, 0, '', '', '120px', 'width: 120px;', '', '', '', '', '', 19),
(451, 26, 829, 'constants_id', 10, 1, '', 1, 1, '', '', '45px', 'width: 45px;', '', '', '', '', '', 19),
(452, 111, 831, 'stat_date', 10, 6, '&mdash;', 1, 1, '', 'center', '60px', 'width: 60px;', '', '', '', '', '', 19),
(453, 111, 832, 'stat_session_os_name', 20, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(454, 111, 833, 'count', 30, 10, '', 1, 0, '', '', '120px', 'width: 120px;', '', '', '', '', '', 19),
(456, 112, 836, 'stat_date', 10, 6, '&mdash;', 1, 1, '', 'center', '60px', 'width: 60px;', '', '', '', '', '', 19),
(457, 112, 837, 'stat_session_browser_name', 20, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(458, 112, 838, 'count', 30, 10, '', 1, 0, '', '', '120px', 'width: 120px;', '', '', '', '', '', 19),
(512, 114, 914, 'stat_date', 10, 6, '&mdash;', 1, 1, '', 'center', '60px', 'width: 60px;', '', '', '', '', '', 19),
(513, 114, 915, 'stat_session_display_name', 20, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(514, 114, 916, 'count', 30, 10, '', 1, 0, '', '', '120px', 'width: 120px;', '', '', '', '', '', 19),
(516, 115, 919, 'documents_version_id', 10, 1, '', 1, 1, '', '', '45px', 'width: 45px;', '', '', '', '', '', 19),
(517, 115, 920, 'documents_version_current', 20, 7, '', 1, 0, '', 'center', '45px', 'width: 45px;', '', '0 = /admin/images/not_check.gif\r\n1 = /admin/images/check.gif', 'javascript:TrigerSingleAction(''/admin/documents/documents.php'', ''&document_id={documents_id}'', ''change_current_version'', ''check_0_{documents_version_id}'', ''115'', 0, 0, ''0'', ''0'');', '', '', 19),
(518, 115, 921, 'documents_version_date_time', 30, 5, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(519, 115, 922, 'users_name', 40, 1, '', 1, 1, '', '', '150px', 'width: 150px;', '', '', '', '', '', 19),
(521, 115, 924, 'documents_version_comment', 60, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(501, 10, 875, 'modules_id', 5, 1, '', 1, 1, '', '', '45px', 'width: 45px;', '', '', '', '', '', 19),
(525, 117, 935, 'stat_date', 10, 6, '&mdash;', 1, 1, '', 'center', '60px', 'width: 60px;', '', '', '', '', '', 19),
(526, 117, 936, 'stat_session_color_depth', 20, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(527, 117, 937, 'count', 30, 10, '', 1, 0, '', '', '120px', 'width: 120px;', '', '', '', '', '', 19),
(529, 118, 940, 'stat_cookies', 20, 7, '', 1, 0, 'center', 'center', '', '', '', '0=/admin/images/not_check.gif\r\n1=/admin/images/check.gif', '', '', '', 19),
(530, 118, 941, 'count', 30, 10, '', 1, 0, '', '', '120px', 'width: 120px;', '', '', '', '', '', 19),
(532, 118, 943, 'stat_date', 10, 6, '&mdash;', 1, 1, '', 'center', '60px', 'width: 60px;', '', '', '', '', '', 19),
(533, 119, 945, 'stat_date', 10, 6, '&mdash;', 1, 1, '', 'center', '60px', 'width: 60px;', '', '', '', '', '', 19),
(534, 119, 946, 'stat_java', 20, 7, '', 1, 0, '', 'center', '', '', '', '0=/admin/images/not_check.gif\r\n1=/admin/images/check.gif', '', '', '', 19),
(535, 119, 947, 'count', 30, 10, '', 1, 0, '', '', '120px', 'width: 120px;', '', '', '', '', '', 19),
(537, 120, 950, 'stat_date', 10, 6, '&mdash;', 1, 1, '', 'center', '60px', 'width: 60px;', '', '', '', '', '', 19),
(538, 120, 951, 'stat_session_js_version', 20, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(539, 120, 952, 'count', 30, 10, '', 1, 0, '', '', '120px', 'width: 120px;', '', '', '', '', '', 19),
(541, 121, 955, 'stat_date', 10, 6, '&mdash;', 1, 1, '', 'center', '60px', 'width: 60px;', '', '', '', '', '', 19),
(542, 121, 956, 'stat_session_user_agent', 20, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(543, 121, 957, 'count', 30, 10, '', 1, 0, '', '', '120px', 'width: 120px;', '', '', '', '', '', 19),
(556, 124, 973, 'documents_status_name', 20, 1, '', 1, 1, '', '', '500px', 'width: 600px;', '', '', '', '', '', 19),
(545, 122, 960, 'stat_date', 10, 6, '&mdash;', 1, 1, '', 'center', '60px', 'width: 60px;', '', '', '', '', '', 19),
(546, 122, 961, 'stat_time', 20, 1, '', 1, 0, '', '', '60px', 'width: 60px;', '', '', '', '', '', 19),
(547, 122, 962, 'stat_session_user_agent', 30, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(554, 122, 970, 'stat_page_name', 40, 10, '', 1, 0, '', '', '', '', '', '', '{stat_page_name}', '', '', 19),
(549, 123, 965, 'stat_date', 10, 6, '&mdash;', 1, 1, '', 'center', '60px', 'width: 60px;', '', '', '', '', '', 19),
(550, 123, 966, 'stat_ipadr', 20, 10, '', 1, 1, 'left', 'left', '100px', 'width: 100px;', '', '', '', '', '', 19),
(551, 123, 967, 'stat_ip_host_name', 30, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19),
(552, 123, 968, 'count', 40, 10, '', 1, 0, '', '', '120px', 'width: 120px;', '', '', '', '', '', 19),
(557, 4, 979, 'admin_words_value_name', 15, 1, '', 0, 0, '', '', '', '', '', '', '', '', '', 19),
(558, 125, 984, 'param_table_name', 10, 1, '', 0, 0, '', '', '', '', '', '', '', '', '', 19),
(559, 125, 985, 'param_operation_name', 20, 1, '', 0, 0, '', '', '', '', '', '', '', '', '', 19),
(560, 125, 986, 'param_message_type', 30, 1, '', 0, 0, '', '', '', '', '', '', '', '', '', 19),
(561, 125, 987, 'param_message_text', 40, 1, '', 0, 0, '', '', '', '', '', '', '', '', '', 19),
(562, 126, 989, 'param_table_name', 10, 1, '', 0, 0, '', '', '', '', '', '', '', '', '', 19),
(563, 126, 990, 'param_operation_name', 20, 1, '', 0, 0, '', '', '', '', '', '', '', '', '', 19),
(564, 126, 991, 'param_message_type', 30, 1, '', 0, 0, '', '', '', '', '', '', '', '', '', 19),
(565, 126, 992, 'param_message_text', 40, 1, '', 0, 0, '', '', '', '', '', '', '', '', '', 19),
(566, 127, 994, 'file_name', 10, 10, '', 0, 0, '', '', '', '', '', '', '', '', '', 19),
(567, 127, 995, 'file_date', 20, 1, '', 0, 0, '', '', '100px', 'widht: 100px;', '', '', '', '', '', 19),
(568, 127, 996, 'file_size', 30, 1, '', 0, 0, '', '', '100px', 'width: 100px;', '', '', '', '', '', 19),
(569, 127, 997, 'file_attributes', 40, 1, '', 0, 0, '', '', '80px', 'widht: 80px;', '', '', '', '', '', 19),
(570, 127, 1001, 'file_image', 5, 10, '', 0, 0, 'left', 'left', '16px', 'widht: 16px;', '', '', '', '', '', 19),
(572, 127, 1009, 'file_download', 50, 10, '', 0, 0, 'left', 'center', '50px', 'widht: 50px;', '50px', '', '', '', '', 19),
(579, 75, 1022, 'shop_order_cancel', 51, 7, '', 0, 0, 'left', 'center', '', '', '', '0 = /admin/images/not_check.gif\r\n1 = /admin/images/check.gif', '', '', '', 19),
(580, 29, 1025, '', 40, 7, '', 0, 0, 'center', 'center', '45px', '', '', '=/admin/images/printer.gif', '/admin/Forms/Forms.php?print_form_fill_id={forms_fill_id}', 'window.open(''/admin/Forms/Forms.php?print_form_fill_id={forms_fill_id}'',null,''status=yes,toolbar=yes,menubar=yes,location=yes''); return false;', '', 19),
(584, 66, 1036, 'shop_comment_active', 45, 7, '', 0, 0, 'left', 'center', '45px', 'width: 45px;', '', '0 = /admin/images/not_check.gif\r\n1 = /admin/images/check.gif', '', '', '', 19),
(585, 130, 1039, 'file_image', 10, 10, '', 0, 0, 'left', 'left', '16px', '', '', '', '', '', '', 19),
(586, 130, 1040, 'file_name', 20, 10, '', 0, 0, 'left', 'left', '', '', '', '', '', '', '', 19),
(587, 130, 1041, 'file_date', 30, 1, '', 0, 0, 'left', 'left', '100px', 'widht: 100px;', '', '', '', '', '', 19),
(588, 130, 1042, 'file_size', 40, 1, '', 0, 0, 'left', 'left', '100px', 'width: 100px;', '', '', '', '', '', 19),
(589, 130, 1043, 'file_attributes', 50, 1, '', 0, 0, 'left', 'left', '80px', 'widht: 80px;', '', '', '', '', '', 19),
(590, 130, 1044, 'file_checked', 60, 10, '', 0, 0, 'left', 'center', '50px', 'widht: 50px;', '', '', '', '', '', 19),
(591, 131, 1048, 'cache_name', 10, 1, '', 0, 0, 'left', 'left', '', '', '', '', '', '', '', 19),
(592, 131, 1049, 'cache_items', 20, 1, '', 0, 0, 'left', 'left', '60px', 'widht: 60px;', '', '', '', '', '', 19),
(594, 131, 1051, 'cache_fill_percent', 40, 10, '', 0, 0, 'left', 'left', '100px', 'widht: 100px;', '', '', '', '', '', 19),
(595, 131, 1052, 'cache_block_size', 50, 1, '', 0, 0, 'left', 'left', '60px', 'widht: 60px;', '', '', '', '', '', 19),
(596, 131, 1053, 'cache_topicality', 60, 1, '', 0, 0, 'left', 'left', '70px', 'widht: 70px;', '', '', '', '', '', 19),
(597, 131, 1054, 'cache_active', 70, 7, '', 0, 0, 'left', 'center', '60px', 'widht: 60px;', '', '1=/admin/images/check.gif\r\n0=/admin/images/not_check.gif', '', '', '', 19),
(600, 65, 1069, 'shop_items_catalog_type', 115, 10, '', 0, 0, 'left', 'center', '16px', 'width: 16px;', '', '', '', '', '', 19),
(601, 132, 1071, 'shop_eitem_id', 0, 1, '', 1, 1, 'left', 'left', '45px', 'width: 45px;', '', '', '', '', '', 19),
(602, 132, 1072, 'shop_eitem_name', 10, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19),
(603, 132, 1073, 'shop_eitem_count', 20, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19),
(605, 30, 1079, 'site_user_cash', 60, 7, '', 0, 0, 'left', 'center', '', '', '', '', '', '', '', 19),
(607, 133, 1082, 'shop_shops_name', 10, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19),
(608, 133, 1083, 'summ', 20, 10, '', 1, 1, 'left', 'left', '150px', 'width: 150px;', '', '', '', '', '', 19),
(609, 133, 1084, 'shop_currency_name', 30, 1, '', 1, 1, 'left', 'left', '150px', 'width: 150px;', '', '', '', '', '', 19),
(610, 133, 1086, 'shop_shops_id', 0, 1, '', 1, 1, 'left', 'left', '45px', 'width: 45px;', '', '', '', '', '', 19),
(611, 134, 1087, 'shop_site_users_account_id', 0, 1, '', 1, 1, 'left', 'left', '45px', 'width: 45px;', '', '', '', '', '', 19),
(612, 134, 1088, 'shop_site_users_account_active', 15, 7, '', 0, 0, 'left', 'center', '', '', '', '0 = /admin/images/not_check.gif\r\n1 = /admin/images/check.gif', '', '', '', 19),
(613, 134, 1089, 'shop_site_users_account_datetime', 10, 5, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19),
(614, 134, 1090, 'shop_site_users_account_sum', 20, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19),
(615, 134, 1091, 'shop_currency_name', 30, 1, '', 1, 1, 'left', 'left', '70px', '', '', '', '', '', '', 19),
(616, 134, 1092, 'shop_site_users_account_sum_in_base_currency', 40, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19),
(617, 134, 1093, 'shop_order_id', 50, 1, '', 1, 1, 'left', 'left', '50px', '', '', '', '', '', '', 19),
(621, 56, 1099, 'shop_currency_order', 50, 2, '', 1, 1, 'left', 'left', '80px', 'width: 80px;', '', '', '', '', '', 19),
(622, 57, 1101, 'shop_system_of_pay_order', 35, 2, '', 1, 1, 'left', 'left', '80px', 'width: 80px;', '', '', '', '', '', 19),
(624, 135, 1105, 'shop_properties_group_id', 10, 1, '', 1, 1, 'left', 'left', '45px', 'width: 45px;', '', '', '', '', '', 19),
(625, 135, 1106, 'shop_properties_group_name', 20, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19),
(626, 135, 1107, 'shop_properties_group_xml_name', 30, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19),
(627, 135, 1108, 'shop_properties_group_order', 40, 2, '', 1, 1, 'left', 'left', '80px', 'width: 80px;', '', '', '', '', '', 19),
(628, 34, 1112, 'menu_order', 30, 2, '', 1, 1, 'left', 'left', '80px', 'width: 80px;', '', '', '', '', '', 19),
(629, 87, 1113, 'menu_order', 30, 2, '', 1, 1, 'left', 'left', '80px', 'width: 80px;', '', '', '', '', '', 19),
(630, 69, 1115, 'shop_producers_list_id', 10, 1, '', 1, 1, 'left', 'left', '45px', 'width: 45px;', '', '', '', '', '', 19);

-- --------------------------------------------------------

-- 
-- Структура таблицы `admin_forms_settings_table`
-- 

DROP TABLE IF EXISTS `admin_forms_settings_table`;
CREATE TABLE IF NOT EXISTS `admin_forms_settings_table` (
  `admin_forms_settings_id` int(10) unsigned NOT NULL auto_increment,
  `admin_forms_id` int(10) unsigned NOT NULL default '0',
  `users_id` int(10) unsigned NOT NULL default '0',
  `admin_forms_settings_page_number` int(11) NOT NULL default '0',
  `admin_forms_settings_order_field_id` int(10) unsigned NOT NULL default '0',
  `admin_forms_settings_order_direction` int(11) NOT NULL default '0',
  `admin_forms_settings_filter` text character set cp1251 NOT NULL,
  `admin_forms_settings_on_page` int(11) NOT NULL default '0',
  PRIMARY KEY  (`admin_forms_settings_id`)
) ENGINE=MyISAM DEFAULT CHARSET=cp1251 COLLATE=cp1251_bin AUTO_INCREMENT=91 ;

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

INSERT INTO `admin_forms_settings_table` (`admin_forms_settings_id`, `admin_forms_id`, `users_id`, `admin_forms_settings_page_number`, `admin_forms_settings_order_field_id`, `admin_forms_settings_order_direction`, `admin_forms_settings_filter`, `admin_forms_settings_on_page`) VALUES (10, 104, 19, 48, 438, 2, '', 10),
(11, 28, 19, 0, 0, 0, '', 10),
(12, 40, 19, 0, 145, 1, '', 10),
(13, 85, 19, 0, 0, 0, '', 10),
(14, 1, 19, 0, 25, 2, '', 10),
(15, 2, 19, 0, 9, 1, '', 30),
(16, 30, 19, 0, 108, 1, '', 10),
(17, 31, 19, 0, 0, 0, '', 10),
(18, 13, 19, 0, 0, 0, '', 10),
(19, 15, 19, 0, 0, 0, '', 10),
(20, 11, 19, 0, 42, 1, '', 10),
(21, 12, 19, 0, 0, 0, '', 10),
(22, 54, 19, 0, 212, 1, '', 10),
(23, 65, 19, 0, 240, 1, '', 10),
(24, 58, 19, 25, 361, 1, '', 10),
(25, 59, 19, 3, 363, 1, '', 10),
(26, 60, 19, 0, 0, 0, '', 10),
(27, 22, 19, 0, 84, 2, '', 10),
(28, 17, 19, 0, 0, 0, '', 10),
(29, 20, 19, 0, 76, 1, '', 10),
(30, 21, 19, 0, 80, 1, '', 10),
(31, 6, 19, 0, 0, 0, '', 10),
(32, 82, 19, 0, 337, 1, '', 10),
(33, 69, 19, 0, 0, 0, '', 10),
(34, 42, 19, 0, 159, 1, '', 10),
(35, 43, 19, 0, 0, 0, '', 10),
(36, 67, 19, 0, 257, 1, '', 10),
(37, 26, 19, 0, 93, 1, '', 10),
(38, 50, 19, 0, 0, 0, '', 30),
(45, 33, 19, 0, 122, 1, '', 10),
(39, 32, 19, 0, 118, 1, '', 10),
(40, 68, 19, 0, 0, 0, '', 30),
(41, 14, 19, 0, 0, 0, '', 10),
(42, 16, 19, 0, 0, 0, '', 10),
(43, 19, 19, 0, 0, 0, '', 30),
(44, 18, 19, 0, 0, 0, '', 30),
(46, 64, 19, 0, 0, 0, '', 100),
(48, 41, 19, 0, 0, 0, '', 10),
(47, 5, 19, 0, 0, 0, '', 10),
(49, 125, 19, 0, 0, 0, '', 20),
(50, 9, 19, 0, 0, 0, '', 10),
(51, 130, 19, 0, 0, 0, '', 10),
(52, 115, 19, 0, 0, 0, '', 30),
(53, 71, 19, 0, 0, 0, '', 30),
(54, 132, 19, 0, 0, 0, '', 10),
(55, 72, 19, 0, 0, 0, '', 20),
(56, 7, 19, 0, 0, 0, '', 10),
(57, 8, 19, 0, 0, 0, '', 10),
(58, 135, 19, 0, 0, 0, '', 10),
(59, 52, 19, 0, 0, 0, '', 30),
(60, 75, 19, 0, 291, 2, '', 10),
(61, 56, 19, 0, 0, 0, '', 100),
(62, 57, 19, 0, 0, 0, '', 30),
(63, 127, 19, 0, 0, 0, '', 10),
(64, 81, 19, 0, 322, 1, '', 30),
(65, 79, 19, 0, 313, 2, '', 30),
(66, 66, 19, 0, 0, 0, '', 10),
(67, 93, 19, 0, 0, 0, '', 10),
(68, 4, 19, 0, 17, 1, '', 30),
(69, 76, 19, 0, 0, 0, '', 10),
(70, 35, 19, 0, 0, 0, '', 10),
(71, 36, 19, 0, 0, 0, '', 10),
(72, 37, 19, 0, 0, 0, '', 30),
(73, 38, 19, 0, 0, 0, '', 30),
(74, 133, 19, 0, 0, 0, '', 100),
(75, 134, 19, 0, 0, 0, '', 100),
(76, 126, 19, 2, 0, 0, '', 20),
(77, 73, 19, 0, 0, 0, '', 20),
(78, 103, 19, 0, 0, 0, '', 20),
(79, 24, 19, 0, 0, 0, '', 10),
(80, 74, 19, 0, 0, 0, '', 10),
(81, 88, 19, 0, 0, 0, '', 10),
(82, 44, 19, 0, 0, 0, '', 10),
(83, 46, 19, 0, 0, 0, '', 10),
(84, 45, 19, 0, 0, 0, '', 10),
(85, 47, 19, 0, 0, 0, '', 10),
(86, 29, 19, 0, 0, 0, '', 10),
(87, 10, 19, 0, 0, 0, '', 10),
(88, 25, 19, 0, 0, 0, '', 10),
(89, 87, 19, 0, 0, 0, '', 10),
(90, 70, 19, 0, 0, 0, '', 10);

-- --------------------------------------------------------

-- 
-- Структура таблицы `admin_forms_table`
-- 

DROP TABLE IF EXISTS `admin_forms_table`;
CREATE TABLE IF NOT EXISTS `admin_forms_table` (
  `admin_forms_id` int(10) unsigned NOT NULL auto_increment,
  `admin_words_id` int(10) unsigned default '0',
  `admin_forms_on_page` int(11) default NULL,
  `admin_forms_key_field` varchar(255) character set cp1251 NOT NULL default '',
  `admin_forms_show_operations` tinyint(1) NOT NULL default '0',
  `admin_forms_show_group_operations` tinyint(1) NOT NULL default '0',
  `admin_forms_default_order_field` varchar(255) character set cp1251 NOT NULL default '',
  `admin_forms_default_order_direction` tinyint(4) NOT NULL default '0',
  `admin_forms_group_operations_as_images` tinyint(4) NOT NULL default '0',
  `users_id` int(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`admin_forms_id`)
) ENGINE=MyISAM DEFAULT CHARSET=cp1251 COLLATE=cp1251_bin AUTO_INCREMENT=137 ;

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

INSERT INTO `admin_forms_table` (`admin_forms_id`, `admin_words_id`, `admin_forms_on_page`, `admin_forms_key_field`, `admin_forms_show_operations`, `admin_forms_show_group_operations`, `admin_forms_default_order_field`, `admin_forms_default_order_direction`, `admin_forms_group_operations_as_images`, `users_id`) VALUES (1, 9, 10, 'admin_forms_id', 1, 1, '', 1, 1, 19),
(2, 11, 10, 'admin_forms_field_id', 1, 1, 'admin_forms_field_order', 1, 1, 19),
(5, 29, 10, 'key_field', 1, 1, 'data_templates_order,data_templates_name', 1, 1, 19),
(4, 19, 10, 'admin_forms_events_id', 1, 1, 'admin_forms_events_order', 1, 1, 19),
(6, 44, 10, 'key_field', 1, 1, 'templates_order, templates_name', 1, 1, 19),
(7, 53, 10, 'users_type_id', 1, 1, '', 1, 1, 19),
(8, 58, 10, 'users_id', 1, 1, '', 1, 1, 19),
(9, 65, 10, 'key_field', 1, 1, '', 1, 1, 19),
(10, 69, 40, 'modules_id', 1, 1, 'modules_name', 1, 1, 19),
(11, 79, 10, 'information_systems_id', 1, 1, 'information_systems_name', 1, 1, 19),
(12, 85, 10, 'key_field', 1, 1, '', 1, 1, 19),
(13, 97, 10, 'poll_group_id', 1, 1, 'poll_group_id', 1, 1, 19),
(14, 102, 10, 'maillist_id', 1, 1, 'maillist_order', 1, 1, 19),
(15, 109, 10, 'poll_id', 1, 1, 'poll_name', 1, 1, 19),
(16, 116, 10, 'maillist_fascicle_id', 1, 1, 'maillist_fascicle_make_date_time', 1, 1, 19),
(17, 126, 10, 'poll_reply_id', 1, 1, 'poll_reply_order', 1, 1, 19),
(18, 134, 10, 'site_users_id', 1, 1, 'maillist_users_id', 1, 1, 19),
(19, 139, 10, 'site_users_group_id', 1, 1, 'name', 1, 1, 19),
(20, 142, 10, 'lists_id', 1, 1, 'lists_id', 1, 1, 19),
(21, 149, 10, 'lists_items_id', 1, 1, 'lists_items_order', 1, 1, 19),
(22, 157, 10, 'key_field_id', 1, 1, 'order_field, field_name', 1, 1, 19),
(24, 167, 10, 'forms_id', 1, 1, 'forms_button_name', 1, 1, 19),
(25, 174, 10, 'ip_id', 1, 1, 'ip_ip', 1, 1, 19),
(26, 181, 10, 'constants_id', 1, 1, 'constants_name', 1, 1, 19),
(27, 188, 10, 'forms_fields_id', 1, 1, 'forms_fields_order', 1, 1, 19),
(28, 196, 10, 'site_users_group_id', 1, 1, 'site_users_group_default', 2, 1, 19),
(29, 202, 10, 'forms_fill_id', 1, 1, 'forms_fill_date', 2, 1, 19),
(30, 207, 10, 'site_users_id', 1, 1, 'site_users_name', 1, 1, 19),
(31, 217, 10, 'site_users_extra_property_id', 1, 1, 'site_users_extra_property_id', 1, 1, 19),
(32, 225, 10, 'key_field', 1, 1, '', 1, 1, 19),
(33, 235, 10, 'lib_property_id', 1, 1, 'lib_property_id', 1, 1, 19),
(34, 243, 10, 'menu_id', 1, 1, 'menu_name', 1, 1, 19),
(35, 248, 10, 'forums_conference_id', 1, 1, 'forums_conference_id', 1, 1, 19),
(36, 254, 10, 'forums_group_id', 1, 1, 'forums_group_order', 1, 1, 19),
(37, 261, 10, 'forums_id', 1, 1, 'forums_order', 1, 1, 19),
(38, 270, 10, 'forums_theme_id', 1, 1, 'forums_theme_id', 1, 1, 19),
(39, 277, 10, 'forums_users_group_list_id', 1, 1, 'forums_users_group_list_id', 1, 1, 19),
(40, 282, 10, 'modules_id', 1, 1, 'modules_order', 1, 1, 19),
(41, 294, 10, 'fs_hash_name', 1, 1, '', 1, 1, 19),
(42, 299, 10, 'site_id', 1, 1, 'site_order', 1, 1, 19),
(43, 309, 10, 'alias_id', 1, 1, 'alias_current', 2, 1, 19),
(44, 314, 10, 'advertisement_group_id', 1, 1, 'advertisement_group_id', 1, 1, 19),
(45, 320, 10, 'advertisement_id', 1, 1, 'advertisement_count_at_day', 2, 1, 19),
(57, 407, 10, 'shop_system_of_pay_id', 1, 1, 'shop_system_of_pay_id', 1, 1, 19),
(46, 333, 10, 'advertisement_id', 1, 1, 'advertisement_name', 1, 1, 19),
(47, 339, 10, 'advertisement_id', 1, 0, 'advertisement_id', 1, 0, 19),
(48, 346, 10, 'site_users_id', 1, 1, 'site_users_id', 1, 1, 19),
(54, 388, 10, 'shop_shops_id', 1, 1, 'shop_shops_id', 1, 1, 19),
(49, 355, 10, 'search_log_id', 1, 0, 'count', 1, 0, 19),
(50, 360, 10, 'information_propertys_id', 1, 1, 'information_propertys_order', 1, 1, 19),
(51, 368, 10, 'information_propertys_groups_id', 1, 1, 'information_propertys_groups_order', 1, 1, 19),
(52, 376, 10, 'comment_id', 1, 1, 'comment_id', 1, 1, 19),
(53, 385, 10, 'structure_id', 1, 1, 'structure_id', 1, 1, 19),
(55, 394, 10, 'shop_tax_id', 1, 1, 'shop_tax_rate', 2, 1, 19),
(56, 400, 10, 'shop_currency_id', 1, 1, 'shop_currency_is_default', 2, 1, 19),
(58, 412, 10, 'shop_country_id', 1, 1, 'shop_country_order', 1, 1, 19),
(59, 417, 10, 'shop_location_id', 1, 1, 'shop_location_order', 1, 1, 19),
(60, 422, 10, 'shop_city_id', 1, 1, 'shop_city_name', 1, 1, 19),
(61, 427, 10, 'shop_city_area_id', 1, 1, 'shop_city_area_name', 1, 1, 19),
(62, 431, 10, 'shop_mesures_id', 1, 1, 'shop_mesures_id', 1, 1, 19),
(63, 436, 10, 'shop_order_status_id', 1, 1, 'shop_order_status_id', 1, 1, 19),
(64, 441, 10, 'shop_company_id', 1, 1, 'shop_company_id', 1, 1, 19),
(65, 447, 10, 'keyfield', 1, 1, 'keyfield', 1, 1, 19),
(66, 467, 10, 'shop_comment_id', 1, 1, 'shop_comment_date_time', 2, 1, 19),
(67, 475, 10, 'shop_list_of_properties_id', 1, 1, 'shop_list_of_properties_order', 1, 1, 19),
(68, 483, 20, 'shop_list_of_prices_id', 1, 1, 'shop_list_of_prices_id', 1, 1, 19),
(69, 489, 20, 'shop_producers_list_id', 1, 1, 'shop_producers_list_order, shop_producers_list_id', 1, 1, 19),
(70, 495, 20, 'shop_sallers_id', 1, 1, 'shop_sallers_id', 1, 1, 19),
(71, 502, 20, 'shop_list_of_properties_id', 1, 1, '', 1, 1, 19),
(72, 507, 20, 'keyfield', 1, 1, 'shop_discount_id', 1, 1, 19),
(73, 516, 20, 'shop_order_discount_id', 1, 1, 'shop_order_discount_id', 1, 1, 19),
(74, 527, 20, 'shop_coupon_id', 1, 1, 'shop_coupon_id', 1, 1, 19),
(75, 535, 20, 'shop_order_id', 1, 1, 'shop_order_date_time', 2, 1, 19),
(76, 545, 20, 'shop_order_items_id', 1, 1, 'shop_order_items_id', 1, 1, 19),
(77, 555, 20, 'shop_type_of_delivery_id', 1, 1, 'shop_type_of_delivery_id', 1, 1, 19),
(78, 561, 20, 'shop_cond_of_delivery_id', 1, 1, 'shop_cond_of_delivery_id', 1, 1, 19),
(79, 571, 20, 'keyfield', 1, 1, 'shop_intermediate_id', 1, 1, 19),
(81, 586, 20, 'shop_items_catalog_item_id', 1, 1, 'shop_items_catalog_item_id', 1, 1, 19),
(82, 608, 20, 'structure_id', 1, 1, 'structure_order, structure_id', 1, 1, 19),
(85, 634, 20, 'site_users_id', 1, 1, '', 1, 1, 19),
(86, 647, 20, 'structure_propertys_id', 1, 1, 'structure_propertys_order', 1, 1, 19),
(87, 657, 20, 'menu_id', 1, 1, 'menu_id', 1, 1, 19),
(88, 701, 20, 'param_stat_id', 0, 0, '', 1, 0, 19),
(124, 971, 20, 'documents_status_id', 1, 1, 'documents_status_name', 1, 1, 19),
(96, 756, 20, 'stat_data_id', 1, 0, 'stat_data_date', 2, 0, 19),
(93, 724, 20, 'admin_language_id', 1, 1, 'admin_language_order', 1, 1, 19),
(97, 764, 20, 'stat_id', 1, 0, 'stat_date, stat_time', 2, 0, 19),
(98, 771, 20, 'stat_id', 1, 0, 'count', 2, 0, 19),
(99, 780, 20, 'stat_id', 1, 0, 'count,stat_page_name', 2, 0, 19),
(100, 786, 20, 'stat_id', 1, 0, 'count', 2, 0, 19),
(101, 792, 20, 'counter_type_id', 0, 0, '', 1, 0, 19),
(102, 798, 20, 'stat_id', 1, 0, 'count', 2, 0, 19),
(103, 802, 20, 'search_log_id', 1, 0, 'counter', 2, 0, 19),
(104, 809, 20, 'keyfield', 0, 0, 'datetime', 2, 0, 19),
(108, 821, 20, 'stat_id', 1, 0, 'count', 2, 0, 19),
(111, 830, 40, 'stat_session_id', 1, 0, 'count', 2, 0, 19),
(112, 835, 20, 'stat_session_id', 1, 0, 'count', 2, 0, 19),
(113, 842, 20, '''', 0, 0, '', 1, 0, 19),
(114, 913, 20, 'stat_session_id', 1, 0, 'count', 2, 0, 19),
(115, 918, 20, 'documents_version_id', 1, 1, 'documents_version_current, documents_version_date_time', 2, 1, 19),
(118, 939, 20, 'stat_session_id', 1, 0, 'count', 2, 0, 19),
(117, 934, 20, 'stat_session_id', 1, 0, 'count', 2, 0, 19),
(119, 944, 20, 'stat_session_id', 1, 0, 'count', 2, 0, 19),
(120, 949, 20, 'stat_session_id', 1, 0, 'count', 2, 0, 19),
(121, 954, 20, 'stat_id', 1, 0, 'count', 2, 0, 19),
(122, 959, 20, 'stat_session_id', 1, 0, 'stat_date, stat_time', 2, 0, 19),
(123, 964, 20, 'stat_id', 1, 0, 'count', 2, 0, 19),
(125, 983, 20, 'param_table_name', 0, 0, '', 1, 0, 19),
(126, 988, 20, 'param_table_name', 0, 0, '', 1, 0, 19),
(127, 993, 20, 'file_hash_name', 1, 1, '', 1, 1, 19),
(130, 1038, 20, 'file_hash_name', 1, 1, '', 1, 1, 19),
(131, 1047, 20, 'cache_index', 1, 1, 'cache_name', 1, 1, 19),
(132, 1070, 20, 'shop_eitem_id', 1, 1, 'shop_eitem_id', 1, 1, 19),
(133, 1081, 20, 'shop_shops_id', 0, 0, '', 1, 0, 19),
(134, 1085, 20, 'shop_site_users_account_id', 0, 0, '', 1, 0, 19),
(135, 1104, 20, 'shop_properties_group_id', 1, 1, '', 1, 1, 19);

-- --------------------------------------------------------

-- 
-- Структура таблицы `admin_language_table`
-- 

DROP TABLE IF EXISTS `admin_language_table`;
CREATE TABLE IF NOT EXISTS `admin_language_table` (
  `admin_language_id` int(10) unsigned NOT NULL auto_increment,
  `admin_language_order` int(11) NOT NULL default '0',
  `admin_language_name` varchar(255) character set cp1251 default NULL,
  `admin_language_active` smallint(6) default NULL,
  `admin_language_short_name` varchar(255) character set cp1251 NOT NULL default '',
  PRIMARY KEY  (`admin_language_id`),
  KEY `admin_language_active` (`admin_language_active`)
) ENGINE=MyISAM DEFAULT CHARSET=cp1251 COLLATE=cp1251_bin AUTO_INCREMENT=3 ;

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

INSERT INTO `admin_language_table` (`admin_language_id`, `admin_language_order`, `admin_language_name`, `admin_language_active`, `admin_language_short_name`) VALUES (1, 10, 'Русский', 1, 'ru'),
(2, 20, 'Английский', 0, 'en');

-- --------------------------------------------------------

-- 
-- Структура таблицы `admin_words_table`
-- 

DROP TABLE IF EXISTS `admin_words_table`;
CREATE TABLE IF NOT EXISTS `admin_words_table` (
  `admin_words_id` int(10) unsigned NOT NULL auto_increment,
  `users_id` int(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`admin_words_id`)
) ENGINE=MyISAM DEFAULT CHARSET=cp1251 COLLATE=cp1251_bin AUTO_INCREMENT=1124 ;

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

INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (898, 19),
(4, 19),
(5, 19),
(6, 19),
(7, 19),
(8, 19),
(9, 19),
(10, 19),
(11, 19),
(12, 19),
(13, 19),
(14, 19),
(15, 19),
(16, 19),
(19, 19),
(20, 19),
(21, 19),
(22, 19),
(23, 19),
(24, 19),
(25, 19),
(26, 19),
(27, 0),
(28, 19),
(29, 19),
(30, 19),
(31, 19),
(32, 0),
(33, 19),
(34, 19),
(36, 19),
(40, 19),
(42, 19),
(41, 19),
(43, 19),
(44, 19),
(45, 19),
(46, 19),
(47, 19),
(48, 19),
(49, 19),
(50, 19),
(51, 19),
(52, 19),
(53, 19),
(54, 19),
(55, 19),
(56, 19),
(57, 19),
(58, 19),
(59, 19),
(60, 19),
(61, 19),
(62, 19),
(63, 19),
(64, 19),
(65, 19),
(66, 19),
(67, 19),
(68, 19),
(69, 19),
(70, 19),
(71, 19),
(72, 19),
(73, 19),
(75, 19),
(76, 19),
(77, 19),
(78, 19),
(79, 19),
(80, 19),
(81, 19),
(83, 19),
(84, 19),
(85, 19),
(86, 19),
(87, 19),
(88, 19),
(89, 19),
(90, 19),
(91, 19),
(93, 19),
(94, 19),
(95, 19),
(555, 19),
(97, 19),
(98, 19),
(99, 19),
(100, 19),
(101, 19),
(102, 19),
(103, 19),
(104, 19),
(105, 19),
(174, 19),
(107, 19),
(108, 19),
(109, 19),
(110, 19),
(111, 19),
(112, 19),
(113, 19),
(114, 19),
(115, 19),
(116, 19),
(117, 19),
(118, 19),
(119, 19),
(120, 19),
(121, 19),
(122, 19),
(123, 19),
(124, 19),
(125, 19),
(126, 19),
(127, 19),
(128, 19),
(129, 19),
(130, 19),
(131, 19),
(132, 19),
(133, 19),
(134, 19),
(135, 19),
(136, 19),
(856, 19),
(692, 19),
(139, 19),
(140, 19),
(141, 19),
(142, 19),
(143, 19),
(144, 19),
(145, 19),
(146, 19),
(147, 19),
(148, 19),
(149, 19),
(150, 19),
(151, 19),
(152, 19),
(153, 19),
(154, 19),
(155, 19),
(156, 19),
(157, 19),
(159, 19),
(160, 19),
(161, 19),
(162, 19),
(163, 19),
(164, 19),
(165, 19),
(166, 19),
(167, 19),
(168, 19),
(169, 19),
(170, 19),
(171, 19),
(172, 19),
(173, 19),
(175, 19),
(176, 19),
(177, 19),
(178, 19),
(179, 19),
(180, 19),
(181, 19),
(182, 19),
(183, 19),
(184, 19),
(185, 19),
(186, 19),
(187, 19),
(188, 19),
(189, 19),
(190, 19),
(191, 19),
(192, 19),
(193, 19),
(194, 19),
(195, 19),
(196, 19),
(197, 19),
(198, 19),
(199, 19),
(200, 19),
(201, 19),
(202, 19),
(203, 19),
(204, 19),
(205, 19),
(206, 19),
(207, 19),
(208, 19),
(209, 19),
(210, 19),
(211, 19),
(212, 19),
(213, 19),
(214, 19),
(215, 19),
(216, 19),
(217, 19),
(218, 19),
(219, 19),
(220, 19),
(221, 19),
(222, 19),
(223, 19),
(224, 19),
(225, 19),
(226, 19),
(227, 19),
(228, 19),
(229, 19),
(230, 19),
(231, 19),
(233, 19),
(234, 19),
(235, 19),
(236, 19),
(237, 19),
(238, 19),
(239, 19),
(240, 19),
(241, 19),
(242, 19),
(243, 19),
(244, 19),
(245, 19),
(246, 19),
(247, 19),
(248, 19),
(249, 19),
(250, 19),
(251, 19),
(252, 19),
(253, 19),
(254, 19),
(255, 19),
(256, 19),
(257, 19),
(258, 19),
(259, 19),
(260, 19),
(261, 19),
(262, 19),
(263, 19),
(264, 19),
(265, 19),
(266, 19),
(267, 19),
(268, 19),
(269, 19),
(270, 19),
(271, 19),
(272, 19),
(273, 19),
(274, 19),
(275, 19),
(276, 19),
(277, 19),
(278, 19),
(279, 19),
(280, 19),
(281, 19),
(282, 19),
(283, 19),
(284, 19),
(285, 19),
(286, 19),
(287, 19),
(288, 19),
(289, 19),
(290, 19),
(291, 19),
(292, 19),
(293, 19),
(294, 19),
(295, 19),
(296, 19),
(297, 19),
(298, 19),
(299, 19),
(300, 19),
(301, 19),
(302, 19),
(303, 19),
(304, 19),
(305, 19),
(306, 19),
(307, 19),
(308, 19),
(309, 19),
(310, 19),
(311, 19),
(312, 19),
(313, 19),
(314, 19),
(315, 19),
(316, 19),
(317, 19),
(318, 19),
(319, 19),
(320, 19),
(321, 19),
(322, 19),
(341, 19),
(340, 19),
(339, 19),
(326, 19),
(327, 19),
(328, 19),
(330, 19),
(331, 19),
(691, 19),
(333, 19),
(334, 19),
(335, 19),
(336, 19),
(337, 19),
(338, 19),
(342, 19),
(343, 19),
(344, 19),
(345, 19),
(346, 19),
(347, 19),
(348, 19),
(350, 19),
(351, 19),
(352, 19),
(353, 19),
(354, 19),
(355, 19),
(356, 19),
(357, 19),
(358, 19),
(359, 19),
(360, 19),
(361, 19),
(362, 19),
(363, 19),
(364, 19),
(365, 19),
(366, 19),
(367, 19),
(368, 19),
(369, 19),
(370, 19),
(371, 19),
(372, 19),
(373, 19),
(374, 19),
(375, 19),
(376, 19),
(377, 19),
(378, 19),
(379, 19),
(380, 19),
(381, 19),
(382, 19),
(383, 19),
(384, 19),
(385, 19),
(386, 19),
(387, 19),
(388, 19),
(389, 19),
(390, 19),
(391, 19),
(392, 19),
(393, 19),
(394, 19),
(395, 19),
(396, 19),
(397, 19),
(398, 19),
(399, 19),
(400, 19),
(401, 19),
(402, 19),
(403, 19),
(404, 19),
(405, 19),
(406, 19),
(407, 19),
(408, 19),
(409, 19),
(410, 19),
(411, 19),
(412, 19),
(413, 19),
(414, 19),
(415, 19),
(416, 19),
(417, 19),
(418, 19),
(419, 19),
(420, 19),
(421, 19),
(422, 19),
(423, 19),
(424, 19),
(425, 19),
(426, 19),
(427, 19),
(428, 19),
(429, 19),
(430, 19),
(431, 19),
(432, 19),
(433, 19),
(434, 19),
(435, 19),
(436, 19),
(437, 19),
(438, 19),
(439, 19),
(440, 19),
(441, 19),
(442, 19),
(443, 19),
(444, 19),
(445, 19),
(446, 19),
(447, 19),
(448, 19),
(449, 19),
(450, 19),
(821, 19),
(453, 19),
(454, 19),
(455, 19),
(457, 19),
(458, 19),
(459, 19),
(460, 19),
(461, 19),
(465, 19),
(467, 19),
(466, 19),
(468, 19),
(469, 19),
(470, 19),
(471, 19),
(472, 19),
(473, 19),
(474, 19),
(475, 19),
(476, 19),
(477, 19),
(478, 19),
(479, 19),
(480, 19),
(481, 19),
(482, 19),
(483, 19),
(484, 19),
(485, 19),
(488, 19),
(487, 19),
(489, 19),
(490, 19),
(491, 19),
(492, 19),
(493, 19),
(494, 19),
(495, 19),
(496, 19),
(497, 19),
(498, 19),
(499, 19),
(500, 19),
(501, 19),
(502, 19),
(503, 19),
(504, 19),
(505, 19),
(507, 19),
(508, 19),
(509, 19),
(510, 19),
(511, 19),
(512, 19),
(513, 19),
(514, 19),
(515, 19),
(516, 19),
(517, 19),
(518, 19),
(519, 19),
(520, 19),
(521, 19),
(522, 19),
(523, 19),
(524, 19),
(525, 19),
(526, 19),
(527, 19),
(528, 19),
(529, 19),
(530, 19),
(531, 19),
(532, 19),
(533, 19),
(534, 19),
(535, 19),
(536, 19),
(537, 19),
(538, 19),
(539, 19),
(540, 19),
(541, 19),
(542, 19),
(543, 19),
(544, 19),
(545, 19),
(546, 19),
(547, 19),
(548, 19),
(549, 19),
(550, 19),
(551, 19),
(552, 19),
(556, 19),
(554, 19),
(557, 19),
(560, 19),
(559, 19),
(561, 19),
(562, 19),
(563, 19),
(564, 19),
(565, 19),
(566, 19),
(567, 19),
(568, 19),
(569, 19),
(570, 19),
(571, 19),
(572, 19),
(1122, 19),
(1121, 19),
(575, 19),
(576, 19),
(577, 19),
(1096, 19),
(1100, 19),
(1099, 19),
(1098, 19),
(586, 19),
(587, 19),
(588, 19),
(589, 19),
(1120, 19),
(591, 19),
(592, 19),
(1123, 19),
(594, 19),
(1119, 19),
(596, 19),
(597, 19),
(598, 19),
(599, 19),
(600, 19),
(601, 19),
(602, 19),
(603, 19),
(604, 19),
(605, 19),
(606, 19),
(607, 19),
(608, 19),
(609, 19),
(610, 19),
(611, 19),
(630, 19),
(613, 19),
(631, 19),
(615, 19),
(617, 19),
(618, 19),
(619, 19),
(634, 19),
(633, 19),
(626, 19),
(635, 19),
(636, 19),
(637, 19),
(639, 19),
(640, 19),
(641, 19),
(642, 19),
(643, 19),
(644, 19),
(645, 19),
(646, 19),
(647, 19),
(648, 19),
(649, 19),
(650, 19),
(651, 19),
(652, 19),
(653, 19),
(654, 19),
(655, 19),
(656, 19),
(657, 19),
(658, 19),
(659, 19),
(660, 19),
(661, 19),
(662, 19),
(663, 19),
(664, 19),
(665, 19),
(666, 19),
(667, 19),
(668, 19),
(669, 19),
(670, 19),
(671, 19),
(672, 19),
(673, 19),
(674, 19),
(675, 19),
(676, 19),
(677, 19),
(678, 19),
(690, 19),
(680, 19),
(681, 19),
(682, 19),
(683, 19),
(685, 19),
(686, 19),
(687, 19),
(688, 19),
(857, 19),
(693, 19),
(694, 19),
(695, 19),
(696, 19),
(697, 19),
(698, 19),
(700, 19),
(701, 19),
(702, 19),
(703, 19),
(704, 19),
(705, 19),
(706, 19),
(707, 19),
(708, 19),
(710, 19),
(711, 19),
(724, 19),
(723, 19),
(725, 19),
(726, 19),
(727, 19),
(728, 19),
(729, 19),
(730, 19),
(731, 19),
(732, 19),
(734, 19),
(735, 19),
(736, 19),
(737, 19),
(738, 19),
(739, 19),
(741, 19),
(742, 19),
(743, 19),
(744, 19),
(971, 19),
(746, 19),
(747, 19),
(748, 19),
(972, 19),
(973, 19),
(752, 19),
(755, 19),
(756, 19),
(757, 19),
(758, 19),
(759, 19),
(760, 19),
(761, 19),
(762, 19),
(763, 19),
(764, 19),
(765, 19),
(766, 19),
(767, 19),
(768, 19),
(769, 19),
(770, 19),
(771, 19),
(772, 19),
(799, 19),
(774, 19),
(775, 19),
(777, 19),
(778, 19),
(779, 19),
(780, 19),
(798, 19),
(782, 19),
(783, 19),
(785, 19),
(786, 19),
(800, 19),
(788, 19),
(789, 19),
(790, 19),
(792, 19),
(793, 19),
(794, 19),
(795, 19),
(796, 19),
(797, 19),
(802, 19),
(808, 19),
(804, 19),
(805, 19),
(806, 19),
(807, 19),
(809, 19),
(816, 19),
(814, 19),
(813, 19),
(1022, 19),
(1023, 19),
(822, 19),
(823, 19),
(824, 19),
(825, 19),
(829, 19),
(830, 19),
(831, 19),
(832, 19),
(833, 19),
(835, 19),
(836, 19),
(837, 19),
(838, 19),
(840, 19),
(841, 19),
(895, 19),
(868, 19),
(844, 19),
(845, 19),
(846, 19),
(867, 19),
(914, 19),
(849, 19),
(850, 19),
(851, 19),
(852, 19),
(853, 19),
(897, 19),
(896, 19),
(872, 19),
(870, 19),
(899, 19),
(875, 19),
(879, 19),
(880, 19),
(881, 19),
(882, 19),
(883, 19),
(884, 19),
(906, 19),
(915, 19),
(903, 19),
(934, 19),
(907, 19),
(916, 19),
(911, 19),
(913, 19),
(918, 19),
(919, 19),
(920, 19),
(921, 19),
(922, 19),
(980, 19),
(924, 19),
(925, 19),
(926, 19),
(927, 19),
(928, 19),
(929, 19),
(935, 19),
(936, 19),
(937, 19),
(939, 19),
(940, 19),
(941, 19),
(979, 19),
(943, 19),
(944, 19),
(945, 19),
(946, 19),
(947, 19),
(977, 19),
(949, 19),
(950, 19),
(951, 19),
(952, 19),
(976, 19),
(954, 19),
(955, 19),
(956, 19),
(957, 19),
(975, 19),
(959, 19),
(960, 19),
(961, 19),
(962, 19),
(970, 19),
(964, 19),
(965, 19),
(966, 19),
(967, 19),
(968, 19),
(974, 19),
(983, 19),
(984, 19),
(985, 19),
(986, 19),
(987, 19),
(988, 19),
(989, 19),
(990, 19),
(991, 19),
(992, 19),
(993, 19),
(994, 19),
(995, 19),
(996, 19),
(997, 19),
(999, 19),
(1000, 19),
(1001, 19),
(1003, 19),
(1004, 19),
(1005, 19),
(1006, 19),
(1007, 19),
(1008, 19),
(1009, 19),
(1025, 19),
(1037, 19),
(1036, 19),
(1038, 19),
(1039, 19),
(1040, 19),
(1041, 19),
(1042, 19),
(1043, 19),
(1044, 19),
(1045, 19),
(1046, 19),
(1047, 19),
(1048, 19),
(1049, 19),
(1067, 19),
(1051, 19),
(1052, 19),
(1053, 19),
(1054, 19),
(1057, 19),
(1056, 19),
(1058, 19),
(1068, 19),
(1069, 19),
(1070, 19),
(1071, 19),
(1072, 19),
(1073, 19),
(1074, 19),
(1076, 19),
(1077, 19),
(1078, 19),
(1079, 19),
(1081, 19),
(1082, 19),
(1083, 19),
(1084, 19),
(1085, 19),
(1086, 19),
(1087, 19),
(1088, 19),
(1089, 19),
(1090, 19),
(1091, 19),
(1092, 19),
(1093, 19),
(1094, 19),
(1095, 19),
(1101, 19),
(1103, 19),
(1104, 19),
(1105, 19),
(1106, 19),
(1107, 19),
(1108, 19),
(1109, 19),
(1110, 19),
(1111, 19),
(1112, 19),
(1113, 19),
(1114, 19),
(1115, 19);

-- --------------------------------------------------------

-- 
-- Структура таблицы `admin_words_value_table`
-- 

DROP TABLE IF EXISTS `admin_words_value_table`;
CREATE TABLE IF NOT EXISTS `admin_words_value_table` (
  `admin_words_value_id` int(10) unsigned NOT NULL auto_increment,
  `admin_words_id` int(10) unsigned default NULL,
  `admin_language_id` int(10) unsigned default NULL,
  `admin_words_value_name` varchar(255) character set cp1251 default NULL,
  `admin_words_value_description` text character set cp1251,
  PRIMARY KEY  (`admin_words_value_id`)
) ENGINE=MyISAM DEFAULT CHARSET=cp1251 COLLATE=cp1251_bin AUTO_INCREMENT=1877 ;

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

INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1, 1, 1, 'Название', 'Название поля'),
(1778, 1025, 1, 'Печать', ''),
(4, 4, 1, 'Действия', 'Отображать список действий'),
(5, 5, 1, 'Групповые операции', 'Отображать список групповых операций'),
(6, 6, 1, 'Редактировать', 'Редактировать элемент'),
(7, 7, 1, 'Удалить', 'Удалить элемент'),
(8, 8, 1, 'Поля', 'Поля формы'),
(9, 9, 1, 'Управление формами', 'Управление формами центра администрирования'),
(10, 10, 1, 'Применить', 'Применить изменения выбранных значений формы'),
(12, 11, 1, 'Список полей', 'Список полей формы центра администрирования'),
(14, 12, 1, 'Код', 'Идентификатор поля формы'),
(15, 13, 1, 'Название', 'Название поля'),
(16, 14, 1, 'Сортировка', 'Порядок сортировки полей формы'),
(17, 15, 1, 'Сортировать', 'Разрешить сортировку по данному полю'),
(18, 16, 1, 'Фильтровать', 'Разрешить фильтр по данному полю'),
(25, 19, 1, 'Действия форм центра администрирования', 'Действия, которые можно выполнять с элементами'),
(27, 20, 1, 'Код', 'Идентификатор действия'),
(30, 21, 1, 'Функция', 'Название функции в загрузчике'),
(32, 22, 1, 'Сортировка', 'Порядок сортировки действия'),
(34, 23, 1, 'Операция', 'Отображать в столбце операций'),
(36, 24, 1, 'Групповая', ''),
(38, 25, 1, 'Действия', 'Действия формы администрирования'),
(40, 26, 1, 'Применить', 'Применить изменения, сделанные в форме администрирования'),
(41, 27, 1, 'Редактировать', 'Редактировать событие'),
(42, 28, 1, 'Удалить', 'Удалить событие'),
(43, 29, 1, 'Шаблоны страниц', 'Список шаблонов страниц сайта'),
(45, 30, 1, 'Код', ''),
(47, 31, 1, 'Название', ''),
(49, 32, 1, 'Редактировать', 'Редактировать шаблон'),
(50, 33, 1, 'Удалить', 'Удаление шаблона данных'),
(51, 34, 1, 'Применить', 'Применить изменения'),
(57, 36, 1, 'test', ''),
(65, 40, 1, 'Копировать', 'Копировать шаблон'),
(69, 42, 1, 'Редкатировать', ''),
(67, 41, 1, '', ''),
(71, 43, 1, 'Редкатировать', ''),
(76, 44, 1, 'Макеты', 'Список макетов страниц сайта'),
(78, 45, 1, 'Код', 'Идентификатор формы центра администрирования   '),
(80, 46, 1, 'Код', 'Код макета'),
(82, 47, 1, 'Название', 'Название макета'),
(84, 48, 1, '', 'Отображение пиктограммы'),
(86, 49, 1, 'Редактировать', 'Редактирование шаблона'),
(88, 50, 1, 'Удалить', 'Удаление макета'),
(90, 51, 1, 'Применить', 'Применить изменения'),
(92, 52, 1, 'Копировать', 'Копировать макет'),
(95, 53, 1, 'Группы пользователей', 'Управление группами пользователей центра администрирования'),
(97, 54, 1, 'Группа пользователей', ''),
(99, 55, 1, 'Комментарий', ''),
(101, 56, 1, 'Редактировать', ''),
(103, 57, 1, 'Удалить', ''),
(105, 58, 1, 'Пользователи', 'Управление пользователями системы администрирования'),
(107, 59, 1, 'Имя пользователя', ''),
(109, 60, 1, 'Привилегированный', ''),
(111, 61, 1, 'Редактировать', ''),
(113, 62, 1, 'Удалить', ''),
(115, 63, 1, 'Применить', 'Применить изменения'),
(117, 64, 1, 'Код', 'Идентификатор пользователя центра администрирования'),
(119, 65, 1, 'Страницы и документы', 'Список разделов страниц и документов'),
(121, 66, 1, 'Код', ''),
(123, 67, 1, 'Название', ''),
(125, 68, 1, 'Макет', ''),
(127, 69, 1, 'Права доступа для групп пользователей центра администрирования', 'Форма установления права доступа групп пользователей центра администрирования к модулям системы управления'),
(129, 70, 1, 'Доступ', 'Доступность модуля для группы пользователей'),
(131, 71, 1, 'Наименование модуля', 'Наименование модуля'),
(133, 72, 1, 'Путь', 'Относительный путь к модулю '),
(135, 73, 1, 'Применить', 'Применить изменения'),
(139, 75, 1, '', ''),
(141, 76, 1, 'Редактировать', 'Редактирование раздела документов'),
(143, 77, 1, 'Удалить', 'Удалить раздел документов'),
(145, 78, 1, 'Копировать', 'Копировать документ'),
(147, 79, 1, 'Информационные системы', 'Список информационных систем сайта'),
(149, 80, 1, 'Код', 'Идентификатор информационной системы'),
(151, 81, 1, 'Название', ''),
(155, 83, 1, 'Редактировать', 'Редактировать информационную систему'),
(157, 84, 1, 'Удалить', 'Удалить информационную систему'),
(159, 85, 1, 'Информационные группы и элементы', 'Список информационных групп и элементов'),
(161, 86, 1, 'Код', ''),
(163, 87, 1, '', ''),
(165, 88, 1, 'Название', ''),
(167, 89, 1, 'Комментарии', 'Ссылка на список комментариев к информационному элементу'),
(169, 90, 1, 'Активность', 'Поле, показывающее активность элемента'),
(171, 91, 1, 'Индексировать', 'Поле, отображающее индексируется информационный элемент или нет'),
(175, 93, 1, 'Редактировать', 'Функция редактирования информационной группы'),
(177, 94, 1, 'Копировать', 'Функция копирования'),
(179, 95, 1, 'Удалить', 'Функция удаления'),
(1099, 555, 1, 'Список типов доставки', 'Список типов доставки'),
(183, 97, 1, 'Группы опросов', 'Отображение списка групп опросов'),
(185, 98, 1, 'Код', 'Идентификатор группы опросов'),
(187, 99, 1, 'Название группы', 'Название группы'),
(189, 100, 1, 'Редактировать', 'Редпктиорвание группы опросов'),
(191, 101, 1, 'Удалить', 'Удалить группу опросов'),
(193, 102, 1, 'Почтовые рассылки', 'Список почтовых рассылок'),
(195, 103, 1, 'Код', 'Код рассылки'),
(197, 104, 1, 'Сортировка', 'Порядок сортировки'),
(199, 105, 1, 'Название рассылки', 'Название рассылки'),
(337, 174, 1, 'IP-адреса', 'Список IP-адресов'),
(203, 107, 1, 'Редактировать', 'Редактирование рассылки'),
(205, 108, 1, 'Удаление', 'Удаление рассылки'),
(207, 109, 1, 'Список опросов', 'Список опросов группы'),
(209, 110, 1, 'Название', 'Название опроса'),
(211, 111, 1, 'Начало опроса', 'Дата начала действия опроса'),
(213, 112, 1, 'Окончание опроса', 'Дата окончания действия опроса'),
(215, 113, 1, 'Редактировать', 'Редактирование опроса'),
(217, 114, 1, 'Удалить', 'Удаление опроса'),
(219, 115, 1, 'Код', 'Идентификатор опроса'),
(221, 116, 1, 'Выпуски рассылок', 'Список выпусков рассылок'),
(223, 117, 1, 'Тема выпуска', 'Описание темы выпуска'),
(225, 118, 1, 'Автор', 'ФИО автора выпуска'),
(227, 119, 1, 'Создан', 'Дата создания выпуска'),
(229, 120, 1, 'Последняя отправка', 'Дата последней отправки выпуска'),
(231, 121, 1, 'Изменен', 'Информация о редактировании'),
(233, 122, 1, 'Разослать', 'Разослать рассылку'),
(235, 123, 1, 'Редактирование', 'Редактирование рассылки'),
(237, 124, 1, 'Копировать', 'Копирование рассылки'),
(239, 125, 1, 'Удалить', 'Удаление рассылки'),
(241, 126, 1, 'Варианты ответов опроса', 'Список вариантов ответов для опроса'),
(243, 127, 1, 'Код', 'Идентификатор варианта ответа'),
(245, 128, 1, 'Варианты ответа', 'Варианты ответа'),
(247, 129, 1, 'Сортировка', 'Порядок сортировки вариантов ответа'),
(249, 130, 1, 'Голосов', 'Количество голосов'),
(251, 131, 1, 'Редактировать', 'Редактирование варианта ответа'),
(253, 132, 1, 'Удалить', 'Удаление варианта ответа'),
(255, 133, 1, 'Применить', 'Применить изменения, сделанные в форме списка вариантов ответа'),
(257, 134, 1, 'Подписчики рассылок', 'Список подписчиков рассылок'),
(259, 135, 1, 'Имя подписчика', 'Имя подписчика'),
(261, 136, 1, 'Формат рассылки', 'Информация о формате рассылки'),
(1581, 856, 1, 'Применить', ''),
(1365, 690, 1, 'В группе', 'Добавить/удалить баннер в текущую группу'),
(267, 139, 1, 'Группы подписчиков', 'Группы подписчиков рассылок'),
(269, 140, 1, 'Название', 'Название группы'),
(271, 141, 1, 'Описание', 'Описание группы'),
(273, 142, 1, 'Списки', 'Каталог списков'),
(275, 143, 1, 'Код', 'Идентификатор списка'),
(277, 144, 1, 'Название', 'Название списка'),
(279, 145, 1, 'Элементы', 'Элементы списка'),
(281, 146, 1, 'Редактировать', 'Редактирование информации о списке'),
(283, 147, 1, 'Удалить', 'Удаление списка'),
(285, 148, 1, 'Применить', 'Удаление элемента'),
(287, 149, 1, 'Элементы списка', 'Список элементов списка'),
(289, 150, 1, 'Код', 'Идентификатор элемента списка'),
(291, 151, 1, 'Сортировка', 'Порядковый номер элемента списка'),
(293, 152, 1, 'Значение', 'Значение элемента списка'),
(295, 153, 1, 'Редактировать', 'Редактирование элемента списка'),
(297, 154, 1, 'Копировать', 'Копирование элемента списка'),
(299, 155, 1, 'Удалить', 'Удаление элемента списка'),
(301, 156, 1, 'Применить', 'Применить изменения'),
(303, 157, 1, 'Список разделов XSL', 'Список разделов XSL шаблонов'),
(307, 159, 1, 'Код', 'Идентификатор раздела'),
(309, 160, 1, '', ''),
(311, 161, 1, 'Название', 'Название раздела XSL'),
(313, 162, 1, 'Редактировать', 'Редактирование раздела XSL'),
(315, 163, 1, 'Удалить', 'Удаление раздела XSL'),
(317, 164, 1, 'Сортировка', 'Порядок сортировки разделов XSL-шаблонов'),
(319, 165, 1, 'Применить', 'Применить изменения'),
(321, 166, 1, 'Применить', 'Применить изменения'),
(323, 167, 1, 'Формы', 'Список форм'),
(325, 168, 1, 'Код', 'Идентификатор формы'),
(327, 169, 1, 'Название', 'Название формы'),
(329, 170, 1, 'Поля формы', 'Смыка на список полей формы'),
(331, 171, 1, 'Редактировать', 'Редактирование информации о форме'),
(333, 172, 1, 'Копировать', 'Копировать информацию о форме и ее полях'),
(335, 173, 1, 'Удалить', 'Удалить форму и ее поля'),
(339, 175, 1, 'IP-адрес', 'IP-адрес'),
(341, 176, 1, 'Комментарий', 'Комментарий к IP-адресу '),
(343, 177, 1, 'Запретить доступ', 'Запретить доступ к сайту для текущего IP-адреса'),
(345, 178, 1, 'Не учитывать в статистике', 'Не учитывать в статистике текущий IP-адрес'),
(347, 179, 1, 'Редактировать', 'Редактирование текущего элемента'),
(349, 180, 1, 'Удалить', 'Удалить текущий элемент'),
(351, 181, 1, 'Список констант', 'Список констант'),
(353, 182, 1, 'Название', 'Название константы'),
(355, 183, 1, 'Значение', 'Значение константы'),
(357, 184, 1, 'Статус', 'Активность константы'),
(359, 185, 1, 'Описание', 'Описание константы'),
(361, 186, 1, 'Редактировать', 'Редактировать элемент'),
(363, 187, 1, 'Удалить', 'Удаление элемента'),
(365, 188, 1, 'Поля формы', 'Список полей формы'),
(367, 189, 1, 'Код', 'Идентификатор поля формы'),
(369, 190, 1, 'Сортировка', 'Порядковый номер элемента формы'),
(371, 191, 1, 'Имя', 'Поясняющая подпись к элементу форму'),
(373, 192, 1, 'Название', 'Название элемента формы'),
(375, 193, 1, 'Редактировать', 'Редактирование поля формы'),
(377, 194, 1, 'Копировать', 'Копировать элемент формы'),
(379, 195, 1, 'Удалить', 'Удалить элемент формы'),
(381, 196, 1, 'Группы пользователей сайта', 'Список групп пользователей'),
(383, 197, 1, 'Название группы', 'Название группы пользователей'),
(385, 198, 1, 'Комментарий', 'Комментарий к группе пользователей'),
(387, 199, 1, 'По умолчанию', 'Использовать группу по умолчанию'),
(389, 200, 1, 'Редактировать', 'Редактирование текущего элемента'),
(391, 201, 1, 'Удалить', 'Удаление текущего элемента'),
(393, 202, 1, 'Заполненные формы', 'Список заполненных форм'),
(395, 203, 1, 'Дата заполнения', 'Дата заполнения формы'),
(397, 204, 1, 'IP', 'IP-адрес компьютера, с которого была отправлена форма '),
(399, 205, 1, 'Посмотреть', 'Значения полей отправленной формы'),
(401, 206, 1, 'Удалить', 'Удалить информацию о заполненной форме'),
(403, 207, 1, 'Управление пользователями', 'Список пользователей для управления'),
(405, 208, 1, 'Код', 'Идентификатор пользователя'),
(407, 209, 1, 'Имя пользователя', 'Имя пользователя'),
(409, 210, 1, 'Логин', 'Логин пользователя'),
(411, 211, 1, 'E-mail', 'Электронная почта пользователя'),
(413, 212, 1, 'Подтверждение', 'Подтверждение пользователем регистрации'),
(415, 213, 1, 'Код', 'Идентификатор заполненной формы'),
(417, 214, 1, 'Редактировать', 'Редактировать текущий элемент'),
(419, 215, 1, 'Удалить', 'Удаление текущего элемента'),
(421, 216, 1, 'Копировать', 'Копировать XSL-шаблон'),
(423, 217, 1, 'Дополнительные параметры пользователя', 'Список дополнительных параметров пользователя'),
(425, 218, 1, 'Сортировка', 'Порядок сортировки элементов'),
(427, 219, 1, 'Заголовок', 'Заголовок'),
(429, 220, 1, 'Название', 'Название'),
(431, 221, 1, 'Редактировать', 'Редактировать текущий элемент'),
(433, 222, 1, 'Удалить', 'Удаление элемента'),
(435, 223, 1, 'Копировать', 'Копировать текущий элемент'),
(437, 224, 1, 'Применить', 'Применить изменения'),
(439, 225, 1, 'Типовые динамические страницы', 'Список типовых динамических страниц'),
(441, 226, 1, 'Код', 'Идентификатор записи'),
(443, 227, 1, '', 'Отображение картинки'),
(445, 228, 1, 'Название', 'Название элемента'),
(447, 229, 1, 'Описание', 'Описание элемента'),
(449, 230, 1, 'Параметры', 'Параметры страницы'),
(451, 231, 1, 'Редактировать', 'Редактировать элемент'),
(455, 233, 1, 'Удалить', 'Удаление элемента'),
(457, 234, 1, 'Копировать', 'Копировать текущий элемент'),
(459, 235, 1, 'Параметры динамической страницы', 'Список параметров динамической страницы'),
(461, 236, 1, 'Код', 'Идентификатор элемента'),
(463, 237, 1, 'Название', 'Название элемента'),
(465, 238, 1, 'Название переменной', 'Название переменной'),
(467, 239, 1, 'Сортировка', 'Порядок сортировки'),
(469, 240, 1, 'Редактировать', 'Редактирование текущего элемента'),
(471, 241, 1, 'Удалить', 'Удаление текущего элемента'),
(473, 242, 1, 'Применить', 'Применить изменения'),
(475, 243, 1, 'Меню сайта', 'Список меню сайта'),
(477, 244, 1, 'Код', 'Код'),
(479, 245, 1, 'Название', 'Название меню'),
(481, 246, 1, 'Редактировать', 'Редактирование'),
(483, 247, 1, 'Удалить', 'Удаление меню'),
(485, 248, 1, 'Конференции', 'Список конференций'),
(487, 249, 1, 'Код', 'Идентификатор конференции'),
(489, 250, 1, 'Название конференции', 'Название текущей конференции'),
(491, 251, 1, 'Описание конференции', 'Описание текущей конференции'),
(493, 252, 1, 'Редактировать', 'Редактирование текущего элемента'),
(495, 253, 1, 'Удалить', 'Удаление текущего элемента'),
(497, 254, 1, 'Группы форумов', 'Список групп форумов'),
(499, 255, 1, 'Сортировка', 'Порядок сортировки элементов'),
(501, 256, 1, 'Название группы', 'Название группы форумов'),
(503, 257, 1, 'Описание группы', 'Описание группы форумов'),
(505, 258, 1, 'Редактировать', 'Редактирование текущего элемента'),
(507, 259, 1, 'Удалить', 'Удаление текущего элемента'),
(509, 260, 1, 'Применить', 'Применить изменения'),
(511, 261, 1, 'Форумы группы', 'Список форумов конкретной группы'),
(513, 262, 1, 'Сортировка', 'Порядок сортировки форумов'),
(515, 263, 1, 'Название форума', 'Название форума'),
(517, 264, 1, 'Комментарий форума', 'Комментарий для форума'),
(519, 265, 1, 'Доступ к форуму', 'Идентификатор доступа к форуму'),
(521, 266, 1, 'Редактировать', 'Редактирование текущего элемента'),
(523, 267, 1, 'Удалить', 'Удаление текущего элемента'),
(525, 268, 1, 'Применить', 'Применение внесенных изменений'),
(527, 269, 1, 'Код', 'Идентификатор элемента'),
(529, 270, 1, 'Темы форума', 'Список тем форума'),
(531, 271, 1, 'Код', 'Идентификатор темы'),
(533, 272, 1, 'Заголовок темы', 'Заголовок темы форума'),
(535, 273, 1, 'Автор', 'Автор темы форума'),
(537, 274, 1, 'Дата создания', 'Дата создания темы'),
(539, 275, 1, 'Редактировать', 'Редактирование текущего элемента'),
(541, 276, 1, 'Удалить', 'Удаление текущего элемента'),
(543, 277, 1, 'Группы посетителей форума', 'Список групп посетителей форума'),
(545, 278, 1, 'Название группы', 'Название группы посетителей форума'),
(547, 279, 1, 'Описание группы', 'Описание группы пользователей'),
(549, 280, 1, 'Модератор', 'Статус модератора'),
(551, 281, 1, 'Удалить', 'Удаеление текущего элемента'),
(553, 282, 1, 'Модули', 'Список модулей'),
(555, 283, 1, 'Название', 'Название модуля'),
(557, 284, 1, 'Код', 'Идентификатор модуля'),
(559, 285, 1, 'Версия', 'Версия модуля'),
(561, 286, 1, 'Дата', 'Дата создания'),
(563, 287, 1, 'Статус', 'Статус модуля'),
(565, 288, 1, 'Путь к модулю', 'Путь к модулю'),
(567, 289, 1, 'Сортировка', 'Порядок сортировки'),
(569, 290, 1, 'Редактировать', 'Редактирование текущего элемента'),
(571, 291, 1, 'Удалить', 'Удаление текущего элемента'),
(573, 292, 1, 'Применить', 'Применить изменения'),
(575, 293, 1, 'Код', 'Идентификатор адреса'),
(577, 294, 1, 'Резервное копирование', 'Резервное копирование данных'),
(579, 295, 1, 'Имя', 'Название резервного копирования'),
(581, 296, 1, 'Дата', 'Дата создания резервной копии'),
(583, 297, 1, 'Размер', 'Размер данных'),
(585, 298, 1, 'Удалить', 'Удаление'),
(587, 299, 1, 'Сайты', 'Список сайтов'),
(589, 300, 1, 'Код', 'Идентификатор сайт'),
(591, 301, 1, 'Название сайта', 'Название сайта\r\n'),
(593, 302, 1, 'E-mail', 'Электронная почта'),
(595, 303, 1, 'Сортировка', 'Порядок сортировки элементов на форме'),
(597, 304, 1, 'Активность', 'Статус активности сайта'),
(599, 305, 1, 'Домены', 'Домены сайта'),
(601, 306, 1, 'Редактировать', 'Редактирование текущего элемента'),
(603, 307, 1, 'Удалить', 'Удаление сайта'),
(605, 308, 1, 'Применить', 'Применить изменения'),
(607, 309, 1, 'Домены сайта', 'Список доменов сайта'),
(609, 310, 1, 'Домен', 'Имя домена'),
(611, 311, 1, 'Основной', 'Поле указания основного домена'),
(613, 312, 1, 'Редактировать', 'Редактирование текущего элемнта'),
(615, 313, 1, 'Удалить', 'Удаление текущего элемента'),
(617, 314, 1, 'Группы рекламных баннеров', 'Список групп рекламных баннеров'),
(619, 315, 1, 'Код', 'Идентификатор группы баннеров'),
(621, 316, 1, 'Название', 'Название группы баннеров'),
(623, 317, 1, 'Описание', 'Описание группы баннеров'),
(625, 318, 1, 'Редактировать', 'Редактировеание текущего элемента'),
(627, 319, 1, 'Удалить', 'Удаление текущего элемента'),
(629, 320, 1, 'Баннеры', 'Список баннеров определенной группы'),
(631, 321, 1, 'Код', 'Идентификационный номер'),
(633, 322, 1, 'Название', 'Название баннера'),
(671, 341, 1, 'Дата', 'Дата события'),
(669, 340, 1, '№', 'Номер элемента'),
(667, 339, 1, 'Статистика баннеров', 'Статистика работы с определенным баннером'),
(641, 326, 1, 'Показать', 'Необходимое число показов всего'),
(643, 327, 1, 'Показано', 'Количество показов на текущий момент'),
(645, 328, 1, 'CTR', 'CTR, %'),
(649, 330, 1, 'Статистика', 'Статистика'),
(651, 331, 1, 'Редактировать', 'Редактирование текущего элемента'),
(1367, 691, 1, 'Применить', ''),
(655, 333, 1, 'Управление баннерами', 'Форма управления баннерами'),
(657, 334, 1, 'Название', 'Название баннера'),
(659, 335, 1, 'Описание', 'Описание баннера'),
(661, 336, 1, 'Статистика', 'Статистика'),
(663, 337, 1, 'Редактировать', 'Редактирование текущего элемента'),
(665, 338, 1, 'Удалить', 'Удаление текущего элемента'),
(673, 342, 1, 'Показано', 'Количество показов'),
(675, 343, 1, 'Нажато', 'Количество нажатий'),
(677, 344, 1, 'CTR, %', 'CTR'),
(679, 345, 1, 'Сортировка', 'Порядок сортировки'),
(681, 346, 1, 'Пользователи сайта группы', 'Список пользователей сайта определенной группы'),
(683, 347, 1, 'Код', 'Идентификатор пользователя'),
(685, 348, 1, 'Имя пользователя', 'Имя пользователя'),
(689, 350, 1, 'Фамилия', 'Фамилия пользователя'),
(691, 351, 1, 'E-mail', 'Почта пользователя'),
(693, 352, 1, 'Логин', 'Логин пользователя'),
(695, 353, 1, 'Редактировать', 'Редактирование текущего элемента'),
(697, 354, 1, 'Удалить', 'Удаление текущего элемента'),
(699, 355, 1, 'Статистика индексирования', 'Статистика индексирования'),
(701, 356, 1, 'Код', 'Уникальный идентификатор элемента статистики'),
(703, 357, 1, 'Запрос', 'Текст запроса'),
(705, 358, 1, 'Количество', 'Количество упоминаний конкретного запроса'),
(707, 359, 1, 'Процент', 'Процент от общего количества запросов'),
(709, 360, 1, 'Дополнительные свойства элементов', 'Список дополнительных свойств элементов'),
(711, 361, 1, 'Код', 'Уникальный идентификатор элемента'),
(713, 362, 1, 'Сортировка', 'Порядок сортировки элемента относительно аналогичных элементов в столбце'),
(715, 363, 1, 'Название', 'Имя элемента'),
(717, 364, 1, 'XML - тэг', 'Название XML - тэга'),
(719, 365, 1, 'Редактировать', 'Редактирование текущего элемента'),
(721, 366, 1, 'Удалить', 'Удаление текущего элемента'),
(723, 367, 1, 'Применить', 'Применение изменений'),
(725, 368, 1, 'Дополнительные свойства групп информационной системы', 'Список дополнительных свойств групп информационной системы'),
(727, 369, 1, 'Код', 'Уникальный идентификатор элемента'),
(729, 370, 1, 'Сортировка', 'Порядок сортировки элемента относительно других элементов расположенных на той же форме'),
(731, 371, 1, 'Название', 'Название элемента'),
(733, 372, 1, 'XML - тэг', 'XML - тэг'),
(735, 373, 1, 'Редактировать', 'Редактирование текущего элемента'),
(737, 374, 1, 'Удалить', 'Удаление текущего элемента'),
(739, 375, 1, 'Применить', 'Применить внесенные изменения'),
(741, 376, 1, 'Комментарии к информационному элементу', 'Список комментариев к информационному элементу'),
(743, 377, 1, 'ФИО', 'Инициалы человека, оставившего комментарий'),
(745, 378, 1, 'Код', 'Уникальный идентификатор элемента'),
(747, 379, 1, 'E-mail', 'Электронная почта человека, отправившего комментарий'),
(749, 380, 1, 'Тема', 'Тема с которой ассоциирован данный комментарий'),
(751, 381, 1, 'Статус', 'Статус комментария '),
(753, 382, 1, 'Дата добавления', 'Дата добавления комментария'),
(755, 383, 1, 'Редактировать', 'Редактирование текущего элемента'),
(757, 384, 1, 'Удалить', 'Удаление текущего элемента'),
(759, 385, 1, 'Страницы доступные для группы', 'Список страниц доступных для определенной группы пользователей'),
(761, 386, 1, 'Название страницы', 'Название страницы'),
(763, 387, 1, 'Путь', 'Путь к странице'),
(765, 388, 1, 'Список интернет-магазинов', 'Список интернет-магазинов'),
(767, 389, 1, 'Код', 'Уникальный идентификатор интернет магазина'),
(769, 390, 1, 'Название магазина', 'Название магазина'),
(771, 391, 1, 'Валюта магазина', 'Денежная единица магазина'),
(773, 392, 1, 'Редактировать', 'Редактирование текущего элемента'),
(775, 393, 1, 'Удалить', 'Удаление текущего элемента'),
(777, 394, 1, 'Справочник налогов', 'Справочник налогов'),
(779, 395, 1, 'Название налога', 'Название налога'),
(781, 396, 1, 'Ставка', 'Ставка'),
(783, 397, 1, 'Входит в цену', 'Входит ли данный налог в цену'),
(785, 398, 1, 'Редактировать', 'Редактирование текущего элемента'),
(787, 399, 1, 'Удалить', 'Удаление текущего элемента'),
(789, 400, 1, 'Справочник валют', 'Список валют, действующих в магазине'),
(791, 401, 1, 'Название', 'Название валюты'),
(793, 402, 1, 'Международное', 'Международное название валюты (RUR, USD, EUR и т.д.)'),
(795, 403, 1, 'Курс', 'Курс валюты (по отношению к основной валюте)'),
(797, 404, 1, 'Базовая валюта', 'Базовая валюта'),
(799, 405, 1, 'Редактировать', 'Редактирование текущего элемента'),
(801, 406, 1, 'Удалить', 'Удаление текущего элемента'),
(803, 407, 1, 'Справочник платежных систем', 'Справочник платежных систем'),
(805, 408, 1, 'Название платежной системы', 'Название платежной системы'),
(807, 409, 1, 'Активность', 'Активность'),
(809, 410, 1, 'Редактировать', 'Редактирование текущего элемента'),
(811, 411, 1, 'Удалить', 'Удаление текущего элемента'),
(813, 412, 1, 'Справочник cтран', 'Справочник стран'),
(815, 413, 1, 'Название страны', 'Название страны'),
(817, 414, 1, 'Местоположения', 'Местоположения'),
(819, 415, 1, 'Редактировать', 'Редактирование текущего элемента'),
(821, 416, 1, 'Удаление', 'Удаление текущего элемента'),
(823, 417, 1, 'Справочник областей (местоположений)', 'Список областей доставки определенной страны'),
(825, 418, 1, 'Название местоположения', 'Название местоположения'),
(827, 419, 1, 'Список городов', 'Список городов'),
(829, 420, 1, 'Редактировать', 'Редактирование текущего элемента'),
(831, 421, 1, 'Удалить', 'Удаление текущего элемента'),
(833, 422, 1, 'Справочник городов', 'Справочник городов местоположения'),
(835, 423, 1, 'Название города', 'Название города'),
(837, 424, 1, 'Районы', 'Районы'),
(839, 425, 1, 'Редактировать', 'Редактирование текущего элемента'),
(841, 426, 1, 'Удалить', 'Удаление текущего элемента'),
(843, 427, 1, 'Справочник районов городов', 'Справочник райнов городов'),
(845, 428, 1, 'Название района', 'Название района'),
(847, 429, 1, 'Редактирвать', 'Редактирование текущего элемента'),
(849, 430, 1, 'Удалить', 'Удаление текущего элемента'),
(851, 431, 1, 'Справочник единиц измерения', 'Справочник единиц измерения'),
(853, 432, 1, 'Название единицы измерения', 'Название единицы измерения'),
(855, 433, 1, 'Описание единицы измерения', 'Описание единицы измерения'),
(857, 434, 1, 'Редактирвать', 'Редактирование текущего элемента'),
(859, 435, 1, 'Удалить', 'Удаление текущего элемента'),
(861, 436, 1, 'Справочник статусов заказа', 'Справочник статусов заказа '),
(863, 437, 1, 'Название статуса заказа', 'Название статуса заказа'),
(865, 438, 1, 'Описание статуса заказа', 'Описание статуса заказа'),
(867, 439, 1, 'Редактировать', 'Редактирование текущего элемента'),
(869, 440, 1, 'Удалить', 'Удаление текущего элемента'),
(871, 441, 1, 'Организации', 'Список организаций'),
(873, 442, 1, 'Название организации', 'Название организации'),
(875, 443, 1, 'Адрес', 'Адрес организации'),
(877, 444, 1, 'ИНН', 'ИНН организации'),
(879, 445, 1, 'Редактировать', 'Редактировать текущий элемент'),
(881, 446, 1, 'Удалить', 'Удаление организации'),
(883, 447, 1, 'Товары и группы интернет-магазина', 'Содержимое интернет-магазина'),
(885, 448, 1, '', 'Тип'),
(887, 449, 1, 'Сортировка', 'Порядок сортировки'),
(889, 450, 1, 'Название', 'Название'),
(1546, 821, 1, 'Список поисковых систем', ''),
(895, 453, 1, 'Кол-во', 'Остаток на складе'),
(897, 454, 1, 'Цена', 'Цена'),
(899, 455, 1, '', 'Активность'),
(903, 457, 1, '', 'Сопут. товары'),
(905, 458, 1, '', 'Скидки'),
(907, 459, 1, '', 'Отзывы'),
(909, 460, 1, '', 'Модификации'),
(911, 461, 1, 'Редактировать', 'Редактирование текущего элемента'),
(921, 466, 1, 'Применить', 'Применить текущие изменения'),
(919, 465, 1, 'Удалить', 'Удаление текущего элемента'),
(923, 467, 1, 'Отзывы о товаре', 'Отзывы о товаре'),
(925, 468, 1, 'Код', 'Уникальный идентификатор элемента'),
(927, 469, 1, 'Дата/время', 'Дата/время добавления'),
(929, 470, 1, 'Автор', 'Автор'),
(931, 471, 1, 'Тема', 'Тема'),
(933, 472, 1, 'Оценка', 'Оценка'),
(935, 473, 1, 'Редактировать', 'Редактирование текущего элемента'),
(937, 474, 1, 'Удалить', 'Удаление текущего элемента '),
(939, 475, 1, 'Свойства товара', 'Список свойств товара'),
(941, 476, 1, 'Код', 'Уникальный идентификатор элемента'),
(943, 477, 1, 'Порядок сортировки', 'Определяет текущую позицию элемента относительно остальных элементов'),
(945, 478, 1, 'Название', 'Название элемента'),
(947, 479, 1, 'Наименование XML-тега', 'Наименование XML-тега'),
(949, 480, 1, 'Редактировать', 'Редактирование текущего элемента'),
(951, 481, 1, 'Удалить', 'Удаление текущего элемента'),
(953, 482, 1, 'Применить', 'Применить изменения для текущего списка элементов'),
(955, 483, 1, 'Справочник цен', 'Справочник цен'),
(957, 484, 1, 'Название цены', 'Название цены'),
(959, 485, 1, 'Процент к базовой', 'Процент к базовой'),
(965, 488, 1, 'Удалить', 'Удаление текущего элемента'),
(963, 487, 1, 'Редактировать', 'Редактирование текущего элемента'),
(967, 489, 1, 'Список производителей', 'Список производителей'),
(969, 490, 1, 'Сортировка', 'Порядок сортировки'),
(971, 491, 1, 'Название', 'Название'),
(973, 492, 1, 'Редактировать', 'Редактирование текущего элемента'),
(975, 493, 1, 'Удалить', 'Удаление текущего элемента'),
(977, 494, 1, 'Применить', 'Применение текущих изменений'),
(979, 495, 1, 'Продавцы', 'Список продавцов'),
(981, 496, 1, 'Продавец', 'Продавец'),
(983, 497, 1, 'Контактное лицо', 'Контактное лицо'),
(985, 498, 1, 'Сайт', 'Сайт'),
(987, 499, 1, 'E-Mail', 'E-Mail'),
(989, 500, 1, 'Редактирорвать', 'Редактировать текущий элемент'),
(991, 501, 1, 'Удалить', 'Удаление текущего элемента'),
(993, 502, 1, 'Свойства товаров, доступные для текущей группы товаров', 'Список свойств товаров текущей группы'),
(995, 503, 1, 'Название свойства', 'Название свойства'),
(997, 504, 1, 'Доступность', 'Доступность конкретного свойства'),
(999, 505, 1, 'Код', 'Уникальный идентификатор элемента'),
(1003, 507, 1, 'Справочник скидок', 'Список скидок, действующих в определенном магазине'),
(1005, 508, 1, 'Название скидки', 'Название скидки'),
(1007, 509, 1, 'Действует от', 'Начало действия скидки'),
(1009, 510, 1, 'Действует до', 'Окончание действия скидки'),
(1011, 511, 1, 'Активность', 'Статус активности данной скидки'),
(1013, 512, 1, 'Процент', 'Величина скидки (%)'),
(1015, 513, 1, 'Код', 'Уникальный идентификатор текущего элемента'),
(1017, 514, 1, 'Редактировать', 'Редактирование текущего элемента'),
(1019, 515, 1, 'Удалить', 'Удаление текущего элемента'),
(1021, 516, 1, 'Скидки от суммы заказа', 'Скидки от суммы заказа'),
(1023, 517, 1, 'Код', 'Уникальный идентификатор элемента'),
(1025, 518, 1, 'Название', 'Название скидки'),
(1027, 519, 1, 'Величина', 'Величина скидки'),
(1029, 520, 1, 'Сумма от', 'Сумма от '),
(1031, 521, 1, 'Сумма до', 'Сумма до'),
(1033, 522, 1, 'Дата от', 'Дата от'),
(1035, 523, 1, 'Дата до', 'Дата до'),
(1037, 524, 1, 'Активность', 'Активность скидки'),
(1039, 525, 1, 'Редактировать', 'Редактирование текущего элемента'),
(1041, 526, 1, 'Удалить', 'Удаление текущего элемента'),
(1043, 527, 1, 'Купоны для скидки', 'Список купонов определенной скидки'),
(1045, 528, 1, 'Код', 'Уникальный идентификатор элемента'),
(1047, 529, 1, 'Название', 'Название купона'),
(1049, 530, 1, 'Активность', 'Статус активности купона\r\n\r\n'),
(1051, 531, 1, 'Количество', 'Количество'),
(1053, 532, 1, 'Текст', 'Текст'),
(1055, 533, 1, 'Редактировать', 'Редактирование текущего элемента'),
(1057, 534, 1, 'Удалить', 'Удаление текущего элемента'),
(1059, 535, 1, 'Оформленные заказы', 'Список оформленных заказов'),
(1061, 536, 1, 'Код', 'Уникальный идентификатор'),
(1063, 537, 1, 'Дата заказа', 'Дата регистрации заказа'),
(1065, 538, 1, 'Заказчик', 'Заказчик'),
(1067, 539, 1, 'Сумма', 'Сумма заказа'),
(1069, 540, 1, 'Оплачен', 'Статус оплаты'),
(1071, 541, 1, 'Дата оплаты', 'Дата оплаты заказа'),
(1073, 542, 1, 'Товар', 'Товар'),
(1075, 543, 1, 'Редактировать', 'Редактирование текущего элемента'),
(1077, 544, 1, 'Удалить', 'Удаление текущего элемента'),
(1079, 545, 1, 'Список товаров в заказе', 'Список товаров в заказе'),
(1081, 546, 1, 'Наименование', 'Наименование продукта'),
(1083, 547, 1, 'Код', 'Уникальный идентификатор элемента'),
(1085, 548, 1, 'Артикул', 'Артикул товара'),
(1087, 549, 1, 'Количество', 'Количество конкретной единицы товара'),
(1089, 550, 1, 'Цена', 'Цена товара'),
(1091, 551, 1, 'Сумма', 'Итоговая сумма конкретного товара'),
(1093, 552, 1, 'Редактировать', 'Редактирование текущего элемента'),
(1101, 556, 1, 'Название', 'Название доставки'),
(1097, 554, 1, 'Удалить', 'Удаление текущего элемента'),
(1103, 557, 1, 'Условия доставки', 'Условия доставки'),
(1109, 560, 1, 'Удалить', 'Удалить текущий элемент\r\n'),
(1107, 559, 1, 'Редактировать', 'Редактирование текущего элемента'),
(1111, 561, 1, 'Список условий доставки', 'Список условий доставки конкретного типа доставки'),
(1113, 562, 1, 'Название', 'Название условия'),
(1115, 563, 1, 'Вес заказа от', 'Начальный вес заказа'),
(1117, 564, 1, 'до', 'Вес заказа до'),
(1119, 565, 1, 'Цена закза от', 'Начальная цена заказа'),
(1121, 566, 1, 'до', 'Конечная цена заказа'),
(1123, 567, 1, 'Цена', 'Цена заказа'),
(1125, 568, 1, 'Валюта', 'Валюта заказа'),
(1127, 569, 1, 'Редактировать', 'Редактирование текущего элемента'),
(1129, 570, 1, 'Удалить', 'Удаление текущего элемента'),
(1131, 571, 1, 'Сопутствующие товары', 'Список сопутствующих товаров'),
(1133, 572, 1, 'Название сопутствующего товара', 'Название сопутствующего товара'),
(1875, 1122, 1, 'Включить', ''),
(1874, 1121, 1, '', 'активность сопутствующего товара'),
(1139, 577, 1, 'Код', ''),
(1849, 1096, 1, 'Транзакции', 'Список транзакций'),
(1851, 1098, 1, 'Описание', 'Описание транзакции'),
(1852, 1099, 1, 'Сортировка', 'Порядок сортировки элемента относительно других элементов данной таблицы'),
(1853, 1100, 1, 'Применить', ''),
(1157, 586, 1, 'Список модификаций товара', 'Список модификаций товара'),
(1159, 587, 1, 'Код', 'Уникальный идентификатор элемента'),
(1161, 588, 1, 'Сортировка', 'Порядок сортировки'),
(1163, 589, 1, 'Название', 'Название'),
(1872, 1119, 1, 'Статус', ''),
(1167, 591, 1, 'Кол-во', 'Остаток на складе'),
(1169, 592, 1, 'Цена', 'Цена товара'),
(1873, 1120, 1, '', 'Тип данных (папка или элемент)'),
(1173, 594, 1, '', 'Активность'),
(1177, 596, 1, '', 'Сопутствующие товары'),
(1179, 597, 1, '', 'Скидки'),
(1181, 598, 1, '', 'Отзывы'),
(1183, 599, 1, 'Редактировать', 'Редактирование текущего элемента'),
(1185, 600, 1, 'Удалить', 'Удаление текущего элемента'),
(1187, 601, 1, 'Применить', 'Применить изменения'),
(1189, 602, 1, 'Код', 'Уникальный идентификатор элемента'),
(1191, 603, 1, 'Применить', ''),
(1193, 604, 1, 'Копировать', 'Копирование элементов'),
(1195, 605, 1, 'Код', 'Уникальный идентификатор элемента'),
(1197, 606, 1, 'Изменение активности', 'Изменение активности'),
(1199, 607, 1, 'Изменение активости элемента', 'Изменение активности элемента'),
(1201, 608, 1, 'Структура сайта', 'Форма отображения структуры сайта'),
(1203, 609, 1, 'Код', 'Уникальный идентификатор элемента'),
(1205, 610, 1, 'Сортировка', 'Порядок сортировок элементов'),
(1207, 611, 1, 'Название', 'Название раздела'),
(1245, 630, 1, 'Индексация', 'Статус индексации  текущего элемента'),
(1211, 613, 1, 'Путь', 'Адрес раздела');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1215, 615, 1, 'Активность', 'Статус активности элемента'),
(1219, 617, 1, 'Индексируется', 'Статус индексации элемента'),
(1221, 618, 1, 'Редактировать', 'Редактирование текущего элемента'),
(1223, 619, 1, 'Удалить', 'Удаление текущего элемента'),
(1237, 626, 1, 'Активность', 'Статус активности элемента'),
(1247, 631, 1, 'Применить', 'Применить текущие изменения'),
(1251, 633, 1, 'Добавить пользователя в группу', ''),
(1253, 634, 1, 'Список пользователей сайта определенной группы', 'Список всех пользователей сайта с возможность удаления/добавления пользователей в группу'),
(1255, 635, 1, 'Код', ''),
(1257, 636, 1, 'Логин', 'Логин пользователя'),
(1259, 637, 1, 'Имя', 'Имя пользователя'),
(1263, 639, 1, 'Фамилия', 'Фамилия пользователя'),
(1265, 640, 1, 'E-mail', 'Почта пользователя'),
(1267, 641, 1, 'В группе', 'Добавить/удалить пользователя в текущую группу'),
(1269, 642, 1, 'Применить', ''),
(1271, 643, 1, 'Изменить статус информационного элемента', ''),
(1273, 644, 1, 'Изменить статус индексированности информационного элемента', ''),
(1275, 645, 1, 'Изменить статус индексированности информационной группы', ''),
(1277, 646, 1, 'Изменить статус активности комментария', ''),
(1279, 647, 1, 'Дополнительные свойства раздела сайта', 'Список дополнительных свойств раздела сайта '),
(1281, 648, 1, 'Код', 'Уникальный идентификатор элемента'),
(1283, 649, 1, 'Сортировка', 'Порядок сортировки элемента относительно соседних элементов'),
(1285, 650, 1, 'Название', 'Название элемента'),
(1287, 651, 1, 'XML-тэг', 'XML тэг элемента'),
(1289, 652, 1, 'Редактировать', 'Редактирование текущего элемента'),
(1291, 653, 1, 'Удалить', 'Удаление текущего элемента'),
(1293, 654, 1, 'Применить', 'Применить текущие изменения для элементов формы\r\n'),
(1295, 655, 1, 'Запретить доступ', 'Запретить доступ для данного IP адреса'),
(1297, 656, 1, 'Не учитывать в статистике', 'Не учитывать в статистике посещаемости сайта'),
(1299, 657, 1, 'Меню сайта', 'Список разделов меню доступных конкретному сайту'),
(1301, 658, 1, 'Код', 'Уникальный идентификтор элемента'),
(1303, 659, 1, 'Название', 'Название раздела меню'),
(1305, 660, 1, 'Редактировать', 'Редактирование текущего элемента'),
(1307, 661, 1, 'Удалить', 'Удаление текущего элемента'),
(1309, 662, 1, 'Сортировка', ''),
(1311, 663, 1, 'Отобразить элементы списка', ''),
(1313, 664, 1, 'Код', 'Уникальный идентификатор элемента'),
(1315, 665, 1, 'Сортировка', 'Порядок сортировки конкретного элемента относительно других элементов в таблице'),
(1317, 666, 1, 'Применить', 'Применить текущие изменения'),
(1319, 667, 1, 'Код', 'Уникальный идентификатор элемента'),
(1321, 668, 1, 'Сортировка', 'Порядок текущего элемента относительно других в таблице определенный пользователем'),
(1323, 669, 1, 'Применить', 'Применить текущие изменения'),
(1325, 670, 1, 'Изменить активность модуля', ''),
(1327, 671, 1, 'Сортировка', 'Порядок сортировки элемента'),
(1329, 672, 1, 'Применить', 'Применить текущие изменения'),
(1331, 673, 1, 'Код', 'Уникальный идентификатор элемента'),
(1333, 674, 1, 'Сортировка', 'Порядок сортировки текущего элемента относительно других элементов в таблице'),
(1335, 675, 1, 'Применить', 'Применить текущие изменения'),
(1337, 676, 1, 'Показать значения полей', ''),
(1339, 677, 1, 'Копировать', 'Копировать список'),
(1341, 678, 1, 'Редактировать', 'Редактирование текущего элемента'),
(1345, 680, 1, 'Разослать', ''),
(1347, 681, 1, 'Активировать сайт', 'Включение/отключение активности сайта'),
(1349, 682, 1, 'Активность группы пользователей сайта', 'Сменить активность группы пользователей сайта'),
(1351, 683, 1, 'Код', 'Идентификатор группы пользователей'),
(1355, 685, 1, 'Осовной', 'Выбор основного домена'),
(1357, 686, 1, 'Подтверждение пользователя сайта', 'Изменение подтверждения пользователя сайта'),
(1359, 687, 1, 'Код', ''),
(1361, 688, 1, 'Подписан', ''),
(1582, 857, 1, 'Копировать', 'Копировать поле'),
(1369, 692, 1, 'Код', 'Идентификационный номер'),
(1377, 696, 1, 'Код', 'Уникальный идентификатор элемента'),
(1371, 693, 1, 'Подписана', ''),
(1373, 694, 1, 'Копировать', 'Копировать параметр'),
(1375, 695, 1, 'Код', 'Уникальный идентификатор элемента'),
(1379, 697, 1, '', ''),
(1381, 698, 1, 'Код', 'Уникальный идентификатор элемента '),
(1385, 700, 1, '', ''),
(1387, 701, 1, 'Сводная статистика', 'Сводная статистика посещаемости сайта'),
(1389, 702, 1, 'Параметры', ''),
(1391, 703, 1, 'Сегодня', ''),
(1393, 704, 1, 'Вчера', ''),
(1395, 705, 1, 'За 7 дней', ''),
(1397, 706, 1, 'За 30 дней', ''),
(1399, 707, 1, 'Всего', ''),
(1402, 708, 1, 'Код', ''),
(1406, 710, 1, 'Установка начальных значений параметров счетчика', ''),
(1408, 711, 1, 'Редактирование', 'Установление начального значения счетчика параметра статистики'),
(1437, 725, 1, 'Код', ''),
(1435, 724, 1, 'Языки центра администрирования', ''),
(1433, 723, 1, '', ''),
(1439, 726, 1, '', ''),
(1441, 727, 1, 'Название', ''),
(1443, 728, 1, 'Сортировка', ''),
(1445, 729, 1, 'Обозначение', ''),
(1447, 730, 1, 'Редактировать', ''),
(1449, 731, 1, 'Удалить', ''),
(1451, 732, 1, 'Применить', ''),
(1455, 734, 1, '', ''),
(1457, 735, 1, '', ''),
(1459, 736, 1, '', ''),
(1461, 737, 1, '', ''),
(1463, 568, 10, '', ''),
(1464, 739, 1, '', ''),
(1466, 741, 1, '', ''),
(1467, 742, 1, '', ''),
(1468, 743, 1, '''5555555555', '55555555555555'),
(1469, 744, 1, '''5555555555', '55555555555555'),
(1720, 971, 1, 'Статусы документов', ''),
(1471, 746, 1, '''111111', ''''),
(1472, 747, 1, '''111111', ''''),
(1473, 748, 1, '''111111', ''''),
(1721, 972, 1, 'Код', ''),
(1477, 752, 1, ''';ll', 'p[koplk'),
(1775, 1023, 1, '', ''),
(1480, 755, 1, 'Изменить статус активности', ''),
(1481, 756, 1, 'Посещаемость сайта', 'Статистика по сессиям, хостам, хитам, новым посетителям и поисковым ботам'),
(1482, 757, 1, 'Код', ''),
(1483, 758, 1, 'Дата', ''),
(1484, 759, 1, 'Хиты', ''),
(1485, 760, 1, 'Сессии', ''),
(1486, 761, 1, 'Хосты', ''),
(1487, 762, 1, 'Новые', ''),
(1488, 763, 1, 'Боты', ''),
(1489, 764, 1, 'Статистика по посетителям сайта', ''),
(1490, 765, 1, 'Код', ''),
(1491, 766, 1, 'IP-адрес', ''),
(1492, 767, 1, 'Посещенная страница', ''),
(1493, 768, 1, 'Откуда пришел', ''),
(1494, 769, 1, 'Дата', ''),
(1495, 770, 1, 'Код', 'Уникальный идентификатор элемента'),
(1496, 771, 1, 'Ссылающиеся страницы', ''),
(1497, 772, 1, '', ''),
(1499, 774, 1, 'Страница', ''),
(1500, 775, 1, 'Хиты', ''),
(1502, 777, 1, '', ''),
(1503, 778, 1, 'Дата', ''),
(1504, 779, 1, '', ''),
(1505, 780, 1, 'Список популярных страниц', ''),
(1523, 798, 1, 'Список поисковых фраз', ''),
(1507, 782, 1, 'Дата', ''),
(1508, 783, 1, 'Хиты', ''),
(1510, 785, 1, 'Страница', ''),
(1511, 786, 1, 'Пользовательские агенты', ''),
(1513, 788, 1, 'Дата', ''),
(1514, 789, 1, 'Пользовательский агент', ''),
(1515, 790, 1, 'Хиты', ''),
(1517, 792, 1, 'Список видов счетчиков', ''),
(1518, 793, 1, 'Код', ''),
(1519, 794, 1, 'Название', ''),
(1520, 795, 1, 'Изображение', ''),
(1521, 796, 1, 'Код счетчика', ''),
(1522, 797, 1, 'Код счетчика', ''),
(1524, 799, 1, 'Поисковая фраза', ''),
(1525, 800, 1, 'Хиты', ''),
(1527, 802, 1, 'Журнал поисковых запросов', 'Отображает список поисковых запросов на сайте'),
(1533, 808, 1, 'Дата', 'Дата события'),
(1529, 804, 1, 'Запрос', 'Текст запроса'),
(1530, 805, 1, 'Количество', 'Количество запросов с данным текстом'),
(1531, 806, 1, 'Дата', ''),
(1532, 807, 1, 'Процент', 'Количество запросов конкретного текста относительно других текстов'),
(1534, 809, 1, 'Журнал событий', 'Журнал событий системы'),
(1539, 814, 1, 'Страница/пользователь', 'Пользователь вызвавший событие'),
(1538, 813, 1, 'Дата', 'Дата события'),
(1541, 816, 1, 'Событие', 'Описание события'),
(1774, 1022, 1, 'Отменен', 'Заказ отменен'),
(1547, 822, 1, 'Дата', ''),
(1548, 823, 1, 'Поисковый запрос', ''),
(1549, 824, 1, 'Поисковая система', ''),
(1550, 825, 1, 'Хиты', ''),
(1729, 979, 1, 'Название', ''),
(1554, 829, 1, 'Код', ''),
(1555, 830, 1, 'Статистика по операционным системам', ''),
(1556, 831, 1, 'Дата', ''),
(1557, 832, 1, 'Операционная система', ''),
(1558, 833, 1, 'Хиты', ''),
(1560, 835, 1, 'Статистика по браузерам', ''),
(1561, 836, 1, 'Дата', ''),
(1562, 837, 1, 'Браузер', ''),
(1563, 838, 1, 'Хиты', ''),
(1565, 840, 1, '''hjk,mhjm''', ''''),
(1566, 841, 1, '''hjk,mhjm''', ''''),
(1620, 895, 1, '''forma''', '''hghghghghghgh'''),
(1569, 844, 1, '''', ''''),
(1570, 845, 1, '''', ''''),
(1571, 846, 1, '''', ''''),
(1592, 867, 1, '', ''),
(1631, 906, 1, '''deistvie''', '''fgjvdfkgdlfglfjkgdf'''),
(1574, 849, 1, '''', ''''),
(1575, 850, 1, '''', ''''),
(1576, 851, 1, '''hl', ''''),
(1577, 852, 1, '''hl', ''''),
(1578, 853, 1, '''hl', '''pop-'),
(1649, 915, 18, '', ''),
(1628, 903, 1, '''pole'' [Копия 27.12.2007 11:23:11]', '''jkjhkjh'''),
(1605, 880, 1, 'Копировать', ''),
(1600, 875, 1, 'Код', ''),
(1604, 879, 1, 'Копировать', 'Копирование выбранных элементов'),
(1606, 881, 1, '''hl [Копия 26.12.2007 16:29:03]', '''pop-'),
(1607, 882, 1, 'l;kl; [Копия 26.12.2007 16:38:34]', 'l;jkl;jl;'),
(1608, 883, 1, 'l;kl; [Копия 26.12.2007 16:38:43]', 'l;jkl;jl;'),
(1609, 884, 1, 'l;kl; [Копия 26.12.2007 16:40:30]', 'l;jkl;jl;'),
(1621, 896, 1, '''forma''', '''hghghghghghgh'''),
(1622, 897, 1, '''forma''', '''hghghghghghgh'''),
(1623, 898, 1, '''pole''', '''jkjhkjh'''),
(1624, 899, 1, '''pole'' [Копия 27.12.2007 11:19:55]', '''jkjhkjh'''),
(1647, 914, 18, '', ''),
(1648, 914, 1, 'Дата', ''),
(1683, 934, 1, 'Статистика по глубине цвета', ''),
(1632, 907, 1, '''deistvie''', '''fgjvdfkgdlfglfjkgdf'''),
(1641, 271, 18, '', ''),
(1642, 838, 18, '', ''),
(1636, 911, 1, '''pole'' [Копия 27.12.2007 12:29:24]', '''jkjhkjh'''),
(1638, 730, 18, '', ''),
(1639, 9, 18, '', ''),
(1640, 25, 18, '', ''),
(1644, 835, 18, '', ''),
(1645, 913, 18, '', ''),
(1646, 913, 1, 'Разрешение экрана', ''),
(1650, 915, 1, 'Разрешение экрана', ''),
(1651, 916, 18, '', ''),
(1652, 916, 1, 'Хиты', ''),
(1726, 977, 1, 'Удалить', ''),
(1655, 918, 18, '', ''),
(1656, 918, 1, 'Версии документа', ''),
(1657, 919, 18, '', ''),
(1658, 919, 1, 'Код', ''),
(1659, 920, 18, '', ''),
(1660, 920, 1, 'Текущая', ''),
(1661, 921, 18, '', ''),
(1662, 921, 1, 'Дата', ''),
(1663, 922, 18, '', ''),
(1664, 922, 1, 'Пользователь', ''),
(1730, 980, 1, 'Удалить нетекущие версии раздела', 'Удаление нетекущих версий документов раздела'),
(1667, 924, 18, '', ''),
(1668, 924, 1, 'Комментарий', ''),
(1669, 67, 18, '', ''),
(1670, 925, 18, '', ''),
(1671, 925, 1, 'Изменение текущей версии документа', ''),
(1672, 926, 18, 'Копировать', ''),
(1673, 926, 1, 'Копировать', ''),
(1674, 927, 1, 'Редактировать', ''),
(1675, 928, 1, 'Удалить', ''),
(1676, 929, 1, 'Удалить нетекущие версии', ''),
(1684, 935, 1, 'Дата', ''),
(1685, 936, 1, 'Глубина цвета', ''),
(1686, 937, 1, 'Хиты', ''),
(1688, 939, 1, 'Статистика по использованию cookies', ''),
(1689, 940, 1, 'Использование cookies', ''),
(1690, 941, 1, 'Хиты', ''),
(1725, 976, 1, 'Редактировать', ''),
(1692, 943, 1, 'Дата', ''),
(1693, 944, 1, 'Статистика по использованию Java', ''),
(1694, 945, 1, 'Дата', ''),
(1695, 946, 1, 'Поддерживает Java', ''),
(1696, 947, 1, 'Хиты', ''),
(1724, 975, 1, 'Удалить', ''),
(1698, 949, 1, 'Статистика по использованию JavaScript', ''),
(1699, 950, 1, 'Дата', ''),
(1700, 951, 1, 'Версия Java Script', ''),
(1701, 952, 1, 'Хиты', ''),
(1703, 954, 1, 'Статистика поисковых ботов', ''),
(1704, 955, 1, 'Дата', ''),
(1705, 956, 1, 'Поисковый бот', ''),
(1706, 957, 1, 'Хиты', ''),
(1723, 974, 1, 'Редактировать', ''),
(1708, 959, 1, 'Статистика по посещенным ботами страниц', ''),
(1709, 960, 1, 'Дата', ''),
(1710, 961, 1, 'Время', ''),
(1711, 962, 1, 'Поисковой бот', ''),
(1719, 970, 1, 'Посещенная страница', ''),
(1713, 964, 1, 'Статистика IP-адресам', ''),
(1714, 965, 1, 'Дата', ''),
(1715, 966, 1, 'IP-адрес', ''),
(1716, 967, 1, 'Хост', ''),
(1717, 968, 1, 'Хиты', ''),
(1722, 973, 1, 'Название', ''),
(1734, 983, 1, 'Список оптимизированных таблиц', ''),
(1735, 984, 1, 'Название таблицы', ''),
(1736, 985, 1, 'Операция', ''),
(1737, 986, 1, 'Тип сообщения', ''),
(1738, 987, 1, 'Текст сообщения', ''),
(1739, 988, 1, 'Список исправленных таблиц', ''),
(1740, 989, 1, 'Название таблицы', ''),
(1741, 990, 1, 'Операция', ''),
(1742, 991, 1, 'Тип сообщения', ''),
(1743, 992, 1, 'Текст сообщения', ''),
(1744, 993, 1, 'Файловый менеджер', ''),
(1745, 994, 1, 'Имя', 'Название файла/директории'),
(1746, 995, 1, 'Дата', 'Дата создания/изменения'),
(1747, 996, 1, 'Размер', ''),
(1748, 997, 1, 'Атрибуты', ''),
(1750, 999, 1, 'Редактировать', 'Редактировать файл'),
(1751, 1000, 1, 'Удалить', ''),
(1752, 1001, 1, '', ''),
(1754, 1003, 1, 'Изменить статус доступа', ''),
(1755, 1004, 1, 'Изменить статус доступа', ''),
(1756, 1005, 1, 'Изменить статус доступа', ''),
(1757, 1006, 1, 'Включить доступ', ''),
(1758, 1007, 1, 'Выключить доступ', ''),
(1759, 1008, 1, 'Выключить доступ', ''),
(1760, 1009, 1, 'Скачать', ''),
(1790, 1037, 1, '', ''),
(1789, 1036, 1, 'Показывать', 'Отображать ли данный комментарий в списке комментариев'),
(1791, 1038, 1, 'Файловый менеджер для визуального редактора', ''),
(1792, 1039, 1, '', ''),
(1793, 1040, 1, 'Имя', 'Название файла/директории'),
(1794, 1041, 1, 'Дата', 'Дата создания/изменения'),
(1795, 1042, 1, 'Размер', ''),
(1796, 1043, 1, 'Атрибуты', ''),
(1797, 1044, 1, 'Выбрать', ''),
(1798, 1045, 1, 'Редактировать', ''),
(1799, 1046, 1, 'Удалить', ''),
(1800, 1047, 1, 'Кэш', 'Список кэшей'),
(1801, 1048, 1, 'Название кэша', ''),
(1802, 1049, 1, 'Элементов', ''),
(1820, 1067, 1, 'Разрешить доступ', 'Разрешение доступа группы пользователей к нескольким (или всем сразу) модулям системы'),
(1804, 1051, 1, 'Заполненно', ''),
(1805, 1052, 1, 'Размер блока', ''),
(1806, 1053, 1, 'Актуально', ''),
(1807, 1054, 1, 'Активность', ''),
(1810, 1057, 1, 'Очистить весь кэш', ''),
(1809, 1056, 1, 'Очистить', ''),
(1811, 1058, 1, '', ''),
(1821, 1068, 1, 'Запретить доступ', 'Запретить доступ группе пользователей для нескольких (или всех) модулей системы'),
(1822, 1069, 1, '', ''),
(1823, 1070, 1, 'Список электронных товаров', ''),
(1824, 1071, 1, 'Код', ''),
(1825, 1072, 1, 'Название', ''),
(1826, 1073, 1, 'Количество', ''),
(1827, 1074, 1, 'Редактировать', ''),
(1829, 1076, 1, 'Удалить', ''),
(1830, 1077, 1, 'Очистить статичный кэш для текущего сайта', ''),
(1831, 1078, 1, 'Очистить статичный кэш для всех сайтов', ''),
(1832, 1079, 1, 'Лиц. счета', 'Поле со ссылкой на лицевые счета пользователей в магазинах'),
(1834, 1081, 1, 'Лицевые счета пользователя', ''),
(1835, 1082, 1, 'Название магазина', 'Поле с названием магазина'),
(1836, 1083, 1, 'Сумма на счете', ''),
(1837, 1084, 1, 'Валюта магазина', 'Основная валюта магазина'),
(1838, 1085, 1, 'Транзакции пользователя', 'Список транзакций определенного пользователя'),
(1839, 1086, 1, 'Код', 'Уникальный идетнификатор элемента'),
(1840, 1087, 1, 'Код', 'Уникальный идентификатор элемента'),
(1841, 1088, 1, 'Активность', 'Активность транзакции'),
(1842, 1089, 1, 'Дата', 'Дата транзакции'),
(1843, 1090, 1, 'Сумма', 'Сумма транзакции'),
(1844, 1091, 1, 'Валюта', 'Валюта транзакции'),
(1845, 1092, 1, 'В валюте магазина', 'Сумма в валюте магазина'),
(1846, 1093, 1, 'Заказ', 'Номер заказа'),
(1847, 1094, 1, 'Редактировать', 'Редактирование текущего элемента'),
(1848, 1095, 1, 'Активность транзакции', ''),
(1854, 1101, 1, 'Сортировка', 'Сортировка текущего элемента относительно остальных'),
(1856, 1103, 1, 'Применить', 'Применение текущих изменений'),
(1857, 1104, 1, 'Свойства группы товаров', ''),
(1858, 1105, 1, 'Код', 'Уникальный идентификатор элемента текущей формы'),
(1859, 1106, 1, 'Название', 'Название элемента'),
(1860, 1107, 1, 'Наименование XML-тега', 'Наименование XML-тега'),
(1861, 1108, 1, 'Сортировка', 'Порядок сортировки элемента относительно другого элемента'),
(1862, 1109, 1, 'Редактировать', 'Редактирование текущего элемента'),
(1863, 1110, 1, 'Удалить', 'Удаление текущего элемента'),
(1864, 1111, 1, 'Применить', ''),
(1865, 1112, 1, 'Сортировка', 'Порядок сортировки'),
(1866, 1113, 1, 'Сортировка', 'Порядок сортировки'),
(1867, 1114, 1, 'Применить', 'Применить текущие изменения'),
(1868, 1115, 1, 'Код', 'Уникальный идентификатор текущего элемента'),
(1876, 1123, 1, 'Выключить', '');

-- --------------------------------------------------------

INSERT INTO `modules_table` (`modules_name`, `modules_description`, `modules_status`, `modules_path`, `modules_order`) VALUES ('Формы центра администрирования', '', 1, 'admin_forms', 80);

ALTER TABLE `templates_table` ADD `users_id` INT( 10 ) NOT NULL ;

ALTER TABLE `advertisement_table` ADD `advertisement_date_from` DATETIME NOT NULL ,
ADD `advertisement_date_to` DATETIME NOT NULL ;

ALTER TABLE `menu_table` ADD `menu_order` INT( 11 ) NOT NULL DEFAULT '0';

UPDATE `lib_property_table` SET `lib_id` = '17' WHERE `lib_property_id` = 49 LIMIT 1;

UPDATE `lib_property_table` SET `lib_id` = '17' WHERE `lib_property_id` = 50 LIMIT 1;

ALTER TABLE `site_users_properties_table` ADD INDEX ( `site_users_id` );
ALTER TABLE `site_users_properties_table` ADD INDEX ( `site_users_extra_property_id` );
ALTER TABLE `site_users_extra_properties_table` ADD INDEX ( `site_users_extra_property_order` );
ALTER TABLE `forums_theme_table` ADD INDEX ( `forums_theme_notice` );

UPDATE `shop_groups_table` SET `shop_groups_small_image` = CONCAT( 'small_', `shop_groups_image` ) WHERE TRIM( `shop_groups_image` ) != '';
UPDATE `shop_properties_items_table` SET `shop_properties_items_value_small` = CONCAT( 'small_', `shop_properties_items_value` ) WHERE TRIM( `shop_properties_items_value` ) != '';
UPDATE `shop_properties_items_table` SET `shop_properties_items_file` = `shop_properties_items_value`;
UPDATE `shop_properties_items_table` SET `shop_properties_items_file_small` = `shop_properties_items_value_small`;

-- Указание ID сайта
UPDATE `documents_dir_table` SET `site_id` = 1;
UPDATE `documents_table` SET `site_id` = 1;
UPDATE `documents_status_table` SET `site_id` = 1;
UPDATE `maillist_table` SET `site_id` = 1;
UPDATE `advertisement_group_table` SET `site_id` = 1;
UPDATE `advertisement_table` SET `site_id` = 1;
UPDATE `lists_table` SET `site_id` = 1;
UPDATE `forms_table` SET `site_id` = 1;
UPDATE `templates_table` SET `site_id` = 1;
UPDATE `data_templates_table` SET `site_id` = 1;

-- 5.0.5

ALTER TABLE `shop_cond_of_delivery_table` CHANGE `shop_cond_of_delivery_weight_from` `shop_cond_of_delivery_weight_from` DECIMAL( 8, 2 ) NULL DEFAULT NULL ,
CHANGE `shop_cond_of_delivery_weight_to` `shop_cond_of_delivery_weight_to` DECIMAL( 8, 2 ) NULL DEFAULT NULL ,
CHANGE `shop_cond_of_delivery_price_from` `shop_cond_of_delivery_price_from` DECIMAL( 8, 2 ) NULL DEFAULT NULL ,
CHANGE `shop_cond_of_delivery_price_to` `shop_cond_of_delivery_price_to` DECIMAL( 8, 2 ) NULL DEFAULT NULL;

-- 5.0.6

INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (338, 1126, 71, 'change_access_status_on_for_children', '/admin/images/check.gif', 0, 1, 40, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (339, 1127, 71, 'change_access_status_off_for_children', '/admin/images/not_check.gif', 0, 1, 50, -1, 0, 19);

INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1126, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1127, 19);

INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1879, 1126, 1, 'Включить доступ всем подчиненным', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1880, 1127, 1, 'Выключить доступ всем подчиненным', '');

UPDATE `admin_words_value_table` SET  `admin_words_value_name` = '' WHERE `admin_words_value_id` = 1215;
UPDATE `admin_words_value_table` SET  `admin_words_value_name` = '' WHERE `admin_words_value_id` = 1219;

INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (637, 82, 1128, 'menu_table.menu_id', 45, 10, '', 1, 1, 'left', 'left', '60px', '', '', '', '', '', '', 19);

INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1128, 19);

INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1881, 1128, 1, 'Меню', '');

-- 5.0.7

INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (638, 12, 1129, 'date', 30, 5, '', 1, 1, 'left', 'left', '80px', '', '', '', '', '', '', 19);
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1882, 1129, 1, 'Дата', '');
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1129, 19);


INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (639, 81, 1130, 'shop_items_catalog_type', 105, 10, '', 0, 0, 'left', 'center', '16px', 'widht: 16px;', '', '', '', '', '', 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1130, 19);
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1883, 1130, 1, '', '');

-- 5.0.8

UPDATE `admin_words_value_table` SET `admin_words_value_name` = '' WHERE admin_words_value_id = 169 LIMIT 1;
UPDATE `admin_words_value_table` SET `admin_words_value_name` = '' WHERE admin_words_value_id = 171 LIMIT 1;

CREATE TABLE  IF NOT EXISTS `users_type_events_access_table` (
  `users_type_avents_access_id` int(11) NOT NULL auto_increment,
  `users_type_id` int(11) NOT NULL,
  `admin_forms_events_id` int(11) NOT NULL,
  `site_id` int(11) NOT NULL,
  PRIMARY KEY  (`users_type_avents_access_id`),
  KEY `site_id` (`site_id`),
  KEY `users_type_id` (`users_type_id`),
  KEY `admin_forms_events_id` (`admin_forms_events_id`)
) ENGINE=MyISAM;

INSERT INTO `admin_forms_table` (`admin_forms_id`, `admin_words_id`, `admin_forms_on_page`, `admin_forms_key_field`, `admin_forms_show_operations`, `admin_forms_show_group_operations`, `admin_forms_default_order_field`, `admin_forms_default_order_direction`, `admin_forms_group_operations_as_images`, `users_id`) VALUES (138, 1134, 20, 'admin_forms_id', 1, 1, 'admin_forms_id', 1, 1, 19);
INSERT INTO `admin_forms_table` (`admin_forms_id`, `admin_words_id`, `admin_forms_on_page`, `admin_forms_key_field`, `admin_forms_show_operations`, `admin_forms_show_group_operations`, `admin_forms_default_order_field`, `admin_forms_default_order_direction`, `admin_forms_group_operations_as_images`, `users_id`) VALUES (139, 1138, 20, 'admin_forms_events_id', 1, 1, 'admin_forms_events_id', 1, 1, 19);


INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (641, 138, 1135, 'admin_forms_id', 10, 1, '', 1, 1, 'left', 'left', '45px', '', 'width: 45px;', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (642, 138, 1136, 'admin_words_value_name', 20, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (643, 138, 1137, '', 30, 7, '', 0, 0, 'center', 'center', '50px', '', '', '=/admin/images/lightning_shield.gif', '/admin/users_access/users_access.php?admin_forms_id=139&operation=show_users_access_avents&check_0_{admin_forms_id}=1&access_admin_forms_id={admin_forms_id}&users_type_id={users_type_id}', 'TrigerSingleAction(''/admin/users_access/users_access.php'', ''&access_admin_forms_id={admin_forms_id}&users_type_id={users_type_id}'', ''show_users_access_avents'', ''check_0_{admin_forms_id}'',139, 0, 0, 0, 1); return false;', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (644, 139, 1140, 'admin_forms_events_id', 10, 1, '', 1, 1, 'left', 'left', '45px', '', 'width: 45px;', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (645, 139, 1141, 'admin_words_value_name', 20, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (646, 139, 1142, 'admin_forms_events_function', 30, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (647, 139, 1144, 'events_id', 40, 3, '', 1, 1, 'center', 'center', '50px', '', 'width: 50px;', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (648, 70, 1148, 'shop_sallers_id', 5, 1, '', 1, 1, 'left', 'left', '45px', 'width: 45px;', '', '', '', '', '', 19);


INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1134, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1135, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1136, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1137, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1138, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1140, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1141, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1142, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1143, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1144, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1145, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1146, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1147, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1148, 19);

INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1887, 1134, 1, 'Группы пользователей - список форм центра администрирования', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1888, 1135, 1, 'Код', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1889, 1136, 1, 'Название формы', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1890, 1137, 1, 'Доступ к действию', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1891, 1138, 1, 'Права доступа к действиям', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1893, 1140, 1, 'Код', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1894, 1141, 1, 'Название', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1895, 1142, 1, 'Функция', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1896, 1143, 1, 'Доступ', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1897, 1144, 1, 'Доступ', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1898, 1145, 1, 'Применить', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1899, 1146, 1, 'Разрешить все действия', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1900, 1147, 1, 'Запретить все действия', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1901, 1148, 1, 'Код', '');

INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (342, 1145, 139, 'apply_users_type_access', '/admin/images/apply.gif', 0, 1, 10, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (343, 1146, 138, 'change_events_access_status_on', '/admin/images/check.gif', 0, 1, 10, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (344, 1147, 138, 'change_events_access_status_off', '/admin/images/not_check.gif', 0, 1, 20, -1, 0, 19);

-- 5.0.9

ALTER TABLE `shop_items_catalog_table` ADD `shop_items_catalog_yandex_market_sales_notes` VARCHAR( 50 ) NOT NULL AFTER `shop_items_catalog_yandex_market_cid` ;

INSERT INTO `constants_table` ( `constants_id` , `constants_name` , `constants_value` , `constants_description` , `constants_activity` ) VALUES (NULL , 'CURRENT_VERSION', '5.0.9', 'Текущая версия системы', '1');

-- 5.1.0

ALTER TABLE `shop_shops_table` ADD `shop_shops_url_type` TINYINT( 4 ) NOT NULL ;

INSERT INTO `constants_table` ( `constants_id` , `constants_name` , `constants_value` , `constants_description` , `constants_activity` ) VALUES (NULL , 'HOSTCMS_UPDATE_SERVER', 'www.hostcms.ru', '', '1');
INSERT INTO `constants_table` ( `constants_id` , `constants_name` , `constants_value` , `constants_description` , `constants_activity` ) VALUES (NULL , 'HOSTCMS_UPDATE_NUMBER', '0', '', '1');

UPDATE `constants_table` SET `constants_value` = '5.1.0' WHERE `constants_name` = 'CURRENT_VERSION';

ALTER TABLE `shop_shops_table` ADD `shop_format_date` VARCHAR( 30 ) NOT NULL DEFAULT '%d.%m.%Y',
ADD `shop_format_datetime` VARCHAR( 30 ) NOT NULL DEFAULT '%d.%m.%Y %H:%M:%S';


INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (345, 1149, 42, 'show_regdata', '', 0, 0, 40, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (346, 1151, 43, 'key_press', '', 0, 0, 0, -1, 0, 19);

INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1149, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1150, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1151, 19);

INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1902, 1149, 1, ' ', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1903, 1150, 1, 'Ключ', 'Получение ключа для домена');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1904, 1151, 1, ' ', '');

INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (649, 43, 1150, 'key', 30, 7, '', 0, 0, 'left', 'center', '16px', 'widht: 16px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (650, 140, 1153, 'keyfield', 0, 1, '', 0, 0, 'left', 'left', '', '', '', '', '', '', '', 19);

-- 5.1.1

INSERT INTO `admin_forms_table` (`admin_forms_id`, `admin_words_id`, `admin_forms_on_page`, `admin_forms_key_field`, `admin_forms_show_operations`, `admin_forms_show_group_operations`, `admin_forms_default_order_field`, `admin_forms_default_order_direction`, `admin_forms_group_operations_as_images`, `users_id`) VALUES (140, 1152, 20, 'update_id', 1, 1, '', 1, 1, 19);

INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (347, 1156, 140, 'install', '/admin/images/apply.gif', 1, 1, 10, -1, 0, 19);

INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1152, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1153, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1154, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1155, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1156, 19);

INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1905, 1152, 1, 'Обновления', 'Список обновлений системы');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1906, 1153, 1, 'Код', 'Уникальный идентификатор элемента');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1907, 1154, 1, 'Название', 'Название обновления');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1908, 1155, 1, 'Описание', 'Описание обновления');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1909, 1156, 1, 'Установить', 'Установка обновлений');

DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 650;

INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (650, 140, 1153, 'update_id', 10, 1, '', 0, 0, 'left', 'left', '16px', 'widht: 16px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (651, 140, 1154, 'update_name', 20, 1, '', 0, 0, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (652, 140, 1155, 'update_description', 30, 1, '', 0, 0, 'left', 'left', '', '', '', '', '', '', '', 19);

ALTER TABLE `shop_shops_table` ADD `shop_typograph_item_by_default` INT( 1 ) NOT NULL ,
ADD `shop_typograph_group_by_default` INT( 1 ) NOT NULL ;

ALTER TABLE `information_systems_table` CHANGE `information_systems_watermark_file` `information_systems_watermark_file` VARCHAR( 255 ) CHARACTER SET cp1251 COLLATE cp1251_general_ci NULL;

ALTER TABLE `admin_forms_events_table` AUTO_INCREMENT = 100000;
ALTER TABLE `admin_forms_field_table` AUTO_INCREMENT = 100000;
ALTER TABLE `admin_forms_settings_table` AUTO_INCREMENT = 100000;
ALTER TABLE `admin_forms_table` AUTO_INCREMENT = 100000;
ALTER TABLE `admin_language_table` AUTO_INCREMENT = 100000;
ALTER TABLE `admin_words_table` AUTO_INCREMENT = 100000;
ALTER TABLE `admin_words_value_table` AUTO_INCREMENT = 100000;

CREATE TABLE IF NOT EXISTS `shop_properties_items_dir_table` (
  `shop_properties_items_dir_id` int(11) NOT NULL auto_increment,
  `shop_shops_id` int(11) NOT NULL,
  `shop_properties_items_dir_parent_id` int(11) NOT NULL,
  `shop_properties_items_dir_name` varchar(255) NOT NULL,
  `shop_properties_items_dir_description` text NOT NULL,
  `shop_properties_items_dir_order` int(11) NOT NULL,
  PRIMARY KEY  (`shop_properties_items_dir_id`),
  KEY `shop_shops_id` (`shop_shops_id`),
  KEY `shop_properties_items_dir_parent_id` (`shop_properties_items_dir_parent_id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=cp1251 AUTO_INCREMENT=1 ;

ALTER TABLE `shop_list_of_properties_table` ADD `shop_properties_items_dir_id` INT( 11 ) NOT NULL ;
ALTER TABLE `shop_list_of_properties_table` ADD INDEX ( `shop_properties_items_dir_id` ) ;

CREATE TABLE IF NOT EXISTS `information_propertys_items_dir_table` (
  `information_propertys_items_dir_id` int(11) NOT NULL auto_increment,
  `information_systems_id` int(11) NOT NULL,
  `information_propertys_items_dir_parent_id` int(11) NOT NULL,
  `information_propertys_items_dir_name` varchar(255) NOT NULL,
  `information_propertys_items_dir_description` text NOT NULL,
  `information_propertys_items_dir_order` int(11) NOT NULL,
  PRIMARY KEY  (`information_propertys_items_dir_id`),
  KEY `information_systems_id` (`information_systems_id`)
) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=cp1251 AUTO_INCREMENT=1 ;

ALTER TABLE `information_propertys_table` ADD `information_propertys_items_dir_id` INT( 11 ) NOT NULL AFTER `information_systems_id` ;
ALTER TABLE `information_propertys_table` ADD INDEX ( `information_propertys_items_dir_id` ) ;

DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 256;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 257;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 258;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 259;

INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (256, 67, 476, 'code', 10, 1, '', 1, 1, 'left', 'left', '45px', 'width: 45px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (257, 67, 477, 'order_field', 41, 2, '', 1, 1, 'left', 'center', '80px', 'width: 80px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (258, 67, 478, 'name', 30, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (259, 67, 479, 'shop_list_of_properties_xml_name', 40, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (348, 1157, 140, 'get_update_data', '', 0, 0, 0, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (349, 1158, 67, 'add_dir_property', '', 0, 0, 0, -1, 0, 19);

INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1157, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1158, 19);

INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1910, 1157, 1, ' ', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1911, 1158, 1, ' ', '');

INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (653, 43, 1159, 'alias_id', 5, 1, '', 1, 1, 'left', 'left', '45px', 'width: 45px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (654, 67, 1160, 'type', 15, 7, '', 0, 0, 'left', 'left', '16px', 'width: 16px;', '', '', '', '', '', 19);

DELETE FROM `admin_forms_table` WHERE `admin_forms_id` = 67;

INSERT INTO `admin_forms_table` (`admin_forms_id`, `admin_words_id`, `admin_forms_on_page`, `admin_forms_key_field`, `admin_forms_show_operations`, `admin_forms_show_group_operations`, `admin_forms_default_order_field`, `admin_forms_default_order_direction`, `admin_forms_group_operations_as_images`, `users_id`) VALUES (67, 475, 10, 'code', 1, 1, 'shop_list_of_properties_order', 1, 1, 19);

UPDATE `constants_table` SET `constants_value` = '5.1.1' WHERE `constants_name` = 'CURRENT_VERSION';

-- 5.1.2

CREATE TABLE  IF NOT EXISTS `shop_properties_groups_dir_table` (
`shop_properties_groups_dir_id` INT( 11 ) NOT NULL ,
`shop_shops_id` INT( 11 ) NOT NULL ,
`shop_properties_groups_dir_parent_id` MEDIUMINT( 11 ) NOT NULL ,
`shop_properties_groups_dir_name` VARCHAR( 255 ) CHARACTER SET cp1251 COLLATE cp1251_general_ci NOT NULL ,
`shop_properties_groups_dir_description` TEXT CHARACTER SET cp1251 COLLATE cp1251_general_ci NOT NULL ,
`shop_properties_groups_dir_order` INT( 11 ) NOT NULL ,
PRIMARY KEY ( `shop_properties_groups_dir_id` ) ,
INDEX ( `shop_shops_id` )
) ENGINE = MYISAM ;

ALTER TABLE `shop_properties_groups_dir_table` CHANGE `shop_properties_groups_dir_id` `shop_properties_groups_dir_id` INT( 11 ) NOT NULL AUTO_INCREMENT;

ALTER TABLE `shop_properties_group_table` ADD `shop_properties_groups_dir_id` INT( 11 ) NOT NULL;

ALTER TABLE `shop_properties_group_table` ADD INDEX ( `shop_properties_groups_dir_id` );

ALTER TABLE `shop_properties_groups_dir_table` CHANGE `shop_properties_groups_dir_parent_id` `shop_properties_groups_dir_parent_id` INT( 11 ) NOT NULL;

INSERT INTO `constants_table` ( `constants_name` , `constants_value` , `constants_description` , `constants_activity` ) VALUES ('LOG_DAYS_LIMIT', '30', 'Константа, определяющая количество дней, за которые хранятся log-файлы', '1');

CREATE TABLE IF NOT EXISTS `information_propertys_groups_dir_table` (
  `information_propertys_groups_dir_id` int(11) NOT NULL auto_increment,
  `information_systems_id` int(11) NOT NULL,
  `information_propertys_groups_dir_parent_id` int(11) NOT NULL,
  `information_propertys_groups_dir_name` varchar(255) NOT NULL,
  `information_propertys_groups_dir_description` text NOT NULL,
  `information_propertys_groups_dir_order` int(11) NOT NULL,
  PRIMARY KEY  (`information_propertys_groups_dir_id`),
  KEY `information_systems_id` (`information_systems_id`),
  KEY `information_propertys_groups_dir_parent_id` (`information_propertys_groups_dir_parent_id`)
) ENGINE=MyISAM DEFAULT CHARSET=cp1251 ;

ALTER TABLE `information_items_table` ADD `information_items_blog_accessibility` TINYINT NOT NULL ,
ADD `information_items_blog_show_comments_mode` TINYINT NOT NULL ,
ADD `information_items_blog_add_comments_mode` TINYINT NOT NULL ;

ALTER TABLE `information_groups_table` ADD `information_groups_activity` TINYINT NOT NULL AFTER `information_groups_access` ,
ADD `information_groups_blog_type` TINYINT NOT NULL AFTER `information_groups_activity` ,
ADD `information_groups_blog_item_default_accessibility` TINYINT NOT NULL AFTER `information_groups_blog_type` ,
ADD `information_groups_blog_item_default_show_comments_mode` TINYINT NOT NULL AFTER `information_groups_blog_item_default_accessibility` ,
ADD `information_groups_blog_item_default_add_comments_mode` TINYINT NOT NULL AFTER `information_groups_blog_item_default_show_comments_mode` ;

ALTER TABLE `information_propertys_groups_table` ADD `information_propertys_groups_dir_id` MEDIUMINT( 11 ) NOT NULL AFTER `information_systems_id`;

DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 643;

INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (643, 138, 1137, 'empty_field', 30, 7, '', 0, 0, 'center', 'center', '50px', '', '', '=/admin/images/lightning_shield.gif', '/admin/users_access/users_access.php?admin_forms_id=139&operation=show_users_access_avents&check_0_{admin_forms_id}=1&access_admin_forms_id={admin_forms_id}&users_type_id={users_type_id}&site_id={SITE_ID}', 'TrigerSingleAction(''/admin/users_access/users_access.php'', ''&access_admin_forms_id={admin_forms_id}&users_type_id={users_type_id}&site_id={SITE_ID}'', ''show_users_access_avents'', ''check_0_{admin_forms_id}'',139, 0, 0, 0, 1); return false;', '', 19);

DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 338;

INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (338, 82, 611, 'structure_menu_name', 30, 4, '', 1, 1, 'left', 'left', '', 'font-weight: bold;', '', '', '', '', '', 19);


DELETE FROM `admin_forms_table` WHERE `admin_forms_id` = 12;
DELETE FROM `admin_forms_table` WHERE `admin_forms_id` = 50;
DELETE FROM `admin_forms_table` WHERE `admin_forms_id` = 51;
DELETE FROM `admin_forms_table` WHERE `admin_forms_id` = 135;

INSERT INTO `admin_forms_table` (`admin_forms_id`, `admin_words_id`, `admin_forms_on_page`, `admin_forms_key_field`, `admin_forms_show_operations`, `admin_forms_show_group_operations`, `admin_forms_default_order_field`, `admin_forms_default_order_direction`, `admin_forms_group_operations_as_images`, `users_id`) VALUES (12, 85, 10, 'key_field', 1, 1, '', 1, 1, 19);
INSERT INTO `admin_forms_table` (`admin_forms_id`, `admin_words_id`, `admin_forms_on_page`, `admin_forms_key_field`, `admin_forms_show_operations`, `admin_forms_show_group_operations`, `admin_forms_default_order_field`, `admin_forms_default_order_direction`, `admin_forms_group_operations_as_images`, `users_id`) VALUES (50, 360, 10, 'code', 1, 1, 'information_propertys_order', 1, 1, 19);
INSERT INTO `admin_forms_table` (`admin_forms_id`, `admin_words_id`, `admin_forms_on_page`, `admin_forms_key_field`, `admin_forms_show_operations`, `admin_forms_show_group_operations`, `admin_forms_default_order_field`, `admin_forms_default_order_direction`, `admin_forms_group_operations_as_images`, `users_id`) VALUES (51, 368, 10, 'code', 1, 1, 'information_propertys_groups_order', 1, 1, 19);
INSERT INTO `admin_forms_table` (`admin_forms_id`, `admin_words_id`, `admin_forms_on_page`, `admin_forms_key_field`, `admin_forms_show_operations`, `admin_forms_show_group_operations`, `admin_forms_default_order_field`, `admin_forms_default_order_direction`, `admin_forms_group_operations_as_images`, `users_id`) VALUES (135, 1104, 20, 'code', 1, 1, '', 1, 1, 19);

DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 50;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 624;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 625;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 627;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 196;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 197;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 198;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 200;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 201;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 202;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 626;

INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (50, 12, 91, 'indexation_field', 60, 7, '', 0, 1, 'center', 'center', '', '', '', '1=/admin/images/check.gif\r\n0=/admin/images/not_check.gif', '/admin/InformationSystems/InformationSystems.php?admin_forms_id=12&operation=change_item_indexation&information_system_id={information_systems_id}&information_groups_parent_id={information_groups_parent_id}&check_{dataset_key}_{key_field}=1', 'TrigerSingleAction(''/admin/InformationSystems/InformationSystems.php'', ''&information_system_id={information_systems_id}&information_groups_parent_id={information_groups_parent_id}'', ''change_item_indexation'', ''check_{dataset_key}_{key_field}'', ''12'', '''', '''', '''', ''''); return false;', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (624, 135, 1105, 'code', 10, 1, '', 1, 1, 'left', 'left', '45px', 'width: 45px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (625, 135, 1106, 'name', 20, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (627, 135, 1108, 'order_field', 40, 2, '', 1, 1, 'left', 'left', '80px', 'width: 80px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (196, 50, 361, 'code', 10, 1, '', 1, 0, 'left', 'left', '45px', 'width: 45px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (197, 50, 362, 'order_field', 40, 2, '', 1, 0, 'left', 'left', '80px', 'width: 80px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (198, 50, 363, 'name', 20, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (200, 51, 369, 'code', 10, 1, '', 1, 0, 'left', 'left', '50px', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (201, 51, 370, 'order_field', 40, 2, '', 1, 0, 'left', 'left', '80px', 'width: 80px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (202, 51, 371, 'name', 20, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (626, 135, 1107, 'xml', 30, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19);

DELETE FROM `admin_forms_table` WHERE `admin_forms_id` = 67;

INSERT INTO `admin_forms_table` (`admin_forms_id`, `admin_words_id`, `admin_forms_on_page`, `admin_forms_key_field`, `admin_forms_show_operations`, `admin_forms_show_group_operations`, `admin_forms_default_order_field`, `admin_forms_default_order_direction`, `admin_forms_group_operations_as_images`, `users_id`) VALUES (67, 475, 10, 'code', 1, 1, 'shop_list_of_properties_order', 1, 1, 19);


INSERT INTO `admin_forms_table` (`admin_forms_id`, `admin_words_id`, `admin_forms_on_page`, `admin_forms_key_field`, `admin_forms_show_operations`, `admin_forms_show_group_operations`, `admin_forms_default_order_field`, `admin_forms_default_order_direction`, `admin_forms_group_operations_as_images`, `users_id`) VALUES (141, 1161, 20, 'seo_characteristic_id', 1, 1, '', 1, 1, 19);
INSERT INTO `admin_forms_table` (`admin_forms_id`, `admin_words_id`, `admin_forms_on_page`, `admin_forms_key_field`, `admin_forms_show_operations`, `admin_forms_show_group_operations`, `admin_forms_default_order_field`, `admin_forms_default_order_direction`, `admin_forms_group_operations_as_images`, `users_id`) VALUES (142, 1190, 20, 'seo_search_query_id', 1, 1, '', 1, 1, 19);
INSERT INTO `admin_forms_table` (`admin_forms_id`, `admin_words_id`, `admin_forms_on_page`, `admin_forms_key_field`, `admin_forms_show_operations`, `admin_forms_show_group_operations`, `admin_forms_default_order_field`, `admin_forms_default_order_direction`, `admin_forms_group_operations_as_images`, `users_id`) VALUES (144, 1198, 20, 'seo_position_search_query_id', 1, 1, '', 1, 1, 19);

INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (350, 1187, 141, 'edit_characteristic', '/admin/images/edit.gif', 1, 0, 0, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (351, 1188, 141, 'delete_characteristic', '/admin/images/delete.gif', 1, 1, 1, -1, 1, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (352, 1189, 141, 'query_characteristic', '', 0, 0, 0, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (353, 1194, 142, 'edit_query', '/admin/images/edit.gif', 1, 0, 20, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (354, 1195, 142, 'delete_query', '/admin/images/delete.gif', 1, 1, 30, -1, 1, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (355, 1196, 142, 'add_query', '', 0, 0, 0, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (358, 1211, 144, 'edit_position_search', '/admin/images/edit.gif', 1, 0, 0, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (357, 1210, 144, 'delete_position_search', '/admin/images/delete.gif', 1, 1, 0, -1, 1, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (360, 1213, 142, 'get_position', '', 0, 0, 0, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (362, 1216, 82, 'copy_node', '/admin/images/copy.gif', 1, 1, 17, -1, 0, 19);


INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1159, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1160, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1161, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1162, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1163, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1164, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1205, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1203, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1202, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1201, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1200, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1204, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1199, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1172, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1173, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1198, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1196, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1195, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1194, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1209, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1192, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1191, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1190, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1189, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1188, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1187, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1186, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1206, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1207, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1210, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1211, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1213, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1216, 19);


INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1912, 1159, 1, 'Код', 'Уникальный идентификатор элемента');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1913, 1160, 1, '', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1914, 1161, 1, 'Поисковая оптимизация', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1915, 1162, 1, 'Дата', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1916, 1163, 1, 'тИЦ', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1917, 1164, 1, 'PR', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1958, 1205, 1, 'GoGo', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1957, 1204, 1, 'Апорт', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1956, 1203, 1, 'Google', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1955, 1202, 1, 'Рамблер', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1953, 1200, 1, 'Дата', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1954, 1201, 1, 'Яндекс', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1952, 1199, 1, 'Код', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1925, 1172, 1, 'Ссылки с Yandex', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1926, 1173, 1, 'Ссылки с Google', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1951, 1198, 1, 'Статистика', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1949, 1196, 1, 'Добавить', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1948, 1195, 1, 'Удалить', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1947, 1194, 1, 'Редактировать', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1962, 1209, 1, 'Статистика', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1945, 1192, 1, 'Запрос', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1944, 1191, 1, 'Код', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1943, 1190, 1, 'Поисковые запросы', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1942, 1189, 1, 'Запросить для сайта', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1941, 1188, 1, 'Удалить', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1940, 1187, 1, 'Редактировать', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1939, 1186, 1, ' ', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1959, 1206, 1, 'Yahoo', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1960, 1207, 1, 'LiveSearch', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1963, 1210, 1, 'Удалить', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1964, 1211, 1, 'Редактировать', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1966, 1213, 1, 'Определить позиции', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1969, 1216, 1, 'Копировать', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1968, 1215, 1, ' ', '');


INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (655, 141, 1162, 'seo_characteristic_date_time', 10, 5, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (656, 141, 1163, 'seo_characteristic_yc', 30, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (657, 141, 1164, 'seo_characteristic_pr', 20, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (694, 51, 1217, 'type', 15, 7, '', 0, 0, 'left', 'left', '16px', 'width: 16px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (691, 144, 1207, 'seo_position_search_query_livesearch', 90, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (690, 144, 1206, 'seo_position_search_query_yahoo', 80, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (665, 141, 1172, 'seo_characteristic_links_yandex', 40, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (666, 141, 1173, 'seo_characteristic_links_google', 50, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (689, 144, 1205, 'seo_position_search_query_gogo', 70, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (688, 144, 1204, 'seo_position_search_query_aport', 60, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (687, 144, 1203, 'seo_position_search_query_google', 50, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (686, 144, 1202, 'seo_position_search_query_rambler', 40, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (685, 144, 1201, 'seo_position_search_query_yandex', 30, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (684, 144, 1200, 'seo_position_search_query_date_time', 20, 5, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (692, 142, 1209, 'statist_field', 30, 7, '', 0, 0, 'left', 'center', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (683, 144, 1199, 'seo_position_search_query_id', 10, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (693, 135, 1215, 'type', 15, 7, '', 0, 0, 'left', 'left', '16px', 'width: 16px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (681, 142, 1192, 'seo_search_query_value', 20, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (680, 142, 1191, 'seo_search_query_id', 10, 1, '', 1, 0, 'left', 'left', '20', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (679, 50, 1186, 'type', 15, 7, '', 0, 0, 'left', 'left', '16px', 'width: 16px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (700, 66, 1230, 'view', 43, 10, '', 0, 0, 'left', 'center', '16px', 'width: 16px;', '', '=/admin/images/comment_view.gif', '', '', '', 19);


CREATE TABLE IF NOT EXISTS `seo_characteristic_table` (
  `seo_characteristic_id` int(11) NOT NULL auto_increment,
  `site_id` int(11) NOT NULL,
  `seo_characteristic_date_time` datetime default NULL,
  `seo_characteristic_pr` int(11) default NULL,
  `seo_characteristic_yc` int(11) default NULL,
  `seo_characteristic_yc_rubric` varchar(200) NOT NULL,
  `seo_characteristic_catalog_yandex` tinyint(1) default NULL,
  `seo_characteristic_catalog_rambler` tinyint(1) default NULL,
  `seo_characteristic_catalog_aport` tinyint(1) default NULL,
  `seo_characteristic_catalog_dmoz` tinyint(1) default NULL,
  `seo_characteristic_catalog_mail` tinyint(1) default NULL,
  `seo_characteristic_links_google` int(11) default NULL,
  `seo_characteristic_links_yandex` int(11) default NULL,
  `seo_characteristic_links_yahoo` int(11) default NULL,
  `seo_characteristic_links_msn` int(11) default NULL,
  `seo_characteristic_indexed_yandex` int(11) default NULL,
  `seo_characteristic_indexed_rambler` int(11) default NULL,
  `seo_characteristic_indexed_google` int(11) default NULL,
  `seo_characteristic_indexed_aport` int(11) default NULL,
  `seo_characteristic_indexed_yahoo` int(11) default NULL,
  `seo_characteristic_indexed_msn` int(11) NOT NULL,
  `seo_characteristic_counter_rambler` tinyint(1) default NULL,
  `seo_characteristic_counter_spylog` tinyint(1) default NULL,
  `seo_characteristic_counter_hotlog` tinyint(1) default NULL,
  `seo_characteristic_counter_liveinternet` tinyint(1) default NULL,
  `seo_characteristic_counter_mail` tinyint(1) default NULL,
  PRIMARY KEY  (`seo_characteristic_id`),
  KEY `site_id` (`site_id`)
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=cp1251 AUTO_INCREMENT=1 ;

CREATE TABLE IF NOT EXISTS `seo_position_search_query_table` (
  `seo_position_search_query_id` int(11) NOT NULL auto_increment,
  `seo_search_query_id` int(11) NOT NULL,
  `seo_position_search_query_date_time` datetime default NULL,
  `seo_position_search_query_yandex` int(11) default NULL,
  `seo_position_search_query_rambler` int(11) default NULL,
  `seo_position_search_query_google` int(11) default NULL,
  `seo_position_search_query_aport` int(11) default NULL,
  `seo_position_search_query_gogo` int(11) default NULL,
  `seo_position_search_query_yahoo` int(11) default NULL,
  `seo_position_search_query_livesearch` int(11) default NULL,
  PRIMARY KEY  (`seo_position_search_query_id`),
  KEY `seo_search_query_id` (`seo_search_query_id`)
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=cp1251 AUTO_INCREMENT=1 ;

CREATE TABLE IF NOT EXISTS `seo_search_query_table` (
  `seo_search_query_id` int(11) NOT NULL auto_increment,
  `site_id` int(11) NOT NULL,
  `seo_search_query_value` varchar(255) default NULL,
  PRIMARY KEY  (`seo_search_query_id`),
  KEY `site_id` (`site_id`)
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=cp1251 AUTO_INCREMENT=1 ;

INSERT INTO `modules_table` (`modules_name`, `modules_description`, `modules_status`, `modules_path`, `modules_order`) VALUES ('Поисковая оптимизация (SEO)', 'Модуль позволяет анализировать динамику продвижения сайта.', 1, 'seo', 0);

UPDATE `constants_table` SET `constants_value` = '5.1.2' WHERE `constants_name` = 'CURRENT_VERSION';

-- 5.1.3

INSERT INTO `modules_table` (`modules_name`, `modules_description`, `modules_status`, `modules_path`, `modules_order`) VALUES ('Обновления', 'Обновления', 1, 'update', 0);

UPDATE `constants_table` SET `constants_value` = '5.1.3' WHERE `constants_name` = 'CURRENT_VERSION';

-- 5.1.4

ALTER TABLE `shop_producers_list_table` ADD `shop_producers_list_address` VARCHAR(255) CHARACTER SET cp1251 COLLATE cp1251_general_ci NOT NULL, ADD `shop_producers_list_phone` VARCHAR(255) CHARACTER SET cp1251 COLLATE cp1251_general_ci NOT NULL, ADD `shop_producers_list_fax` VARCHAR(255) CHARACTER SET cp1251 COLLATE cp1251_general_ci NOT NULL, ADD `shop_producers_list_site` VARCHAR(255) CHARACTER SET cp1251 COLLATE cp1251_general_ci NOT NULL, ADD `shop_producers_list_email` VARCHAR(255) CHARACTER SET cp1251 COLLATE cp1251_general_ci NOT NULL, ADD `shop_producers_list_inn` VARCHAR(12) CHARACTER SET cp1251 COLLATE cp1251_general_ci NOT NULL, ADD `shop_producers_list_kpp` VARCHAR(9) CHARACTER SET cp1251 COLLATE cp1251_general_ci NOT NULL, ADD `shop_producers_list_ogrn` VARCHAR(20) CHARACTER SET cp1251 COLLATE cp1251_general_ci NOT NULL, ADD `shop_producers_list_okpo` VARCHAR(10) CHARACTER SET cp1251 COLLATE cp1251_general_ci NOT NULL, ADD `shop_producers_list_okved` VARCHAR(50) CHARACTER SET cp1251 COLLATE cp1251_general_ci NOT NULL, ADD `shop_producers_list_bik` VARCHAR(10) CHARACTER SET cp1251 COLLATE cp1251_general_ci NOT NULL, ADD `shop_producers_list_account` VARCHAR(20) CHARACTER SET cp1251 COLLATE cp1251_general_ci NOT NULL, ADD `shop_producers_list_corr_account` VARCHAR(20) CHARACTER SET cp1251 COLLATE cp1251_general_ci NOT NULL, ADD `shop_producers_list_bank_name` VARCHAR(255) CHARACTER SET cp1251 COLLATE cp1251_general_ci NOT NULL, ADD `shop_producers_list_bank_address` VARCHAR(255) CHARACTER SET cp1251 COLLATE cp1251_general_ci NOT NULL;

UPDATE `constants_table` SET `constants_value` = '5.1.4' WHERE `constants_name` = 'CURRENT_VERSION';

UPDATE `constants_table` SET `constants_value` = '1' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.1.5

UPDATE `constants_table` SET `constants_value` = '5.1.5' WHERE `constants_name` = 'CURRENT_VERSION';

UPDATE `constants_table` SET `constants_value` = '2' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';


-- 5.1.6

ALTER TABLE `seo_characteristic_table` ADD `users_id` INT UNSIGNED NULL ;
ALTER TABLE `seo_position_search_query_table` ADD `users_id` INT UNSIGNED NULL ;
ALTER TABLE `seo_search_query_table` ADD `users_id` INT UNSIGNED NULL ;

ALTER TABLE `site_table` DROP `site_pin`, DROP `site_contract_number`;
ALTER TABLE `site_table` ADD `site_html_cache_clear_probability` INT NOT NULL DEFAULT '10000';
ALTER TABLE `structure_table` ADD `structure_access_protocol` INT NOT NULL AFTER `structure_access` ;

UPDATE `constants_table` SET `constants_value` = '5.1.6' WHERE `constants_name` = 'CURRENT_VERSION';

UPDATE `constants_table` SET `constants_value` = '3' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.1.7

ALTER TABLE `shop_order_items_table` CHANGE `shop_order_items_price` `shop_order_items_price` DECIMAL( 12, 2 ) NULL DEFAULT NULL ;

UPDATE `constants_table` SET `constants_value` = '5.1.7' WHERE `constants_name` = 'CURRENT_VERSION';

UPDATE `constants_table` SET `constants_value` = '4' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.1.8

ALTER TABLE `users_table` ADD `users_name_text` VARCHAR( 255 ) CHARACTER SET cp1251 COLLATE cp1251_general_ci NULL ,
ADD `users_surname` VARCHAR( 255 ) CHARACTER SET cp1251 COLLATE cp1251_general_ci NULL ,
ADD `users_patronymic` VARCHAR( 255 ) CHARACTER SET cp1251 COLLATE cp1251_general_ci NULL ,
ADD `users_email` VARCHAR( 255 ) CHARACTER SET cp1251 COLLATE cp1251_general_ci NULL ,
ADD `users_position` VARCHAR( 255 ) CHARACTER SET cp1251 COLLATE cp1251_general_ci NULL ,
ADD `users_icq` VARCHAR( 32 ) CHARACTER SET cp1251 COLLATE cp1251_general_ci NULL ,
ADD `users_site` VARCHAR( 255 ) CHARACTER SET cp1251 COLLATE cp1251_general_ci NULL ;

ALTER TABLE `users_table` ADD `users_only_own` TINYINT( 1 ) UNSIGNED NULL DEFAULT NULL ;

ALTER TABLE `users_type_table` ADD `users_id` INT( 11 ) NOT NULL ;
ALTER TABLE `users_table` ADD `users_own_id` INT( 11 ) NOT NULL ;
ALTER TABLE `users_type_events_access_table` ADD `users_id` INT( 11 ) NOT NULL ;

ALTER TABLE `users_access_table` ADD `users_id` INT( 11 ) NOT NULL ;
UPDATE `users_access_table` SET `users_id` = 19 WHERE `users_id` = 0;

ALTER TABLE `shop_currency_table` CHANGE `shop_currency_value_in_basic_currency` `shop_currency_value_in_basic_currency` DECIMAL( 16, 6 ) NULL DEFAULT NULL ;

UPDATE `shop_country_table` SET `users_id`=19 WHERE `users_id` =0;
UPDATE `shop_location_table` SET `users_id`=19 WHERE `users_id` =0;

UPDATE `shop_comment_table` SET `users_id`=19 WHERE `users_id` =0;
ALTER TABLE `shop_properties_items_dir_table` ADD `users_id` INT( 11 ) NOT NULL ;
UPDATE `shop_properties_items_dir_table` SET `users_id` =19 WHERE `users_id` =0;

ALTER TABLE `shop_properties_item_for_groups_table` ADD `users_id` INT( 11 ) NOT NULL ;
UPDATE `shop_properties_item_for_groups_table` SET `users_id`=19;

ALTER TABLE `shop_order_items_table` ADD `users_id` INT( 11 ) NOT NULL ;
UPDATE `shop_order_items_table` SET `users_id`=19; 

ALTER TABLE `shop_intermediate_table` ADD `users_id` INT( 11 ) NOT NULL ;
UPDATE `shop_intermediate_table` SET `users_id`=19;

ALTER TABLE `shop_eitem_table` ADD `users_id` INT( 11 ) NOT NULL ;
UPDATE `shop_eitem_table` SET `users_id`=19;

ALTER TABLE `shop_properties_groups_dir_table` ADD `users_id` INT( 11 ) NOT NULL ;
UPDATE `shop_properties_groups_dir_table` SET `users_id`=19;

DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 179;
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (179, 46, 336, '', 40, 7, '', 0, 0, '', 'center', '50px', '', '', ' = /admin/images/statistic.gif', 'javascript:DoLoadAjax(''/admin/Advertisement/Advertisement.php'', ''&banner_id={advertisement_id}'', 47, ''load_data'', '''', '''', '''', '''');', '', '', 19);

INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (397, 1326, 158, 'copy_contextual_words', '/admin/images/copy.gif', 1, 1, 20, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (398, 1327, 158, 'delete_contextual_words', '/admin/images/delete.gif', 1, 1, 30, -1, 1, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (399, 1328, 158, 'edit_contextual_words', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19);

INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (751, 46, 1322, 'contextual_words', 30, 7, '', 0, 0, 'left', 'center', '40px', 'width: 40px;', '', '=/admin/images/context.gif', '/admin/Advertisement/Advertisement.php?admin_forms_id=158&operation=load_data&advertisement_id={advertisement_id}', 'DoLoadAjax(''/admin/Advertisement/Advertisement.php'', ''&advertisement_id={advertisement_id}'', 158, ''load_data'', 0, 0, 0, 0); return false;', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (752, 158, 1324, 'advertisement_contextual_words_id', 10, 1, '', 1, 1, 'left', 'left', '45px', 'width: 45px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (753, 158, 1325, 'advertisement_contextual_words_value', 20, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19);

INSERT INTO `admin_forms_table` (`admin_forms_id`, `admin_words_id`, `admin_forms_on_page`, `admin_forms_key_field`, `admin_forms_show_operations`, `admin_forms_show_group_operations`, `admin_forms_default_order_field`, `admin_forms_default_order_direction`, `admin_forms_group_operations_as_images`, `users_id`) VALUES (158, 1323, 20, 'advertisement_contextual_words_id', 1, 1, '', 1, 1, 19);

INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1323, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1324, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1325, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1326, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1327, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1328, 19);

INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2075, 1322, 1, 'Контекстные фразы', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2076, 1323, 1, 'Контекстные фразы', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2077, 1324, 1, 'Код', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2078, 1325, 1, 'Контекстная фраза', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2079, 1326, 1, 'Копировать', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2080, 1327, 1, 'Удалить', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2081, 1328, 1, 'Редактировать', '');

-- Advert

CREATE TABLE IF NOT EXISTS `advertisement_contextual_words_table` (
  `advertisement_contextual_words_id` int(11) NOT NULL auto_increment,
  `advertisement_id` int(11) NOT NULL,
  `advertisement_contextual_words_value` text,
  `users_id` int(11) NOT NULL,
  PRIMARY KEY  (`advertisement_contextual_words_id`)
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=cp1251 AUTO_INCREMENT=1 ;

-- SiteUsers
ALTER TABLE `site_users_group_list_table` ADD `users_id` INT( 11 ) NOT NULL ;
UPDATE `site_users_group_list_table` SET `users_id` = '19' WHERE `users_id` =0;

UPDATE `constants_table` SET `constants_value` = '5.1.8' WHERE `constants_name` = 'CURRENT_VERSION';

UPDATE `constants_table` SET `constants_value` = '5' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.1.9

ALTER TABLE `information_propertys_items_dir_table` ADD `users_id` INT( 11 ) NOT NULL ;
UPDATE `information_propertys_items_dir_table` SET `users_id` = 19;

ALTER TABLE `information_propertys_groups_dir_table` ADD `users_id` INT( 11 ) NOT NULL ;
UPDATE `information_propertys_groups_dir_table` SET `users_id`= 19 WHERE `users_id` =0;
UPDATE `xsl_table` SET `users_id` = 19 WHERE `users_id` =0;
UPDATE `seo_search_query_table` SET `users_id` =19 WHERE `users_id` =0;
UPDATE `seo_position_search_query_table` SET `users_id`= 19 WHERE `users_id` =0;

UPDATE `constants_table` SET `constants_value` = '5.1.9' WHERE `constants_name` = 'CURRENT_VERSION';

UPDATE `constants_table` SET `constants_value` = '6' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.2.0

INSERT INTO `constants_table` ( `constants_id` , `constants_name` , `constants_value` , `constants_description` , `constants_activity` ) VALUES (NULL , 'COUNTER_NUM_MAIL_TABLE_ROW', '20', 'Количество строк в таблицах ежедневного письма-отчета о посещаемости сайта.', '1');

ALTER TABLE `constants_table` ADD `users_id` INT( 11 ) NOT NULL ;
UPDATE `constants_table` SET `users_id`=19; 

ALTER TABLE `admin_language_table` ADD `users_id` INT( 11 ) NOT NULL ;
UPDATE `admin_language_table` SET `users_id`=19; 

ALTER TABLE `modules_table` ADD `users_id` INT( 11 ) NOT NULL ;
UPDATE `modules_table` SET `users_id`=19; 

ALTER TABLE `ip_table` ADD `users_id` INT( 11 ) NOT NULL ;
UPDATE `ip_table` SET `users_id`=19; 

ALTER TABLE `shop_item_discount_table` ADD `users_id` INT( 11 ) NOT NULL ;
UPDATE `shop_item_discount_table` SET `users_id`=19; 

ALTER TABLE `information_groups_table` CHANGE `information_groups_path` `information_groups_path` VARCHAR( 255 ) CHARACTER SET cp1251 COLLATE cp1251_general_ci NOT NULL;

UPDATE `shop_city_table` SET `users_id`=19 WHERE `users_id`=0;

ALTER TABLE `information_groups_table` ADD `site_users_id` int(11) NOT NULL default '0' AFTER `information_systems_id` ;

INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (404, 1341, 11, 'copy_information_system', '/admin/images/copy.gif', 1, 1, 15, -1, 0, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1341, 19);
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2094, 1341, 1, 'Копировать', '');

-- FORUM
ALTER TABLE `forums_theme_table` ADD `users_id` INT( 11 ) NOT NULL ;
UPDATE `forums_theme_table` SET `users_id`=19; 

ALTER TABLE `forums_users_group_list_table` ADD `users_id` VARCHAR( 11 ) NOT NULL ;
UPDATE `forums_users_group_list_table` SET `users_id`=19;

-- 5.2.2

CREATE TABLE IF NOT EXISTS `shop_special_prices_table` (
  `shop_special_prices_id` int(11) NOT NULL auto_increment,
  `shop_items_catalog_item_id` int(11) NOT NULL,
  `shop_special_prices_from` int(11) NOT NULL,
  `shop_special_prices_to` int(11) NOT NULL,
  `shop_special_prices_price` decimal(12,2) NOT NULL,
  PRIMARY KEY  (`shop_special_prices_id`),
  KEY `shop_items_catalog_item_id` (`shop_items_catalog_item_id`)
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=cp1251 AUTO_INCREMENT=1;

UPDATE `constants_table` SET `constants_value` = '5.2.2' WHERE `constants_name` = 'CURRENT_VERSION';

-- 5.2.3

ALTER TABLE `information_items_table` CHANGE `information_items_blog_accessibility` `information_items_blog_accessibility` TINYINT( 4 ) NOT NULL DEFAULT '0';

ALTER TABLE `information_items_table` CHANGE `information_items_blog_show_comments_mode` `information_items_blog_show_comments_mode` TINYINT( 4 ) NOT NULL DEFAULT '0';

ALTER TABLE `information_items_table` CHANGE `information_items_blog_add_comments_mode` `information_items_blog_add_comments_mode` TINYINT( 4 ) NOT NULL DEFAULT '0';

ALTER TABLE `information_groups_table` CHANGE `information_groups_activity` `information_groups_activity` TINYINT( 4 ) NOT NULL DEFAULT '1';

ALTER TABLE `information_groups_table` CHANGE `information_groups_blog_type` `information_groups_blog_type` TINYINT( 4 ) NOT NULL DEFAULT '0';

ALTER TABLE `information_groups_table` CHANGE `information_groups_blog_item_default_accessibility` `information_groups_blog_item_default_accessibility` TINYINT( 4 ) NOT NULL DEFAULT '0';

ALTER TABLE `information_groups_table` CHANGE `information_groups_blog_item_default_show_comments_mode` `information_groups_blog_item_default_show_comments_mode` TINYINT( 4 ) NOT NULL DEFAULT '0';

ALTER TABLE `information_groups_table` CHANGE `information_groups_blog_item_default_add_comments_mode` `information_groups_blog_item_default_add_comments_mode` TINYINT( 4 ) NOT NULL DEFAULT '0';


UPDATE `constants_table` SET `constants_value` = '5.2.3' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '10' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.2.4

-- Affiliates

CREATE TABLE `shop_shops_affiliate_plans_table` (
  `shop_shops_affiliate_plans_id` int(11) NOT NULL auto_increment,
  `affiliate_plans_id` int(11) NOT NULL,
  `shop_shops_id` int(11) NOT NULL,
  PRIMARY KEY  (`shop_shops_affiliate_plans_id`),
  KEY `Relationship_6_FK` (`affiliate_plans_id`),
  KEY `Relationship_7_FK` (`shop_shops_id`)
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=cp1251 AUTO_INCREMENT=1 ;


DROP TABLE IF EXISTS `affiliate_plans_table`;
CREATE TABLE IF NOT EXISTS `affiliate_plans_table` (
  `affiliate_plans_id` int(11) NOT NULL auto_increment,
  `site_id` int(11) NOT NULL,
  `affiliate_plans_name` varchar(255) default NULL,
  `affiliate_plans_description` text,
  `affiliate_plans_activity` int(11) default NULL,
  `site_users_group_id` int(11) default NULL,
  `affiliate_plans_last_change_datetime` datetime default NULL,
  `affiliate_plans_min_num_of_items` int(11) default NULL,
  `affiliate_plans_min_sum_of_items` decimal(12,2) default NULL,
  `affiliate_plans_delivery_on` int(11) default NULL,
  `users_id` int(11) NOT NULL default '0',
  PRIMARY KEY  (`affiliate_plans_id`),
  KEY `Relationship_5_FK` (`site_id`)
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=cp1251 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

-- 
-- Структура таблицы `affiliate_table`
-- 

DROP TABLE IF EXISTS `affiliate_table`;
CREATE TABLE IF NOT EXISTS `affiliate_table` (
  `affiliate_id` int(11) NOT NULL auto_increment,
  `site_users_id` int(11) NOT NULL,
  `affiliate_site_users_id` int(11) default NULL,
  `affiliate_active` int(11) default NULL,
  `users_id` int(11) NOT NULL default '0',
  PRIMARY KEY  (`affiliate_id`),
  KEY `Relationship_2_FK` (`site_users_id`)
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=cp1251 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

-- 
-- Структура таблицы `affiliate_values_table`
-- 

DROP TABLE IF EXISTS `affiliate_values_table`;
CREATE TABLE IF NOT EXISTS `affiliate_values_table` (
  `affiliate_values_id` int(11) NOT NULL auto_increment,
  `affiliate_plans_id` int(11) NOT NULL,
  `affiliate_values_inner_level` int(11) default NULL,
  `affiliate_values_percent` decimal(12,2) default NULL,
  `affiliate_values_value` decimal(12,2) default NULL,
  `affiliate_values_type` tinyint(4) default NULL,
  `users_id` int(11) NOT NULL default '0',
  PRIMARY KEY  (`affiliate_values_id`),
  KEY `Relationship_1_FK` (`affiliate_plans_id`)
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=cp1251 AUTO_INCREMENT=1;

-- AdminForms

INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (367, 1235, 147, 'edit_helpdesk', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (368, 1236, 147, 'delete_helpdesk', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (369, 1245, 148, 'edit_incident', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (370, 1246, 148, 'delete_incident', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (371, 1247, 148, 'active', '', 0, 0, 0, 1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (372, 1252, 149, 'delete_email', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (373, 1253, 149, 'edit_email', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (374, 1260, 150, 'edit_critical_level', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (375, 1261, 150, 'delete_critical_level', '/admin/images/delete.gif', 1, 1, 30, -1, 1, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (376, 1262, 150, 'copy_critical_level', '/admin/images/copy.gif', 1, 1, 15, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (377, 1263, 150, 'apply_changes_critical_level', '/admin/images/apply.gif', 0, 1, 20, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (378, 1270, 151, 'edit_message', '/admin/images/edit.gif', 1, 0, 20, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (379, 1271, 151, 'delete_message', '/admin/images/delete.gif', 1, 1, 30, -1, 1, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (380, 1276, 152, 'edit_status', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (381, 1277, 152, 'delete_status', '/admin/images/delete.gif', 1, 1, 30, -1, 1, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (382, 1278, 152, 'apply_changes', '/admin/images/apply.gif', 0, 1, 20, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (383, 1284, 153, 'delete_template', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (384, 1285, 153, 'edit_template', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (385, 1292, 154, 'edit_template_key_words', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (386, 1293, 154, 'delete_template_key_words', '/admin/images/delete.gif', 1, 1, 30, -1, 1, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (387, 1294, 154, 'copy_template_key_words', '/admin/images/copy.gif', 1, 1, 20, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (388, 1299, 155, 'add_responsible', '', 0, 0, 10, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (390, 1302, 148, 'receive_mail', '', 0, 0, 30, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (389, 1301, 155, 'delete_responsible', '/admin/images/delete.gif', 1, 1, 20, 1, 1, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (391, 1304, 151, 'active', '', 0, 0, 40, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (392, 1305, 151, 'send_message', '/admin/images/maillist_add.gif', 1, 0, 10, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (393, 1308, 149, 'apply', '/admin/images/apply.gif', 0, 1, 20, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (394, 1316, 157, 'edit_users_template', '/admin/images/mail_edit.gif', 1, 0, 0, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (395, 1317, 149, 'active', '', 0, 0, 0, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (396, 1318, 148, 'combine_tickets', '/admin/images/ticket_join.gif', 0, 1, 15, 1, 1, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (405, 1347, 162, 'edit_affiliate', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (406, 1348, 162, 'delete_affiliate', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (409, 1358, 164, 'edit_affiliate_value', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (410, 1359, 164, 'delete_affiliate_value', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (411, 1364, 165, 'edit_affiliate', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (412, 1365, 165, 'delete_affiliate', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (413, 1370, 166, 'enabled', '', 0, 0, 10, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (414, 1371, 166, 'all_on', '/admin/images/check.gif', 0, 1, 20, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (415, 1372, 166, 'all_off', '/admin/images/not_check.gif', 0, 1, 30, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (416, 1399, 167, 'apply_change', '/admin/images/apply.gif', 0, 1, 40, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (418, 1401, 167, 'all_on', '/admin/images/check.gif', 0, 1, 20, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (419, 1402, 167, 'all_off', '/admin/images/not_check.gif', 0, 1, 30, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (420, 1403, 13, 'copy_poll_group', '/admin/images/copy.gif', 1, 1, 15, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (421, 1404, 15, 'copy_poll', '/admin/images/copy.gif', 1, 1, 15, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (422, 1405, 17, 'copy_poll_reply', '/admin/images/copy.gif', 1, 1, 15, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (423, 1406, 54, 'CopyShop', '/admin/images/copy.gif', 1, 1, 15, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (424, 1407, 46, 'copy_advertisement', '/admin/images/copy.gif', 1, 1, 15, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (425, 1408, 14, 'copy_maillist', '/admin/images/copy.gif', 1, 1, 14, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (426, 1409, 42, 'copy_site', '/admin/images/copy.gif', 1, 1, 25, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (428, 1411, 151, 'ticket_block', '', 0, 0, 0, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (429, 1412, 44, 'copy_banner_group', '/admin/images/copy.gif', 1, 1, 15, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (430, 1413, 37, 'copy_forum', '/admin/images/copy.gif', 1, 1, 16, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (431, 1414, 36, 'copy_forums_group', '/admin/images/copy.gif', 1, 1, 16, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (432, 1415, 35, 'copy_conference', '/admin/images/copy.gif', 1, 1, 15, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (433, 1416, 151, 'ticket_close', '', 0, 0, 0, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (434, 1420, 168, 'edit_flag', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (435, 1421, 168, 'delete_flag', '/admin/images/delete.gif', 1, 1, 30, -1, 1, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (436, 1423, 168, 'apply', '/admin/images/apply.gif', 0, 1, 20, -1, 0, 19);




INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (702, 147, 1233, 'helpdesk_id', 10, 1, '', 1, 1, 'left', 'left', '45px', 'width: 45px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (703, 147, 1234, 'helpdesk_name', 20, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (704, 148, 1238, 'code', 10, 1, '', 1, 1, 'left', 'left', '45px', 'width: 45px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (705, 148, 1239, 'type', 20, 7, '', 0, 0, 'left', 'left', '16px', 'width: 16px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (706, 148, 1240, 'name', 30, 1, '', 0, 0, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (707, 148, 1241, 'helpdesk_ticket_email', 40, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (708, 148, 1242, 'helpdesk_ticket_name', 50, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (709, 148, 1243, 'datafield', 60, 5, '', 1, 1, 'left', 'left', '80px', 'width: 80px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (710, 148, 1244, 'helpdesk_ticket_is_open', 70, 7, '', 0, 0, 'center', 'center', '16px', 'width: 16px;', '', '0 = /admin/images/lock.gif = Тикет закрыт\r\n1 = /admin/images/lock_open.gif = Тикет открыт', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (711, 147, 1249, 'email_field', 30, 7, '', 0, 0, 'left', 'center', '16px', 'width: 16px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (712, 149, 1250, 'helpdesk_email_id', 10, 1, '', 1, 1, 'left', 'left', '45px', 'width: 45px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (713, 149, 1251, 'helpdesk_email_email', 30, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (714, 149, 1254, 'helpdesk_email_name', 20, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (715, 150, 1256, 'helpdesk_critical_level_id', 10, 1, '', 1, 1, 'left', 'left', '45px', 'width: 45px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (716, 150, 1257, 'helpdesk_critical_level_name', 20, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (717, 150, 1258, 'helpdesk_critical_level_description', 30, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (718, 150, 1259, 'helpdesk_critical_level_order', 40, 2, '', 1, 1, 'left', 'left', '80px', 'width: 80px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (719, 151, 1265, 'helpdesk_message_id', 10, 1, '', 1, 1, 'left', 'left', '45px', 'width: 45px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (720, 151, 1266, 'helpdesk_message_subject', 20, 10, '', 1, 0, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (721, 151, 1267, 'helpdesk_message_creation_datetime', 30, 5, '', 1, 1, 'left', 'left', '80px', 'width: 80px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (722, 151, 1268, 'helpdesk_message_grade', 40, 7, '', 1, 1, 'left', 'center', '50px', 'width: 50px;', '', '0 = /admin/images/stars_0.gif\r\n1 = /admin/images/stars_1.gif\r\n2 = /admin/images/stars_2.gif\r\n3 = /admin/images/stars_3.gif\r\n4 = /admin/images/stars_4.gif\r\n5 = /admin/images/stars_5.gif', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (723, 151, 1269, 'status', 60, 1, '', 1, 0, 'left', 'left', '50px', 'width: 50px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (724, 152, 1273, 'helpdesk_status_name', 10, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (725, 152, 1274, 'helpdesk_status_description', 20, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (726, 152, 1275, 'helpdesk_status_order', 30, 2, '', 1, 1, 'left', 'left', '80px', 'width: 80px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (727, 152, 1279, 'helpdesk_status_id', 0, 1, '', 1, 1, 'left', 'left', '45px', 'width: 45px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (728, 153, 1281, 'code', 10, 1, '', 1, 1, 'left', 'left', '45px', 'width: 45px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (729, 153, 1282, 'name', 30, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (730, 153, 1283, 'description', 40, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (732, 153, 1287, 'type', 20, 7, '', 0, 0, 'left', 'left', '16px', 'width: 16px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (733, 153, 1288, 'key_words', 50, 7, '', 0, 0, 'left', 'center', '16px', 'width: 16px;', 'alt="Ключевые слова"', '=/admin/images/context.gif', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (734, 154, 1290, 'helpdesk_letter_template_words_id', 10, 1, '', 1, 1, 'left', 'left', '45px', 'width: 45px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (735, 154, 1291, 'helpdesk_letter_template_words_value', 20, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (736, 155, 1296, 'code', 10, 1, '', 1, 1, 'left', 'left', '45px', 'width: 45px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (737, 155, 1297, 'type', 20, 7, '', 0, 0, 'left', 'left', '16px', 'width: 16px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (738, 155, 1298, 'name', 30, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (740, 151, 1303, 'helpdesk_message_processed', 50, 7, '', 1, 0, 'left', 'center', '16px', 'width: 16px;', '', '0 = /admin/images/on.gif = Не обработано\r\n1 = /admin/images/off.gif = Обработано', '/admin/helpdesk/helpdesk.php?admin_forms_id=151&helpdesk_id={helpdesk_id}&helpdesk_ticket_id={helpdesk_ticket_id}&helpdesk_ticket_category_parent_id={helpdesk_ticket_category_parent_id}&operation=active&check_0_{helpdesk_message_id}=1', 'TrigerSingleAction(''/admin/helpdesk/helpdesk.php'', ''&helpdesk_id={helpdesk_id}&helpdesk_ticket_id={helpdesk_ticket_id}&helpdesk_ticket_category_parent_id={helpdesk_ticket_category_parent_id}'', ''active'', ''check_0_{helpdesk_message_id}'', ''151'', 0, 0, ''0'', ''1''); return false;', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (741, 149, 1306, 'helpdesk_email_order', 40, 2, '', 1, 1, 'left', 'left', '80px', 'width: 80px;', 'alt="Порядок сортировки"', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (742, 149, 1307, 'helpdesk_email_active', 50, 7, '', 1, 1, 'left', 'center', '16px', 'width: 16px;', 'alt="Активность"', '1 = /admin/images/on.gif\r\n0 = /admin/images/off.gif', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (746, 157, 1314, 'code', 10, 1, '', 1, 1, 'left', 'left', '45px', 'width: 45px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (744, 156, 1311, 'users_type_name', 20, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (745, 156, 1312, 'users_type_comment', 30, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (747, 157, 1315, 'name', 20, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (749, 148, 1320, 'count_not_processed', 67, 1, '', 0, 0, 'left', 'left', '40px', 'width: 40px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (754, 151, 1329, 'helpdesk_message_inbox', 70, 7, '', 1, 0, 'left', 'center', '16px', 'width: 16px;', 'alt="Входящее/исходящее"', '0 = /admin/images/arrow_out.gif = Исходящее\r\n1 = /admin/images/arrow_in.gif = Входящее\r\n', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (760, 162, 1344, 'affiliate_plans_name', 20, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (759, 162, 1343, 'affiliate_plans_id', 10, 1, '', 1, 1, 'left', 'left', '45px', 'width: 45px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (761, 162, 1345, 'affiliate_plans_description', 30, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (762, 162, 1346, 'levels', 40, 1, '', 0, 0, 'left', 'center', '16px', 'width: 16px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (764, 164, 1354, 'affiliate_values_id', 10, 1, '', 1, 1, 'left', 'left', '45px', 'width: 45px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (765, 164, 1355, 'affiliate_values_percent', 20, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (766, 164, 1356, 'affiliate_values_value', 30, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (767, 164, 1357, 'type', 40, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (768, 30, 1360, 'site_user_affiliate', 70, 7, '', 0, 0, 'left', 'center', '16px', 'width: 16px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (769, 165, 1362, 'affiliate_id', 10, 1, '', 1, 1, 'left', 'left', '45px', 'width: 45px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (770, 165, 1363, 'site_users_login', 20, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (771, 166, 1367, 'affiliate_plans_id', 10, 1, '', 1, 0, 'left', 'left', '45px', 'width: 45px;', '', '', '', '', '', 31);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (772, 166, 1368, 'affiliate_plans_name', 20, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 31);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (773, 166, 1369, 'enabled', 30, 7, '', 0, 0, 'left', 'center', '45px', 'width: 45px;', '', '0 = /admin/images/not_check.gif\r\n1 = /admin/images/check.gif', '', '', '', 31);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (774, 167, 1374, '0', 10, 3, '', 0, 0, 'left', 'left', '16px', 'width: 16px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (775, 167, 1375, '1', 20, 3, '', 0, 0, 'left', 'left', '16px', 'width: 16px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (776, 167, 1376, '2', 30, 3, '', 0, 0, 'left', 'left', '16px', 'width: 16px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (777, 167, 1377, '3', 40, 3, '', 0, 0, 'left', 'left', '16px', 'width: 16px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (778, 167, 1378, '4', 50, 3, '', 0, 0, 'left', 'left', '16px', 'width: 16px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (779, 167, 1379, '5', 60, 3, '', 0, 0, 'left', 'left', '16px', 'width: 16px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (780, 167, 1380, '6', 70, 3, '', 0, 0, 'left', 'left', '16px', 'width: 16px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (781, 167, 1381, '7', 80, 3, '', 0, 0, 'left', 'left', '16px', 'width: 16px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (782, 167, 1382, '8', 90, 3, '', 0, 0, 'left', 'left', '16px', 'width: 16px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (783, 167, 1383, '9', 100, 3, '', 0, 0, 'left', 'left', '16px', 'width: 16px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (784, 167, 1384, '10', 110, 3, '', 0, 0, 'left', 'left', '16px', 'width: 16px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (785, 167, 1385, '11', 120, 3, '', 0, 0, 'left', 'left', '16px', 'width: 16px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (786, 167, 1386, '12', 130, 3, '', 0, 0, 'left', 'left', '16px', 'width: 16px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (787, 167, 1387, '13', 140, 3, '', 0, 0, 'left', 'left', '16px', 'width: 16px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (788, 167, 1388, '14', 150, 3, '', 0, 0, 'left', 'left', '16px', 'width: 16px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (789, 167, 1389, '15', 160, 3, '', 0, 0, 'left', 'left', '16px', 'width: 16px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (790, 167, 1390, '16', 170, 3, '', 0, 0, 'left', 'left', '16px', 'width: 16px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (791, 167, 1391, '17', 180, 3, '', 0, 0, 'left', 'left', '16px', 'width: 16px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (792, 167, 1392, '18', 190, 3, '', 0, 0, 'left', 'left', '16px', 'width: 16px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (793, 167, 1393, '19', 200, 3, '', 0, 0, 'left', 'left', '16px', 'width: 16px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (794, 167, 1394, '20', 210, 3, '', 0, 0, 'left', 'left', '16px', 'width: 16px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (795, 167, 1395, '21', 220, 3, '', 0, 0, 'left', 'left', '16px', 'width: 16px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (796, 167, 1396, '22', 230, 3, '', 0, 0, 'left', 'left', '16px', 'width: 16px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (797, 167, 1397, '23', 240, 3, '', 0, 0, 'left', 'left', '16px', 'width: 16px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (798, 167, 1398, 'days', 0, 1, '', 0, 0, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (799, 168, 1418, 'helpdesk_ticket_flags_id', 10, 1, '', 1, 1, 'left', 'left', '45px', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (800, 168, 1419, 'helpdesk_ticket_flags_text', 20, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (801, 168, 1422, 'helpdesk_ticket_flags_order', 30, 2, '', 1, 1, 'left', 'left', '80px', 'width: 80px;', '', '', '', '', '', 19);


INSERT INTO `admin_forms_table` (`admin_forms_id`, `admin_words_id`, `admin_forms_on_page`, `admin_forms_key_field`, `admin_forms_show_operations`, `admin_forms_show_group_operations`, `admin_forms_default_order_field`, `admin_forms_default_order_direction`, `admin_forms_group_operations_as_images`, `users_id`) VALUES (147, 1232, 20, 'helpdesk_id', 1, 1, 'helpdesk_id', 1, 1, 19);
INSERT INTO `admin_forms_table` (`admin_forms_id`, `admin_words_id`, `admin_forms_on_page`, `admin_forms_key_field`, `admin_forms_show_operations`, `admin_forms_show_group_operations`, `admin_forms_default_order_field`, `admin_forms_default_order_direction`, `admin_forms_group_operations_as_images`, `users_id`) VALUES (148, 1237, 20, 'code', 1, 1, '', 1, 1, 19);
INSERT INTO `admin_forms_table` (`admin_forms_id`, `admin_words_id`, `admin_forms_on_page`, `admin_forms_key_field`, `admin_forms_show_operations`, `admin_forms_show_group_operations`, `admin_forms_default_order_field`, `admin_forms_default_order_direction`, `admin_forms_group_operations_as_images`, `users_id`) VALUES (149, 1248, 20, 'helpdesk_email_id', 1, 1, '', 1, 1, 19);
INSERT INTO `admin_forms_table` (`admin_forms_id`, `admin_words_id`, `admin_forms_on_page`, `admin_forms_key_field`, `admin_forms_show_operations`, `admin_forms_show_group_operations`, `admin_forms_default_order_field`, `admin_forms_default_order_direction`, `admin_forms_group_operations_as_images`, `users_id`) VALUES (150, 1255, 20, 'helpdesk_critical_level_id', 1, 1, '', 1, 1, 19);
INSERT INTO `admin_forms_table` (`admin_forms_id`, `admin_words_id`, `admin_forms_on_page`, `admin_forms_key_field`, `admin_forms_show_operations`, `admin_forms_show_group_operations`, `admin_forms_default_order_field`, `admin_forms_default_order_direction`, `admin_forms_group_operations_as_images`, `users_id`) VALUES (151, 1264, 20, 'helpdesk_message_id', 1, 1, '', 1, 1, 19);
INSERT INTO `admin_forms_table` (`admin_forms_id`, `admin_words_id`, `admin_forms_on_page`, `admin_forms_key_field`, `admin_forms_show_operations`, `admin_forms_show_group_operations`, `admin_forms_default_order_field`, `admin_forms_default_order_direction`, `admin_forms_group_operations_as_images`, `users_id`) VALUES (152, 1272, 20, 'helpdesk_status_id', 1, 1, '', 1, 1, 19);
INSERT INTO `admin_forms_table` (`admin_forms_id`, `admin_words_id`, `admin_forms_on_page`, `admin_forms_key_field`, `admin_forms_show_operations`, `admin_forms_show_group_operations`, `admin_forms_default_order_field`, `admin_forms_default_order_direction`, `admin_forms_group_operations_as_images`, `users_id`) VALUES (153, 1280, 20, 'code', 1, 1, '', 1, 1, 19);
INSERT INTO `admin_forms_table` (`admin_forms_id`, `admin_words_id`, `admin_forms_on_page`, `admin_forms_key_field`, `admin_forms_show_operations`, `admin_forms_show_group_operations`, `admin_forms_default_order_field`, `admin_forms_default_order_direction`, `admin_forms_group_operations_as_images`, `users_id`) VALUES (154, 1289, 20, 'helpdesk_letter_template_words_id', 1, 1, '', 1, 1, 19);
INSERT INTO `admin_forms_table` (`admin_forms_id`, `admin_words_id`, `admin_forms_on_page`, `admin_forms_key_field`, `admin_forms_show_operations`, `admin_forms_show_group_operations`, `admin_forms_default_order_field`, `admin_forms_default_order_direction`, `admin_forms_group_operations_as_images`, `users_id`) VALUES (155, 1295, 20, 'code', 1, 1, '', 1, 1, 19);
INSERT INTO `admin_forms_table` (`admin_forms_id`, `admin_words_id`, `admin_forms_on_page`, `admin_forms_key_field`, `admin_forms_show_operations`, `admin_forms_show_group_operations`, `admin_forms_default_order_field`, `admin_forms_default_order_direction`, `admin_forms_group_operations_as_images`, `users_id`) VALUES (156, 1309, 20, 'users_type_id', 1, 1, '', 1, 1, 19);
INSERT INTO `admin_forms_table` (`admin_forms_id`, `admin_words_id`, `admin_forms_on_page`, `admin_forms_key_field`, `admin_forms_show_operations`, `admin_forms_show_group_operations`, `admin_forms_default_order_field`, `admin_forms_default_order_direction`, `admin_forms_group_operations_as_images`, `users_id`) VALUES (157, 1313, 20, 'code', 1, 1, '', 1, 1, 19);
INSERT INTO `admin_forms_table` (`admin_forms_id`, `admin_words_id`, `admin_forms_on_page`, `admin_forms_key_field`, `admin_forms_show_operations`, `admin_forms_show_group_operations`, `admin_forms_default_order_field`, `admin_forms_default_order_direction`, `admin_forms_group_operations_as_images`, `users_id`) VALUES (162, 1342, 20, 'affiliate_plans_id', 1, 1, 'affiliate_plans_id', 1, 1, 19);
INSERT INTO `admin_forms_table` (`admin_forms_id`, `admin_words_id`, `admin_forms_on_page`, `admin_forms_key_field`, `admin_forms_show_operations`, `admin_forms_show_group_operations`, `admin_forms_default_order_field`, `admin_forms_default_order_direction`, `admin_forms_group_operations_as_images`, `users_id`) VALUES (164, 1353, 20, 'affiliate_values_id', 1, 1, 'affiliate_values_id', 1, 1, 19);
INSERT INTO `admin_forms_table` (`admin_forms_id`, `admin_words_id`, `admin_forms_on_page`, `admin_forms_key_field`, `admin_forms_show_operations`, `admin_forms_show_group_operations`, `admin_forms_default_order_field`, `admin_forms_default_order_direction`, `admin_forms_group_operations_as_images`, `users_id`) VALUES (165, 1361, 20, 'affiliate_id', 1, 1, 'affiliate_id', 1, 1, 19);
INSERT INTO `admin_forms_table` (`admin_forms_id`, `admin_words_id`, `admin_forms_on_page`, `admin_forms_key_field`, `admin_forms_show_operations`, `admin_forms_show_group_operations`, `admin_forms_default_order_field`, `admin_forms_default_order_direction`, `admin_forms_group_operations_as_images`, `users_id`) VALUES (166, 1366, 20, 'affiliate_plans_id', 1, 1, '', 1, 1, 31);
INSERT INTO `admin_forms_table` (`admin_forms_id`, `admin_words_id`, `admin_forms_on_page`, `admin_forms_key_field`, `admin_forms_show_operations`, `admin_forms_show_group_operations`, `admin_forms_default_order_field`, `admin_forms_default_order_direction`, `admin_forms_group_operations_as_images`, `users_id`) VALUES (167, 1373, 20, 'key', 1, 1, 'key', 1, 1, 19);
INSERT INTO `admin_forms_table` (`admin_forms_id`, `admin_words_id`, `admin_forms_on_page`, `admin_forms_key_field`, `admin_forms_show_operations`, `admin_forms_show_group_operations`, `admin_forms_default_order_field`, `admin_forms_default_order_direction`, `admin_forms_group_operations_as_images`, `users_id`) VALUES (168, 1417, 20, 'helpdesk_ticket_flags_id', 1, 1, 'helpdesk_ticket_flags_id', 2, 1, 19);


INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1232, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1233, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1234, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1235, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1236, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1237, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1238, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1239, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1240, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1241, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1242, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1243, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1244, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1245, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1246, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1247, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1248, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1249, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1250, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1251, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1252, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1253, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1254, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1255, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1256, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1257, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1258, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1259, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1260, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1261, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1262, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1263, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1264, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1265, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1266, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1267, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1268, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1269, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1270, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1271, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1272, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1273, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1274, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1275, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1276, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1277, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1278, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1279, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1280, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1281, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1282, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1283, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1284, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1285, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1287, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1288, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1289, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1290, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1291, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1292, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1293, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1294, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1295, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1296, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1297, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1298, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1299, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1300, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1301, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1302, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1303, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1304, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1305, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1306, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1307, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1308, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1309, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1313, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1311, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1312, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1314, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1315, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1316, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1317, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1318, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1360, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1320, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1322, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1329, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1345, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1344, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1343, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1342, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1346, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1347, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1348, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1354, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1353, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1355, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1356, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1357, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1358, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1359, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1361, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1362, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1363, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1364, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1365, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1366, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1367, 31);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1368, 31);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1369, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1370, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1371, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1372, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1373, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1374, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1375, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1376, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1377, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1378, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1379, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1380, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1381, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1382, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1383, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1384, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1385, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1386, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1387, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1388, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1389, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1390, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1391, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1392, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1393, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1394, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1395, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1396, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1397, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1398, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1399, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1401, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1402, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1403, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1404, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1405, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1406, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1407, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1408, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1409, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1411, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1412, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1413, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1414, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1415, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1416, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1417, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1418, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1419, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1420, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1421, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1422, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1423, 19);


INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1985, 1232, 1, 'Службы технической поддержки', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1986, 1233, 1, 'Код', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1987, 1234, 1, 'Название', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1988, 1235, 1, 'Редактировать', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1989, 1236, 1, 'Удалить', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1990, 1237, 1, 'Инциденты', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1991, 1238, 1, 'Код', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1992, 1239, 1, ' ', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1993, 1240, 1, 'Название', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1994, 1241, 1, 'E-mail', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1995, 1242, 1, 'Тикет', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1996, 1243, 1, 'Ответить до', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1997, 1244, 1, ' ', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1998, 1245, 1, 'Редактировать', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1999, 1246, 1, 'Удалить', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2000, 1247, 1, ' ', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2001, 1248, 1, 'Электронные адреса', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2002, 1249, 1, 'Электронные адреса', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2003, 1250, 1, 'Код', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2004, 1251, 1, 'Адрес', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2005, 1252, 1, 'Удалить', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2006, 1253, 1, 'Редактировать', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2007, 1254, 1, 'Название электронного ящика', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2008, 1255, 1, 'Уровни критичности тикетов', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2009, 1256, 1, 'Код', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2010, 1257, 1, 'Название', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2011, 1258, 1, 'Описание', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2012, 1259, 1, 'Сортировка', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2013, 1260, 1, 'Редактировать', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2014, 1261, 1, 'Удалить', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2015, 1262, 1, 'Копировать', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2016, 1263, 1, 'Применить', 'Применить изменения');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2017, 1264, 1, 'Сообщения', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2018, 1265, 1, 'Код', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2019, 1266, 1, 'Тема', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2020, 1267, 1, 'Дата', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2021, 1268, 1, 'Оценка', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2022, 1269, 1, 'Статус', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2023, 1270, 1, 'Редактировать', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2024, 1271, 1, 'Удалить', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2025, 1272, 1, 'Статусы сообщений', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2026, 1273, 1, 'Название', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2027, 1274, 1, 'Описание', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2028, 1275, 1, 'Сортировка', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2029, 1276, 1, 'Редактировать', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2030, 1277, 1, 'Удалить', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2031, 1278, 1, 'Применить', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2032, 1279, 1, 'Код', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2033, 1280, 1, 'Стандартные ответы', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2034, 1281, 1, 'Код', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2035, 1282, 1, 'Название', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2036, 1283, 1, 'Описание', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2037, 1284, 1, 'Удалить', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2038, 1285, 1, 'Редактировать', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2040, 1287, 1, '', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2041, 1288, 1, 'Ключевые слова', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2042, 1289, 1, 'Справочник ключевых слов', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2043, 1290, 1, 'Код', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2044, 1291, 1, 'Ключевые слова', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2045, 1292, 1, 'Редактировать', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2046, 1293, 1, 'Удалить', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2047, 1294, 1, 'Копировать', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2048, 1295, 1, 'Ответственные пользователи для категории тикетов', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2049, 1296, 1, 'Код', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2050, 1297, 1, '', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2051, 1298, 1, 'Ответственные пользователи', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2052, 1299, 1, 'Добавить', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2053, 1300, 1, 'Код', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2054, 1301, 1, 'Удалить', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2055, 1302, 1, 'Получить почту', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2056, 1303, 1, '', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2057, 1304, 1, 'Обработано', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2058, 1305, 1, 'Ответить', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2059, 1306, 1, 'Сортировка', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2060, 1307, 1, '', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2061, 1308, 1, 'Применить', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2062, 1309, 1, 'Группы пользователей', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2066, 1313, 1, 'Шаблонные ответы пользователей', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2064, 1311, 1, 'Группа пользователей', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2065, 1312, 1, 'Комментарий', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2067, 1314, 1, 'Код', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2068, 1315, 1, 'Имя пользователя', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2069, 1316, 1, 'Редактировать', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2070, 1317, 1, 'Активность', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2071, 1318, 1, 'Объединить', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2113, 1360, 1, 'Аффилиаты', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2073, 1320, 1, 'Не обр.', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2082, 1329, 1, '', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2097, 1344, 1, 'Название', 'Наименование элемента');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2095, 1342, 1, 'Аффилиаты', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2096, 1343, 1, 'Код', 'Уникальный идентификатор элемента');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2098, 1345, 1, 'Описание', 'Описание элемента');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2099, 1346, 1, 'Уровни', 'Уровни ');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2100, 1347, 1, 'Добавить', 'Добавление записи');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2101, 1348, 1, 'Удалить', 'Удаление записи');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2107, 1354, 1, 'Код', 'Уникальный идентификатор элемента');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2106, 1353, 1, 'Уровни партнерской программы', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2108, 1355, 1, 'Процент', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2109, 1356, 1, 'Сумма', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2110, 1357, 1, 'Тип', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2111, 1358, 1, 'Редактировать', 'Редактирование текущего элемента');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2112, 1359, 1, 'Удалить', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2114, 1361, 1, 'Аффилиаты пользователей', 'Список всех аффилиатов пользователя');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2115, 1362, 1, 'Код', 'Уникальный идентификатор элемента списка');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2116, 1363, 1, 'Логин пользователя', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2117, 1364, 1, 'Редактировать', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2118, 1365, 1, 'Удалить', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2119, 1366, 1, 'Соответствия партнерских программа магазинам', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2120, 1367, 1, 'Код', 'Уникальный идентификатор элемента');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2121, 1368, 1, 'Партнерская программа', 'Список партнерок сайта');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2122, 1369, 1, 'Статус', 'Отношение партнерки к магазину (доступна/недоступна)');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2123, 1370, 1, ' ', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2124, 1371, 1, 'Включить доступ', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2125, 1372, 1, 'Выключить доступ', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2126, 1373, 1, 'Время работы техподдержки', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2127, 1374, 1, '0', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2128, 1375, 1, '1', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2129, 1376, 1, '2', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2130, 1377, 1, '3', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2131, 1378, 1, '4', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2132, 1379, 1, '5', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2133, 1380, 1, '6', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2134, 1381, 1, '7', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2135, 1382, 1, '8', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2136, 1383, 1, '9', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2137, 1384, 1, '10', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2138, 1385, 1, '11', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2139, 1386, 1, '12', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2140, 1387, 1, '13', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2141, 1388, 1, '14', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2142, 1389, 1, '15', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2143, 1390, 1, '16', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2144, 1391, 1, '17', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2145, 1392, 1, '18', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2146, 1393, 1, '19', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2147, 1394, 1, '20', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2148, 1395, 1, '21', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2149, 1396, 1, '22', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2150, 1397, 1, '23', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2151, 1398, 1, '', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2152, 1399, 1, 'Применить', 'Применить изменения');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2154, 1401, 1, 'Включить', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2155, 1402, 1, 'Выключить', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2156, 1403, 1, 'Копировать', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2157, 1404, 1, 'Копировать', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2158, 1405, 1, 'Копировать', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2159, 1406, 1, 'Копировать', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2160, 1407, 1, 'Копировать', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2161, 1408, 1, 'Копировать', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2162, 1409, 1, 'Копировать', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2164, 1411, 1, 'Заблокировать тикет', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2165, 1412, 1, 'Копировать', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2166, 1413, 1, 'Копировать', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2167, 1414, 1, 'Копировать', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2168, 1415, 1, 'Копировать', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2169, 1416, 1, 'Закрыть тикет', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2170, 1417, 1, 'Флаги тикетов', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2171, 1418, 1, 'Код', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2172, 1419, 1, 'Значение', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2173, 1420, 1, 'Редактировать', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2174, 1421, 1, 'Удалить', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2175, 1422, 1, 'Сортировка', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2176, 1422, 2, '', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2177, 1420, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2178, 1421, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2179, 1423, 1, 'Применить', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2180, 1423, 2, 'Apply', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2183, 1307, 2, '', '');

ALTER TABLE `admin_language_table` CHANGE `users_id` `users_id` INT( 11 ) NOT NULL DEFAULT '0';
ALTER TABLE `constants_table` CHANGE `users_id` `users_id` INT( 11 ) NOT NULL DEFAULT '0';
ALTER TABLE `information_propertys_groups_dir_table` CHANGE `users_id` `users_id` INT( 11 ) NOT NULL DEFAULT '0';
ALTER TABLE `information_propertys_items_dir_table` CHANGE `users_id` `users_id` INT( 11 ) NOT NULL DEFAULT '0';
ALTER TABLE `ip_table` CHANGE `users_id` `users_id` INT( 11 ) NOT NULL DEFAULT '0';
ALTER TABLE `modules_table` CHANGE `users_id` `users_id` INT( 11 ) NOT NULL DEFAULT '0';
ALTER TABLE `shop_eitem_table` CHANGE `users_id` `users_id` INT( 11 ) NOT NULL DEFAULT '0';
ALTER TABLE `shop_intermediate_table` CHANGE `users_id` `users_id` INT( 11 ) NOT NULL DEFAULT '0';
ALTER TABLE `shop_item_discount_table` CHANGE `users_id` `users_id` INT( 11 ) NOT NULL DEFAULT '0';
ALTER TABLE `shop_order_items_table` CHANGE `users_id` `users_id` INT( 11 ) NOT NULL DEFAULT '0';
ALTER TABLE `shop_properties_groups_dir_table` CHANGE `users_id` `users_id` INT( 11 ) NOT NULL DEFAULT '0';
ALTER TABLE `shop_properties_items_dir_table` CHANGE `users_id` `users_id` INT( 11 ) NOT NULL DEFAULT '0';
ALTER TABLE `shop_properties_item_for_groups_table` CHANGE `users_id` `users_id` INT( 11 ) NOT NULL DEFAULT '0';
ALTER TABLE `users_access_table` CHANGE `users_id` `users_id` INT( 11 ) NOT NULL DEFAULT '0';
ALTER TABLE `users_type_events_access_table` CHANGE `users_id` `users_id` INT( 11 ) NOT NULL DEFAULT '0';
ALTER TABLE `users_type_table` CHANGE `users_id` `users_id` INT( 11 ) NOT NULL DEFAULT '0';

ALTER TABLE `admin_forms_field_table` CHANGE `admin_forms_field_onclick` `admin_forms_field_onclick` TEXT CHARACTER SET cp1251 COLLATE cp1251_general_ci NULL;
ALTER TABLE `admin_forms_field_table` CHANGE `admin_forms_field_attrib` `admin_forms_field_attrib` VARCHAR( 255 ) CHARACTER SET cp1251 COLLATE cp1251_general_ci NULL;
ALTER TABLE `admin_forms_field_table` CHANGE `admin_forms_field_image` `admin_forms_field_image` VARCHAR( 255 ) CHARACTER SET cp1251 COLLATE cp1251_general_ci NULL;
ALTER TABLE `admin_forms_field_table` CHANGE `admin_forms_field_link` `admin_forms_field_link` TEXT CHARACTER SET cp1251 COLLATE cp1251_general_ci NULL;

ALTER TABLE `shop_items_catalog_table` ADD `shop_items_catalog_show_count` INT( 10 ) NOT NULL ;
ALTER TABLE `shop_items_catalog_table` CHANGE `shop_items_catalog_show_count` `shop_items_catalog_show_count` INT( 10 ) NOT NULL DEFAULT '0';

ALTER TABLE `users_type_table` CHANGE `site_id` `site_id` INT( 11 ) NOT NULL DEFAULT '0';

UPDATE `constants_table` SET `constants_value` = '5.2.4' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '11' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

ALTER TABLE `advertisement_contextual_words_table` CHANGE `users_id` `users_id` INT( 11 ) NOT NULL DEFAULT '0';

-- Forum
ALTER TABLE `forums_theme_table` CHANGE `users_id` `users_id` INT( 11 ) NOT NULL DEFAULT '0';
ALTER TABLE `forums_users_group_list_table` CHANGE `users_id` `users_id` VARCHAR( 11 ) CHARACTER SET cp1251 COLLATE cp1251_general_ci NOT NULL DEFAULT '0';

-- Helpdesk
INSERT INTO `modules_table` (`modules_name`, `modules_description`, `modules_status`, `modules_path`, `modules_order`, `users_id`) VALUES ('Службы технической поддержки', '', 0, 'helpdesk', 0, 0);

-- --------------------------------------------------------

-- 
-- Структура таблицы `helpdesk_attachment_table`
-- 

CREATE TABLE IF NOT EXISTS `helpdesk_attachment_table` (
  `helpdesk_attachment_id` int(11) NOT NULL auto_increment,
  `users_id` int(11) NOT NULL default '0',
  `helpdesk_message_id` int(11) NOT NULL,
  `helpdesk_attachment_file_name` varchar(255) default NULL,
  `helpdesk_attachment_file_path` varchar(255) default NULL,
  PRIMARY KEY  (`helpdesk_attachment_id`),
  KEY `helpdesk_message_id` (`helpdesk_message_id`)
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=cp1251 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

-- 
-- Структура таблицы `helpdesk_critical_level_table`
-- 

CREATE TABLE IF NOT EXISTS `helpdesk_critical_level_table` (
  `helpdesk_critical_level_id` int(11) NOT NULL auto_increment,
  `users_id` int(11) NOT NULL default '0',
  `helpdesk_id` int(11) NOT NULL,
  `helpdesk_critical_level_name` varchar(255) default NULL,
  `helpdesk_critical_level_description` text,
  `helpdesk_critical_level_time` int(11) default NULL,
  `helpdesk_critical_level_order` int(11) default NULL,
  PRIMARY KEY  (`helpdesk_critical_level_id`),
  KEY `users_id` (`users_id`),
  KEY `helpdesk_id` (`helpdesk_id`)
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=cp1251 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

-- 
-- Структура таблицы `helpdesk_email_table`
-- 

CREATE TABLE IF NOT EXISTS `helpdesk_email_table` (
  `helpdesk_email_id` int(11) NOT NULL auto_increment,
  `users_id` int(11) default NULL,
  `helpdesk_id` int(11) NOT NULL,
  `helpdesk_email_name` varchar(255) default NULL,
  `helpdesk_email_email` varchar(255) default NULL,
  `helpdesk_email_login` varchar(255) default NULL,
  `helpdesk_email_password` varchar(255) default NULL,
  `helpdesk_email_smtp` varchar(255) default NULL,
  `helpdesk_email_pop3` varchar(255) default NULL,
  `helpdesk_email_imap` varchar(255) default NULL,
  `helpdesk_email_use_secury_protocol` tinyint(1) default '0',
  `helpdesk_email_delete_message` tinyint(1) default '0',
  `helpdesk_email_order` int(11) default '0',
  `helpdesk_ticket_category_id` int(11) default '0',
  `helpdesk_email_active` tinyint(1) default '0',
  PRIMARY KEY  (`helpdesk_email_id`),
  KEY `helpdesk_id` (`helpdesk_id`),
  KEY `users_id` (`users_id`)
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=cp1251 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

-- 
-- Структура таблицы `helpdesk_letter_template_dir_table`
-- 

CREATE TABLE IF NOT EXISTS `helpdesk_letter_template_dir_table` (
  `helpdesk_letter_template_dir_id` int(11) NOT NULL auto_increment,
  `users_id` int(11) NOT NULL default '0',
  `helpdesk_id` int(11) NOT NULL,
  `helpdesk_letter_template_dir_parent_id` int(11) default NULL,
  `helpdesk_letter_template_dir_name` varchar(255) default NULL,
  `helpdesk_letter_template_dir_description` text,
  PRIMARY KEY  (`helpdesk_letter_template_dir_id`),
  KEY `users_id` (`users_id`),
  KEY `helpdesk_id` (`helpdesk_id`)
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=cp1251 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

-- 
-- Структура таблицы `helpdesk_letter_template_table`
-- 

CREATE TABLE IF NOT EXISTS `helpdesk_letter_template_table` (
  `helpdesk_letter_template_id` int(11) NOT NULL auto_increment,
  `helpdesk_id` int(11) NOT NULL default '0',
  `users_id` int(11) NOT NULL default '0',
  `helpdesk_letter_template_dir_id` int(11) default NULL,
  `helpdesk_letter_template_name` varchar(255) default NULL,
  `helpdesk_letter_template_description` text,
  `helpdesk_letter_template_text` text,
  `helpdesk_letter_template_answer_user_id` int(11) default NULL,
  `helpdesk_letter_template_type` tinyint(1) default '0',
  PRIMARY KEY  (`helpdesk_letter_template_id`),
  KEY `helpdesk_id` (`helpdesk_id`),
  KEY `users_id` (`users_id`),
  KEY `helpdesk_letter_template_dir_id` (`helpdesk_letter_template_dir_id`)
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=cp1251 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

-- 
-- Структура таблицы `helpdesk_letter_template_words_table`
-- 

CREATE TABLE IF NOT EXISTS `helpdesk_letter_template_words_table` (
  `helpdesk_letter_template_words_id` int(11) NOT NULL auto_increment,
  `users_id` int(11) NOT NULL default '0',
  `helpdesk_letter_template_id` int(11) NOT NULL default '0',
  `helpdesk_letter_template_words_value` text,
  PRIMARY KEY  (`helpdesk_letter_template_words_id`),
  KEY `helpdesk_letter_tamplate_id` (`helpdesk_letter_template_id`)
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=cp1251 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

-- 
-- Структура таблицы `helpdesk_message_table`
-- 

CREATE TABLE IF NOT EXISTS `helpdesk_message_table` (
  `helpdesk_message_id` int(11) NOT NULL auto_increment,
  `helpdesk_ticket_id` int(11) NOT NULL,
  `helpdesk_status_id` int(11) NOT NULL,
  `users_id` int(11) NOT NULL default '0',
  `helpdesk_message_parent_id` int(11) default '0',
  `helpdesk_message_subject` varchar(255) default NULL,
  `helpdesk_message_message` text,
  `helpdesk_message_creation_datetime` datetime default NULL,
  `helpdesk_message_modification_datetime` datetime default NULL,
  `helpdesk_message_responsible_user_id` int(11) default NULL,
  `helpdesk_message_grade` int(1) default NULL,
  `helpdesk_message_responsible_description` text,
  `helpdesk_message_processed` tinyint(1) default '0',
  `helpdesk_message_number` int(11) NOT NULL,
  `helpdesk_message_inbox` int(1) default '0',
  `helpdesk_message_type` tinyint(1) default '0',
  `helpdesk_message_headers` text,
  `helpdesk_message_blocked_at` datetime default '0000-00-00 00:00:00',
  `helpdesk_message_blocked_by` int(11) default '0',
  PRIMARY KEY  (`helpdesk_message_id`),
  KEY `helpdesk_ticket_id` (`helpdesk_ticket_id`),
  KEY `helpdesk_status_id` (`helpdesk_status_id`),
  KEY `users_id` (`users_id`)
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=cp1251 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

-- 
-- Структура таблицы `helpdesk_responsible_table`
-- 

CREATE TABLE IF NOT EXISTS `helpdesk_responsible_table` (
  `helpdesk_responsible_id` int(11) NOT NULL auto_increment,
  `users_id` int(11) NOT NULL default '0',
  `helpdesk_ticket_category_id` int(11) NOT NULL,
  `helpdesk_responsible_users_id` int(11) NOT NULL,
  `helpdesk_id` int(11) NOT NULL,
  PRIMARY KEY  (`helpdesk_responsible_id`),
  KEY `users_id` (`users_id`),
  KEY `helpdesk_ticket_category_id` (`helpdesk_ticket_category_id`),
  KEY `helpdesk_id` (`helpdesk_id`)
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=cp1251 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

-- 
-- Структура таблицы `helpdesk_status_table`
-- 

CREATE TABLE IF NOT EXISTS `helpdesk_status_table` (
  `helpdesk_status_id` int(11) NOT NULL auto_increment,
  `users_id` int(11) NOT NULL default '0',
  `helpdesk_id` int(11) NOT NULL,
  `helpdesk_status_name` varchar(255) default NULL,
  `helpdesk_status_description` text,
  `helpdesk_status_order` int(11) default NULL,
  PRIMARY KEY  (`helpdesk_status_id`),
  KEY `users_id` (`users_id`),
  KEY `helpdesk_id` (`helpdesk_id`)
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=cp1251 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

-- 
-- Структура таблицы `helpdesk_support_worktime_table`
-- 

CREATE TABLE IF NOT EXISTS `helpdesk_support_worktime_table` (
  `helpdesk_support_worktime_id` int(11) NOT NULL auto_increment,
  `helpdesk_support_worktime_day` smallint(1) NOT NULL,
  `helpdesk_support_worktime_hour` smallint(2) NOT NULL,
  `helpdesk_id` int(11) NOT NULL,
  PRIMARY KEY  (`helpdesk_support_worktime_id`),
  KEY `helpdesk_id` (`helpdesk_id`)
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=cp1251 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

-- 
-- Структура таблицы `helpdesk_table`
-- 

CREATE TABLE IF NOT EXISTS `helpdesk_table` (
  `helpdesk_id` int(11) NOT NULL auto_increment,
  `users_id` int(11) NOT NULL default '0',
  `helpdesk_ticket_category_id` int(11) NOT NULL,
  `helpdesk_status_reply_id` int(11) default '0',
  `helpdesk_status_new_id` int(11) default '0',
  `helpdesk_critical_level_id` int(11) default '0',
  `site_id` int(11) NOT NULL,
  `structure_id` int(11) default NULL,
  `helpdesk_email_id` int(11) default '0',
  `helpdesk_name` varchar(255) default NULL,
  `helpdesk_notify_critical_level_change` tinyint(4) default NULL,
  `helpdesk_notify_for_query` tinyint(4) default NULL,
  `helpdesk_description` text,
  `helpdesk_ticket_mask` varchar(255) default NULL,
  `helpdesk_report_for_query` text,
  `helpdesk_report_for_critical_level_change` text,
  `helpdesk_ticket_message_number_mask` varchar(255) default NULL,
  `helpdesk_message_subject_mask` varchar(255) default NULL,
  `helpdesk_report_for_critical_level_change_subject` varchar(256) default NULL,
  `helpdesk_report_for_query_subject` varchar(256) default NULL,
  `helpdesk_auto_answer_subject` varchar(256) default NULL,
  `helpdesk_sort_field_ticket` tinyint(2) default '0',
  `helpdesk_sort_order_ticket` tinyint(1) default '0',
  `helpdesk_report_for_status_message_change` text,
  `helpdesk_report_for_status_message_change_subject` text,
  `helpdesk_message_type` tinyint(1) default '0',
  `helpdesk_block_ticket_time` int(11) default '0',
  `helpdesk_close_ticket_time` int(11) default '0',
  `helpdesk_block_message_time` int(11) default '0',
  PRIMARY KEY  (`helpdesk_id`),
  KEY `users_id` (`users_id`),
  KEY `site_id` (`site_id`),
  KEY `helpdesk_ticket_category_id` (`helpdesk_ticket_category_id`),
  KEY `structure_id` (`structure_id`)
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=cp1251 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

-- 
-- Структура таблицы `helpdesk_ticket_category_table`
-- 

CREATE TABLE IF NOT EXISTS `helpdesk_ticket_category_table` (
  `helpdesk_ticket_category_id` int(11) NOT NULL auto_increment,
  `helpdesk_id` int(11) NOT NULL,
  `users_id` int(11) unsigned NOT NULL default '0',
  `helpdesk_email_id` int(11) default '0',
  `helpdesk_ticket_category_parent_id` int(11) default NULL,
  `helpdesk_ticket_category_name` varchar(255) default NULL,
  `helpdesk_ticket_category_description` text,
  `helpdesk_ticket_category_image_big` varchar(255) default NULL,
  `helpdesk_ticket_category_image_small` varchar(255) default NULL,
  `helpdesk_ticket_category_image_big_width` varchar(11) NOT NULL default '0',
  `helpdesk_ticket_category_image_big_height` varchar(11) NOT NULL default '0',
  `helpdesk_ticket_category_image_small_width` varchar(11) NOT NULL default '0',
  `helpdesk_ticket_category_image_small_height` varchar(11) NOT NULL default '0',
  PRIMARY KEY  (`helpdesk_ticket_category_id`),
  KEY `helpdesk_id` (`helpdesk_id`),
  KEY `helpdesk_ticket_category_parent_id` (`helpdesk_ticket_category_parent_id`)
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=cp1251 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

-- 
-- Структура таблицы `helpdesk_ticket_flags_table`
-- 

CREATE TABLE IF NOT EXISTS `helpdesk_ticket_flags_table` (
  `helpdesk_ticket_flags_id` int(11) NOT NULL auto_increment,
  `helpdesk_id` int(11) NOT NULL,
  `helpdesk_ticket_flags_text` varchar(255) default NULL,
  `helpdesk_ticket_flags_path` varchar(255) default NULL,
  `users_id` int(11) default '0',
  `helpdesk_ticket_flags_order` int(11) default '0',
  PRIMARY KEY  (`helpdesk_ticket_flags_id`),
  KEY `helpdesk_id` (`helpdesk_id`),
  KEY `users_id` (`users_id`)
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=cp1251 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

-- 
-- Структура таблицы `helpdesk_ticket_table`
-- 

CREATE TABLE IF NOT EXISTS `helpdesk_ticket_table` (
  `helpdesk_ticket_id` int(11) NOT NULL auto_increment,
  `helpdesk_ticket_name` varchar(20) default NULL,
  `users_id` int(11) default NULL,
  `helpdesk_critical_level_id` int(11) NOT NULL,
  `helpdesk_ticket_category_id` int(11) default '0',
  `site_users_id` int(11) default NULL,
  `helpdesk_id` int(11) NOT NULL,
  `helpdesk_ticket_email` varchar(255) default NULL,
  `helpdesk_email_id` int(11) default '0',
  `helpdesk_ticket_datetime` datetime default NULL,
  `helpdesk_ticket_notify_status_message_change` tinyint(4) default NULL,
  `helpdesk_ticket_sent_answer_for_message` tinyint(4) default NULL,
  `helpdesk_ticket_is_open` tinyint(4) default NULL,
  `helpdesk_ticket_source` tinyint(4) default NULL,
  `helpdesk_ticket_answer_by` datetime NOT NULL default '2030-12-31 23:59:59',
  `helpdesk_ticket_blocked_at` datetime default '0000-00-00 00:00:00',
  `helpdesk_ticket_blocked_by` int(11) default '0',
  `helpdesk_ticket_flags_id` int(11) default '0',
  PRIMARY KEY  (`helpdesk_ticket_id`),
  KEY `helpdesk_id` (`helpdesk_id`),
  KEY `helpdesk_critical_level_id` (`helpdesk_critical_level_id`),
  KEY `helpdesk_ticket_category_id` (`helpdesk_ticket_category_id`),
  KEY `site_users_id` (`site_users_id`),
  KEY `users_id` (`users_id`)
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=cp1251 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

-- 
-- Структура таблицы `helpdesk_users_letter_template_table`
-- 

CREATE TABLE IF NOT EXISTS `helpdesk_users_letter_template_table` (
  `helpdesk_users_letter_template_id` int(11) NOT NULL auto_increment,
  `helpdesk_id` int(11) NOT NULL,
  `users_id` int(11) NOT NULL default '0',
  `helpdesk_users_letter_template_new_mail` text,
  `helpdesk_users_letter_template_reply` text,
  `helpdesk_users_letter_template_type` tinyint(1) default '0',
  PRIMARY KEY  (`helpdesk_users_letter_template_id`),
  KEY `helpdesk_id` (`helpdesk_id`)
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=cp1251 AUTO_INCREMENT=1 ;


UPDATE admin_forms_field_table SET admin_forms_field_name = 'helpdesk_ticket_answer_by' WHERE admin_forms_field_id =709;

-- Lists
ALTER TABLE `lists_table` DROP INDEX `lists_name` ,
ADD INDEX `lists_name` ( `lists_name` );


-- 5.2.5

UPDATE `constants_table` SET `constants_value` = '5.2.5' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '12' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';


-- 5.2.6

INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (437, 1425, 148, 'search', '', 0, 0, 0, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (438, 1429, 148, 'form_report', '', 0, 0, 0, -1, 0, 19);

INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (803, 169, 1427, 'helpdesk_message_id', 10, 1, '', 0, 0, 'left', 'left', '45px', 'width: 45px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (804, 169, 1428, 'helpdesk_message_subject', 30, 1, '', 0, 0, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (805, 169, 1430, 'helpdesk_message_creation_datetime', 25, 5, '', 0, 0, 'left', 'left', '115px', 'width: 115px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (806, 169, 1431, 'email', 35, 1, '', 0, 0, 'left', 'left', '50px', 'width: 50px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (807, 169, 1432, 'helpdesk_ticket_id', 20, 1, '', 0, 0, 'left', 'left', '50px', 'width: 50px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (808, 169, 1433, 'helpdesk_status_id', 50, 7, '', 0, 0, 'left', 'left', '80px', 'width: 80px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (809, 169, 1434, 'helpdesk_message_processed', 40, 7, '', 0, 0, 'left', 'left', '16px', 'width: 16px;', '', '0 = /admin/images/on.gif = Не обработано\r\n1 = /admin/images/off.gif = Обработано', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (810, 169, 1436, 'helpdesk_message_inbox', 60, 7, '', 0, 0, 'left', 'left', '16px', 'width: 16px;', '', '0 = /admin/images/arrow_out.gif = Исходящее\r\n1 = /admin/images/arrow_in.gif = Входящее', '', '', '', 19);

INSERT INTO `admin_forms_table` (`admin_forms_id`, `admin_words_id`, `admin_forms_on_page`, `admin_forms_key_field`, `admin_forms_show_operations`, `admin_forms_show_group_operations`, `admin_forms_default_order_field`, `admin_forms_default_order_direction`, `admin_forms_group_operations_as_images`, `users_id`) VALUES (169, 1426, 20, 'helpdesk_message_id', 0, 0, 'helpdesk_message_id', 2, 0, 19);

INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1425, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1426, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1427, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1428, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1429, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1430, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1431, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1432, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1433, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1434, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1435, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1436, 19);

INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2184, 271, 2, '', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2185, 273, 2, '', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2186, 1227, 2, '', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2187, 1425, 1, 'Поиск', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2188, 1425, 2, 'Search', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2189, 1426, 1, 'Поиск в службе техподдержки', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2190, 1426, 2, 'Helpdesk`s search', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2191, 1427, 1, 'Код', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2192, 1427, 2, '', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2193, 1428, 1, 'Тема', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2194, 1428, 2, '', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2195, 1429, 1, 'Сформировать отчет', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2196, 1429, 2, 'Report forming', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2197, 1430, 1, 'Дата', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2198, 1430, 2, 'Date', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2199, 1431, 1, 'E-mail', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2200, 1431, 2, 'E-mail', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2201, 1432, 1, 'Тикет', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2202, 1432, 2, '', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2203, 1433, 1, 'Статус', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2204, 1433, 2, '', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2205, 1434, 1, '', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2206, 1434, 2, '', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2207, 1435, 1, 'helpdesk_message_inbox', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2208, 1435, 2, '', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2209, 1436, 1, '', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2210, 1436, 2, '', '');

UPDATE `constants_table` SET `constants_value` = '5.2.6' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '13' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

ALTER TABLE `helpdesk_message_table` ADD `helpdesk_message_allow_indexation` TINYINT NULL DEFAULT '1';

ALTER TABLE `search_page_table` ADD INDEX ( `search_page_module_entity_id` );
ALTER TABLE `search_page_table` ADD INDEX ( `search_page_module` );
ALTER TABLE `search_page_table` ADD `search_page_is_inner` TINYINT NULL DEFAULT '0' AFTER `search_page_size`;

-- 5.2.7

UPDATE `constants_table` SET `constants_value` = '5.2.7' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '14' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.2.8

UPDATE `constants_table` SET `constants_value` = '5.2.8' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '15' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.2.9

ALTER TABLE `site_table` CHANGE `site_key` `site_key` TEXT CHARACTER SET cp1251 COLLATE cp1251_general_ci NULL;
ALTER TABLE `site_table` CHANGE `site_html_cache_with` `site_html_cache_with` TEXT CHARACTER SET cp1251 COLLATE cp1251_general_ci NULL;
ALTER TABLE `site_table` CHANGE `site_html_cache_without` `site_html_cache_without` TEXT CHARACTER SET cp1251 COLLATE cp1251_general_ci NULL;
ALTER TABLE `site_table` CHANGE `site_css_left` `site_css_left` VARCHAR( 20 ) CHARACTER SET cp1251 COLLATE cp1251_general_ci NULL;
ALTER TABLE `site_table` CHANGE `site_css_right` `site_css_right` VARCHAR( 20 ) CHARACTER SET cp1251 COLLATE cp1251_general_ci NULL; 
ALTER TABLE `site_table` CHANGE `site_files_chmod` `site_files_chmod` VARCHAR( 5 ) CHARACTER SET cp1251 COLLATE cp1251_general_ci NULL;

UPDATE `constants_table` SET `constants_value` = '5.2.9' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '16' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.3.0

UPDATE `constants_table` SET `constants_value` = '5.3.0' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '17' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.3.1

ALTER TABLE `information_systems_table` ADD `information_systems_apply_tags_automatic` TINYINT NOT NULL DEFAULT '1';
ALTER TABLE `shop_shops_table` ADD `shop_shops_apply_tags_automatic` TINYINT NOT NULL DEFAULT '1';
ALTER TABLE `shop_shops_table` ADD `shop_shops_writeoff_payed_items` TINYINT NOT NULL DEFAULT '0';
ALTER TABLE `shop_items_catalog_table` ADD `site_users_id` INT UNSIGNED NULL DEFAULT NULL AFTER `users_id` ;
ALTER TABLE `shop_comment_table` ADD `shop_comment_user_email` VARCHAR( 255 ) NULL AFTER `shop_comment_user_name` ;
ALTER TABLE `shop_comment_table` ADD `shop_comment_user_ip` VARCHAR( 15 ) NULL AFTER `shop_comment_user_email` ;

UPDATE `constants_table` SET `constants_value` = '5.3.1' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '18' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- Helpdesk
ALTER TABLE `helpdesk_message_table` ADD INDEX ( `helpdesk_message_number` );

CREATE TABLE IF NOT EXISTS `helpdesk_weekend_table` (
  `helpdesk_weekend_id` int(11) NOT NULL auto_increment,
  `helpdesk_id` int(11) NOT NULL,
  `helpdesk_weekend_date` date NOT NULL default '0000-00-00',
  `helpdesk_weekend_weekday_num` tinyint(4) default '0',
  `helpdesk_weekend_is_weekend` tinyint(1) default '0',
  `helpdesk_weekend_description` text,
  `users_id` int(11) default '0',
  PRIMARY KEY  (`helpdesk_weekend_id`),
  KEY `helpdesk_id` (`helpdesk_id`),
  KEY `users_id` (`users_id`)
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=cp1251 AUTO_INCREMENT=1 ;

-- Search
ALTER TABLE `search_page_table` ADD `search_page_module_value_type` INT( 11 ) NULL AFTER `search_page_module_entity_id` ,
ADD `search_page_module_value_id` INT( 11 ) NULL AFTER `search_page_module_value_type` ;

INSERT INTO `xsl_table` (`xsl_id`, `xsl_dir_id`, `xsl_name`, `xsl_comment`, `xsl_order`, `users_id`) VALUES (14, 24, 'ПисьмоАдминистраторуОДобавленииКомментарияВТекстовомФормате', '', 0, 0);
INSERT INTO `xsl_table` (`xsl_id`, `xsl_dir_id`, `xsl_name`, `xsl_comment`, `xsl_order`, `users_id`) VALUES (15, 24, 'ПисьмоАдминистраторуОДобавленииКомментарияВФорматеHTML', '', 0, 0);


-- 5.3.2

INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (439, 1437, 87, 'copy_menu', '/admin/images/copy.gif', 1, 1, 20, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (440, 1438, 124, 'copy_document_status', '/admin/images/copy.gif', 1, 1, 20, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (441, 1443, 170, 'edit_weekend', '/admin/images/edit.gif', 1, 0, 0, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (442, 1444, 170, 'delete_weekend', '/admin/images/delete.gif', 1, 1, 0, -1, 1, 19);

INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (811, 170, 1440, 'helpdesk_weekend_id', 0, 1, '', 1, 1, 'left', 'left', '45px', 'width: 45px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (812, 170, 1441, 'helpdesk_weekend_date', 10, 6, '', 1, 1, 'left', 'left', '80px', 'width: 80px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (813, 170, 1442, 'helpdesk_weekend_is_weekend', 30, 7, '', 1, 0, 'left', 'center', '16px', 'width: 16px;', '', '1 = /admin/images/off.gif = Выходной\r\n0 = /admin/images/on.gif = Рабочий', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (814, 170, 1445, 'helpdesk_weekend_description', 20, 1, '', 0, 1, 'left', 'left', '', '', '', '', '', '', '', 19);

INSERT INTO `admin_forms_table` (`admin_forms_id`, `admin_words_id`, `admin_forms_on_page`, `admin_forms_key_field`, `admin_forms_show_operations`, `admin_forms_show_group_operations`, `admin_forms_default_order_field`, `admin_forms_default_order_direction`, `admin_forms_group_operations_as_images`, `users_id`) VALUES (170, 1439, 20, 'helpdesk_weekend_id', 1, 1, 'helpdesk_weekend_id', 1, 1, 19);

INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1437, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1438, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1439, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1440, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1441, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1442, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1443, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1444, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1445, 19);

INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2211, 467, 2, 'Shop Comments', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2212, 1437, 1, 'Копировать', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2213, 1438, 1, 'Копировать', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2214, 1439, 1, 'Перенос выходных', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2215, 1440, 1, 'Код', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2216, 1441, 1, 'Дата', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2217, 1442, 1, 'Рабочий день', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2218, 1443, 1, 'Редактировать', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2219, 1444, 1, 'Удалить', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2220, 1445, 1, 'Описание', '');

UPDATE `constants_table` SET `constants_value` = '5.3.2' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '19' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.3.3

UPDATE `constants_table` SET `constants_value` = '5.3.3' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '20' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.3.4

ALTER TABLE `site_users_group_list_table` ADD `information_groups_id` INT NULL AFTER `site_users_group_id`;
ALTER TABLE `site_users_group_list_table` ADD INDEX (`information_groups_id`) ;

-- Tags
INSERT INTO `modules_table` (`modules_name`, `modules_description`, `modules_status`, `modules_path`, `modules_order`, `users_id`) 
VALUES ('Метки', '', 1, 'tag', 0, 0);

ALTER TABLE `tags_table` ADD `users_id` INT( 11 ) NOT NULL DEFAULT '0';
ALTER TABLE `shop_order_table` ADD `shop_order_account_number` VARCHAR( 255 ) CHARACTER SET cp1251 COLLATE cp1251_general_ci NULL DEFAULT NULL ;

INSERT INTO `constants_table` (`constants_id` , `constants_name` , `constants_value` , `constants_description` , `constants_activity` ) 
VALUES (NULL , 'PNG_QUALITY', '9', 'Качество PNG-изображения (0-9)', '1');

ALTER TABLE `information_systems_table` ADD `information_systems_file_name_conversion` TINYINT NOT NULL DEFAULT '1';
UPDATE `information_systems_table` SET `information_systems_file_name_conversion` = 1;

UPDATE `constants_table` SET `constants_value` = '5.3.4' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '21' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.3.5

INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (447, 1471, 173, 'edit_tag', '/admin/images/edit.gif', 1, 0, 0, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (448, 1472, 173, 'delete_tag', '/admin/images/delete.gif', 1, 1, 10, -1, 1, 19);

INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (825, 173, 1468, 'site_count', 20, 1, '', 1, 0, 'left', 'left', '150px', 'width: 150px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (823, 173, 1466, 'code', 0, 1, '', 1, 1, 'left', 'left', '45px', 'width: 45px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (824, 173, 1467, 'tag_name', 10, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (826, 173, 1469, 'all_count', 30, 1, '', 1, 0, 'left', 'left', '150px', 'width: 150px;', '', '', '', '', '', 19);

INSERT INTO `admin_forms_table` (`admin_forms_id`, `admin_words_id`, `admin_forms_on_page`, `admin_forms_key_field`, `admin_forms_show_operations`, `admin_forms_show_group_operations`, `admin_forms_default_order_field`, `admin_forms_default_order_direction`, `admin_forms_group_operations_as_images`, `users_id`) VALUES (173, 1465, 20, 'code', 1, 1, 'code', 1, 1, 19);

INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1466, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1467, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1468, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1469, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1471, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1472, 19);

INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2241, 1466, 1, 'Код', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2242, 1467, 1, 'Название', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2243, 1468, 1, 'Используется на сайте', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2244, 1469, 1, 'Используется всего', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2245, 1470, 1, 'Редактировать', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2246, 1471, 1, 'Редактировать', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2247, 1472, 1, 'Удалить', '');

UPDATE `constants_table` SET `constants_value` = '5.3.5' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '22' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.3.6

INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1465, 19);
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2240, 1465, 1, 'Список меток', '');

UPDATE `constants_table` SET `constants_value` = '5.3.6' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '23' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.3.7

ALTER TABLE `shop_shops_table` ADD `shop_shops_apply_keywords_automatic` TINYINT NOT NULL DEFAULT '0';
ALTER TABLE `information_systems_table` ADD `information_systems_apply_keywords_automatic` TINYINT NOT NULL DEFAULT '0';

ALTER TABLE `shop_shops_table` ADD `shop_shops_file_name_conversion` TINYINT NOT NULL DEFAULT '1';

ALTER TABLE `users_access_table` CHANGE `site_id` `site_id` INT NOT NULL DEFAULT '0';

UPDATE `constants_table` SET `constants_value` = '5.3.7' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '24' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.3.8

UPDATE `constants_table` SET `constants_value` = '5.3.8' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '25' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';


-- 5.3.9

ALTER TABLE `shop_eitem_table` ADD INDEX ( `shop_items_catalog_item_id` );
ALTER TABLE `shop_order_items_table` ADD `shop_order_items_eitem_resource` VARCHAR( 32 )  CHARACTER SET cp1251 COLLATE cp1251_general_ci NULL DEFAULT NULL;
ALTER TABLE `shop_order_items_table` ADD `shop_eitem_id` INT NULL DEFAULT '0';
ALTER TABLE `shop_shops_table` ADD `shop_shops_attach_eitem` TINYINT NOT NULL DEFAULT '1';

ALTER TABLE `shop_order_items_table` ADD INDEX ( `shop_order_items_eitem_resource` ) ;

UPDATE `constants_table` SET `constants_value` = '5.3.9' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '26' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.4.1

UPDATE `constants_table` SET `constants_value` = '5.4.1' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '28' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.4.2

INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (739, 55, 1300, 'shop_tax_id', 5, 1, '', 1, 1, 'left', 'left', '45px', 'width: 45px;', '', '', '', '', '', 19);

UPDATE `constants_table` SET `constants_value` = '5.4.2' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '29' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.4.2

CREATE TABLE `forums_theme_user_subscribe_table` (
`forums_theme_user_subscribe_id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`forums_theme_id` INT NOT NULL ,
`site_users_id` INT NOT NULL ,
INDEX ( `forums_theme_id` , `site_users_id` )
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=cp1251 AUTO_INCREMENT=1;

-- 5.4.2

ALTER TABLE `maillist_table` ADD `maillist_template` TEXT NULL DEFAULT NULL ;

-- 5.4.4

UPDATE `constants_table` SET `constants_value` = '5.4.4' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '31' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.4.5

INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (833, 75, 1484, 'shop_order_users_surname', 35, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1484, 19);
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2259, 1484, 1, 'Фамилия', 'Фамилия заказчика');
ALTER TABLE `xsl_table` ADD `xsl_format` TINYINT NOT NULL DEFAULT '1' AFTER `xsl_order` ;
ALTER TABLE `site_table` ADD `site_notes` TEXT NULL ;

ALTER TABLE `shop_shops_table` ADD `shop_yandex_market_sales_notes_default` VARCHAR(50) NULL;

-- 5.4.6

UPDATE `documents_table` SET `site_id` = 1 WHERE `site_id` = 0;
UPDATE `data_templates_table` SET `site_id` = 1 WHERE `site_id` = 0;
UPDATE `information_systems_table` SET `site_id` = 1 WHERE `site_id` = 0;
UPDATE `templates_table` SET `site_id` = 1 WHERE `site_id` = 0;

UPDATE `constants_table` SET `constants_value` = '5.4.6' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '33' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.4.7

-- SiteUsers
UPDATE `site_users_group_list_table` SET information_groups_id = 0 WHERE information_groups_id IS NULL;
ALTER TABLE `site_users_group_list_table` CHANGE `information_groups_id` `information_groups_id` INT( 11 ) NULL DEFAULT '0';
ALTER TABLE `site_users_group_list_table` CHANGE `site_users_group_id` `site_users_group_id` INT( 10 ) UNSIGNED NULL DEFAULT '0';



-- 5.4.8

ALTER TABLE `site_table` ADD `site_send_attendance_report` TINYINT NOT NULL DEFAULT '1' AFTER `site_admin_email` ;
UPDATE `site_table` SET `site_send_attendance_report` = 1;

INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES (450, 1486, 81, 'create_mod', '', 0, 0, 0, -1, 0, 19);

INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1485, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1486, 19);

INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2260, 1485, 1, 'Создать модификации', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (2261, 1486, 1, 'Создать модификации', '');

UPDATE `constants_table` SET `constants_value` = '5.4.8' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '35' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.4.9

UPDATE `constants_table` SET `constants_value` = '5.4.9' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '36' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

UPDATE `information_groups_table` SET `information_groups_activity` = 1;

-- 5.5.0

INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(835, 77, 1489, 'shop_type_of_delivery_id', 5, 1, '', 1, 1, 'left', 'left', '', 'width: 45px;', 'width: 45px;', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(836, 75, 1491, 'shop_order_weight', 45, 10, '', 0, 0, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(837, 7, 1492, 'users_type_id', 5, 1, '', 1, 1, 'left', 'left', '45px', 'width: 45px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(838, 78, 1493, 'shop_cond_of_delivery_id', 5, 1, '', 1, 1, 'left', 'left', '45px', 'width: 45px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(839, 68, 1494, 'shop_list_of_prices_id', 0, 1, '', 1, 1, 'left', 'left', '45px', 'width: 45px;', '', '', '', '', '', 19);

INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES(1489, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES(1490, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES(1491, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES(1492, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES(1493, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES(1494, 19);

INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(2264, 1489, 1, 'Код', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(2265, 1490, 1, 'Вес', 'Вес заказа');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(2266, 1491, 1, 'Вес', 'Вес заказа');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(2267, 1492, 1, 'Код', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(2268, 1493, 1, 'Код', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(2269, 1494, 1, 'Код', '');

CREATE TABLE `tags_group_table` (
  `tags_group_id` int(11) NOT NULL auto_increment,
  `tags_group_parent_id` int(11) NOT NULL,
  `tags_group_name` varchar(255) NOT NULL,
  `tags_group_description` text,
  `tags_group_order` smallint(6) NOT NULL default '0',
  `users_id` int(11) NOT NULL default '0',
  PRIMARY KEY  (`tags_group_id`),
  KEY `tags_group_parent_id` (`tags_group_parent_id`)
) ENGINE=MyISAM DEFAULT CHARSET=cp1251 AUTO_INCREMENT=1 ;

ALTER TABLE `tags_table` ADD `tags_group_id` INT NULL DEFAULT '0' AFTER `tag_id` ;

ALTER TABLE `shop_groups_table` ADD `shop_groups_activity` TINYINT NOT NULL DEFAULT '1' AFTER `shop_groups_indexation` ;

ALTER TABLE `shop_sallers_table` ADD `shop_sallers_image` VARCHAR( 255 ) NULL AFTER `shop_sallers_contact_person`;
ALTER TABLE `shop_sallers_table` ADD `shop_sallers_small_image` VARCHAR( 255 ) NULL AFTER `shop_sallers_image`;  

ALTER TABLE `shop_sallers_table` ADD `shop_sallers_image_height` SMALLINT NOT NULL DEFAULT '0' AFTER `shop_sallers_small_image` , ADD `shop_sallers_image_width` SMALLINT NOT NULL DEFAULT '0' AFTER `shop_sallers_image_height` , ADD `shop_sallers_small_image_height` SMALLINT NOT NULL DEFAULT '0' AFTER `shop_sallers_image_width` , ADD `shop_sallers_small_image_width` SMALLINT NOT NULL DEFAULT '0' AFTER `shop_sallers_small_image_height`;

ALTER TABLE `shop_groups_table` CHANGE `shop_groups_cml_id` `shop_groups_cml_id` VARCHAR( 36 ) CHARACTER SET cp1251 COLLATE cp1251_general_ci NOT NULL;
ALTER TABLE `shop_items_catalog_table` CHANGE `shop_items_cml_id` `shop_items_cml_id` VARCHAR( 36 ) CHARACTER SET cp1251 COLLATE cp1251_general_ci NOT NULL;
ALTER TABLE `shop_tax_table` ADD `shop_tax_cml_id` VARCHAR( 36 ) NOT NULL AFTER `shop_tax_is_in_price`;
ALTER TABLE `shop_tax_table` CHANGE `shop_tax_cml_id` `shop_tax_cml_id` VARCHAR( 36 ) CHARACTER SET cp1251 COLLATE cp1251_general_ci NOT NULL DEFAULT '';

UPDATE `constants_table` SET `constants_value` = '5.5.0' WHERE `constants_name` = 'CURRENT_VERSION';

-- 5.5.0

-- Advert
ALTER TABLE `advertisement_table` ADD `advertisement_location_structure_id` INT NOT NULL DEFAULT '0';
UPDATE advertisement_table SET `advertisement_location_structure_id` = 0;

-- 5.5.0

-- Search
ALTER TABLE `search_log_table` ADD INDEX ( `search_log_ip` );
ALTER TABLE `search_words_table` ADD INDEX ( `search_words_weight` );

-- 5.5.1

DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 245;
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(245, 65, 455, 'activity', 80, 7, '', 0, 1, 'left', 'center', '16px', 'widht: 16px;', '', '0 = /admin/images/not_check.gif\r\n1 = /admin/images/check.gif', '/admin/shop/shop.php?admin_forms_id=65&operation=active&check_{dataset_key}_{keyfield}=1&shop_groups_parent_id={current_group}&shop_shops_id={shop_shops_id}', 'TrigerSingleAction(''/admin/shop/shop.php'', ''&shop_groups_parent_id={current_group}&shop_shops_id={shop_shops_id}'', ''active'', ''check_{dataset_key}_{keyfield}'', ''65'', '''', '''', '''', ''''); return false;', '', 19);

UPDATE `constants_table` SET `constants_value` = '5.5.1' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '38' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.5.2

DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 245;
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(245, 65, 455, 'activity', 80, 7, '', 0, 1, 'left', 'center', '16px', 'widht: 16px;', '', '0 = /admin/images/not_check.gif\r\n1 = /admin/images/check.gif', '/admin/shop/shop.php?admin_forms_id=65&operation=active&check_{dataset_key}_{keyfield}=1&shop_groups_parent_id={current_group}&shop_shops_id={shop_shops_id}', 'TrigerSingleAction(''/admin/shop/shop.php'', ''&shop_groups_parent_id={current_group}&shop_shops_id={shop_shops_id}'', ''active'', ''check_{dataset_key}_{keyfield}'', ''65'', '''', '''', '''', ''''); return false;', '', 19);

DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 49;
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(49, 12, 90, 'status_field', 50, 7, '', 0, 1, 'center', 'center', '', '', '', '1=/admin/images/check.gif\r\n0=/admin/images/not_check.gif', '/admin/InformationSystems/InformationSystems.php?admin_forms_id=12&information_system_id={information_systems_id}&information_groups_parent_id={information_groups_parent_id}&operation=change_item_active&check_{dataset_key}_{key_field}=1', 'TrigerSingleAction(''/admin/InformationSystems/InformationSystems.php'', ''&information_system_id={information_systems_id}&information_groups_parent_id={information_groups_parent_id}'', ''change_item_active'', ''check_{dataset_key}_{key_field}'', ''12'', '''', '''', '''', ''''); return false;', '', 19);

DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 823;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 824;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 825;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 826;

INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(823, 173, 1466, 'code', 10, 1, '', 1, 1, 'left', 'left', '45px', 'width: 45px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(824, 173, 1467, 'name', 30, 1, '', 1, 1, 'left', 'left', '', '', '', '', '/admin/tag/tag.php?admin_forms_id=173&operation=load_data&tags_group_parent_id={code}', 'DoLoadAjax(''/admin/tag/tag.php'', ''&tags_group_parent_id={code}'', 173, ''load_data''); return false;', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(825, 173, 1468, 'site_count', 40, 1, '', 1, 0, 'left', 'left', '150px', 'width: 150px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(826, 173, 1469, 'all_count', 50, 1, '', 1, 0, 'left', 'left', '150px', 'width: 150px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(834, 173, 1488, '', 20, 7, '', 0, 0, 'center', 'center', '20px', '', '', ' =/admin/images/page.gif', '', '', '', 19);
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(2263, 1488, 1, '', '');

INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES(1488, 19);

UPDATE `constants_table` SET `constants_value` = '5.5.2' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '39' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.5.3
ALTER TABLE `shop_groups_table` ADD `shop_groups_access` INT NOT NULL DEFAULT '-1' AFTER `shop_groups_activity`;
ALTER TABLE `shop_items_catalog_table` ADD `shop_items_catalog_access` INT NOT NULL DEFAULT '-1' AFTER `shop_items_catalog_is_active`; 
ALTER TABLE `shop_shops_table` ADD `shop_shops_access` SMALLINT NOT NULL DEFAULT '0';

UPDATE `constants_table` SET `constants_value` = '5.5.3' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '40' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.5.5

ALTER TABLE `information_groups_table` DROP `information_groups_blog_type`, DROP `information_groups_blog_item_default_accessibility`, DROP `information_groups_blog_item_default_show_comments_mode`, DROP `information_groups_blog_item_default_add_comments_mode`;
ALTER TABLE `information_items_table` DROP `information_items_blog_accessibility`, DROP `information_items_blog_show_comments_mode`, DROP `information_items_blog_add_comments_mode`;

ALTER TABLE `shop_groups_table` CHANGE `shop_groups_cml_id` `shop_groups_cml_id` VARCHAR( 36 ) CHARACTER SET cp1251 COLLATE cp1251_general_ci NOT NULL DEFAULT '';
ALTER TABLE `shop_items_catalog_table` CHANGE `shop_items_cml_id` `shop_items_cml_id` VARCHAR( 36 ) CHARACTER SET cp1251 COLLATE cp1251_general_ci NOT NULL DEFAULT '';

ALTER TABLE `shop_order_table` ADD `shop_order_change_status_datetime` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00';

INSERT INTO `constants_table` (`constants_name`, `constants_value`, `constants_description`, `constants_activity`, `users_id`) VALUES('ALLOW_SHOW_SQL', 'false', 'Разрешает показ SQL-запросов в верхней панели клиентского раздела сайта.', 1, 19);

UPDATE `constants_table` SET `constants_value` = '5.5.5' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '42' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';


-- 5.5.6

UPDATE `constants_table` SET `constants_value` = '5.5.6' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '43' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.5.7

DELETE FROM `constants_table` WHERE `constants_name` = 'UPLOADDIR';

ALTER TABLE `site_table` ADD `site_uploaddir` VARCHAR( 255 ) NOT NULL DEFAULT '';
UPDATE `site_table` SET `site_uploaddir` = 'upload/';

ALTER TABLE `shop_order_table` CHANGE `shop_order_phone` `shop_order_phone` VARCHAR( 255 ) CHARACTER SET cp1251 COLLATE cp1251_general_ci NULL DEFAULT NULL;

DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 245;
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(245, 65, 455, 'activity', 80, 7, '', 0, 1, 'left', 'center', '16px', 'widht: 16px;', '', '0 = /admin/images/not_check.gif\r\n1 = /admin/images/check.gif', '/admin/shop/shop.php?admin_forms_id=65&operation=active&check_{dataset_key}_{keyfield}=1&shop_groups_parent_id={current_group}&shop_shops_id={shop_shops_id}&current_status={activity}', 'TrigerSingleAction(''/admin/shop/shop.php'', ''&shop_groups_parent_id={current_group}&shop_shops_id={shop_shops_id}&current_status={activity}'', ''active'', ''check_{dataset_key}_{keyfield}'', ''65'', '''', '''', '''', ''''); return false;', '', 19);

UPDATE `constants_table` SET `constants_value` = '5.5.7' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '44' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.5.7

-- COUNTER
ALTER TABLE `stat_session_table` ADD INDEX (`stat_session_user_agent`);
ALTER TABLE `stat_session_table` ADD INDEX (`stat_session_color_depth`);
ALTER TABLE `stat_session_table` ADD INDEX (`stat_session_display_name`);
ALTER TABLE `stat_session_table` ADD INDEX (`stat_session_js_version`);
ALTER TABLE `stat_session_table` ADD INDEX (`stat_session_is_bot`);
ALTER TABLE `stat_session_table` ADD INDEX (`stat_session_os_name`);
ALTER TABLE `stat_session_table` ADD INDEX (`stat_session_browser_name`);

-- 5.5.7

-- SiteUsers
ALTER TABLE `site_users_table` CHANGE `site_users_login` `site_users_login` VARCHAR( 50 ) CHARACTER SET cp1251 COLLATE cp1251_general_ci NOT NULL;

-- 5.5.8

-- 5.5.9

-- 5.6.0

ALTER TABLE `shop_properties_item_for_groups_table` ADD INDEX (`shop_list_of_properties_id`);
ALTER TABLE `shop_properties_item_for_groups_table` ADD INDEX (`shop_groups_id`);
ALTER TABLE `shop_properties_item_for_groups_table` ADD INDEX (`shop_shops_id`);

-- 5.6.1

ALTER TABLE `shop_items_catalog_table` ADD INDEX ( `shop_items_catalog_modification_id` );
ALTER TABLE `shop_items_catalog_table` ADD INDEX ( `shop_items_catalog_is_active` ) ;

ALTER TABLE `shop_items_catalog_table` ADD INDEX ( `shop_items_catalog_putoff_date` );
ALTER TABLE `shop_items_catalog_table` ADD INDEX ( `shop_items_catalog_putend_date` );

ALTER TABLE `tags_relation_table` ADD INDEX ( `tag_id` ) ;
ALTER TABLE `tags_relation_table` ADD INDEX ( `information_items_id` );
ALTER TABLE `tags_relation_table` ADD INDEX ( `shop_items_catalog_item_id` ) ;
ALTER TABLE `tags_relation_table` ADD INDEX ( `site_id` );

ALTER TABLE `tags_table` ADD INDEX ( `tags_group_id` );

ALTER TABLE `structure_table` CHANGE `structure_activity` `structure_activity` TINYINT( 1 ) NOT NULL DEFAULT '0';
ALTER TABLE `structure_table` CHANGE `structure_change_frequency` `structure_change_frequency` SMALLINT NOT NULL DEFAULT '0';
ALTER TABLE `structure_table` CHANGE `structure_type` `structure_type` TINYINT NULL DEFAULT NULL ;
ALTER TABLE `structure_table` CHANGE `structure_show` `structure_show` TINYINT NULL DEFAULT NULL ;

ALTER TABLE `information_items_table` ADD INDEX ( `information_items_show_count` );

INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES (635, 45, 1124, 'advertisement_group_list_value', 30, 2, '', 0, 0, 'left', 'left', '', 'width: 50px;', '', '', '', '', '', 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES (1124, 19);
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES (1877, 1124, 1, 'Вероятность', 'Вероятность показа, может принимать значение от 1 до 100');

UPDATE `constants_table` SET `constants_value` = '5.6.1' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '48' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.6.2

ALTER TABLE `shop_cond_of_delivery_table` CHANGE `shop_cond_of_delivery_weight_from` `shop_cond_of_delivery_weight_from` DECIMAL( 14, 2 ) NULL DEFAULT NULL;
ALTER TABLE `shop_cond_of_delivery_table` CHANGE `shop_cond_of_delivery_weight_to` `shop_cond_of_delivery_weight_to` DECIMAL( 14, 2 ) NULL DEFAULT NULL;
ALTER TABLE `shop_cond_of_delivery_table` CHANGE `shop_cond_of_delivery_price_from` `shop_cond_of_delivery_price_from` DECIMAL( 14, 2 ) NULL DEFAULT NULL;
ALTER TABLE `shop_cond_of_delivery_table` CHANGE `shop_cond_of_delivery_price_to` `shop_cond_of_delivery_price_to` DECIMAL( 14, 2 ) NULL DEFAULT NULL;
ALTER TABLE `shop_cond_of_delivery_table` CHANGE `shop_cond_of_delivery_price` `shop_cond_of_delivery_price` DECIMAL( 14, 2 ) NULL DEFAULT NULL;

DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 243;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 244;
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(243, 65, 453, 'ostatok', 60, 2, '', 1, 1, 'left', 'left', '60px', 'width: 60px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(244, 65, 454, 'price', 70, 10, '', 1, 1, 'left', 'left', '100px', 'width: 70px;', 'width: 70px;', '', '', '', '', 19);

UPDATE `constants_table` SET `constants_value` = '5.6.2' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '49' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.6.2

-- Forms
ALTER TABLE `forms_table` CHANGE `forms_description` `forms_description` TEXT CHARACTER SET cp1251 COLLATE cp1251_general_ci NULL DEFAULT NULL;

-- 5.6.2

-- Poll
ALTER TABLE `poll_reply_table` ADD `poll_reply_grade` INT NOT NULL DEFAULT '1' AFTER `poll_reply_order`; 
ALTER TABLE `poll_table` ADD `poll_description` TEXT NULL AFTER `poll_name`;


-- 5.6.2

-- Search
ALTER TABLE `search_users_group_list_table` ADD INDEX ( `site_users_group_id` );
ALTER TABLE `search_page_table` ADD INDEX ( `search_page_is_inner` );

INSERT INTO `xsl_table` (`xsl_id`, `xsl_dir_id`, `xsl_name`, `xsl_comment`, `xsl_order`, `xsl_format`, `users_id`) VALUES(9, 3, 'СписокВопросов', '', 0, 1, 19);

-- 5.6.3

DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 203;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 295;
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(203, 51, 372, 'xml_name', 30, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(295, 75, 540, 'shop_order_status_of_pay', 50, 7, '', 0, 0, 'left', 'center', '50px', '', '', '0 = /admin/images/not_check.gif\r\n1 = /admin/images/check.gif', '/admin/shop/shop.php?admin_forms_id=75&operation=status&check_{dataset_key}_{shop_order_id}=1&shop_shops_id={shop_shops_id}&current_status={shop_order_status_of_pay}', 'TrigerSingleAction(''/admin/shop/shop.php'', ''&shop_shops_id={shop_shops_id}&current_status={shop_order_status_of_pay}'', ''status'', ''check_{dataset_key}_{shop_order_id}'', ''75'', '''', '''', '''', ''''); return false;', '', 19);

ALTER TABLE `site_table` ADD `site_nesting_level` TINYINT UNSIGNED NOT NULL DEFAULT '3';

ALTER TABLE `tags_table` ADD `tag_description` TEXT NULL;

ALTER TABLE `information_systems_table` CHANGE `information_systems_items_on_page` `information_systems_items_on_page` INT NOT NULL DEFAULT '0';

ALTER TABLE `shop_producers_list_table` ADD `shop_producers_list_seo_title` varchar(255) NULL;
ALTER TABLE `shop_producers_list_table` ADD `shop_producers_list_seo_description` varchar(255) NULL;
ALTER TABLE `shop_producers_list_table` ADD `shop_producers_list_seo_keywords` varchar(255) NULL;

ALTER TABLE `admin_forms_events_table` ADD INDEX ( `admin_words_id` );
ALTER TABLE `admin_forms_events_table` ADD INDEX ( `admin_forms_id` );
ALTER TABLE `admin_forms_events_table` ADD INDEX ( `admin_forms_events_order` );
ALTER TABLE `admin_forms_events_table` ADD INDEX ( `admin_forms_events_dataset_id` );
ALTER TABLE `admin_forms_events_table` ADD INDEX ( `users_id` );

ALTER TABLE `admin_forms_field_table` ADD INDEX ( `admin_forms_id` );
ALTER TABLE `admin_forms_field_table` ADD INDEX ( `admin_words_id` );
ALTER TABLE `admin_forms_field_table` ADD INDEX ( `users_id` );

ALTER TABLE `admin_forms_settings_table` ADD INDEX ( `admin_forms_id` );
ALTER TABLE `admin_forms_settings_table` ADD INDEX ( `users_id` );

ALTER TABLE `admin_forms_table` ADD INDEX ( `admin_words_id` );
ALTER TABLE `admin_forms_table` ADD INDEX ( `users_id` );

ALTER TABLE `admin_language_table` ADD INDEX ( `users_id` );

ALTER TABLE `admin_words_table` ADD INDEX ( `users_id` );

ALTER TABLE `admin_words_value_table` ADD INDEX ( `admin_words_id` );
ALTER TABLE `admin_words_value_table` ADD INDEX ( `admin_language_id` );

UPDATE `constants_table` SET `constants_value` = '5.6.3' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '50' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.6.3 HELPDESK
ALTER TABLE `helpdesk_message_table` ADD INDEX ( `helpdesk_message_processed` );

-- 5.6.3 SEARCH

ALTER TABLE `search_page_table` ADD INDEX ( `search_page_address` );
ALTER TABLE `search_log_table` DROP INDEX `search_log_text_crc32`;
ALTER TABLE `search_log_table` DROP INDEX `search_log_ip`;
ALTER TABLE `search_log_table` ADD INDEX ( `search_log_text_crc32` , `search_log_ip` );


-- 5.6.4

UPDATE `information_propertys_items_table` SET `information_propertys_items_value` = `information_propertys_items_file`
WHERE `information_propertys_items_value` = '' AND `information_propertys_items_file` != '';

UPDATE `information_propertys_items_table` SET `information_propertys_items_value_small` = `information_propertys_items_file_small`
WHERE `information_propertys_items_value_small` = '' AND `information_propertys_items_file_small` != '';

UPDATE `constants_table` SET `constants_value` = '5.6.4' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '51' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.6.4 SEARCH

ALTER TABLE `search_page_table` CHANGE `search_page_name` `search_page_name` VARCHAR( 255 ) CHARACTER SET cp1251 COLLATE cp1251_general_ci NOT NULL;

-- 5.6.5

UPDATE `constants_table` SET `constants_value` = '5.6.5' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '52' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.6.6

DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 291;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 293;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 297;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 833;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 850;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 852;

INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(291, 75, 536, 'shop_order_account_number', 10, 1, '', 1, 1, 'left', 'left', '45px', 'width: 45px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(293, 75, 538, 'shop_order_users_name', 30, 1, '', 1, 1, 'left', 'left', '75px', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(297, 75, 542, 'tovar', 70, 7, '', 0, 0, 'left', 'center', '35px', '', '', ' = /admin/images/page.gif', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(833, 75, 1484, 'shop_order_users_surname', 35, 1, '', 1, 1, 'left', 'left', '100px', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(850, 12, 1513, 'order_field', 45, 2, '', 1, 0, 'left', 'left', '80px', 'width: 80px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(852, 54, 1516, 'shop_shops_admin_mail', 40, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19);

DELETE FROM `admin_forms_events_table` WHERE `admin_forms_events_id` = 455;
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES(455, 1515, 12, 'apply_changes', '/admin/images/apply.gif', 0, 1, 25, -1, 0, 19);

DELETE FROM `admin_words_value_table` WHERE `admin_words_value_id` = 1061;
DELETE FROM `admin_words_value_table` WHERE `admin_words_value_id` = 1065;
DELETE FROM `admin_words_value_table` WHERE `admin_words_value_id` = 1073;

INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(1061, 536, 1, '№', 'Номер заказа');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(1065, 538, 1, 'Заказчик', 'Заказчик');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(1073, 542, 1, 'Товар', 'Товар');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(2288, 1513, 1, 'Сортировка', 'Порядок сортировки');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(2290, 1515, 1, 'Применить', 'Применить текущие изменения');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(2291, 1516, 1, 'E-mail', 'E-mail куратора магазина');

ALTER TABLE `tags_table` ADD `tag_path` VARCHAR( 255 ) NULL AFTER `tag_name`; 
UPDATE `tags_table` SET `tag_path` = `tag_name`; 

ALTER TABLE `shop_special_prices_table` ADD `shop_special_prices_percent` DECIMAL( 5, 2 ) NOT NULL ;
ALTER TABLE `shop_order_table` ADD `shop_order_guid` VARCHAR( 36 ) NULL;
ALTER TABLE `shop_order_table` ADD INDEX ( `shop_order_guid` );

UPDATE `shop_order_table` SET `shop_order_guid` = `shop_order_id` WHERE `shop_order_guid` = '' OR `shop_order_guid` IS NULL;

ALTER TABLE `shop_order_table` CHANGE `shop_order_status_of_pay` `shop_order_status_of_pay` TINYINT NOT NULL DEFAULT '0';

UPDATE `constants_table` SET `constants_value` = '5.6.6' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '53' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.6.7

UPDATE `constants_table` SET `constants_value` = '5.6.7' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '54' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.6.8

UPDATE `constants_table` SET `constants_value` = '5.6.8' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '55' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.6.9

DELETE admin_words_table, admin_words_value_table FROM admin_words_table LEFT JOIN `admin_words_value_table` USING (admin_words_id) LEFT JOIN `admin_forms_table` USING (admin_words_id) LEFT JOIN `admin_forms_field_table` USING (admin_words_id) LEFT JOIN `admin_forms_events_table` USING (admin_words_id) WHERE admin_forms_table.admin_forms_id IS NULL AND admin_forms_field_table.admin_forms_id IS NULL AND admin_forms_events_table.admin_forms_id IS NULL;

UPDATE `admin_language_table` SET `admin_language_active` = '1' WHERE `admin_language_table`.`admin_language_id` = 2 LIMIT 1 ;
UPDATE `admin_language_table` SET `admin_language_name` = 'English' WHERE `admin_language_table`.`admin_language_id` = 2 LIMIT 1 ;

INSERT INTO `admin_words_value_table` VALUES(2354, 725, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2355, 972, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2356, 757, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2357, 765, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2358, 770, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2359, 793, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2360, 829, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2361, 875, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2362, 919, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2363, 1071, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2364, 1086, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2365, 1087, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2366, 1105, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2367, 1115, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2368, 1135, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2369, 1140, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2370, 1148, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2371, 1153, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2372, 1159, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2373, 1199, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2374, 1191, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2375, 1219, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2376, 1231, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2377, 1233, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2378, 1238, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2379, 1250, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2380, 1256, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2381, 1265, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2382, 1279, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2383, 1281, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2384, 1290, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2385, 1296, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2386, 1300, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2387, 1314, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2388, 1324, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2389, 1343, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2390, 1354, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2391, 1362, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2392, 1367, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2393, 1418, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2394, 1440, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2395, 1453, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2396, 1456, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2397, 1466, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2398, 1480, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2399, 1481, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2400, 1489, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2401, 1492, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2402, 1493, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2403, 1494, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2404, 1505, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2405, 1, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2406, 13, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2407, 31, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2408, 47, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2409, 67, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2410, 81, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2411, 88, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2412, 110, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2413, 140, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2414, 144, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2415, 161, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2416, 169, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2417, 182, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2418, 192, 2, 'Item name (attribute ''name'')', '');
INSERT INTO `admin_words_value_table` VALUES(2419, 220, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2420, 228, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2421, 237, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2422, 245, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2423, 283, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2424, 316, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2425, 322, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2426, 334, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2427, 363, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2428, 371, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2429, 401, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2430, 450, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2431, 478, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2432, 491, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2433, 518, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2434, 529, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2435, 556, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2436, 562, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2437, 589, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2438, 611, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2439, 650, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2440, 659, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2441, 727, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2442, 794, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2443, 979, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2444, 973, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2445, 1072, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2446, 1106, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2447, 1141, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2448, 1154, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2449, 1220, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2450, 1234, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2451, 1240, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2452, 1257, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2453, 1273, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2454, 1282, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2455, 1344, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2456, 1454, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2457, 1457, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2458, 1467, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2459, 1474, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2460, 1478, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2461, 1506, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2462, 1128, 2, 'Menu section', '');
INSERT INTO `admin_words_value_table` VALUES(2463, 72, 2, 'Path', '');
INSERT INTO `admin_words_value_table` VALUES(2465, 613, 2, 'Path', '');
INSERT INTO `admin_words_value_table` VALUES(2466, 10, 2, 'Apply', '');
INSERT INTO `admin_words_value_table` VALUES(2467, 26, 2, 'Apply', '');
INSERT INTO `admin_words_value_table` VALUES(2468, 34, 2, 'Apply', '');
INSERT INTO `admin_words_value_table` VALUES(2469, 51, 2, 'Apply', '');
INSERT INTO `admin_words_value_table` VALUES(2470, 63, 2, 'Apply', '');
INSERT INTO `admin_words_value_table` VALUES(2471, 73, 2, 'Apply', '');
INSERT INTO `admin_words_value_table` VALUES(2472, 133, 2, 'Apply', '');
INSERT INTO `admin_words_value_table` VALUES(2473, 856, 2, 'Apply', '');
INSERT INTO `admin_words_value_table` VALUES(2474, 148, 2, 'Apply', '');
INSERT INTO `admin_words_value_table` VALUES(2475, 156, 2, 'Apply', '');
INSERT INTO `admin_words_value_table` VALUES(2476, 165, 2, 'Apply', '');
INSERT INTO `admin_words_value_table` VALUES(2477, 166, 2, 'Apply', '');
INSERT INTO `admin_words_value_table` VALUES(2478, 224, 2, 'Apply', '');
INSERT INTO `admin_words_value_table` VALUES(2479, 242, 2, 'Apply', '');
INSERT INTO `admin_words_value_table` VALUES(2480, 260, 2, 'Apply', '');
INSERT INTO `admin_words_value_table` VALUES(2481, 268, 2, 'Apply', '');
INSERT INTO `admin_words_value_table` VALUES(2482, 292, 2, 'Apply', '');
INSERT INTO `admin_words_value_table` VALUES(2483, 308, 2, 'Apply', '');
INSERT INTO `admin_words_value_table` VALUES(2484, 691, 2, 'Apply', '');
INSERT INTO `admin_words_value_table` VALUES(2485, 367, 2, 'Apply', '');
INSERT INTO `admin_words_value_table` VALUES(2486, 375, 2, 'Apply', '');
INSERT INTO `admin_words_value_table` VALUES(2487, 466, 2, 'Apply', '');
INSERT INTO `admin_words_value_table` VALUES(2488, 482, 2, 'Apply', '');
INSERT INTO `admin_words_value_table` VALUES(2489, 494, 2, 'Apply', '');
INSERT INTO `admin_words_value_table` VALUES(2490, 1100, 2, 'Apply', '');
INSERT INTO `admin_words_value_table` VALUES(2491, 601, 2, 'Apply', '');
INSERT INTO `admin_words_value_table` VALUES(2492, 603, 2, 'Apply', '');
INSERT INTO `admin_words_value_table` VALUES(2493, 631, 2, 'Apply', '');
INSERT INTO `admin_words_value_table` VALUES(2494, 642, 2, 'Apply', '');
INSERT INTO `admin_words_value_table` VALUES(2495, 654, 2, 'Apply', '');
INSERT INTO `admin_words_value_table` VALUES(2496, 666, 2, 'Apply', '');
INSERT INTO `admin_words_value_table` VALUES(2497, 669, 2, 'Apply', '');
INSERT INTO `admin_words_value_table` VALUES(2498, 672, 2, 'Apply', '');
INSERT INTO `admin_words_value_table` VALUES(2499, 675, 2, 'Apply', '');
INSERT INTO `admin_words_value_table` VALUES(2500, 732, 2, 'Apply', '');
INSERT INTO `admin_words_value_table` VALUES(2501, 1103, 2, 'Apply', '');
INSERT INTO `admin_words_value_table` VALUES(2502, 1111, 2, 'Apply', '');
INSERT INTO `admin_words_value_table` VALUES(2503, 1114, 2, 'Apply', '');
INSERT INTO `admin_words_value_table` VALUES(2504, 1145, 2, 'Apply', '');
INSERT INTO `admin_words_value_table` VALUES(2505, 1229, 2, 'Apply', '');
INSERT INTO `admin_words_value_table` VALUES(2506, 1263, 2, 'Apply', '');
INSERT INTO `admin_words_value_table` VALUES(2507, 1278, 2, 'Apply', '');
INSERT INTO `admin_words_value_table` VALUES(2508, 1308, 2, 'Apply', '');
INSERT INTO `admin_words_value_table` VALUES(2509, 1399, 2, 'Apply', '');
INSERT INTO `admin_words_value_table` VALUES(2510, 1464, 2, 'Apply', '');
INSERT INTO `admin_words_value_table` VALUES(2511, 1483, 2, 'Apply', '');
INSERT INTO `admin_words_value_table` VALUES(2512, 1511, 2, 'Apply', '');
INSERT INTO `admin_words_value_table` VALUES(2513, 1515, 2, 'Apply', '');
INSERT INTO `admin_words_value_table` VALUES(2514, 40, 2, 'Copy', '');
INSERT INTO `admin_words_value_table` VALUES(2515, 52, 2, 'Copy', '');
INSERT INTO `admin_words_value_table` VALUES(2516, 78, 2, 'Copy', '');
INSERT INTO `admin_words_value_table` VALUES(2517, 94, 2, 'Copy', '');
INSERT INTO `admin_words_value_table` VALUES(2518, 124, 2, 'Copy', '');
INSERT INTO `admin_words_value_table` VALUES(2519, 154, 2, 'Copy', '');
INSERT INTO `admin_words_value_table` VALUES(2520, 172, 2, 'Copy', '');
INSERT INTO `admin_words_value_table` VALUES(2521, 194, 2, 'Copy', '');
INSERT INTO `admin_words_value_table` VALUES(2522, 216, 2, 'Copy', '');
INSERT INTO `admin_words_value_table` VALUES(2523, 223, 2, 'Copy', '');
INSERT INTO `admin_words_value_table` VALUES(2524, 234, 2, 'Copy', '');
INSERT INTO `admin_words_value_table` VALUES(2525, 604, 2, 'Copy', '');
INSERT INTO `admin_words_value_table` VALUES(2526, 677, 2, 'Copy', '');
INSERT INTO `admin_words_value_table` VALUES(2527, 857, 2, 'Copy', '');
INSERT INTO `admin_words_value_table` VALUES(2528, 694, 2, 'Copy', '');
INSERT INTO `admin_words_value_table` VALUES(2529, 880, 2, 'Copy', '');
INSERT INTO `admin_words_value_table` VALUES(2530, 879, 2, 'Copy', '');
INSERT INTO `admin_words_value_table` VALUES(2531, 926, 2, 'Copy', '');
INSERT INTO `admin_words_value_table` VALUES(2532, 1216, 2, 'Copy', '');
INSERT INTO `admin_words_value_table` VALUES(2533, 1222, 2, 'Copy', '');
INSERT INTO `admin_words_value_table` VALUES(2534, 1262, 2, 'Copy', '');
INSERT INTO `admin_words_value_table` VALUES(2535, 1294, 2, 'Copy', '');
INSERT INTO `admin_words_value_table` VALUES(2536, 1326, 2, 'Copy', '');
INSERT INTO `admin_words_value_table` VALUES(2537, 1341, 2, 'Copy', '');
INSERT INTO `admin_words_value_table` VALUES(2538, 1403, 2, 'Copy', '');
INSERT INTO `admin_words_value_table` VALUES(2539, 1404, 2, 'Copy', '');
INSERT INTO `admin_words_value_table` VALUES(2540, 1405, 2, 'Copy', '');
INSERT INTO `admin_words_value_table` VALUES(2541, 1406, 2, 'Copy', '');
INSERT INTO `admin_words_value_table` VALUES(2542, 1407, 2, 'Copy', '');
INSERT INTO `admin_words_value_table` VALUES(2543, 1408, 2, 'Copy', '');
INSERT INTO `admin_words_value_table` VALUES(2544, 1409, 2, 'Copy', '');
INSERT INTO `admin_words_value_table` VALUES(2545, 1412, 2, 'Copy', '');
INSERT INTO `admin_words_value_table` VALUES(2546, 1413, 2, 'Copy', '');
INSERT INTO `admin_words_value_table` VALUES(2547, 1414, 2, 'Copy', '');
INSERT INTO `admin_words_value_table` VALUES(2548, 1415, 2, 'Copy', '');
INSERT INTO `admin_words_value_table` VALUES(2549, 1437, 2, 'Copy', '');
INSERT INTO `admin_words_value_table` VALUES(2550, 1438, 2, 'Copy', '');
INSERT INTO `admin_words_value_table` VALUES(2551, 1462, 2, 'Copy', '');
INSERT INTO `admin_words_value_table` VALUES(2552, 7, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2553, 28, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2554, 33, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2555, 50, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2556, 57, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2557, 62, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2558, 77, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2559, 84, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2560, 95, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2561, 101, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2562, 114, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2563, 125, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2564, 132, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2565, 147, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2566, 155, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2567, 163, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2568, 173, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2569, 180, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2570, 187, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2571, 195, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2572, 201, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2573, 206, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2574, 215, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2575, 222, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2576, 233, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2577, 241, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2578, 247, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2579, 253, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2580, 259, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2581, 267, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2582, 276, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2583, 281, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2584, 291, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2585, 298, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2586, 307, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2587, 313, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2588, 319, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2589, 338, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2590, 354, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2591, 366, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2592, 374, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2593, 384, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2594, 393, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2595, 399, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2596, 406, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2597, 411, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2598, 421, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2599, 426, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2600, 430, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2601, 435, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2602, 440, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2603, 446, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2604, 465, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2605, 474, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2606, 481, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2607, 488, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2608, 493, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2609, 501, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2610, 515, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2611, 526, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2612, 534, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2613, 544, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2614, 554, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2615, 560, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2616, 570, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2617, 600, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2618, 619, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2619, 653, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2620, 661, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2621, 731, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2622, 977, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2623, 928, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2624, 1000, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2625, 1046, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2626, 1076, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2627, 1110, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2628, 1195, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2629, 1188, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2630, 1210, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2631, 1223, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2632, 1236, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2633, 1246, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2634, 1252, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2635, 1261, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2636, 1271, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2637, 1277, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2638, 1284, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2639, 1293, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2640, 1301, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2641, 1327, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2642, 1348, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2643, 1359, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2644, 1365, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2645, 1444, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2646, 1463, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2647, 1472, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(2648, 453, 2, 'Amount', '');
INSERT INTO `admin_words_value_table` VALUES(2649, 591, 2, 'Amount', '');
INSERT INTO `admin_words_value_table` VALUES(2650, 454, 2, 'Price', '');
INSERT INTO `admin_words_value_table` VALUES(2651, 550, 2, 'Price', '');
INSERT INTO `admin_words_value_table` VALUES(2652, 567, 2, 'Price', '');
INSERT INTO `admin_words_value_table` VALUES(2653, 592, 2, 'Price', '');
INSERT INTO `admin_words_value_table` VALUES(2654, 6, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2655, 32, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2656, 49, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2657, 56, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2658, 61, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2659, 76, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2660, 83, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2661, 93, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2662, 100, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2663, 107, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2664, 113, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2665, 131, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2666, 146, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2667, 153, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2668, 162, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2669, 171, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2670, 179, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2671, 186, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2672, 193, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2673, 200, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2674, 214, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2675, 221, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2676, 231, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2677, 240, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2678, 246, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2679, 252, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2680, 258, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2681, 266, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2682, 275, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2683, 290, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2684, 306, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2685, 312, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2686, 318, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2687, 331, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2688, 337, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2689, 353, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2690, 365, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2691, 373, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2692, 383, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2693, 392, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2694, 398, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2695, 405, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2696, 410, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2697, 415, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2698, 420, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2699, 425, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2700, 439, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2701, 445, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2702, 461, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2703, 473, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2704, 480, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2705, 487, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2706, 492, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2707, 514, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2708, 525, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2709, 533, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2710, 543, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2711, 552, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2712, 559, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2713, 569, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2714, 599, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2715, 618, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2716, 652, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2717, 660, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2718, 678, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2719, 730, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2720, 927, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2721, 976, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2722, 999, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2723, 1045, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2724, 1074, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2725, 1094, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2726, 1109, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2727, 1194, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2728, 1187, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2729, 1211, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2730, 1221, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2731, 1235, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2732, 1245, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2733, 1253, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2734, 1260, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2735, 1270, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2736, 1276, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2737, 1285, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2738, 1292, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2739, 1316, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2740, 1328, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2741, 1358, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2742, 1364, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2743, 1443, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2744, 1461, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2745, 1471, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(2746, 14, 2, 'Sorting order', '');
INSERT INTO `admin_words_value_table` VALUES(2747, 22, 2, 'Sorting order', '');
INSERT INTO `admin_words_value_table` VALUES(2748, 104, 2, 'Sorting order', '');
INSERT INTO `admin_words_value_table` VALUES(2749, 129, 2, 'Sorting order', '');
INSERT INTO `admin_words_value_table` VALUES(2750, 151, 2, 'Sorting order', '');
INSERT INTO `admin_words_value_table` VALUES(2751, 164, 2, 'Sorting order', '');
INSERT INTO `admin_words_value_table` VALUES(2752, 190, 2, 'Sorting order', '');
INSERT INTO `admin_words_value_table` VALUES(2753, 218, 2, 'Sorting order', '');
INSERT INTO `admin_words_value_table` VALUES(2754, 239, 2, 'Sorting order', '');
INSERT INTO `admin_words_value_table` VALUES(2755, 255, 2, 'Sorting order', '');
INSERT INTO `admin_words_value_table` VALUES(2756, 262, 2, 'Sorting order', '');
INSERT INTO `admin_words_value_table` VALUES(2757, 289, 2, 'Sorting order', '');
INSERT INTO `admin_words_value_table` VALUES(2758, 303, 2, 'Sorting order', '');
INSERT INTO `admin_words_value_table` VALUES(2759, 345, 2, 'Sorting order', '');
INSERT INTO `admin_words_value_table` VALUES(2760, 362, 2, 'Sorting order', '');
INSERT INTO `admin_words_value_table` VALUES(2761, 370, 2, 'Sorting order', '');
INSERT INTO `admin_words_value_table` VALUES(2762, 449, 2, 'Sorting order', '');
INSERT INTO `admin_words_value_table` VALUES(2763, 477, 2, 'Sorting order', '');
INSERT INTO `admin_words_value_table` VALUES(2764, 490, 2, 'Sorting order', '');
INSERT INTO `admin_words_value_table` VALUES(2765, 1099, 2, 'Sorting order', '');
INSERT INTO `admin_words_value_table` VALUES(2766, 588, 2, 'Sorting order', '');
INSERT INTO `admin_words_value_table` VALUES(2767, 610, 2, 'Sorting order', '');
INSERT INTO `admin_words_value_table` VALUES(2768, 649, 2, 'Sorting order', '');
INSERT INTO `admin_words_value_table` VALUES(2769, 662, 2, 'Sorting order', '');
INSERT INTO `admin_words_value_table` VALUES(2770, 665, 2, 'Sorting order', '');
INSERT INTO `admin_words_value_table` VALUES(2771, 668, 2, 'Sorting order', '');
INSERT INTO `admin_words_value_table` VALUES(2772, 671, 2, 'Sorting order', '');
INSERT INTO `admin_words_value_table` VALUES(2773, 674, 2, 'Sorting order', '');
INSERT INTO `admin_words_value_table` VALUES(2774, 728, 2, 'Sorting order', '');
INSERT INTO `admin_words_value_table` VALUES(2775, 1101, 2, 'Sorting order', '');
INSERT INTO `admin_words_value_table` VALUES(2776, 1108, 2, 'Sorting order', '');
INSERT INTO `admin_words_value_table` VALUES(2777, 1112, 2, 'Sorting order', '');
INSERT INTO `admin_words_value_table` VALUES(2778, 1113, 2, 'Sorting order', '');
INSERT INTO `admin_words_value_table` VALUES(2779, 1259, 2, 'Sorting order', '');
INSERT INTO `admin_words_value_table` VALUES(2780, 1275, 2, 'Sorting order', '');
INSERT INTO `admin_words_value_table` VALUES(2781, 1306, 2, 'Sorting order', '');
INSERT INTO `admin_words_value_table` VALUES(2782, 1513, 2, 'Sorting order', '');
INSERT INTO `admin_words_value_table` VALUES(2783, 4, 2, 'Actions', '');
INSERT INTO `admin_words_value_table` VALUES(2784, 25, 2, 'Actions', '');
INSERT INTO `admin_words_value_table` VALUES(2785, 1448, 2, 'Actions', '');
INSERT INTO `admin_words_value_table` VALUES(2786, 1452, 2, 'Actions', '');
INSERT INTO `admin_words_value_table` VALUES(2787, 1495, 2, 'Actions', '');
INSERT INTO `admin_words_value_table` VALUES(2788, 211, 2, 'E-mail', '');
INSERT INTO `admin_words_value_table` VALUES(2789, 302, 2, 'E-mail', '');
INSERT INTO `admin_words_value_table` VALUES(2790, 351, 2, 'E-mail', '');
INSERT INTO `admin_words_value_table` VALUES(2791, 379, 2, 'E-mail', '');
INSERT INTO `admin_words_value_table` VALUES(2792, 499, 2, 'E-mail', '');
INSERT INTO `admin_words_value_table` VALUES(2793, 640, 2, 'E-mail', '');
INSERT INTO `admin_words_value_table` VALUES(2794, 1241, 2, 'E-mail', '');
INSERT INTO `admin_words_value_table` VALUES(2795, 1516, 2, 'E-mail', '');
INSERT INTO `admin_words_value_table` VALUES(2796, 703, 2, 'Today', '');
INSERT INTO `admin_words_value_table` VALUES(2797, 704, 2, 'Yesterday', '');
INSERT INTO `admin_words_value_table` VALUES(2798, 705, 2, '7 days', '');
INSERT INTO `admin_words_value_table` VALUES(2799, 706, 2, '30 days', '');
INSERT INTO `admin_words_value_table` VALUES(2800, 707, 2, 'Total', '');
INSERT INTO `admin_words_value_table` VALUES(2801, 174, 2, 'IP addresses', '');
INSERT INTO `admin_words_value_table` VALUES(2802, 175, 2, 'IP address', '');
INSERT INTO `admin_words_value_table` VALUES(2803, 766, 2, 'IP address', '');
INSERT INTO `admin_words_value_table` VALUES(2804, 966, 2, 'IP address', '');
INSERT INTO `admin_words_value_table` VALUES(2805, 204, 2, 'IP address', '');
INSERT INTO `admin_words_value_table` VALUES(2823, 921, 2, 'Date', '');
INSERT INTO `admin_words_value_table` VALUES(2824, 935, 2, 'Date', '');
INSERT INTO `admin_words_value_table` VALUES(2825, 943, 2, 'Date', '');
INSERT INTO `admin_words_value_table` VALUES(2826, 945, 2, 'Date', '');
INSERT INTO `admin_words_value_table` VALUES(2827, 950, 2, 'Date', '');
INSERT INTO `admin_words_value_table` VALUES(2828, 955, 2, 'Date', '');
INSERT INTO `admin_words_value_table` VALUES(2829, 960, 2, 'Date', '');
INSERT INTO `admin_words_value_table` VALUES(2830, 965, 2, 'Date', '');
INSERT INTO `admin_words_value_table` VALUES(2831, 995, 2, 'Date', '');
INSERT INTO `admin_words_value_table` VALUES(2832, 1041, 2, 'Date', '');
INSERT INTO `admin_words_value_table` VALUES(2833, 1089, 2, 'Date', '');
INSERT INTO `admin_words_value_table` VALUES(2834, 1129, 2, 'Date', '');
INSERT INTO `admin_words_value_table` VALUES(2835, 1162, 2, 'Date', '');
INSERT INTO `admin_words_value_table` VALUES(2836, 1200, 2, 'Date', '');
INSERT INTO `admin_words_value_table` VALUES(2837, 1267, 2, 'Date', '');
INSERT INTO `admin_words_value_table` VALUES(2838, 1441, 2, 'Date', '');
INSERT INTO `admin_words_value_table` VALUES(2839, 1242, 2, 'Ticket', '');
INSERT INTO `admin_words_value_table` VALUES(2840, 1432, 2, 'Ticket', '');
INSERT INTO `admin_words_value_table` VALUES(2841, 1122, 2, 'On', '');
INSERT INTO `admin_words_value_table` VALUES(2842, 1401, 2, 'On', '');
INSERT INTO `admin_words_value_table` VALUES(2843, 1479, 2, 'On', '');
INSERT INTO `admin_words_value_table` VALUES(2844, 1123, 2, 'Off', '');
INSERT INTO `admin_words_value_table` VALUES(2845, 1402, 2, 'Off', '');
INSERT INTO `admin_words_value_table` VALUES(2846, 1322, 2, 'Context phrase', '');
INSERT INTO `admin_words_value_table` VALUES(2847, 1323, 2, 'Context phrase', '');
INSERT INTO `admin_words_value_table` VALUES(2848, 1325, 2, 'Context phrase', '');
INSERT INTO `admin_words_value_table` VALUES(2849, 141, 2, 'Description', '');
INSERT INTO `admin_words_value_table` VALUES(2850, 185, 2, 'Description', '');
INSERT INTO `admin_words_value_table` VALUES(2851, 229, 2, 'Description', '');
INSERT INTO `admin_words_value_table` VALUES(2852, 317, 2, 'Description', '');
INSERT INTO `admin_words_value_table` VALUES(2853, 335, 2, 'Description', '');
INSERT INTO `admin_words_value_table` VALUES(2854, 1098, 2, 'Description', '');
INSERT INTO `admin_words_value_table` VALUES(2855, 1155, 2, 'Description', '');
INSERT INTO `admin_words_value_table` VALUES(2856, 1258, 2, 'Description', '');
INSERT INTO `admin_words_value_table` VALUES(2857, 1274, 2, 'Description', '');
INSERT INTO `admin_words_value_table` VALUES(2858, 1283, 2, 'Description', '');
INSERT INTO `admin_words_value_table` VALUES(2859, 1345, 2, 'Description', '');
INSERT INTO `admin_words_value_table` VALUES(2860, 1445, 2, 'Description', '');
INSERT INTO `admin_words_value_table` VALUES(2861, 1204, 2, 'Aport.ru', '');
INSERT INTO `admin_words_value_table` VALUES(2862, 1202, 2, 'Rambler.ru', '');
INSERT INTO `admin_words_value_table` VALUES(2863, 1201, 2, 'Yandex.ru', '');
INSERT INTO `admin_words_value_table` VALUES(2864, 5, 2, 'Group operations', '');
INSERT INTO `admin_words_value_table` VALUES(2865, 8, 2, 'Fields', '');
INSERT INTO `admin_words_value_table` VALUES(2866, 53, 2, 'User groups', '');
INSERT INTO `admin_words_value_table` VALUES(2867, 1225, 2, 'User groups', '');
INSERT INTO `admin_words_value_table` VALUES(2868, 1309, 2, 'User groups', '');
INSERT INTO `admin_words_value_table` VALUES(2869, 54, 2, 'User group', '');
INSERT INTO `admin_words_value_table` VALUES(2870, 1227, 2, 'User group', '');
INSERT INTO `admin_words_value_table` VALUES(2871, 1311, 2, 'User group', '');
INSERT INTO `admin_words_value_table` VALUES(2872, 55, 2, 'Comment', '');
INSERT INTO `admin_words_value_table` VALUES(2873, 176, 2, 'Comment', '');
INSERT INTO `admin_words_value_table` VALUES(2874, 198, 2, 'Comment', '');
INSERT INTO `admin_words_value_table` VALUES(2875, 924, 2, 'Comment', '');
INSERT INTO `admin_words_value_table` VALUES(2876, 1312, 2, 'Comment', '');
INSERT INTO `admin_words_value_table` VALUES(2877, 210, 2, 'Login', '');
INSERT INTO `admin_words_value_table` VALUES(2878, 352, 2, 'Login', '');
INSERT INTO `admin_words_value_table` VALUES(2879, 636, 2, 'Login', '');
INSERT INTO `admin_words_value_table` VALUES(2880, 305, 2, 'Domains', '');
INSERT INTO `admin_words_value_table` VALUES(2881, 310, 2, 'Domain', '');
INSERT INTO `admin_words_value_table` VALUES(2882, 309, 2, 'Domains of website', '');
INSERT INTO `admin_words_value_table` VALUES(2883, 301, 2, 'Website name', '');
INSERT INTO `admin_words_value_table` VALUES(2884, 304, 2, 'Activity', '');
INSERT INTO `admin_words_value_table` VALUES(2885, 409, 2, 'Activity', '');
INSERT INTO `admin_words_value_table` VALUES(2886, 511, 2, 'Activity', '');
INSERT INTO `admin_words_value_table` VALUES(2887, 524, 2, 'Activity', '');
INSERT INTO `admin_words_value_table` VALUES(2888, 530, 2, 'Activity', '');
INSERT INTO `admin_words_value_table` VALUES(2889, 626, 2, 'Activity', '');
INSERT INTO `admin_words_value_table` VALUES(2890, 1054, 2, 'Activity', '');
INSERT INTO `admin_words_value_table` VALUES(2891, 1088, 2, 'Activity', '');
INSERT INTO `admin_words_value_table` VALUES(2892, 1317, 2, 'Activity', '');
INSERT INTO `admin_words_value_table` VALUES(2893, 68, 2, 'Template', '');
INSERT INTO `admin_words_value_table` VALUES(2894, 89, 2, 'Comments', '');
INSERT INTO `admin_words_value_table` VALUES(2895, 382, 2, 'Date', '');
INSERT INTO `admin_words_value_table` VALUES(2896, 118, 2, 'Author', '');
INSERT INTO `admin_words_value_table` VALUES(2897, 273, 2, 'Author', '');
INSERT INTO `admin_words_value_table` VALUES(2898, 377, 2, 'Author', '');
INSERT INTO `admin_words_value_table` VALUES(2899, 470, 2, 'Author', '');
INSERT INTO `admin_words_value_table` VALUES(2900, 184, 2, 'Status', '');
INSERT INTO `admin_words_value_table` VALUES(2901, 287, 2, 'Status', '');
INSERT INTO `admin_words_value_table` VALUES(2902, 381, 2, 'Status', '');
INSERT INTO `admin_words_value_table` VALUES(2903, 1119, 2, 'Status', '');
INSERT INTO `admin_words_value_table` VALUES(2904, 1269, 2, 'Status', '');
INSERT INTO `admin_words_value_table` VALUES(2905, 1369, 2, 'Status', '');
INSERT INTO `admin_words_value_table` VALUES(2906, 1433, 2, 'Status', '');
INSERT INTO `admin_words_value_table` VALUES(2907, 380, 2, 'Subject', '');
INSERT INTO `admin_words_value_table` VALUES(2908, 15, 2, 'Enable sorting', '');
INSERT INTO `admin_words_value_table` VALUES(2909, 16, 2, 'Enable filter', '');
INSERT INTO `admin_words_value_table` VALUES(2910, 390, 2, 'Name of online store', '');
INSERT INTO `admin_words_value_table` VALUES(2911, 1082, 2, 'Name of online store', '');
INSERT INTO `admin_words_value_table` VALUES(2912, 391, 2, 'Default currency', '');
INSERT INTO `admin_words_value_table` VALUES(2913, 1084, 2, 'Default currency', '');
INSERT INTO `admin_words_value_table` VALUES(2914, 1346, 2, 'Levels', '');
INSERT INTO `admin_words_value_table` VALUES(2915, 359, 2, 'Percentage rate', '');
INSERT INTO `admin_words_value_table` VALUES(2916, 512, 2, 'Percentage rate', '');
INSERT INTO `admin_words_value_table` VALUES(2917, 807, 2, 'Percentage rate', '');
INSERT INTO `admin_words_value_table` VALUES(2918, 1355, 2, 'Percentage rate', '');
INSERT INTO `admin_words_value_table` VALUES(2919, 539, 2, 'Amount', '');
INSERT INTO `admin_words_value_table` VALUES(2920, 551, 2, 'Total', '');
INSERT INTO `admin_words_value_table` VALUES(2921, 1090, 2, 'Amount', '');
INSERT INTO `admin_words_value_table` VALUES(2922, 1356, 2, 'Amount', '');
INSERT INTO `admin_words_value_table` VALUES(2923, 1357, 2, 'Commission type', '');
INSERT INTO `admin_words_value_table` VALUES(2924, 469, 2, 'Date/Time', '');
INSERT INTO `admin_words_value_table` VALUES(2925, 471, 2, 'Subject', '');
INSERT INTO `admin_words_value_table` VALUES(2926, 1266, 2, 'Subject', '');
INSERT INTO `admin_words_value_table` VALUES(2927, 1428, 2, 'Subject', '');
INSERT INTO `admin_words_value_table` VALUES(2928, 1036, 2, 'Display comment', '');
INSERT INTO `admin_words_value_table` VALUES(2929, 472, 2, 'Evaluation', '');
INSERT INTO `admin_words_value_table` VALUES(2930, 1268, 2, 'Evaluation', '');
INSERT INTO `admin_words_value_table` VALUES(2931, 479, 2, 'Name of XML tag', '');
INSERT INTO `admin_words_value_table` VALUES(2932, 1107, 2, 'Name of XML tag', '');
INSERT INTO `admin_words_value_table` VALUES(2933, 503, 2, 'Property name', '');
INSERT INTO `admin_words_value_table` VALUES(2934, 504, 2, 'Available in property list', '');
INSERT INTO `admin_words_value_table` VALUES(2935, 1006, 2, 'Enable properties for group', '');
INSERT INTO `admin_words_value_table` VALUES(2936, 1371, 2, 'Enable', '');
INSERT INTO `admin_words_value_table` VALUES(2937, 1008, 2, 'Disable properties for group', '');
INSERT INTO `admin_words_value_table` VALUES(2938, 1372, 2, 'Disable', '');
INSERT INTO `admin_words_value_table` VALUES(2939, 1126, 2, 'Enable properties for all child groups', '');
INSERT INTO `admin_words_value_table` VALUES(2940, 1127, 2, 'Disable properties for all child groups', '');
INSERT INTO `admin_words_value_table` VALUES(2941, 1067, 2, 'Allow access', '');
INSERT INTO `admin_words_value_table` VALUES(2942, 177, 2, 'Forbid access', '');
INSERT INTO `admin_words_value_table` VALUES(2943, 655, 2, 'Disable access', '');
INSERT INTO `admin_words_value_table` VALUES(2944, 1068, 2, 'Disable access', '');
INSERT INTO `admin_words_value_table` VALUES(2945, 70, 2, 'Access', '');
INSERT INTO `admin_words_value_table` VALUES(2946, 1144, 2, 'Access', '');
INSERT INTO `admin_words_value_table` VALUES(2947, 1458, 2, 'Access', '');
INSERT INTO `admin_words_value_table` VALUES(2948, 1508, 2, 'Access', '');
INSERT INTO `admin_words_value_table` VALUES(2949, 71, 2, 'Module name', '');
INSERT INTO `admin_words_value_table` VALUES(2950, 537, 2, 'Order date', '');
INSERT INTO `admin_words_value_table` VALUES(2951, 538, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2952, 350, 2, 'Surname', '');
INSERT INTO `admin_words_value_table` VALUES(2953, 639, 2, 'Surname', '');
INSERT INTO `admin_words_value_table` VALUES(2954, 1484, 2, 'Surname', '');
INSERT INTO `admin_words_value_table` VALUES(2955, 1491, 2, 'Weight', '');
INSERT INTO `admin_words_value_table` VALUES(2956, 540, 2, 'Paid', '');
INSERT INTO `admin_words_value_table` VALUES(2957, 1022, 2, 'Cancelled', '');
INSERT INTO `admin_words_value_table` VALUES(2958, 541, 2, 'Payment date', '');
INSERT INTO `admin_words_value_table` VALUES(2959, 542, 2, 'Products', '');
INSERT INTO `admin_words_value_table` VALUES(2960, 546, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2961, 548, 2, 'Article', '');
INSERT INTO `admin_words_value_table` VALUES(2962, 358, 2, 'Amount', '');
INSERT INTO `admin_words_value_table` VALUES(2963, 531, 2, 'Amount', '');
INSERT INTO `admin_words_value_table` VALUES(2964, 549, 2, 'Amount', '');
INSERT INTO `admin_words_value_table` VALUES(2965, 805, 2, 'Amount', '');
INSERT INTO `admin_words_value_table` VALUES(2966, 1073, 2, 'Amount', '');
INSERT INTO `admin_words_value_table` VALUES(2967, 557, 2, 'Terms of delivery', '');
INSERT INTO `admin_words_value_table` VALUES(2968, 563, 2, 'Weight from', '');
INSERT INTO `admin_words_value_table` VALUES(2969, 564, 2, 'to', '');
INSERT INTO `admin_words_value_table` VALUES(2970, 566, 2, 'to', '');
INSERT INTO `admin_words_value_table` VALUES(2971, 568, 2, 'Currency', '');
INSERT INTO `admin_words_value_table` VALUES(2972, 1091, 2, 'Currency', '');
INSERT INTO `admin_words_value_table` VALUES(2973, 565, 2, 'Price from', '');
INSERT INTO `admin_words_value_table` VALUES(2974, 484, 2, 'Name of price', '');
INSERT INTO `admin_words_value_table` VALUES(2975, 485, 2, 'Percentage ratio against base price', '');
INSERT INTO `admin_words_value_table` VALUES(2976, 496, 2, 'Seller', '');
INSERT INTO `admin_words_value_table` VALUES(2977, 497, 2, 'Contact person', '');
INSERT INTO `admin_words_value_table` VALUES(2978, 498, 2, 'Website', '');
INSERT INTO `admin_words_value_table` VALUES(2979, 508, 2, 'Name of discount', '');
INSERT INTO `admin_words_value_table` VALUES(2980, 509, 2, 'Valid from', '');
INSERT INTO `admin_words_value_table` VALUES(2981, 510, 2, 'Valid to', '');
INSERT INTO `admin_words_value_table` VALUES(2982, 519, 2, 'Discount amount', '');
INSERT INTO `admin_words_value_table` VALUES(2983, 520, 2, 'Initial price interval', '');
INSERT INTO `admin_words_value_table` VALUES(2984, 521, 2, 'End price interval', '');
INSERT INTO `admin_words_value_table` VALUES(2985, 522, 2, 'Discount active from', '');
INSERT INTO `admin_words_value_table` VALUES(2986, 523, 2, 'Discount active to', '');
INSERT INTO `admin_words_value_table` VALUES(2987, 532, 2, 'Discount ticket code', '');
INSERT INTO `admin_words_value_table` VALUES(2988, 1368, 2, 'Affiliate programs', '');
INSERT INTO `admin_words_value_table` VALUES(2989, 572, 2, 'Associated product name', '');
INSERT INTO `admin_words_value_table` VALUES(2990, 1243, 2, 'Deadline', '');
INSERT INTO `admin_words_value_table` VALUES(2991, 1288, 2, 'Keywords', '');
INSERT INTO `admin_words_value_table` VALUES(2992, 1291, 2, 'Keywords', '');
INSERT INTO `admin_words_value_table` VALUES(2993, 59, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2994, 209, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2995, 348, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2996, 1315, 2, 'Login', '');
INSERT INTO `admin_words_value_table` VALUES(2997, 191, 2, 'Text name of form item', '');
INSERT INTO `admin_words_value_table` VALUES(2998, 295, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(2999, 637, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(3000, 994, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(3001, 1040, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(3002, 43, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(3003, 1419, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(3004, 1422, 2, 'Sorting order', '');
INSERT INTO `admin_words_value_table` VALUES(3005, 1248, 2, 'E-mails list', '');
INSERT INTO `admin_words_value_table` VALUES(3006, 1249, 2, 'E-mails list', '');
INSERT INTO `admin_words_value_table` VALUES(3007, 1254, 2, 'E-mail address name', '');
INSERT INTO `admin_words_value_table` VALUES(3008, 1251, 2, 'E-mail', '');
INSERT INTO `admin_words_value_table` VALUES(3009, 230, 2, 'Parameters', '');
INSERT INTO `admin_words_value_table` VALUES(3010, 702, 2, 'Parameters', '');
INSERT INTO `admin_words_value_table` VALUES(3011, 238, 2, 'Variable name', '');
INSERT INTO `admin_words_value_table` VALUES(3012, 759, 2, 'Hits', '');
INSERT INTO `admin_words_value_table` VALUES(3013, 775, 2, 'Hits', '');
INSERT INTO `admin_words_value_table` VALUES(3014, 783, 2, 'Hits', '');
INSERT INTO `admin_words_value_table` VALUES(3015, 790, 2, 'Hits', '');
INSERT INTO `admin_words_value_table` VALUES(3016, 800, 2, 'Hits', '');
INSERT INTO `admin_words_value_table` VALUES(3017, 825, 2, 'Hits', '');
INSERT INTO `admin_words_value_table` VALUES(3018, 833, 2, 'Hits', '');
INSERT INTO `admin_words_value_table` VALUES(3019, 838, 2, 'Hits', '');
INSERT INTO `admin_words_value_table` VALUES(3020, 916, 2, 'Hits', '');
INSERT INTO `admin_words_value_table` VALUES(3021, 937, 2, 'Hits', '');
INSERT INTO `admin_words_value_table` VALUES(3022, 941, 2, 'Hits', '');
INSERT INTO `admin_words_value_table` VALUES(3023, 947, 2, 'Hits', '');
INSERT INTO `admin_words_value_table` VALUES(3024, 952, 2, 'Hits', '');
INSERT INTO `admin_words_value_table` VALUES(3025, 957, 2, 'Hits', '');
INSERT INTO `admin_words_value_table` VALUES(3026, 968, 2, 'Hits', '');
INSERT INTO `admin_words_value_table` VALUES(3027, 760, 2, 'Sessions', '');
INSERT INTO `admin_words_value_table` VALUES(3028, 761, 2, 'Hosts', '');
INSERT INTO `admin_words_value_table` VALUES(3029, 762, 2, 'New visitors', '');
INSERT INTO `admin_words_value_table` VALUES(3030, 763, 2, 'Search robots', '');
INSERT INTO `admin_words_value_table` VALUES(3031, 774, 2, 'Page', '');
INSERT INTO `admin_words_value_table` VALUES(3032, 785, 2, 'Page', '');
INSERT INTO `admin_words_value_table` VALUES(3033, 789, 2, 'Visitor agents', '');
INSERT INTO `admin_words_value_table` VALUES(3034, 799, 2, 'Search phrase', '');
INSERT INTO `admin_words_value_table` VALUES(3035, 823, 2, 'Search phrase', '');
INSERT INTO `admin_words_value_table` VALUES(3036, 824, 2, 'Search engines', '');
INSERT INTO `admin_words_value_table` VALUES(3037, 832, 2, 'Operating systems', '');
INSERT INTO `admin_words_value_table` VALUES(3038, 837, 2, 'Browser', '');
INSERT INTO `admin_words_value_table` VALUES(3039, 913, 2, 'Screen resolution', '');
INSERT INTO `admin_words_value_table` VALUES(3040, 915, 2, 'Screen resolution', '');
INSERT INTO `admin_words_value_table` VALUES(3041, 936, 2, 'Color depth', '');
INSERT INTO `admin_words_value_table` VALUES(3042, 940, 2, 'Use of cookies', '');
INSERT INTO `admin_words_value_table` VALUES(3043, 946, 2, 'Use of java', '');
INSERT INTO `admin_words_value_table` VALUES(3044, 951, 2, 'JavaScript versions', '');
INSERT INTO `admin_words_value_table` VALUES(3045, 956, 2, 'Search robots', '');
INSERT INTO `admin_words_value_table` VALUES(3046, 962, 2, 'Search robots', '');
INSERT INTO `admin_words_value_table` VALUES(3047, 961, 2, 'Time', '');
INSERT INTO `admin_words_value_table` VALUES(3048, 767, 2, 'Page', '');
INSERT INTO `admin_words_value_table` VALUES(3049, 970, 2, 'Page', '');
INSERT INTO `admin_words_value_table` VALUES(3050, 967, 2, 'Host', '');
INSERT INTO `admin_words_value_table` VALUES(3051, 1164, 2, 'PageRank', '');
INSERT INTO `admin_words_value_table` VALUES(3052, 1163, 2, 'TIC', '');
INSERT INTO `admin_words_value_table` VALUES(3053, 1172, 2, 'Links according to Yandex.ru', '');
INSERT INTO `admin_words_value_table` VALUES(3054, 1173, 2, 'Links according to Google.com', '');
INSERT INTO `admin_words_value_table` VALUES(3055, 330, 2, 'Statistics', '');
INSERT INTO `admin_words_value_table` VALUES(3056, 336, 2, 'Statistics', '');
INSERT INTO `admin_words_value_table` VALUES(3057, 1198, 2, 'Statistics', '');
INSERT INTO `admin_words_value_table` VALUES(3058, 1209, 2, 'Statistics', '');
INSERT INTO `admin_words_value_table` VALUES(3059, 1192, 2, 'Search request', '');
INSERT INTO `admin_words_value_table` VALUES(3060, 99, 2, 'Group name', '');
INSERT INTO `admin_words_value_table` VALUES(3061, 197, 2, 'Group name', '');
INSERT INTO `admin_words_value_table` VALUES(3062, 256, 2, 'Group name', '');
INSERT INTO `admin_words_value_table` VALUES(3063, 278, 2, 'Group name', '');
INSERT INTO `admin_words_value_table` VALUES(3064, 111, 2, 'Validity start date of poll', '');
INSERT INTO `admin_words_value_table` VALUES(3065, 112, 2, 'Validity end date of poll', '');
INSERT INTO `admin_words_value_table` VALUES(3066, 128, 2, 'Answer option', '');
INSERT INTO `admin_words_value_table` VALUES(3067, 130, 2, 'Votes casted', '');
INSERT INTO `admin_words_value_table` VALUES(3068, 105, 2, 'Name of maillist', '');
INSERT INTO `admin_words_value_table` VALUES(3069, 117, 2, 'Subject of maillist issue', '');
INSERT INTO `admin_words_value_table` VALUES(3070, 119, 2, 'Date', '');
INSERT INTO `admin_words_value_table` VALUES(3071, 121, 2, 'Last modified', '');
INSERT INTO `admin_words_value_table` VALUES(3072, 122, 2, 'Send maillist', '');
INSERT INTO `admin_words_value_table` VALUES(3073, 680, 2, 'Send maillist', '');
INSERT INTO `admin_words_value_table` VALUES(3074, 120, 2, 'Last send maillist', '');
INSERT INTO `admin_words_value_table` VALUES(3075, 1124, 2, 'Priority', '');
INSERT INTO `admin_words_value_table` VALUES(3076, 328, 2, 'CTR', '');
INSERT INTO `admin_words_value_table` VALUES(3077, 690, 2, 'In group', '');
INSERT INTO `admin_words_value_table` VALUES(3078, 641, 2, 'In group', '');
INSERT INTO `admin_words_value_table` VALUES(3079, 327, 2, 'Viewed times', '');
INSERT INTO `admin_words_value_table` VALUES(3080, 342, 2, 'Viewed times', '');
INSERT INTO `admin_words_value_table` VALUES(3081, 326, 2, 'Total views number', '');
INSERT INTO `admin_words_value_table` VALUES(3082, 250, 2, 'Conference name', '');
INSERT INTO `admin_words_value_table` VALUES(3083, 251, 2, 'Conference description', '');
INSERT INTO `admin_words_value_table` VALUES(3084, 257, 2, 'Description', '');
INSERT INTO `admin_words_value_table` VALUES(3085, 279, 2, 'Description', '');
INSERT INTO `admin_words_value_table` VALUES(3086, 263, 2, 'Forum name', '');
INSERT INTO `admin_words_value_table` VALUES(3087, 264, 2, 'Comment', '');
INSERT INTO `admin_words_value_table` VALUES(3088, 265, 2, 'Allow access', '');
INSERT INTO `admin_words_value_table` VALUES(3089, 272, 2, 'Forum topic', '');
INSERT INTO `admin_words_value_table` VALUES(3090, 274, 2, 'Date', '');
INSERT INTO `admin_words_value_table` VALUES(3091, 145, 2, 'Items of list', '');
INSERT INTO `admin_words_value_table` VALUES(3092, 152, 2, 'List item value', '');
INSERT INTO `admin_words_value_table` VALUES(3093, 170, 2, 'Form fields', '');
INSERT INTO `admin_words_value_table` VALUES(3094, 188, 2, 'Form fields', '');
INSERT INTO `admin_words_value_table` VALUES(3095, 203, 2, 'Filling date', '');
INSERT INTO `admin_words_value_table` VALUES(3096, 1025, 2, 'Print', '');
INSERT INTO `admin_words_value_table` VALUES(3097, 804, 2, 'Search request', '');
INSERT INTO `admin_words_value_table` VALUES(3098, 297, 2, 'File size', '');
INSERT INTO `admin_words_value_table` VALUES(3099, 996, 2, 'File size', '');
INSERT INTO `admin_words_value_table` VALUES(3100, 1042, 2, 'File size', '');
INSERT INTO `admin_words_value_table` VALUES(3101, 997, 2, 'Attributes', '');
INSERT INTO `admin_words_value_table` VALUES(3102, 1043, 2, 'Attributes', '');
INSERT INTO `admin_words_value_table` VALUES(3103, 1009, 2, 'Download', '');
INSERT INTO `admin_words_value_table` VALUES(3104, 60, 2, 'Privileged user', '');
INSERT INTO `admin_words_value_table` VALUES(3105, 199, 2, 'Default group', '');
INSERT INTO `admin_words_value_table` VALUES(3106, 311, 2, 'Default domain', '');
INSERT INTO `admin_words_value_table` VALUES(3107, 1150, 2, 'License key', '');
INSERT INTO `admin_words_value_table` VALUES(3108, 1156, 2, 'Install update', '');
INSERT INTO `admin_words_value_table` VALUES(3109, 21, 2, 'Handler function', '');
INSERT INTO `admin_words_value_table` VALUES(3110, 1142, 2, 'Handler function', '');
INSERT INTO `admin_words_value_table` VALUES(3111, 23, 2, 'Action', '');
INSERT INTO `admin_words_value_table` VALUES(3112, 985, 2, 'Action', '');
INSERT INTO `admin_words_value_table` VALUES(3113, 990, 2, 'Action', '');
INSERT INTO `admin_words_value_table` VALUES(3114, 24, 2, 'Group operation', '');
INSERT INTO `admin_words_value_table` VALUES(3115, 212, 2, 'User is active', '');
INSERT INTO `admin_words_value_table` VALUES(3116, 1079, 2, 'Personal accounts', '');
INSERT INTO `admin_words_value_table` VALUES(3117, 1360, 2, 'Referrals', '');
INSERT INTO `admin_words_value_table` VALUES(3118, 1363, 2, 'Login', '');
INSERT INTO `admin_words_value_table` VALUES(3119, 1096, 2, 'User transactions', '');
INSERT INTO `admin_words_value_table` VALUES(3120, 1093, 2, 'Order number', '');
INSERT INTO `admin_words_value_table` VALUES(3121, 1092, 2, 'Price in default currency', '');
INSERT INTO `admin_words_value_table` VALUES(3122, 536, 2, 'Order number', '');
INSERT INTO `admin_words_value_table` VALUES(3123, 1083, 2, 'Amount in account', '');
INSERT INTO `admin_words_value_table` VALUES(3124, 729, 2, 'Short language name', '');
INSERT INTO `admin_words_value_table` VALUES(3125, 816, 2, 'Event information', '');
INSERT INTO `admin_words_value_table` VALUES(3126, 814, 2, 'Page/user', '');
INSERT INTO `admin_words_value_table` VALUES(3127, 1468, 2, 'Used on site', '');
INSERT INTO `admin_words_value_table` VALUES(3128, 1469, 2, 'Used all', '');
INSERT INTO `admin_words_value_table` VALUES(3129, 285, 2, 'Version', '');
INSERT INTO `admin_words_value_table` VALUES(3130, 288, 2, 'Path to module', '');
INSERT INTO `admin_words_value_table` VALUES(3131, 183, 2, 'Constant value', '');
INSERT INTO `admin_words_value_table` VALUES(3132, 178, 2, 'Ignore in statistics', '');
INSERT INTO `admin_words_value_table` VALUES(3133, 656, 2, 'Ignore in statistics', '');
INSERT INTO `admin_words_value_table` VALUES(3134, 364, 2, 'Name of XML tag', '');
INSERT INTO `admin_words_value_table` VALUES(3135, 372, 2, 'Name of XML tag', '');
INSERT INTO `admin_words_value_table` VALUES(3136, 651, 2, 'Name of XML tag', '');
INSERT INTO `admin_words_value_table` VALUES(3137, 280, 2, 'Moderator', '');
INSERT INTO `admin_words_value_table` VALUES(3138, 344, 2, 'CTR, %', '');
INSERT INTO `admin_words_value_table` VALUES(3139, 395, 2, 'Name of tax', '');
INSERT INTO `admin_words_value_table` VALUES(3140, 396, 2, 'Tax rate', '');
INSERT INTO `admin_words_value_table` VALUES(3141, 397, 2, 'Included', '');
INSERT INTO `admin_words_value_table` VALUES(3142, 408, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(3143, 437, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(3144, 438, 2, 'Description', '');
INSERT INTO `admin_words_value_table` VALUES(3145, 432, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(3146, 433, 2, 'Description', '');
INSERT INTO `admin_words_value_table` VALUES(3147, 413, 2, 'Country name', '');
INSERT INTO `admin_words_value_table` VALUES(3148, 414, 2, 'Locations', '');
INSERT INTO `admin_words_value_table` VALUES(3149, 418, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(3150, 419, 2, 'Cities/town', '');
INSERT INTO `admin_words_value_table` VALUES(3151, 423, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(3152, 424, 2, 'District of city/town', '');
INSERT INTO `admin_words_value_table` VALUES(3153, 428, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(3154, 442, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(3155, 443, 2, 'Address', '');
INSERT INTO `admin_words_value_table` VALUES(3156, 444, 2, 'Taxpayer ID', '');
INSERT INTO `admin_words_value_table` VALUES(3157, 402, 2, 'International currency name', '');
INSERT INTO `admin_words_value_table` VALUES(3158, 403, 2, 'Rate', '');
INSERT INTO `admin_words_value_table` VALUES(3159, 404, 2, 'Base currency', '');
INSERT INTO `admin_words_value_table` VALUES(3160, 11, 2, 'List of fields', '');
INSERT INTO `admin_words_value_table` VALUES(3161, 29, 2, 'Page templates list', '');
INSERT INTO `admin_words_value_table` VALUES(3162, 44, 2, 'Site templates', '');
INSERT INTO `admin_words_value_table` VALUES(3163, 65, 2, 'Pages and documents', '');
INSERT INTO `admin_words_value_table` VALUES(3164, 69, 2, 'Access rights for modules', '');
INSERT INTO `admin_words_value_table` VALUES(3165, 79, 2, 'Information systems', '');
INSERT INTO `admin_words_value_table` VALUES(3166, 85, 2, 'Information system groups and items', '');
INSERT INTO `admin_words_value_table` VALUES(3167, 97, 2, 'Polls group', '');
INSERT INTO `admin_words_value_table` VALUES(3168, 102, 2, 'Maillists', '');
INSERT INTO `admin_words_value_table` VALUES(3169, 108, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(3170, 416, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` VALUES(3171, 123, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(3172, 299, 2, 'Websites', '');
INSERT INTO `admin_words_value_table` VALUES(3173, 320, 2, 'Advertising banners', '');
INSERT INTO `admin_words_value_table` VALUES(3174, 333, 2, 'Banners list', '');
INSERT INTO `admin_words_value_table` VALUES(3175, 339, 2, 'Advertising statistics', '');
INSERT INTO `admin_words_value_table` VALUES(3176, 340, 2, 'Number', '');
INSERT INTO `admin_words_value_table` VALUES(3177, 343, 2, 'Visitors', '');
INSERT INTO `admin_words_value_table` VALUES(3178, 282, 2, 'Modules list', '');
INSERT INTO `admin_words_value_table` VALUES(3179, 294, 2, 'Backup', '');
INSERT INTO `admin_words_value_table` VALUES(3180, 314, 2, 'Banner group', '');
INSERT INTO `admin_words_value_table` VALUES(3181, 346, 2, 'Users to group', '');
INSERT INTO `admin_words_value_table` VALUES(3182, 360, 2, 'Additional properties of information system elements', '');
INSERT INTO `admin_words_value_table` VALUES(3183, 368, 2, 'Additional properties of groups of information system', '');
INSERT INTO `admin_words_value_table` VALUES(3184, 376, 2, 'omments to information element', '');
INSERT INTO `admin_words_value_table` VALUES(3185, 388, 2, 'List of online stores', '');
INSERT INTO `admin_words_value_table` VALUES(3186, 394, 2, 'Taxation reference', '');
INSERT INTO `admin_words_value_table` VALUES(3187, 400, 2, 'Currencies reference', '');
INSERT INTO `admin_words_value_table` VALUES(3188, 407, 2, 'Payment systems reference', '');
INSERT INTO `admin_words_value_table` VALUES(3189, 412, 2, 'Counties reference', '');
INSERT INTO `admin_words_value_table` VALUES(3190, 417, 2, 'Locations of country', '');
INSERT INTO `admin_words_value_table` VALUES(3191, 422, 2, 'Cities/town of location', '');
INSERT INTO `admin_words_value_table` VALUES(3192, 427, 2, 'District of city/town', '');
INSERT INTO `admin_words_value_table` VALUES(3193, 429, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(3194, 434, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(3195, 109, 2, 'Polls of group', '');
INSERT INTO `admin_words_value_table` VALUES(3196, 116, 2, 'Maillist issue', '');
INSERT INTO `admin_words_value_table` VALUES(3197, 126, 2, 'Answer options of poll', '');
INSERT INTO `admin_words_value_table` VALUES(3198, 134, 2, 'Subscribers of maillist', '');
INSERT INTO `admin_words_value_table` VALUES(3199, 135, 2, 'Login', '');
INSERT INTO `admin_words_value_table` VALUES(3200, 688, 2, 'Subscriber', '');
INSERT INTO `admin_words_value_table` VALUES(3201, 136, 2, 'Mailing list format', '');
INSERT INTO `admin_words_value_table` VALUES(3202, 139, 2, 'Subscriber groups', '');
INSERT INTO `admin_words_value_table` VALUES(3203, 142, 2, 'Lists', '');
INSERT INTO `admin_words_value_table` VALUES(3204, 149, 2, 'Items of list', '');
INSERT INTO `admin_words_value_table` VALUES(3205, 157, 2, 'XSL sections', '');
INSERT INTO `admin_words_value_table` VALUES(3206, 167, 2, 'Forms', '');
INSERT INTO `admin_words_value_table` VALUES(3207, 181, 2, 'Constants list', '');
INSERT INTO `admin_words_value_table` VALUES(3208, 196, 2, 'Website user groups', '');
INSERT INTO `admin_words_value_table` VALUES(3209, 202, 2, 'Filled forms', '');
INSERT INTO `admin_words_value_table` VALUES(3210, 207, 2, 'Users list', '');
INSERT INTO `admin_words_value_table` VALUES(3211, 217, 2, 'Users additional parameters', '');
INSERT INTO `admin_words_value_table` VALUES(3212, 219, 2, 'Title', '');
INSERT INTO `admin_words_value_table` VALUES(3213, 225, 2, 'List of sample dynamic pages', '');
INSERT INTO `admin_words_value_table` VALUES(3214, 235, 2, 'Parameters of sample dynamic page', '');
INSERT INTO `admin_words_value_table` VALUES(3215, 243, 2, 'Website menu', '');
INSERT INTO `admin_words_value_table` VALUES(3216, 657, 2, 'Website menu', '');
INSERT INTO `admin_words_value_table` VALUES(3217, 248, 2, 'Conferences list', '');
INSERT INTO `admin_words_value_table` VALUES(3218, 254, 2, 'Forums group list', '');
INSERT INTO `admin_words_value_table` VALUES(3219, 261, 2, 'Forums of group', '');
INSERT INTO `admin_words_value_table` VALUES(3220, 270, 2, 'Forum topics', '');
INSERT INTO `admin_words_value_table` VALUES(3221, 277, 2, 'Forum visitors groups', '');
INSERT INTO `admin_words_value_table` VALUES(3222, 355, 2, 'Search requests log', '');
INSERT INTO `admin_words_value_table` VALUES(3227, 475, 2, 'Product properties', '');
INSERT INTO `admin_words_value_table` VALUES(3228, 483, 2, 'Prices', '');
INSERT INTO `admin_words_value_table` VALUES(3229, 489, 2, 'Manufacturers list', '');
INSERT INTO `admin_words_value_table` VALUES(3230, 495, 2, 'Sellers list', '');
INSERT INTO `admin_words_value_table` VALUES(3231, 500, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` VALUES(3232, 502, 2, 'Product properties accessible for the current product group', '');
INSERT INTO `admin_words_value_table` VALUES(3233, 507, 2, 'Reference "Discounts"', '');
INSERT INTO `admin_words_value_table` VALUES(3234, 516, 2, 'Discounts from order amount', '');
INSERT INTO `admin_words_value_table` VALUES(3235, 527, 2, 'Discount tickets list', '');
INSERT INTO `admin_words_value_table` VALUES(3236, 535, 2, 'Orders of online store', '');
INSERT INTO `admin_words_value_table` VALUES(3237, 545, 2, 'Products list in order', '');
INSERT INTO `admin_words_value_table` VALUES(3238, 555, 2, 'Delivery types list', '');
INSERT INTO `admin_words_value_table` VALUES(3239, 561, 2, 'List of delivery terms', '');
INSERT INTO `admin_words_value_table` VALUES(3240, 571, 2, 'Associated products', '');
INSERT INTO `admin_words_value_table` VALUES(3241, 586, 2, 'Modification of product', '');
INSERT INTO `admin_words_value_table` VALUES(3242, 606, 2, 'Activity', '');
INSERT INTO `admin_words_value_table` VALUES(3243, 607, 2, 'Activity of information element', '');
INSERT INTO `admin_words_value_table` VALUES(3244, 608, 2, 'Site structure', '');
INSERT INTO `admin_words_value_table` VALUES(3245, 630, 2, 'Search indexation', '');
INSERT INTO `admin_words_value_table` VALUES(3246, 633, 2, 'Add users to group', '');
INSERT INTO `admin_words_value_table` VALUES(3247, 634, 2, 'Add users to group', '');
INSERT INTO `admin_words_value_table` VALUES(3248, 643, 2, 'Activity of information element', '');
INSERT INTO `admin_words_value_table` VALUES(3249, 644, 2, 'Index information element', '');
INSERT INTO `admin_words_value_table` VALUES(3250, 646, 2, 'Status', '');
INSERT INTO `admin_words_value_table` VALUES(3251, 647, 2, 'Additional properties of website sections', '');
INSERT INTO `admin_words_value_table` VALUES(3252, 663, 2, 'Items of list', '');
INSERT INTO `admin_words_value_table` VALUES(3253, 670, 2, 'Status', '');
INSERT INTO `admin_words_value_table` VALUES(3254, 676, 2, 'Show field values', '');
INSERT INTO `admin_words_value_table` VALUES(3255, 681, 2, 'Activity', '');
INSERT INTO `admin_words_value_table` VALUES(3256, 682, 2, 'Activity', '');
INSERT INTO `admin_words_value_table` VALUES(3257, 685, 2, 'Default domain', '');
INSERT INTO `admin_words_value_table` VALUES(3258, 686, 2, 'User is active', '');
INSERT INTO `admin_words_value_table` VALUES(3259, 693, 2, 'Subscriber', '');
INSERT INTO `admin_words_value_table` VALUES(3260, 701, 2, 'Summary statistics', '');
INSERT INTO `admin_words_value_table` VALUES(3261, 710, 2, 'Initial data', '');
INSERT INTO `admin_words_value_table` VALUES(3262, 724, 2, 'Administration center languages list', '');
INSERT INTO `admin_words_value_table` VALUES(3263, 755, 2, 'Activity', '');
INSERT INTO `admin_words_value_table` VALUES(3264, 756, 2, 'Website traffic', '');
INSERT INTO `admin_words_value_table` VALUES(3265, 764, 2, 'Website visitors', '');
INSERT INTO `admin_words_value_table` VALUES(3266, 768, 2, 'Referrers', '');
INSERT INTO `admin_words_value_table` VALUES(3267, 771, 2, 'Referrers', '');
INSERT INTO `admin_words_value_table` VALUES(3268, 780, 2, 'Pages popularity', '');
INSERT INTO `admin_words_value_table` VALUES(3269, 786, 2, 'Visitor agents', '');
INSERT INTO `admin_words_value_table` VALUES(3270, 792, 2, 'Counter variants', '');
INSERT INTO `admin_words_value_table` VALUES(3271, 795, 2, 'Image', '');
INSERT INTO `admin_words_value_table` VALUES(3272, 796, 2, 'Counter code', '');
INSERT INTO `admin_words_value_table` VALUES(3273, 797, 2, 'Counter code', '');
INSERT INTO `admin_words_value_table` VALUES(3274, 798, 2, 'Search phrases', '');
INSERT INTO `admin_words_value_table` VALUES(3275, 802, 2, 'Search requests log', '');
INSERT INTO `admin_words_value_table` VALUES(3276, 809, 2, 'Events log', '');
INSERT INTO `admin_words_value_table` VALUES(3277, 821, 2, 'Search engines', '');
INSERT INTO `admin_words_value_table` VALUES(3278, 830, 2, 'Operating systems of website visitors', '');
INSERT INTO `admin_words_value_table` VALUES(3279, 835, 2, 'Browsers used by website visitors', '');
INSERT INTO `admin_words_value_table` VALUES(3280, 918, 2, 'Document versions', '');
INSERT INTO `admin_words_value_table` VALUES(3281, 920, 2, 'Current document version', '');
INSERT INTO `admin_words_value_table` VALUES(3282, 922, 2, 'Administration center user', '');
INSERT INTO `admin_words_value_table` VALUES(3283, 925, 2, 'Current document version', '');
INSERT INTO `admin_words_value_table` VALUES(3284, 929, 2, 'Delete all non-current versions', '');
INSERT INTO `admin_words_value_table` VALUES(3285, 934, 2, 'Color depth', '');
INSERT INTO `admin_words_value_table` VALUES(3286, 939, 2, 'Use of cookies', '');
INSERT INTO `admin_words_value_table` VALUES(3287, 944, 2, 'Use of Java', '');
INSERT INTO `admin_words_value_table` VALUES(3288, 949, 2, 'JavaScript versions', '');
INSERT INTO `admin_words_value_table` VALUES(3289, 954, 2, 'Search robots', '');
INSERT INTO `admin_words_value_table` VALUES(3290, 959, 2, 'Pages visited by search robots', '');
INSERT INTO `admin_words_value_table` VALUES(3291, 964, 2, 'IP addresses', '');
INSERT INTO `admin_words_value_table` VALUES(3292, 971, 2, 'Documents statuses', '');
INSERT INTO `admin_words_value_table` VALUES(3293, 980, 2, 'Delete non-current document versions of this division', '');
INSERT INTO `admin_words_value_table` VALUES(3294, 983, 2, 'Tables optimization', '');
INSERT INTO `admin_words_value_table` VALUES(3295, 984, 2, 'Table name', '');
INSERT INTO `admin_words_value_table` VALUES(3296, 989, 2, 'Table name', '');
INSERT INTO `admin_words_value_table` VALUES(3297, 986, 2, 'Message type', '');
INSERT INTO `admin_words_value_table` VALUES(3298, 991, 2, 'Message type', '');
INSERT INTO `admin_words_value_table` VALUES(3299, 987, 2, 'Message text', '');
INSERT INTO `admin_words_value_table` VALUES(3300, 992, 2, 'Message text', '');
INSERT INTO `admin_words_value_table` VALUES(3301, 988, 2, 'Tables recovery', '');
INSERT INTO `admin_words_value_table` VALUES(3302, 993, 2, 'File manager', '');
INSERT INTO `admin_words_value_table` VALUES(3303, 1038, 2, 'File manager for WYSIWYG', '');
INSERT INTO `admin_words_value_table` VALUES(3304, 1044, 2, 'Select', '');
INSERT INTO `admin_words_value_table` VALUES(3305, 1047, 2, 'Cashing', '');
INSERT INTO `admin_words_value_table` VALUES(3306, 1048, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(3307, 1049, 2, 'Maximum', '');
INSERT INTO `admin_words_value_table` VALUES(3308, 1051, 2, 'Total', '');
INSERT INTO `admin_words_value_table` VALUES(3309, 1052, 2, 'Size of block', '');
INSERT INTO `admin_words_value_table` VALUES(3310, 1053, 2, 'Lifetime', '');
INSERT INTO `admin_words_value_table` VALUES(3311, 1056, 2, 'Clear', '');
INSERT INTO `admin_words_value_table` VALUES(3312, 1057, 2, 'Clear all cache', '');
INSERT INTO `admin_words_value_table` VALUES(3313, 1070, 2, 'Digital products', '');
INSERT INTO `admin_words_value_table` VALUES(3314, 1077, 2, 'Clear files cash for the current website', '');
INSERT INTO `admin_words_value_table` VALUES(3315, 1078, 2, 'Clear files cash for all websites', '');
INSERT INTO `admin_words_value_table` VALUES(3316, 1081, 2, 'Personal accounts', '');
INSERT INTO `admin_words_value_table` VALUES(3317, 1085, 2, 'User transactions', '');
INSERT INTO `admin_words_value_table` VALUES(3318, 1095, 2, 'Transaction activity', '');
INSERT INTO `admin_words_value_table` VALUES(3319, 1104, 2, 'Properties list of product group', '');
INSERT INTO `admin_words_value_table` VALUES(3320, 1203, 2, 'Google.ru', '');
INSERT INTO `admin_words_value_table` VALUES(3321, 1205, 2, 'GoGo.ru', '');
INSERT INTO `admin_words_value_table` VALUES(3322, 1206, 2, 'Yahoo.com', '');
INSERT INTO `admin_words_value_table` VALUES(3323, 1207, 2, 'search.live.com', '');
INSERT INTO `admin_words_value_table` VALUES(3324, 1213, 2, 'Specify positions', '');
INSERT INTO `admin_words_value_table` VALUES(3325, 1232, 2, 'Support services', '');
INSERT INTO `admin_words_value_table` VALUES(3326, 1237, 2, 'Incidents list of support services', '');
INSERT INTO `admin_words_value_table` VALUES(3327, 1255, 2, 'Incidents criticality levels reference', '');
INSERT INTO `admin_words_value_table` VALUES(3328, 1264, 2, 'Messages', '');
INSERT INTO `admin_words_value_table` VALUES(3329, 1272, 2, 'Message statuses reference', '');
INSERT INTO `admin_words_value_table` VALUES(3330, 1280, 2, 'Standard replies reference', '');
INSERT INTO `admin_words_value_table` VALUES(3331, 1289, 2, 'Standard replies keywords list', '');
INSERT INTO `admin_words_value_table` VALUES(3332, 1295, 2, 'Responsible users for categories', '');
INSERT INTO `admin_words_value_table` VALUES(3333, 1298, 2, 'Responsible user', '');
INSERT INTO `admin_words_value_table` VALUES(3334, 1196, 2, 'Add', '');
INSERT INTO `admin_words_value_table` VALUES(3335, 1299, 2, 'Add', '');
INSERT INTO `admin_words_value_table` VALUES(3336, 1347, 2, 'Add', '');
INSERT INTO `admin_words_value_table` VALUES(3337, 1302, 2, 'Receive e-mails', '');
INSERT INTO `admin_words_value_table` VALUES(3338, 1304, 2, 'Responded', '');
INSERT INTO `admin_words_value_table` VALUES(3339, 1305, 2, 'Reply', '');
INSERT INTO `admin_words_value_table` VALUES(3340, 1313, 2, 'User message templates', '');
INSERT INTO `admin_words_value_table` VALUES(3341, 1318, 2, 'Merge Tickets', '');
INSERT INTO `admin_words_value_table` VALUES(3342, 1342, 2, 'Affiliates', '');
INSERT INTO `admin_words_value_table` VALUES(3343, 1411, 2, 'Lock', '');
INSERT INTO `admin_words_value_table` VALUES(3344, 1416, 2, 'Close', '');
INSERT INTO `admin_words_value_table` VALUES(3345, 1417, 2, 'Tickets checkboxes', '');
INSERT INTO `admin_words_value_table` VALUES(3346, 1439, 2, 'Shifts of days', '');
INSERT INTO `admin_words_value_table` VALUES(3347, 1442, 2, 'Working day', '');
INSERT INTO `admin_words_value_table` VALUES(3348, 1460, 2, 'Alias', '');
INSERT INTO `admin_words_value_table` VALUES(3349, 1496, 2, 'Alias', '');
INSERT INTO `admin_words_value_table` VALUES(3350, 1497, 2, 'Alias', '');
INSERT INTO `admin_words_value_table` VALUES(3351, 1507, 2, 'Alias', '');
INSERT INTO `admin_words_value_table` VALUES(3352, 1465, 2, 'Labels (tags)', '');
INSERT INTO `admin_words_value_table` VALUES(3353, 1136, 2, 'Name', '');
INSERT INTO `admin_words_value_table` VALUES(3354, 1137, 2, 'Access to Action', '');
INSERT INTO `admin_words_value_table` VALUES(3355, 1138, 2, 'Access rights for actions', '');
INSERT INTO `admin_words_value_table` VALUES(3356, 1146, 2, 'Allow all actions', '');
INSERT INTO `admin_words_value_table` VALUES(3357, 1147, 2, 'Disable all actions', '');
INSERT INTO `admin_words_value_table` VALUES(3358, 1152, 2, 'Updates', '');
INSERT INTO `admin_words_value_table` VALUES(3359, 1161, 2, 'SEO services', '');
INSERT INTO `admin_words_value_table` VALUES(3360, 1189, 2, 'Request for website', '');
INSERT INTO `admin_words_value_table` VALUES(3361, 1190, 2, 'Search requests', '');
INSERT INTO `admin_words_value_table` VALUES(3362, 1353, 2, 'Levels of affiliate program', '');
INSERT INTO `admin_words_value_table` VALUES(3363, 1361, 2, 'Users attracted by partner', '');
INSERT INTO `admin_words_value_table` VALUES(3364, 1373, 2, 'Operation mode', '');
INSERT INTO `admin_words_value_table` VALUES(3365, 1366, 2, 'Affiliate programs accessible to online store', '');
INSERT INTO `admin_words_value_table` VALUES(3366, 19, 2, 'Administration center form action', '');
INSERT INTO `admin_words_value_table` VALUES(3367, 9, 2, 'Administration center forms', '');
INSERT INTO `admin_words_value_table` VALUES(3368, 205, 2, 'Preview', '');
INSERT INTO `admin_words_value_table` VALUES(3369, 1230, 2, 'Preview', '');
INSERT INTO `admin_words_value_table` VALUES(3370, 1134, 2, 'Access to forms for group', '');
INSERT INTO `admin_words_value_table` VALUES(3371, 1486, 2, 'Create modifications from product', '');
INSERT INTO `admin_words_value_table` VALUES(3372, 58, 2, 'Administration center users', '');
INSERT INTO `admin_words_value_table` VALUES(3373, 357, 2, 'Search request', '');
INSERT INTO `admin_words_value_table` VALUES(3374, 1320, 2, 'Waiting', '');

UPDATE `constants_table` SET `constants_value` = '5.6.9' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '56' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.7.0

INSERT INTO `admin_words_value_table` VALUES(2353, 708, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2352, 698, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2351, 695, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(3223, 431, 2, 'Measurement units reference', '');
INSERT INTO `admin_words_value_table` VALUES(3224, 436, 2, 'Order statuses reference', '');
INSERT INTO `admin_words_value_table` VALUES(3225, 441, 2, 'Companies', '');
INSERT INTO `admin_words_value_table` VALUES(3226, 447, 2, 'List of online stores groups and products', '');
INSERT INTO `admin_words_value_table` VALUES(2349, 692, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2350, 696, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2348, 687, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2347, 683, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2346, 673, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2345, 667, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2344, 664, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2343, 658, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2342, 648, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2341, 635, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2340, 609, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2339, 605, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2338, 602, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2337, 587, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2336, 577, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2335, 547, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2334, 528, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2333, 517, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2332, 513, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2331, 505, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2330, 476, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2821, 836, 2, 'Date', '');
INSERT INTO `admin_words_value_table` VALUES(2329, 468, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2328, 389, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2327, 378, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2326, 369, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2325, 361, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2324, 356, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2323, 347, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2322, 321, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2321, 315, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2320, 300, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2822, 914, 2, 'Date', '');
INSERT INTO `admin_words_value_table` VALUES(2820, 831, 2, 'Date', '');
INSERT INTO `admin_words_value_table` VALUES(2319, 293, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2819, 822, 2, 'Date', '');
INSERT INTO `admin_words_value_table` VALUES(2818, 813, 2, 'Date', '');
INSERT INTO `admin_words_value_table` VALUES(2817, 806, 2, 'Date', '');
INSERT INTO `admin_words_value_table` VALUES(2816, 808, 2, 'Date', '');
INSERT INTO `admin_words_value_table` VALUES(2815, 788, 2, 'Date', '');
INSERT INTO `admin_words_value_table` VALUES(2814, 782, 2, 'Date', '');
INSERT INTO `admin_words_value_table` VALUES(2813, 778, 2, 'Date', '');
INSERT INTO `admin_words_value_table` VALUES(2318, 284, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2317, 269, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2316, 249, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2315, 244, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2314, 236, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2313, 226, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2312, 213, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2311, 208, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2812, 769, 2, 'Date', '');
INSERT INTO `admin_words_value_table` VALUES(2811, 758, 2, 'Date', '');
INSERT INTO `admin_words_value_table` VALUES(2810, 341, 2, 'Date', '');
INSERT INTO `admin_words_value_table` VALUES(2809, 296, 2, 'Date', '');
INSERT INTO `admin_words_value_table` VALUES(2808, 286, 2, 'Date', '');
INSERT INTO `admin_words_value_table` VALUES(2807, 1427, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2310, 189, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2309, 168, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2806, 271, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2308, 159, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2307, 150, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2305, 127, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2306, 143, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2303, 103, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2304, 115, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2302, 98, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2301, 86, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2300, 80, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2299, 66, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2298, 64, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2297, 46, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2296, 45, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2295, 30, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2294, 20, 2, 'ID', '');
INSERT INTO `admin_words_value_table` VALUES(2292, 12, 2, 'ID', '');

ALTER TABLE `shop_items_catalog_table` CHANGE `shop_items_cml_id` `shop_items_cml_id` VARCHAR( 100 ) CHARACTER SET cp1251 COLLATE cp1251_general_ci NOT NULL;
ALTER TABLE `shop_groups_table` CHANGE `shop_groups_cml_id` `shop_groups_cml_id` VARCHAR( 100 ) CHARACTER SET cp1251 COLLATE cp1251_general_ci NOT NULL;
ALTER TABLE `shop_shops_table` CHANGE `shop_shops_guid` `shop_shops_guid` VARCHAR( 100 ) CHARACTER SET cp1251 COLLATE cp1251_general_ci NOT NULL;
ALTER TABLE `shop_tax_table` CHANGE `shop_tax_cml_id` `shop_tax_cml_id` VARCHAR( 100 ) CHARACTER SET cp1251 COLLATE cp1251_general_ci NOT NULL;

ALTER TABLE `shop_list_of_prices_table` ADD `shop_list_of_prices_cml_id` VARCHAR( 100 ) NOT NULL AFTER `site_users_group_id`;

ALTER TABLE `shop_shops_table` CHANGE `shop_shops_guid` `shop_shops_guid` VARCHAR( 100 ) CHARACTER SET cp1251 COLLATE cp1251_general_ci NOT NULL DEFAULT '';

UPDATE `constants_table` SET `constants_value` = '5.7.0' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '57' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.7.1

UPDATE `constants_table` SET `constants_value` = '5.7.1' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '58' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.7.2

ALTER TABLE `shop_order_table` CHANGE `shop_order_index` `shop_order_index` VARCHAR( 50 ) NULL DEFAULT '';
ALTER TABLE `shop_items_catalog_table` CHANGE `shop_items_cml_id` `shop_items_cml_id` VARCHAR( 100 ) CHARACTER SET cp1251 COLLATE cp1251_general_ci NOT NULL DEFAULT '';
ALTER TABLE `shop_groups_table` CHANGE `shop_groups_cml_id` `shop_groups_cml_id` VARCHAR( 100 ) CHARACTER SET cp1251 COLLATE cp1251_general_ci NOT NULL DEFAULT '';

DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 326;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 327;
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(326, 81, 591, 'shop_items_catalog_rest', 40, 2, '', 1, 1, 'left', 'left', '60px', 'width: 60px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(327, 81, 592, 'shop_items_catalog_price', 50, 10, '', 1, 1, 'left', 'left', '100px', 'width: 70px;', 'width: 70px;', '', '', '', '', 19);

INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES(456, 1517, 86, 'copy_node_property', '/admin/images/copy.gif', 1, 1, 15, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES(457, 1518, 50, 'copy_items_property', '/admin/images/copy.gif', 1, 1, 15, 1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES(458, 1519, 51, 'copy_groups_property', '/admin/images/copy.gif', 1, 1, 15, 1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES(460, 1521, 67, 'copy_shop_items_property', '/admin/images/copy.gif', 1, 1, 20, 1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES(461, 1522, 135, 'copy_shop_groups_property', '/admin/images/copy.gif', 1, 1, 20, 1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES(462, 1523, 85, 'add_users_to_group', '/admin/images/check.gif', 0, 1, 30, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES(463, 1524, 85, 'delete_users_from_group', '/admin/images/delete.gif', 0, 1, 40, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES(464, 1526, 153, 'apply_changes', '/admin/images/apply.gif', 0, 1, 15, -1, 0, 19);

INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3375, 1517, 1, 'Копировать', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3376, 1517, 2, 'Copy', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3377, 1518, 1, 'Копировать', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3378, 1518, 2, 'Copy', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3379, 1519, 1, 'Копировать', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3380, 1519, 2, 'Copy', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3384, 1521, 2, 'Copy', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3383, 1521, 1, 'Копировать', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3385, 1522, 1, 'Копировать', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3386, 1522, 2, 'Copy', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3387, 1523, 1, 'Добавить в группу', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3388, 1523, 2, 'Add in group', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3389, 1524, 1, 'Удалить из группы', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3390, 1524, 2, 'Delete from group', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3391, 1525, 1, 'Сортировка', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3392, 1525, 2, 'Sorting order', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3393, 1526, 1, 'Применить', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3394, 1526, 2, 'Apply', '');

UPDATE `constants_table` SET `constants_value` = '5.7.2' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '59' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.7.2

-- Forms
ALTER TABLE `forms_fill_table` ADD `forms_fill_read` TINYINT NOT NULL DEFAULT '0';
UPDATE forms_fill_table SET `forms_fill_read`=1;

-- 5.7.2

-- Helpdesk
ALTER TABLE `helpdesk_letter_template_dir_table` ADD `helpdesk_letter_template_dir_order` INT( 11 ) NOT NULL;
ALTER TABLE `helpdesk_letter_template_table` ADD `helpdesk_letter_template_order` INT( 11 ) NOT NULL;

-- 5.7.3
 
UPDATE `constants_table` SET `constants_value` = '5.7.3' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '60' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.7.4

ALTER TABLE `shop_system_of_pay_table` ADD `shop_shops_id` INT( 11 ) NOT NULL AFTER `shop_currency_id`, ADD INDEX ( shop_shops_id );
ALTER TABLE `information_items_table` ADD `information_items_shortcut_id` INT NOT NULL DEFAULT '0' AFTER `information_groups_id`;
ALTER TABLE `shop_sallers_table` ADD `site_users_id` INT( 10 ) NOT NULL AFTER `shop_shops_id`;

ALTER TABLE `shop_items_catalog_table` ADD `shop_items_catalog_shortcut_id` INT NOT NULL DEFAULT '0' AFTER `shop_items_catalog_item_id`;

DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 853;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 294;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 46;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 268;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 240;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 247;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 248;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 249;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 250;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 600;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 854;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 855;
INSERT INTO `admin_forms_field_table` VALUES(853, 153, 1525, 'orderr', 60, 2, '', 1, 1, 'left', 'left', '80px', 'width: 80px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` VALUES(294, 75, 539, 'shop_order_sum', 40, 10, '', 0, 0, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` VALUES(46, 12, 87, 'information_items_shortcut_id', 20, 7, '', 0, 0, 'center', 'center', '20px', '', '', '0=/admin/images/page.gif\r\n=/admin/images/page_shortcut.gif', '', '', '', 19);
INSERT INTO `admin_forms_field_table` VALUES(268, 71, 503, 'path_name', 10, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` VALUES(240, 65, 450, 'name', 30, 1, '', 1, 1, 'left', 'left', '', '', '', '', '/admin/shop/shop.php?action=show_groups&shop_shops_id={shop_shops_id}&shop_groups_parent_id={keyfield}', 'DoLoadAjax(''/admin/shop/shop.php'', ''&action=show_groups&shop_shops_id={shop_shops_id}&shop_groups_parent_id={keyfield}'', 65, ''load_data''); return false;', '', 19);
INSERT INTO `admin_forms_field_table` VALUES(247, 65, 457, 'addonses', 100, 10, '', 0, 0, 'left', 'center', '16px', 'widht: 16px;', 'alt="Сопут. товары"', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` VALUES(248, 65, 458, 'easy', 120, 10, '', 0, 0, 'left', 'center', '16px', 'widht: 16px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` VALUES(249, 65, 459, 'voices', 130, 10, '', 0, 0, 'left', 'center', '16px', 'widht: 16px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` VALUES(250, 65, 460, 'mods', 110, 10, '', 0, 0, 'left', 'center', '16px', 'widht: 16px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` VALUES(600, 65, 1069, 'shop_items_catalog_type', 115, 10, '', 0, 0, 'left', 'center', '16px', 'width: 16px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` VALUES(854, 71, 1531, 'type', 5, 7, '', 0, 0, 'left', 'center', '16px', 'widht: 16px;', '', ' = /admin/images/folder.gif', '', '', '', 19);
INSERT INTO `admin_forms_field_table` VALUES(855, 71, 1533, 'order_field', 15, 1, '', 1, 1, 'left', 'left', '80px', 'width: 80px;', '', '', '', '', '', 19);

INSERT INTO `admin_forms_events_table` VALUES(465, 1527, 12, 'add_item_shortcut', '/admin/images/page_shortcut_add.gif', 1, 0, 20, 1, 0, 19);
INSERT INTO `admin_forms_events_table` VALUES(466, 1528, 173, 'combine_tags', '/admin/images/ticket_join.gif', 0, 1, 5, -1, 1, 19);
INSERT INTO `admin_forms_events_table` VALUES(467, 1529, 12, 'move_items_groups', '/admin/images/go.gif', 0, 1, 80, -1, 0, 19);
INSERT INTO `admin_forms_events_table` VALUES(468, 1530, 65, 'move_items_groups', '/admin/images/go.gif', 0, 1, 50, -1, 0, 19);
INSERT INTO `admin_forms_events_table` VALUES(469, 1532, 65, 'add_item_shortcut', '/admin/images/page_shortcut_add.gif', 1, 0, 15, 1, 0, 19);

INSERT INTO `admin_words_value_table` VALUES(3395, 1527, 1, 'Создать ярлык', '');
INSERT INTO `admin_words_value_table` VALUES(3396, 1527, 2, 'Create shortcut', '');
INSERT INTO `admin_words_value_table` VALUES(3397, 1528, 1, 'Объединить', '');
INSERT INTO `admin_words_value_table` VALUES(3398, 1528, 2, 'Merge tags', '');
INSERT INTO `admin_words_value_table` VALUES(3399, 87, 2, '', '');
INSERT INTO `admin_words_value_table` VALUES(3400, 1529, 1, 'Перенести', '');
INSERT INTO `admin_words_value_table` VALUES(3401, 1529, 2, 'Move', '');
INSERT INTO `admin_words_value_table` VALUES(3402, 1530, 1, 'Перенести', '');
INSERT INTO `admin_words_value_table` VALUES(3403, 1530, 2, 'Move', '');
INSERT INTO `admin_words_value_table` VALUES(3404, 1531, 1, '', '');
INSERT INTO `admin_words_value_table` VALUES(3405, 1531, 2, '', '');
INSERT INTO `admin_words_value_table` VALUES(3406, 1532, 1, 'Создать ярлык', '');
INSERT INTO `admin_words_value_table` VALUES(3407, 1532, 2, 'Create shortcut', '');
INSERT INTO `admin_words_value_table` VALUES(3408, 1533, 1, 'Сортировка', 'Порядок сортировки');
INSERT INTO `admin_words_value_table` VALUES(3409, 1533, 2, 'Sorting order', '');
INSERT INTO `admin_words_value_table` VALUES(3410, 448, 2, '', '');
INSERT INTO `admin_words_value_table` VALUES(3411, 457, 2, '', '');
INSERT INTO `admin_words_value_table` VALUES(3412, 460, 2, '', '');
INSERT INTO `admin_words_value_table` VALUES(3413, 458, 2, '', '');
INSERT INTO `admin_words_value_table` VALUES(3414, 459, 2, '', '');

INSERT INTO `admin_words_table` VALUES(1527, 19);
INSERT INTO `admin_words_table` VALUES(1528, 19);
INSERT INTO `admin_words_table` VALUES(1529, 19);
INSERT INTO `admin_words_table` VALUES(1530, 19);
INSERT INTO `admin_words_table` VALUES(1531, 19);
INSERT INTO `admin_words_table` VALUES(1532, 19);
INSERT INTO `admin_words_table` VALUES(1533, 19);

UPDATE `constants_table` SET `constants_value` = '5.7.4' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '61' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';


-- 5.7.6

DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 238;
INSERT INTO `admin_forms_field_table` VALUES(238, 65, 448, 'shop_items_catalog_shortcut_id', 10, 7, '', 0, 0, 'left', 'center', '16px', 'widht: 16px;', '', '0=/admin/images/page.gif\r\n=/admin/images/page_shortcut.gif', '', '', '', 19);

DELETE FROM `admin_forms_events_table` WHERE `admin_forms_events_id` = 467;
DELETE FROM `admin_forms_events_table` WHERE `admin_forms_events_id` = 468;
INSERT INTO `admin_forms_events_table` VALUES(467, 1529, 12, 'move_items_groups', '/admin/images/go.gif', 0, 1, 45, -1, 0, 19);
INSERT INTO `admin_forms_events_table` VALUES(468, 1530, 65, 'move_items_groups', '/admin/images/go.gif', 0, 1, 35, -1, 0, 19);

UPDATE `constants_table` SET `constants_value` = '5.7.6' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '63' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.7.8

UPDATE `constants_table` SET `constants_value` = '5.7.8' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '65' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.7.9

DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 566;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 568;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 586;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 587;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 860;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 864;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 865;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 42;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 43;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 212;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 213;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 567;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 214;

INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(587, 130, 1041, 'file_date', 30, 10, '', 1, 0, 'left', 'left', '100px', 'widht: 100px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(586, 130, 1040, 'file_name', 20, 10, '', 1, 0, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(566, 127, 994, 'file_name', 10, 10, '', 1, 0, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(568, 127, 996, 'file_size', 30, 1, '', 0, 0, '', '', '100px', 'width: 100px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(864, 11, 1558, '', 20, 7, '', 0, 0, 'center', 'center', '16px', 'widht: 16px;', '', '=/admin/images/page.gif', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(865, 54, 1561, '', 20, 7, '', 0, 0, 'center', 'center', '16px', 'widht: 16px;', '', '=/admin/images/page.gif', '', '', '', 19);
INSERT INTO `admin_forms_field_table` VALUES(42, 11, 80, 'key_field', 10, 1, '', 1, 1, 'left', 'left', '40px', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` VALUES(43, 11, 81, 'name', 30, 4, '', 1, 1, 'left', 'left', '', '', '', '', '/admin/InformationSystems/InformationSystems.php?admin_forms_id=11&information_systems_dir_parent_id={key_field}', 'DoLoadAjax(''/admin/InformationSystems/InformationSystems.php'', ''&information_systems_dir_parent_id={key_field}'', 11, ''load_data'', '''', '''', '''', ''''); return false;', '', 19);
INSERT INTO `admin_forms_field_table` VALUES(212, 54, 389, 'key_field', 10, 1, '', 1, 0, 'left', 'left', '50px', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` VALUES(213, 54, 390, 'name', 30, 4, '', 1, 1, 'left', 'left', '', '', '', '', '/admin/shop/shop.php?admin_forms_id=65&operation=load_data&shop_groups_parent_id=0&shop_shops_id={shop_shops_id}', 'DoLoadAjax(''/admin/shop/shop.php'', ''&shop_groups_parent_id=0&shop_shops_id={shop_shops_id}'', 65, ''load_data'', '''', '''', '''', ''''); return false;', '', 19);
INSERT INTO `admin_forms_field_table` VALUES(567, 127, 995, 'file_date', 20, 10, '', 1, 0, 'left', 'left', '100px', 'widht: 100px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` VALUES(214, 54, 391, 'shop_currency_name', 40, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19);

DELETE FROM `admin_forms_events_table` WHERE `admin_forms_events_id` = 475;
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES(475, 1555, 75, 'recalc_delivery', '', 0, 0, 0, -1, 0, 19);

INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES(1555, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES(1558, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES(1561, 19);

INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3457, 1555, 1, 'Пересчет стоимости доставки', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3458, 1555, 2, 'Пересчет стоимости доставки', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3459, 1502, 2, '', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3464, 1558, 1, '', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3465, 1558, 2, '', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3471, 1561, 2, '', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3470, 1561, 1, '', '');

DELETE FROM `admin_forms_table` WHERE `admin_forms_id` = 11;
DELETE FROM `admin_forms_table` WHERE `admin_forms_id` = 54;
INSERT INTO `admin_forms_table` VALUES(11, 79, 10, 'key_field', 1, 1, 'information_systems_name', 1, 1, 19);
INSERT INTO `admin_forms_table` VALUES(54, 388, 10, 'key_field', 1, 1, 'shop_shops_id', 1, 1, 19);

ALTER TABLE `shop_shops_table` ADD `shop_image_small_max_width_group` INT( 11 ) NOT NULL , ADD `shop_image_big_max_width_group` INT( 11 ) NOT NULL , ADD `shop_image_small_max_height_group` INT( 11 ) NOT NULL , ADD `shop_image_big_max_height_group` INT( 11 ) NOT NULL;

UPDATE `shop_shops_table` SET `shop_image_small_max_width_group` = `shop_image_small_max_width` , `shop_image_big_max_width_group` = `shop_image_big_max_width` , `shop_image_small_max_height_group` = `shop_image_small_max_height` , `shop_image_big_max_height_group` = `shop_image_big_max_height`; 

ALTER TABLE `shop_list_of_properties_table` ADD `shop_list_of_properties_default_big_width` INT( 11 ) NOT NULL , ADD `shop_list_of_properties_default_big_height` INT( 11 ) NOT NULL , ADD `shop_list_of_properties_default_small_width` INT( 11 ) NOT NULL , ADD `shop_list_of_properties_default_small_height` INT( 11 ) NOT NULL;

ALTER TABLE `shop_properties_group_table` ADD `shop_properties_group_default_small_height` INT( 11 ) NOT NULL , ADD `shop_properties_group_default_small_width` INT( 11 ) NOT NULL , ADD `shop_properties_group_default_big_height` INT( 11 ) NOT NULL , ADD `shop_properties_group_default_big_width` INT( 11 ) NOT NULL;

UPDATE shop_list_of_properties_table , shop_shops_table SET shop_list_of_properties_table.shop_list_of_properties_default_big_width = shop_shops_table.shop_image_big_max_width, shop_list_of_properties_table.shop_list_of_properties_default_big_height = shop_shops_table.shop_image_big_max_height, shop_list_of_properties_table.shop_list_of_properties_default_small_width = shop_shops_table.shop_image_small_max_width, shop_list_of_properties_table.shop_list_of_properties_default_small_height = shop_shops_table.shop_image_small_max_height WHERE shop_list_of_properties_table.shop_shops_id = shop_shops_table.shop_shops_id;

UPDATE shop_properties_group_table , shop_shops_table SET shop_properties_group_table.shop_properties_group_default_big_width = shop_shops_table.shop_image_big_max_width, shop_properties_group_table.shop_properties_group_default_big_height = shop_shops_table.shop_image_big_max_height, shop_properties_group_table.shop_properties_group_default_small_width = shop_shops_table.shop_image_small_max_width, shop_properties_group_table.shop_properties_group_default_small_height = shop_shops_table.shop_image_small_max_height WHERE shop_properties_group_table.shop_shops_id = shop_shops_table.shop_shops_id;

ALTER TABLE  `information_propertys_table` ADD  `information_propertys_default_big_width` INT( 11 ) NOT NULL, ADD  `information_propertys_default_small_width` INT( 11 ) NOT NULL , ADD  `information_propertys_default_big_height` INT( 11 ) NOT NULL , ADD  `information_propertys_default_small_height` INT( 11 ) NOT NULL;

UPDATE information_propertys_table , information_systems_table SET information_propertys_table.information_propertys_default_big_width = information_systems_table.information_systems_image_big_max_width, information_propertys_table.information_propertys_default_big_height = information_systems_table.information_systems_image_big_max_height, information_propertys_table.information_propertys_default_small_width = information_systems_table.information_systems_image_small_max_width, information_propertys_table.information_propertys_default_small_height = information_systems_table.information_systems_image_small_max_height WHERE information_propertys_table.information_systems_id = information_systems_table.information_systems_id;

ALTER TABLE `information_propertys_groups_table` ADD `information_propertys_groups_big_width` INT( 11 ) NOT NULL , ADD `information_propertys_groups_small_width` INT( 11 ) NOT NULL , ADD `information_propertys_groups_big_height` INT( 11 ) NOT NULL , ADD `information_propertys_groups_small_height` INT( 11 ) NOT NULL; 

ALTER TABLE `information_systems_table` ADD `information_systems_image_big_max_width_group` INT( 11 ) NOT NULL , ADD `information_systems_image_big_max_height_group` INT( 11 ) NOT NULL , ADD `information_systems_image_small_max_width_group` INT( 11 ) NOT NULL , ADD `information_systems_image_small_max_height_group` INT( 11 ) NOT NULL;

UPDATE `information_systems_table` SET `information_systems_image_big_max_width_group` = `information_systems_image_big_max_width` , `information_systems_image_big_max_height_group` = `information_systems_image_big_max_height` , `information_systems_image_small_max_width_group` = `information_systems_image_small_max_width` , `information_systems_image_small_max_height_group` = `information_systems_image_small_max_height`;

UPDATE information_propertys_groups_table , information_systems_table SET information_propertys_groups_table.information_propertys_groups_big_width = information_systems_table.information_systems_image_big_max_width_group, information_propertys_groups_table.information_propertys_groups_big_height = information_systems_table.information_systems_image_big_max_height_group, information_propertys_groups_table.information_propertys_groups_small_width = information_systems_table.information_systems_image_small_max_width_group, information_propertys_groups_table.information_propertys_groups_small_height = information_systems_table.information_systems_image_small_max_height_group WHERE information_propertys_groups_table.information_systems_id = information_systems_table.information_systems_id;

ALTER TABLE `shop_order_discount_table` ADD `shop_order_discount_count_from` INT( 11 ) NOT NULL AFTER `shop_order_discount_sum_to` , ADD `shop_order_discount_count_to` INT( 11 ) NOT NULL AFTER `shop_order_discount_count_from`;

ALTER TABLE `shop_order_discount_table` ADD `shop_order_discount_logic_between_elements` TINYINT( 1 ) NOT NULL AFTER `shop_order_discount_count_to`;

UPDATE `shop_order_table` SET `shop_order_account_number` = `shop_order_id` WHERE `shop_order_account_number` IS NULL;

ALTER TABLE `shop_order_items_table` ADD `shop_order_items_type` TINYINT( 1 ) NOT NULL;

UPDATE shop_order_items_table SET `shop_order_items_type`=1 WHERE `shop_order_items_name` LIKE 'Доставка %';

CREATE TABLE IF NOT EXISTS `information_systems_dir_table` (
  `information_systems_dir_id` int(11) NOT NULL auto_increment,
  `information_systems_dir_parent_id` int(11) NOT NULL default '0',
  `information_systems_dir_name` text,
  `information_systems_dir_description` text,
  `site_id` int(11) NOT NULL default '0',
  `users_id` int(11) NOT NULL default '0',
  PRIMARY KEY  (`information_systems_dir_id`),
  KEY `information_systems_dir_parent_id` (`information_systems_dir_parent_id`)
) ENGINE=MyISAM DEFAULT CHARSET=cp1251 AUTO_INCREMENT=1;

ALTER TABLE `information_systems_table` ADD `information_systems_dir_id` INT NOT NULL DEFAULT '0' AFTER `information_systems_id` , ADD INDEX ( information_systems_dir_id ); 

ALTER TABLE `shop_groups_table` CHANGE `shop_groups_seo_title` `shop_groups_seo_title` TEXT CHARACTER SET cp1251 COLLATE cp1251_general_ci NULL DEFAULT NULL ;
ALTER TABLE `shop_groups_table` CHANGE `shop_groups_seo_description` `shop_groups_seo_description` TEXT CHARACTER SET cp1251 COLLATE cp1251_general_ci NULL DEFAULT NULL ;
ALTER TABLE `shop_groups_table` CHANGE `shop_groups_seo_keywords` `shop_groups_seo_keywords` TEXT CHARACTER SET cp1251 COLLATE cp1251_general_ci NULL DEFAULT NULL ;

DROP TABLE IF EXISTS `shop_dir_table`;
CREATE TABLE IF NOT EXISTS `shop_dir_table` (
  `shop_dir_id` int(11) NOT NULL auto_increment,
  `shop_dir_parent_id` int(11) NOT NULL default '0',
  `shop_dir_name` text,
  `shop_dir_description` text,
  `site_id` int(11) NOT NULL default '0',
  `users_id` int(11) NOT NULL default '0',
  PRIMARY KEY  (`shop_dir_id`),
  KEY `shop_dir_parent_id` (`shop_dir_parent_id`),
  KEY `site_id` (`site_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=cp1251 AUTO_INCREMENT=1;

ALTER TABLE `shop_shops_table` ADD `shop_dir_id` INT NOT NULL DEFAULT '0' AFTER `shop_shops_id` , ADD INDEX ( shop_dir_id );

ALTER TABLE `shop_items_catalog_table` CHANGE `shop_items_catalog_seo_title` `shop_items_catalog_seo_title` TEXT CHARACTER SET cp1251 COLLATE cp1251_general_ci NULL DEFAULT NULL ;
ALTER TABLE `shop_items_catalog_table` CHANGE `shop_items_catalog_seo_keywords` `shop_items_catalog_seo_keywords` TEXT CHARACTER SET cp1251 COLLATE cp1251_general_ci NULL DEFAULT NULL ;

UPDATE `constants_table` SET `constants_value` = '5.7.9' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '66' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.7.9

-- Maillist

CREATE TABLE IF NOT EXISTS `maillist_fascicle_files_table` (
  `maillist_fascicle_files_id` int(11) NOT NULL auto_increment,
  `maillist_fascicle_id` int(11) NOT NULL,
  `maillist_fascicle_files_name` varchar(255) NOT NULL,
  `users_id` int(11) NOT NULL default '0',
  PRIMARY KEY  (`maillist_fascicle_files_id`),
  KEY `maillist_fascicle_id` (`maillist_fascicle_id`),
  KEY `users_id` (`users_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=cp1251 AUTO_INCREMENT=1 ;

-- 5.8.0

DELETE FROM `admin_words_value_table` WHERE `admin_words_value_id` = 1960;
DELETE FROM `admin_words_value_table` WHERE `admin_words_value_id` = 3323;
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(1960, 1207, 1, 'Bing', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3323, 1207, 2, 'Bing', '');

INSERT INTO `admin_forms_field_table` VALUES(867, 15, 1563, 'poll_voted', 25, 1, '', 1, 1, 'left', 'left', '150px', '', 'width: 150px;', '', '', '', '', 19);
INSERT INTO `admin_words_table` VALUES(1563, 19);
INSERT INTO `admin_words_value_table` VALUES(3474, 90, 2, '', '');
INSERT INTO `admin_words_value_table` VALUES(3475, 1563, 1, 'Проголосовало', '');
INSERT INTO `admin_words_value_table` VALUES(3476, 1563, 2, 'Voted', '');

ALTER TABLE `information_items_table` CHANGE `information_items_name` `information_items_name` TEXT CHARACTER SET cp1251 COLLATE cp1251_general_ci NULL DEFAULT NULL ;
ALTER TABLE `shop_list_of_prices_table` CHANGE `shop_list_of_prices_percent_to_basic` `shop_list_of_prices_percent_to_basic` DECIMAL( 6, 2 ) NULL DEFAULT NULL;

ALTER TABLE `information_systems_table` CHANGE `information_systems_image_big_max_width_group` `information_systems_image_big_max_width_group` INT( 11 ) NOT NULL DEFAULT '0';
ALTER TABLE `information_systems_table` CHANGE `information_systems_image_big_max_height_group` `information_systems_image_big_max_height_group` INT( 11 ) NOT NULL DEFAULT '0';
ALTER TABLE `information_systems_table` CHANGE `information_systems_image_small_max_width_group` `information_systems_image_small_max_width_group` INT( 11 ) NOT NULL DEFAULT '0';
ALTER TABLE `information_systems_table` CHANGE `information_systems_image_small_max_height_group` `information_systems_image_small_max_height_group` INT( 11 ) NOT NULL DEFAULT '0';

ALTER TABLE `shop_shops_table` CHANGE `shop_image_small_max_width_group` `shop_image_small_max_width_group` INT( 11 ) NOT NULL DEFAULT '0';
ALTER TABLE `shop_shops_table` CHANGE `shop_image_big_max_width_group` `shop_image_big_max_width_group` INT( 11 ) NOT NULL DEFAULT '0';
ALTER TABLE `shop_shops_table` CHANGE `shop_image_small_max_height_group` `shop_image_small_max_height_group` INT( 11 ) NOT NULL DEFAULT '0';
ALTER TABLE `shop_shops_table` CHANGE `shop_image_big_max_height_group` `shop_image_big_max_height_group` INT( 11 ) NOT NULL DEFAULT '0';

ALTER TABLE `shop_list_of_properties_table` CHANGE `shop_properties_items_dir_id` `shop_properties_items_dir_id` INT( 11 ) NOT NULL DEFAULT '0',
CHANGE `shop_list_of_properties_default_big_width` `shop_list_of_properties_default_big_width` INT( 11 ) NOT NULL DEFAULT '0',
CHANGE `shop_list_of_properties_default_big_height` `shop_list_of_properties_default_big_height` INT( 11 ) NOT NULL DEFAULT '0',
CHANGE `shop_list_of_properties_default_small_width` `shop_list_of_properties_default_small_width` INT( 11 ) NOT NULL DEFAULT '0',
CHANGE `shop_list_of_properties_default_small_height` `shop_list_of_properties_default_small_height` INT( 11 ) NOT NULL DEFAULT '0';

ALTER TABLE `shop_properties_group_table` CHANGE `shop_properties_groups_dir_id` `shop_properties_groups_dir_id` INT( 11 ) NOT NULL DEFAULT '0',
CHANGE `shop_properties_group_default_small_height` `shop_properties_group_default_small_height` INT( 11 ) NOT NULL DEFAULT '0',
CHANGE `shop_properties_group_default_small_width` `shop_properties_group_default_small_width` INT( 11 ) NOT NULL DEFAULT '0',
CHANGE `shop_properties_group_default_big_height` `shop_properties_group_default_big_height` INT( 11 ) NOT NULL DEFAULT '0',
CHANGE `shop_properties_group_default_big_width` `shop_properties_group_default_big_width` INT( 11 ) NOT NULL DEFAULT '0';

ALTER TABLE `information_propertys_table` CHANGE `information_propertys_default_big_width` `information_propertys_default_big_width` INT( 11 ) NOT NULL DEFAULT '0',
CHANGE `information_propertys_default_small_width` `information_propertys_default_small_width` INT( 11 ) NOT NULL DEFAULT '0',
CHANGE `information_propertys_default_big_height` `information_propertys_default_big_height` INT( 11 ) NOT NULL DEFAULT '0',
CHANGE `information_propertys_default_small_height` `information_propertys_default_small_height` INT( 11 ) NOT NULL DEFAULT '0';

ALTER TABLE `information_propertys_groups_table` CHANGE `information_propertys_groups_big_width` `information_propertys_groups_big_width` INT( 11 ) NOT NULL DEFAULT '0',
CHANGE `information_propertys_groups_small_width` `information_propertys_groups_small_width` INT( 11 ) NOT NULL DEFAULT '0',
CHANGE `information_propertys_groups_big_height` `information_propertys_groups_big_height` INT( 11 ) NOT NULL DEFAULT '0',
CHANGE `information_propertys_groups_small_height` `information_propertys_groups_small_height` INT( 11 ) NOT NULL DEFAULT '0';

UPDATE `constants_table` SET `constants_value` = '5.8.0' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '67' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.8.0

-- Polls
ALTER TABLE `poll_table` ADD `poll_voted` INT UNSIGNED NOT NULL DEFAULT '0' AFTER `poll_end_date`;

-- 5.8.1

-- SiteUsers
ALTER TABLE `site_users_table` ADD `site_id` INT NOT NULL DEFAULT '0' AFTER `site_users_id` , ADD INDEX ( site_id );
ALTER TABLE `site_users_extra_properties_table` ADD `site_id` INT NOT NULL DEFAULT '0' AFTER `site_users_extra_property_id` , ADD INDEX ( site_id ); 
ALTER TABLE `site_users_extra_properties_table` DROP INDEX `site_users_extra_property_name`;
ALTER TABLE `site_users_extra_properties_table` ADD INDEX `site_users_extra_property_name` ( `site_users_extra_property_name` ); 
ALTER TABLE `site_users_group_table` ADD `site_id` INT NOT NULL DEFAULT '0' AFTER `site_users_group_id`; 
ALTER TABLE `site_users_group_table` ADD INDEX ( `site_id` );

-- 5.8.2

UPDATE `constants_table` SET `constants_value` = '5.8.2' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '69' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.8.3

UPDATE `shop_items_catalog_table` SET `shop_groups_id` = 0 WHERE `shop_items_catalog_modification_id` != 0;

DELETE FROM `admin_forms_table` WHERE `admin_forms_id` = 71;
INSERT INTO `admin_forms_table` (`admin_forms_id`, `admin_words_id`, `admin_forms_on_page`, `admin_forms_key_field`, `admin_forms_show_operations`, `admin_forms_show_group_operations`, `admin_forms_default_order_field`, `admin_forms_default_order_direction`, `admin_forms_group_operations_as_images`, `users_id`) VALUES(71, 502, 20, 'key_field', 1, 1, 'key_field', 1, 1, 19);

DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 608;
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(608, 133, 1083, 'summ', 20, 10, '', 0, 0, 'left', 'left', '150px', 'width: 150px;', '', '', '', '', '', 19);

DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 866;
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(866, 79, 1562, 'keyfield', 0, 1, '', 1, 1, 'left', 'left', '45px', 'width: 45px;', '', '', '', '', '', 19);

DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 870;
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(870, 21, 1570, 'lists_items_active', 40, 7, '', 0, 1, 'center', 'center', '50px', '', '', '1=/admin/images/check.gif\r\n0=/admin/images/not_check.gif', '/admin/lists/lists.php?admin_forms_id=21&operation=change_list_item_active&list_id={lists_id}&check_0_{lists_items_id}=1', 'TrigerSingleAction(''/admin/lists/lists.php'', ''&list_id={lists_id}'', ''change_list_item_active'', ''check_0_{lists_items_id}'', ''21'', '''', '''', '''', ''''); return false;', '', 19);

INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES(1562, 19);
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3472, 1562, 1, 'Код', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3473, 1562, 2, 'Id', '');

INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES(1570, 19);
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3490, 1570, 1, 'Активность', 'Поле, показывающее активность списка');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3491, 1570, 2, '', '');

INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES(478, 1571, 21, 'change_list_item_active', '', 0, 0, 50, -1, 0, 19);

ALTER TABLE `information_groups_table` CHANGE `information_groups_access` `information_groups_access` INT NOT NULL DEFAULT '-1';
ALTER TABLE `information_items_table` CHANGE `information_items_access` `information_items_access` INT NOT NULL DEFAULT '-1';
ALTER TABLE `structure_table` CHANGE `structure_access` `structure_access` INT NOT NULL DEFAULT '-1';

UPDATE `constants_table` SET `constants_value` = '5.8.3' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '70' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.8.3

-- List
ALTER TABLE `lists_items_table` ADD `lists_items_active`tinyint(4) NOT NULL default '1' AFTER `lists_items_description`;

-- 5.8.4

UPDATE `modules_table` SET `modules_order` = '30' WHERE `modules_path` = 'InformationSystems';
UPDATE `modules_table` SET `modules_order` = '40' WHERE `modules_path` = 'shop';
UPDATE `modules_table` SET `modules_order` = '60' WHERE `modules_path` = 'Site';
UPDATE `modules_table` SET `modules_order` = '80' WHERE `modules_path` = 'Search';
UPDATE `modules_table` SET `modules_order` = '90' WHERE `modules_path` = 'Counter';
UPDATE `modules_table` SET `modules_order` = '100' WHERE `modules_path` = 'Site_users';
UPDATE `modules_table` SET `modules_order` = '120' WHERE `modules_path` = 'Cache';

UPDATE `constants_table` SET `constants_value` = '5.8.4' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '71' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.8.5

UPDATE `constants_table` SET `constants_value` = '5.8.5' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '72' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.8.6

ALTER TABLE `information_items_table` CHANGE `information_items_text` `information_items_text` LONGTEXT CHARACTER SET cp1251 COLLATE cp1251_general_ci NULL DEFAULT NULL; 
ALTER TABLE `information_items_table` CHANGE `information_items_seo_title` `information_items_seo_title` TEXT CHARACTER SET cp1251 COLLATE cp1251_general_ci NULL DEFAULT NULL ;
ALTER TABLE `information_items_table` CHANGE `information_items_seo_description` `information_items_seo_description` TEXT CHARACTER SET cp1251 COLLATE cp1251_general_ci NULL DEFAULT NULL;
ALTER TABLE `information_items_table` CHANGE `information_items_seo_keywords` `information_items_seo_keywords` TEXT CHARACTER SET cp1251 COLLATE cp1251_general_ci NULL DEFAULT NULL;

ALTER TABLE `shop_cond_of_delivery_table` ADD `shop_tax_id` INT( 11 ) NOT NULL DEFAULT '0';

DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 652;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 240;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 309;
INSERT INTO `admin_forms_field_table` VALUES(652, 140, 1155, 'update_description', 30, 10, '', 0, 0, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` VALUES(240, 65, 450, 'name', 30, 1, '', 1, 1, 'left', 'left', '', '', '', '', '/admin/shop/shop.php?admin_forms_id=65&action=show_groups&shop_shops_id={shop_shops_id}&shop_groups_parent_id={keyfield}', 'DoLoadAjax(''/admin/shop/shop.php'', ''&action=show_groups&shop_shops_id={shop_shops_id}&shop_groups_parent_id={keyfield}'', 65, ''load_data''); return false;', '', 19);
INSERT INTO `admin_forms_field_table` VALUES(309, 78, 565, 'shop_cond_of_delivery_price_from', 40, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19);

DELETE FROM `admin_words_value_table` WHERE `admin_words_value_id` = 1119;
INSERT INTO `admin_words_value_table` VALUES(1119, 565, 1, 'Цена заказа от', 'Начальная цена заказа');

-- 5.8.6

-- Forum
CREATE TABLE IF NOT EXISTS `forums_theme_user_subscribe_table` (
  `forums_theme_user_subscribe_id` int(11) NOT NULL auto_increment,
  `forums_theme_id` int(11) NOT NULL,
  `site_users_id` int(11) NOT NULL,
  PRIMARY KEY  (`forums_theme_user_subscribe_id`),
  KEY `forums_theme_id` (`forums_theme_id`,`site_users_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=cp1251 AUTO_INCREMENT=1 ;

DELETE FROM `lib_property_table` WHERE `lib_property_id` = 120;

INSERT INTO `lib_property_table` (`lib_property_id`, `lib_id`, `lib_property_name`, `lib_property_description`, `lib_property_varible_name`, `lib_property_type`, `lib_property_default_value`, `lib_property_order`, `lib_property_sql_request`, `lib_property_sql_caption_field`, `lib_property_sql_value_field`, `users_id`) VALUES(505, 17, 'XSL списка сообщений пользователя', 'XSL шаблон для списка сообщений пользователя', 'xsl_user_messages', 2, 'СообщенияПользователя', 200, '', '', '', 0);
INSERT INTO `lib_property_table` (`lib_property_id`, `lib_id`, `lib_property_name`, `lib_property_description`, `lib_property_varible_name`, `lib_property_type`, `lib_property_default_value`, `lib_property_order`, `lib_property_sql_request`, `lib_property_sql_caption_field`, `lib_property_sql_value_field`, `users_id`) VALUES(506, 17, 'Число сообщений пользователя на страницу', 'Число сообщений пользователя отображаемых на одной странице. Используется при просмотре пользователем списка всех сообщений, оставленных на форуме', 'messages_on_page', 0, '10', 210, '', '', '', 19);
INSERT INTO `lib_property_table` (`lib_property_id`, `lib_id`, `lib_property_name`, `lib_property_description`, `lib_property_varible_name`, `lib_property_type`, `lib_property_default_value`, `lib_property_order`, `lib_property_sql_request`, `lib_property_sql_caption_field`, `lib_property_sql_value_field`, `users_id`) VALUES(507, 17, 'XSL письмо о добавлении темы', '', 'xsl_mail_add_theme', 2, 'ПисьмоОДобавленииТемы', 120, '', '', '', 0);

-- 5.8.7

UPDATE `constants_table` SET `constants_value` = '5.8.7' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '74' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.8.8

UPDATE `constants_table` SET `constants_value` = '5.8.8' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '75' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.8.9

ALTER TABLE `shop_items_catalog_table` ADD INDEX (`shop_items_catalog_marking`);
ALTER TABLE `shop_items_catalog_table` ADD INDEX (`shop_items_catalog_path`);
ALTER TABLE `shop_items_catalog_table` ADD INDEX ( `shop_items_catalog_shortcut_id`  ); 

UPDATE `constants_table` SET `constants_value` = '5.8.9' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '76' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';


-- 5.9.0

UPDATE `constants_table` SET `constants_value` = '5.9.0' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '77' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.9.0

-- Forums
CREATE TABLE IF NOT EXISTS `forums_view_table` (
  `forums_view_id` int(10) unsigned NOT NULL auto_increment,
  `site_users_id` int(11) NOT NULL default '0',
  `forums_theme_id` int(11) NOT NULL default '0',
  `forums_view_datetime` datetime NOT NULL,
  PRIMARY KEY  (`forums_view_id`),
  KEY `site_users_id` (`site_users_id`,`forums_theme_id`),
  KEY `forums_view_datetime` (`forums_view_datetime`)
) ENGINE=MyISAM  DEFAULT CHARSET=cp1251 AUTO_INCREMENT=1 ;

-- 5.9.1

DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 251;
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(251, 66, 468, 'shop_comment_id', 10, 1, '', 1, 1, '', '', '45px', 'width: 45px;', '', '', '', '', '', 19);

UPDATE `constants_table` SET `constants_value` = '5.9.1' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '78' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.9.1

-- Advertisement
ALTER TABLE `advertisement_table` CHANGE `advertisement_width` `advertisement_width` VARCHAR( 10 ) NOT NULL DEFAULT '0', CHANGE `advertisement_height` `advertisement_height` VARCHAR( 10 ) NOT NULL DEFAULT '0';

-- 5.9.2

UPDATE `shop_location_table` SET shop_location_name = 'Пермский край' WHERE shop_location_name = 'Пермская обл.';
ALTER TABLE `shop_cart_table` CHANGE `shop_cart_item_quantity`  `shop_cart_item_quantity`  DECIMAL( 12, 2 ) NULL DEFAULT NULL;
ALTER TABLE `shop_order_items_table` CHANGE `shop_order_items_quantity`  `shop_order_items_quantity`  DECIMAL( 12, 2 ) NULL DEFAULT NULL;

DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 884;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 885;
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(884, 52, 1596, 'view', 43, 10, '', 0, 0, 'left', 'center', '16px', 'width: 16px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(885, 45, 1598, 'pressed', 40, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19);

INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES(1596, 19);
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3544, 1596, 1, 'Просмотр', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3545, 1596, 2, 'Preview', '');

INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES(1598, 19);
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3548, 1598, 1, 'Переходов', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3549, 1598, 2, 'Visitors', '');

DELETE FROM `admin_words_value_table` WHERE `admin_words_value_id` = 751;
DELETE FROM `admin_words_value_table` WHERE `admin_words_value_id` = 2902;
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(751, 381, 1, 'Показывать', 'Статус комментария ');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(2902, 381, 2, 'Display comment', '');

UPDATE `constants_table` SET `constants_value` = '5.9.2' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '79' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.9.3

DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 886;
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(886, 75, 1599, 'shop_order_status_name', 65, 10, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES(1599, 19);
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3550, 1599, 1, 'Статус заказа', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3551, 1599, 2, 'Order status', '');

ALTER TABLE `shop_order_table` ADD `shop_order_sending_info` TEXT NOT NULL;
ALTER TABLE `shop_order_table` CHANGE `shop_order_sending_info` `shop_order_sending_info` TEXT CHARACTER SET cp1251 COLLATE cp1251_general_ci NULL DEFAULT NULL;
ALTER TABLE `admin_forms_field_table` CHANGE `admin_forms_field_image`  `admin_forms_field_image`  TEXT CHARACTER SET cp1251 COLLATE cp1251_general_ci NULL DEFAULT NULL;

DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 153;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 154;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 155;
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(153, 41, 295, 'fs_name', 10, 4, '', 1, 0, 'left', 'left', '', '', '', '', '/admin/backup/backup.php?download={fs_name}', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(154, 41, 296, 'fs_date', 20, 5, '', 1, 0, '', '', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(155, 41, 297, 'fs_size', 30, 1, '', 1, 0, 'left', 'left', '', '', '', '', '', '', '', 19);

INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(887, 79, 1600, 'item_count', 40, 2, '', 1, 1, 'left', 'left', '60px', 'width: 60px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES(484, 1601, 79, 'apply', '/admin/images/apply.gif', 0, 1, 5, -1, 0, 19);

INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES(1600, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES(1601, 19);

INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3553, 1600, 1, 'Количество', 'Количество сопутствующего товара');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3554, 1600, 2, 'Count', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3555, 1601, 1, 'Применить', 'Применить');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3556, 1601, 2, 'Apply', 'Apply');

ALTER TABLE `shop_intermediate_table` ADD `shop_intermediate_count` INT( 11 ) NOT NULL DEFAULT '1';
ALTER TABLE `affiliate_table` ADD `affiliate_invite_date` DATE NOT NULL DEFAULT '0000-00-00';
ALTER TABLE `shop_site_users_account_table` ADD `shop_site_users_account_type` TINYINT( 1 ) NOT NULL DEFAULT '0';

UPDATE `constants_table` SET `constants_value` = '5.9.3' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '80' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.9.4

ALTER TABLE `shop_items_catalog_table` CHANGE `shop_items_catalog_order`  `shop_items_catalog_order`  INT( 11 ) NULL DEFAULT '0';
ALTER TABLE `shop_type_of_delivery_table` ADD `shop_type_of_delivery_order` INT( 11 ) NULL DEFAULT 0;

INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(888, 77, 1602, 'shop_type_of_delivery_order', 15, 2, '', 1, 1, 'left', 'left', '80px', 'width: 80px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(889, 164, 1604, 'affiliate_values_inner_level', 15, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19);

INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES(485, 1603, 77, 'apply_changes', '/admin/images/apply.gif', 0, 1, 15, -1, 0, 19);

INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES(1602, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES(1603, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES(1604, 19);

INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3557, 1602, 1, 'Cортировка', 'Cортировка');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3558, 1602, 2, 'Sorting order', 'Sorting order');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3559, 1603, 1, 'Применить', 'Применить');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3560, 1603, 2, 'Apply', 'Apply');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3561, 1604, 1, 'Уровень', 'Уровень');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3562, 1604, 2, 'Level', 'Level');

UPDATE `constants_table` SET `constants_value` = '5.9.4' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '81' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.9.5

ALTER TABLE `information_groups_table` ADD `blog_group_type_id` INT NOT NULL DEFAULT '0';

UPDATE `constants_table` SET `constants_value` = '5.9.5' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '82' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.9.6
 
ALTER TABLE `shop_company_table` ADD `shop_company_guid` VARCHAR( 255 ) NOT NULL default '';

ALTER TABLE `admin_forms_events_table` AUTO_INCREMENT = 10000;
ALTER TABLE `admin_forms_field_table` AUTO_INCREMENT = 10000;
ALTER TABLE `admin_forms_settings_table` AUTO_INCREMENT = 10000;
ALTER TABLE `admin_forms_table` AUTO_INCREMENT = 10000;
ALTER TABLE `admin_language_table` AUTO_INCREMENT = 10000;
ALTER TABLE `admin_words_table` AUTO_INCREMENT = 10000;
ALTER TABLE `admin_words_value_table` AUTO_INCREMENT = 10000;

ALTER TABLE `information_groups_table` CHANGE `information_groups_seo_title`  `information_groups_seo_title`  TEXT CHARACTER SET cp1251 COLLATE cp1251_general_ci NULL DEFAULT NULL;
ALTER TABLE `information_groups_table` CHANGE `information_groups_seo_description`  `information_groups_seo_description`  TEXT CHARACTER SET cp1251 COLLATE cp1251_general_ci NULL DEFAULT NULL;
ALTER TABLE `information_groups_table` CHANGE `information_groups_seo_keywords`  `information_groups_seo_keywords`  TEXT CHARACTER SET cp1251 COLLATE cp1251_general_ci NULL DEFAULT NULL;

ALTER TABLE `information_groups_table` CHANGE `blog_group_type_id` `sns_type_id` INT( 11 ) NOT NULL DEFAULT '0';

UPDATE `constants_table` SET `constants_value` = '5.9.6' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '83' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.9.6
 
-- Maillist
ALTER TABLE `maillist_table` ADD `maillist_sender_name` VARCHAR( 255 ) NOT NULL DEFAULT '';

-- 5.9.7

UPDATE `constants_table` SET `constants_value` = '5.9.7' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '84' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.9.8

ALTER TABLE `shop_shops_table` ADD `shop_shops_default_save_proportions` TINYINT( 1 ) NOT NULL DEFAULT '1';
ALTER TABLE `information_systems_table` ADD `information_systems_default_save_proportions` TINYINT( 1 ) NOT NULL DEFAULT '1';

UPDATE `constants_table` SET `constants_value` = '5.9.8' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '85' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.9.9

ALTER TABLE `information_groups_table` ADD `information_groups_top_parent_id`  INT NOT NULL DEFAULT '0' AFTER `information_groups_parent_id`;

DELETE FROM `admin_words_value_table` WHERE `admin_words_value_id` = 2113;
DELETE FROM `admin_words_value_table` WHERE `admin_words_value_id` = 3117;
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(2113, 1360, 1, 'Рефералы', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3117, 1360, 2, 'Referrals', '');

UPDATE `constants_table` SET `constants_value` = '5.9.9' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '86' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.9.10

UPDATE `constants_table` SET `constants_value` = '5.9.10' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '87' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.9.11

ALTER TABLE `shop_items_catalog_table` CHANGE `shop_items_catalog_rest`  `shop_items_catalog_rest`  DECIMAL( 12, 2 ) NULL DEFAULT '1';

UPDATE `constants_table` SET `constants_value` = '5.9.11' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '88' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.9.13

ALTER TABLE `admin_forms_events_table` AUTO_INCREMENT = 100000;
ALTER TABLE `admin_forms_field_table` AUTO_INCREMENT = 100000;
ALTER TABLE `admin_forms_settings_table` AUTO_INCREMENT = 100000;
ALTER TABLE `admin_forms_table` AUTO_INCREMENT = 100000;
ALTER TABLE `admin_language_table` AUTO_INCREMENT = 100000;
ALTER TABLE `admin_words_table` AUTO_INCREMENT = 100000;
ALTER TABLE `admin_words_value_table` AUTO_INCREMENT = 100000;

UPDATE `admin_forms_field_table`
SET `admin_forms_field_align_title` = 'left',
`admin_forms_field_align` = 'left',
`admin_forms_field_width` = '120px',
`admin_forms_field_style` = 'width: 120px;'
WHERE `admin_forms_field_type` = 5;

UPDATE `admin_forms_field_table` SET `admin_forms_field_attrib`  = '' WHERE `admin_forms_field_id` = 572;
UPDATE `admin_forms_field_table` SET `admin_forms_field_attrib`  = '' WHERE `admin_forms_field_attrib`  = 'width: 70px;';
UPDATE `admin_forms_field_table` SET `admin_forms_field_width`  = '120px' WHERE `admin_forms_field_id`  = 637;

DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 708;
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(708, 148, 1242, 'helpdesk_ticket_name', 50, 1, '', 1, 1, 'left', 'left', '70px', '', '', '', '', '', '', 19);

DELETE FROM `admin_words_value_table` WHERE `admin_words_value_id` = 1985;
DELETE FROM `admin_words_value_table` WHERE `admin_words_value_id` = 1990;
DELETE FROM `admin_words_value_table` WHERE `admin_words_value_id` = 2001;
DELETE FROM `admin_words_value_table` WHERE `admin_words_value_id` = 2008;
DELETE FROM `admin_words_value_table` WHERE `admin_words_value_id` = 2017;
DELETE FROM `admin_words_value_table` WHERE `admin_words_value_id` = 2025;
DELETE FROM `admin_words_value_table` WHERE `admin_words_value_id` = 2033;
DELETE FROM `admin_words_value_table` WHERE `admin_words_value_id` = 2042;
DELETE FROM `admin_words_value_table` WHERE `admin_words_value_id` = 2048;
DELETE FROM `admin_words_value_table` WHERE `admin_words_value_id` = 2062;
DELETE FROM `admin_words_value_table` WHERE `admin_words_value_id` = 2066;
INSERT INTO `admin_words_value_table` VALUES(1985, 1232, 1, 'Службы поддержки', '');
INSERT INTO `admin_words_value_table` VALUES(1990, 1237, 1, 'Службы поддержки, инциденты', '');
INSERT INTO `admin_words_value_table` VALUES(2001, 1248, 1, 'Службы поддержки, электронные адреса', '');
INSERT INTO `admin_words_value_table` VALUES(2008, 1255, 1, 'Службы поддержки, уровни критичности инцидентов', '');
INSERT INTO `admin_words_value_table` VALUES(2017, 1264, 1, 'Службы поддержки, сообщения инцидента', '');
INSERT INTO `admin_words_value_table` VALUES(2025, 1272, 1, 'Службы поддержки, статусы сообщений', '');
INSERT INTO `admin_words_value_table` VALUES(2033, 1280, 1, 'Службы поддержки, стандартные ответы на инциденты', '');
INSERT INTO `admin_words_value_table` VALUES(2042, 1289, 1, 'Службы поддержки, справочник ключевых слов для стандартных ответов', '');
INSERT INTO `admin_words_value_table` VALUES(2048, 1295, 1, 'Службы поддержки, ответственные пользователи для категории инцидентов', '');
INSERT INTO `admin_words_value_table` VALUES(2062, 1309, 1, 'Службы поддержки, группы пользователей', '');
INSERT INTO `admin_words_value_table` VALUES(2066, 1313, 1, 'Службы поддержки, шаблоны писем для пользователей', '');

DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 634;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 894;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 76;
INSERT INTO `admin_forms_field_table` VALUES(634, 79, 1120, 'view', 5, 7, '', 0, 0, 'left', 'center', '16px', 'widht: 16px;', '', '0=/admin/images/page.gif\r\n=/admin/images/page_shortcut.gif', '', '', '', 19);
INSERT INTO `admin_forms_field_table` VALUES(894, 20, 1615, '', 20, 7, '', 0, 0, 'center', 'center', '20px', '', '', '=/admin/images/page.gif', '', '', '', 19);
INSERT INTO `admin_forms_field_table` VALUES(76, 20, 143, 'key_field', 10, 1, '', 1, 1, 'left', 'left', '45px', 'width: 45px', '', '', '', '', '', 19);

DELETE FROM `admin_forms_events_table` WHERE `admin_forms_events_id` = 489;
INSERT INTO `admin_forms_events_table` VALUES(489, 1616, 29, 'edit_form_fill_values', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19);

DELETE FROM `admin_forms_table` WHERE `admin_forms_id` = 20;
INSERT INTO `admin_forms_table` VALUES(20, 142, 10, 'key_field', 1, 1, 'key_field', 1, 1, 19);

UPDATE `constants_table` SET `constants_value` = '5.9.13' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '90' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.9.14

UPDATE `constants_table` SET `constants_value` = '5.9.14' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '91' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.9.15

ALTER TABLE `site_table` DROP `site_backup_dir`;
DELETE FROM `constants_table` WHERE `constants_name` = 'TMP_DIR';

INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(895, 165, 1617, 'site_user_affiliate', 70, 7, '', 0, 0, 'left', 'center', '16px', 'width: 16px;', '', '=/admin/images/users_group.gif', '', '', '', 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES(1617, 19);
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3594, 1617, 1, 'Рефералы', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3595, 1617, 2, 'Referrals', '');

DELETE FROM `admin_forms_events_table` WHERE `admin_forms_events_id` = 72;
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES(72, 206, 29, 'delete_form_fill', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19);

UPDATE `site_table` SET `site_locale` = 'ru_RU.utf8';

UPDATE `constants_table` SET `constants_value` = '5.9.15' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '92' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER'; 

-- 5.9.16

ALTER TABLE `structure_table` DROP INDEX `R2_FK` , ADD INDEX `menu_id` ( `menu_id` );
ALTER TABLE `structure_table` DROP INDEX `R3_FK` , ADD INDEX `site_id` ( `site_id` );
ALTER TABLE `structure_table` DROP INDEX `R4_FK` , ADD INDEX `data_templates_id` ( `data_templates_id` );
ALTER TABLE `structure_table` DROP INDEX `R5_FK` , ADD INDEX `documents_id` ( `documents_id` );
ALTER TABLE `structure_table` DROP INDEX `R1_FK` , ADD INDEX `templates_id` ( `templates_id` );

ALTER TABLE `site_table` ADD `site_timezone` VARCHAR( 50 ) NOT NULL DEFAULT '' AFTER `site_locale`;
ALTER TABLE `templates_table` ADD `templates_timestamp` TIMESTAMP NOT NULL AFTER `templates_order`;
UPDATE `templates_table` SET `templates_timestamp` = NOW();

ALTER TABLE `shop_producers_list_table` ADD `shop_producers_list_small_image` VARCHAR( 255 ) NOT NULL DEFAULT '' AFTER `shop_producers_list_image`;

ALTER TABLE `shop_list_of_prices_table` ADD INDEX ( `shop_list_of_prices_cml_id` );
ALTER TABLE `shop_list_of_properties_table` ADD INDEX ( `shop_list_of_properties_cml_id` );
ALTER TABLE `shop_properties_group_value_table` ADD INDEX ( `shop_properties_group_id` );
ALTER TABLE `shop_properties_group_value_table` ADD INDEX ( `shop_groups_id` );
ALTER TABLE `shop_sallers_table` ADD INDEX ( `shop_shops_id` );
ALTER TABLE `shop_tax_table` ADD INDEX ( `shop_tax_cml_id` );

UPDATE `constants_table` SET `constants_value` = '5.9.16' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '93' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER'; 

-- 5.9.17

UPDATE `admin_forms_field_table` SET `admin_forms_field_style` = 'width: 90px;', `admin_forms_field_width` = '90px' WHERE `admin_forms_field_type` = 6;
ALTER TABLE `information_systems_table` ADD INDEX ( `structure_id` );

DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 206;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 378;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 379;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 380;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 381;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 382;
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(206, 52, 379, 'comment_email', 35, 1, '', 1, 1, '', '', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(378, 88, 703, 'today', 20, 1, '', 0, 0, 'left', 'center', '70px', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(379, 88, 704, 'yesterday', 30, 1, '', 0, 0, 'left', 'center', '70px', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(380, 88, 705, 'seven_day', 40, 1, '', 0, 0, 'left', 'center', '70px', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(381, 88, 706, 'thirty_day', 50, 1, '', 0, 0, 'left', 'center', '70px', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(382, 88, 707, 'all_days', 60, 1, '', 0, 0, 'left', 'center', '90px', '', '', '', '', '', '', 19);

INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(896, 52, 1618, 'comment_text', 30, 10, '', 0, 0, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(897, 66, 1619, 'shop_comment_text', 35, 10, '', 0, 0, 'left', 'left', '', '', '', '', '', '', '', 19);

INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES(1618, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES(1619, 19);

INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3596, 1618, 1, 'Текст', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3597, 1618, 2, 'Text', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3598, 1619, 1, 'Текст', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3599, 1619, 2, 'Text', '');

UPDATE `constants_table` SET `constants_value` = '5.9.17' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '94' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.9.18

DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 77;
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(77, 20, 144, 'name', 30, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19);

DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 806;
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(806, 169, 1431, 'email', 35, 1, '', 0, 0, 'left', 'left', '150px', '', '', '', '', '', '', 19);

ALTER TABLE `tags_group_table` CHANGE `tags_group_parent_id` `tags_group_parent_id` INT( 11 ) NOT NULL DEFAULT '0';
ALTER TABLE `comment_table` ADD `comment_phone` VARCHAR( 100 ) NULL AFTER `comment_grade`; 

UPDATE `constants_table` SET `constants_value` = '5.9.18' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '95' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.9.19

DELETE FROM `admin_forms_events_table` WHERE `admin_forms_events_id` = 347;
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES(347, 1156, 140, 'install', '/admin/images/apply.gif', 1, 0, 10, -1, 0, 19);

UPDATE `constants_table` SET `constants_value` = '5.9.19' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '96' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.9.20

UPDATE `constants_table` SET `constants_value` = '5.9.20' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '97' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.9.21

DELETE FROM `admin_forms_table` WHERE `admin_forms_id` = 26;
INSERT INTO `admin_forms_table` (`admin_forms_id`, `admin_words_id`, `admin_forms_on_page`, `admin_forms_key_field`, `admin_forms_show_operations`, `admin_forms_show_group_operations`, `admin_forms_default_order_field`, `admin_forms_default_order_direction`, `admin_forms_group_operations_as_images`, `users_id`) VALUES(26, 181, 10, 'constants_id', 1, 1, 'constants_name', 1, 1, 19);

DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 243;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 157;
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(243, 65, 453, 'ostatok', 60, 10, '', 1, 1, 'left', 'left', '60px', 'width: 60px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(157, 42, 301, 'site_name', 20, 10, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19);

INSERT INTO `admin_forms_table` (`admin_forms_id`, `admin_words_id`, `admin_forms_on_page`, `admin_forms_key_field`, `admin_forms_show_operations`, `admin_forms_show_group_operations`, `admin_forms_default_order_field`, `admin_forms_default_order_direction`, `admin_forms_group_operations_as_images`, `users_id`) VALUES(181, 1621, 20, 'shop_warehouse_id', 1, 1, 'shop_warehouse_id', 2, 1, 19);

INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES(491, 1625, 181, 'edit_warehouse', '/admin/images/edit.gif', 1, 0, 10, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES(492, 1626, 181, 'delete_warehouse', '/admin/images/delete.gif', 1, 1, 20, -1, 1, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES(493, 1627, 181, 'activity', '', 0, 0, 30, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES(494, 1629, 181, 'is_default', '', 0, 0, 30, -1, 0, 19);
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES(495, 1631, 181, 'apply', '/admin/images/apply.gif', 0, 1, 5, -1, 0, 19);

INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(898, 181, 1622, 'shop_warehouse_id', 10, 1, '', 1, 1, 'left', 'left', '45px', 'width: 45px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(899, 181, 1623, 'shop_warehouse_name', 20, 1, '', 1, 1, 'left', 'left', '', '', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(900, 181, 1624, 'shop_warehouse_activity', 30, 7, '', 0, 0, 'left', 'center', '90px', 'width: 90px;', '', '0= /admin/images/not_check.gif\r\n1 = /admin/images/check.gif', '/admin/shop/shop.php?admin_forms_id=181&operation=activity&check_{dataset_key}_{shop_warehouse_id}=1&shop_shops_id={shop_shops_id}', 'TrigerSingleAction(''/admin/shop/shop.php'', ''&shop_shops_id={shop_shops_id}'', ''activity'', ''check_{dataset_key}_{shop_warehouse_id}'', ''181'', '''', '''', '''', ''''); return false;', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(901, 181, 1628, 'shop_warehouse_default', 25, 7, '', 0, 0, 'left', 'center', '90px', 'width: 90px;', '', '0= /admin/images/not_check.gif\r\n1 = /admin/images/check.gif', '/admin/shop/shop.php?admin_forms_id=181&operation=is_default&check_{dataset_key}_{shop_warehouse_id}=1&shop_shops_id={shop_shops_id}', 'TrigerSingleAction(''/admin/shop/shop.php'', ''&shop_shops_id={shop_shops_id}'', ''is_default'', ''check_{dataset_key}_{shop_warehouse_id}'', ''181'', '''', '''', '''', ''''); return false;', '', 19);

INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES(490, 1620, 173, 'move_tags_groups', '/admin/images/go.gif', 0, 1, 20, -1, 0, 19);

INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES(1620, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES(1621, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES(1622, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES(1623, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES(1624, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES(1625, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES(1626, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES(1627, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES(1628, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES(1629, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES(1631, 19);

INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3600, 1620, 1, 'Перенести', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3601, 1620, 2, 'Move', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3603, 1621, 1, 'Склады интернет-магазина', 'Склады');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3604, 1621, 2, 'Warehouses', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3605, 1622, 1, 'Код', 'Код');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3606, 1622, 2, 'Id', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3607, 1623, 1, 'Наименование склада', 'Наименование склада');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3608, 1623, 2, 'Warehouse name', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3609, 1624, 1, 'Активность', 'Активность склада');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3610, 1624, 2, 'Warehouse activity', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3611, 1625, 1, 'Редактировать', 'Редактировать');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3612, 1625, 2, 'Edit', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3613, 1626, 1, 'Удалить', 'Удалить');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3614, 1626, 2, 'Delete', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3615, 1627, 1, 'Активировать', 'Активация/дезактивация склада ');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3616, 1627, 2, 'Set activity for warehouse', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3617, 1628, 1, 'По умолчанию', 'По умолчанию');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3618, 1628, 2, 'Default', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3619, 1629, 1, 'По умолчанию', 'По умолчанию');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3620, 1629, 2, 'default', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3623, 1631, 1, 'Применить', 'Применить');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3624, 1631, 2, 'Apply', '');

--
-- Структура таблицы `shop_warehouse_items_table`
--

DROP TABLE IF EXISTS `shop_warehouse_items_table`;
CREATE TABLE IF NOT EXISTS `shop_warehouse_items_table` (
  `shop_warehouse_items_id` int(11) NOT NULL auto_increment,
  `shop_warehouse_id` int(11) NOT NULL,
  `shop_items_catalog_item_id` int(11) NOT NULL,
  `shop_warehouse_items_count` decimal(12,2) NOT NULL default '0.00',
  `users_id` int(11) NOT NULL default '0',
  PRIMARY KEY  (`shop_warehouse_items_id`),
  UNIQUE KEY `shop_items_catalog_item_id` (`shop_items_catalog_item_id`,`shop_warehouse_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Структура таблицы `shop_warehouse_table`
--

DROP TABLE IF EXISTS `shop_warehouse_table`;
CREATE TABLE IF NOT EXISTS `shop_warehouse_table` (
  `shop_warehouse_id` int(11) NOT NULL auto_increment,
  `shop_shops_id` int(11) NOT NULL default '0',
  `shop_warehouse_name` varchar(255) default NULL,
  `shop_warehouse_activity` tinyint(1) NOT NULL default '1',
  `shop_country_id` int(11) NOT NULL default '0',
  `shop_location_id` int(11) NOT NULL default '0',
  `shop_city_id` int(11) NOT NULL default '0',
  `shop_city_area_id` int(11) NOT NULL default '0',
  `shop_warehouse_address` varchar(255) NOT NULL default '',
  `users_id` int(11) NOT NULL default '0',
  `shop_warehouse_order` int(11) NOT NULL default '0',
  `shop_warehouse_default` tinyint(1) NOT NULL default '0',
  PRIMARY KEY  (`shop_warehouse_id`),
  KEY `shop_shops_id` (`shop_shops_id`,`shop_warehouse_activity`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

ALTER TABLE `shop_groups_table` DROP INDEX `Relationship_37_FK`;
ALTER TABLE `shop_groups_table` DROP INDEX `shop_groups_parent_id`;
ALTER TABLE `shop_groups_table` ADD INDEX ( `shop_shops_id` , `shop_groups_parent_id` , `shop_groups_name` ( 50 ) ); 

ALTER TABLE `shop_properties_group_table` ADD INDEX ( `shop_shops_id` );

ALTER TABLE `admin_words_value_table` DROP INDEX `admin_language_id`;
ALTER TABLE `admin_words_value_table` DROP INDEX `admin_words_id`;
ALTER TABLE `admin_words_value_table` ADD INDEX ( `admin_words_id` , `admin_language_id` );

ALTER TABLE `users_table` ADD INDEX ( `users_name` );
ALTER TABLE `information_propertys_groups_value_table` ADD INDEX ( `information_propertys_groups_id` ); 

ALTER TABLE `structure_table` DROP INDEX `structure_path_name`;
ALTER TABLE `structure_table` DROP INDEX `structure_parent_id`;
ALTER TABLE `structure_table` ADD INDEX ( `structure_parent_id` , `site_id` , `structure_path_name` ( 20 ) , `structure_activity` ); 

ALTER TABLE `shop_items_catalog_table` DROP INDEX `items_in_groups_FK`;
ALTER TABLE `shop_items_catalog_table` DROP INDEX `shop_items_catalog_path`;
ALTER TABLE `shop_items_catalog_table` ADD INDEX ( `shop_groups_id` , `shop_items_catalog_path` ( 20 ), `shop_items_catalog_modification_id`  );

ALTER TABLE `tags_table` ADD INDEX ( `tag_name` ( 30 ) ); 
ALTER TABLE `tags_table` ADD INDEX ( `tag_path` ( 30 ) );

ALTER TABLE  `shop_items_catalog_table` DROP INDEX  `Relationship_35_FK`;
ALTER TABLE  `shop_items_catalog_table` DROP INDEX  `shop_items_catalog_is_active`;
ALTER TABLE  `shop_items_catalog_table` ADD INDEX (  `shop_shops_id` ,  `shop_items_catalog_is_active` ,  `shop_items_catalog_access` ,  `shop_items_catalog_putend_date` ,  `shop_items_catalog_putoff_date` );

ALTER TABLE `information_items_table` DROP INDEX `information_systems_id`;
ALTER TABLE `information_items_table` DROP INDEX `information_items_status`;
ALTER TABLE `information_items_table` ADD INDEX ( `information_systems_id` , `information_items_status` , `information_items_access` , `information_items_putend_date` , `information_items_putoff_date` );

ALTER TABLE `shop_cart_table` ADD `shop_warehouse_id` INT UNSIGNED NOT NULL DEFAULT '0' AFTER `shop_shops_id`;
ALTER TABLE `shop_order_items_table` ADD `shop_warehouse_id` INT UNSIGNED NOT NULL DEFAULT '0' AFTER `shop_order_items_type`;
ALTER TABLE `shop_order_items_table` ADD INDEX ( `shop_warehouse_id` );

INSERT INTO `constants_table` (`constants_name`, `constants_value`, `constants_description`, `constants_activity`, `users_id`) VALUES('YANDEX_XML_USER', '', 'Пользователя для использования Яндекс.XML', 0, 19);
INSERT INTO `constants_table` (`constants_name`, `constants_value`, `constants_description`, `constants_activity`, `users_id`) VALUES('YANDEX_XML_KEY', '', 'Ключ для использования Яндекс.XML', 0, 19);

UPDATE `constants_table` SET `constants_value` = '5.9.21' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '98' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.9.22

UPDATE `constants_table` SET `constants_value` = '5.9.22' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '99' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.9.23

ALTER TABLE `shop_properties_group_table` ADD `shop_properties_group_cml` VARCHAR( 255 ) NOT NULL DEFAULT '', ADD INDEX ( shop_properties_group_cml );
ALTER TABLE `shop_items_catalog_table` ADD INDEX ( `shop_shops_id` , `shop_groups_id` , `shop_items_catalog_modification_id` );

DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 243;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 244;
DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 93;
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(243, 65, 453, 'ostatok', 60, 10, '', 0, 0, 'left', 'left', '60px', 'width: 60px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(244, 65, 454, 'price', 70, 10, '', 1, 1, 'left', 'left', '70px', 'width: 70px;', '', '', '', '', '', 19);
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(93, 26, 182, 'constants_name', 20, 1, '', 1, 1, 'left', 'left', '200px', '', '', '', '', '', '', 19);

UPDATE `constants_table` SET `constants_value` = '5.9.23' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '100' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER'; 

UPDATE `shop_items_catalog_table` SET `shop_items_catalog_indexation` = 1;
UPDATE `shop_groups_table` SET `shop_groups_indexation` = 1;

-- 5.9.24

DELETE tn FROM `constants_table` tn JOIN (SELECT MAX(`constants_id`) AS constants_id FROM `constants_table` GROUP BY `constants_name` HAVING COUNT(*) > 1) tn2 USING(constants_id);

ALTER TABLE `constants_table` ADD UNIQUE (`constants_name`);
INSERT INTO `constants_table` (`constants_name`, `constants_value`, `constants_description`, `constants_activity`, `users_id`) VALUES('EXPORT_CSV_ENCODING', 'windows-1251', '', 1, 19);
ALTER TABLE `shop_list_of_properties_table` ADD `shop_list_of_properties_description` TEXT NOT NULL;

ALTER TABLE `shop_items_catalog_table` DROP `shop_items_catalog_rest`;

DELETE FROM `admin_forms_field_table` WHERE `admin_forms_field_id` = 326;
INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(326, 81, 591, 'shop_items_catalog_rest', 40, 10, '', 0, 0, 'left', 'left', '60px', 'width: 60px;', '', '', '', '', '', 19);

UPDATE `constants_table` SET `constants_value` = '5.9.24' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '101' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.9.25

INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES(496, 1632, 42, 'add_site_with_template', '', 0, 0, 0, -1, 0, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES(1632, 19);
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3625, 1632, 1, 'Добавить сайт с шаблоном дизайна', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3626, 1632, 2, 'Add site with template', '');

UPDATE `constants_table` SET `constants_value` = '5.9.25' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '102' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.9.26

INSERT INTO `constants_table` (`constants_name`, `constants_value`, `constants_description`, `constants_activity`, `users_id`) VALUES('ALLOW_WYSIWYG_SHOP_ITEM_DESCRIPTION', 'false', 'Константа, определяющая отображение визуального редактора для описания товара магазина.', 0, 19);
INSERT INTO `constants_table` (`constants_name`, `constants_value`, `constants_description`, `constants_activity`, `users_id`) VALUES('ALLOW_WYSIWYG_SHOP_ITEM_TEXT', 'false', 'Константа, определяющая отображение визуального редактора для текста товара магазина.', 0, 19);

ALTER TABLE `shop_order_table` ADD `shop_order_ip` VARCHAR( 15 ) NOT NULL DEFAULT '';
ALTER TABLE `shop_order_table` ADD `shop_order_unload` TINYINT( 1 ) NOT NULL DEFAULT '0';

DELETE FROM `admin_forms_events_table` WHERE `admin_forms_events_id` = 225;
INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES(225, 677, 20, 'copy_list', '/admin/images/copy.gif', 1, 1, 15, 1, 0, 19);

UPDATE `constants_table` SET `constants_value` = '5.9.26' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '103' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER'; 

-- 5.9.27

INSERT INTO `admin_forms_events_table` (`admin_forms_events_id`, `admin_words_id`, `admin_forms_id`, `admin_forms_events_function`, `admin_forms_events_picture`, `admin_forms_events_show_button`, `admin_forms_events_group_operation`, `admin_forms_events_order`, `admin_forms_events_dataset_id`, `admin_forms_events_ask`, `users_id`) VALUES(500, 1642, 103, 'delete_search_query', '/admin/images/delete.gif', 1, 1, 10, -1, 1, 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES(1642, 19);
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3645, 1642, 1, 'Удалить', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3646, 1642, 2, 'Delete', '');

INSERT INTO `admin_forms_field_table` (`admin_forms_field_id`, `admin_forms_id`, `admin_words_id`, `admin_forms_field_name`, `admin_forms_field_order`, `admin_forms_field_type`, `admin_forms_field_format`, `admin_forms_field_allow_order`, `admin_forms_field_allow_filter`, `admin_forms_field_align_title`, `admin_forms_field_align`, `admin_forms_field_width`, `admin_forms_field_style`, `admin_forms_field_attrib`, `admin_forms_field_image`, `admin_forms_field_link`, `admin_forms_field_onclick`, `admin_forms_field_list`, `users_id`) VALUES(908, 103, 1643, 'search_log_id', 5, 1, '', 1, 0, 'left', 'left', '25px;', 'width: 25px;', '', '', '', '', '', 19);
INSERT INTO `admin_words_table` (`admin_words_id`, `users_id`) VALUES(1643, 19);
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3647, 1643, 1, 'Код', '');
INSERT INTO `admin_words_value_table` (`admin_words_value_id`, `admin_words_id`, `admin_language_id`, `admin_words_value_name`, `admin_words_value_description`) VALUES(3648, 1643, 2, 'Id', '');

DELETE FROM `admin_forms_table` WHERE `admin_forms_id` = 103;
INSERT INTO `admin_forms_table` (`admin_forms_id`, `admin_words_id`, `admin_forms_on_page`, `admin_forms_key_field`, `admin_forms_show_operations`, `admin_forms_show_group_operations`, `admin_forms_default_order_field`, `admin_forms_default_order_direction`, `admin_forms_group_operations_as_images`, `users_id`) VALUES(103, 802, 20, 'search_log_id', 1, 1, 'counter', 2, 1, 19);

UPDATE `constants_table` SET `constants_value` = '5.9.27' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '104' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER'; 

-- 5.9.28

UPDATE `constants_table` SET `constants_value` = '5.9.28' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '105' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.9.29
UPDATE `constants_table` SET `constants_activity` = 0 WHERE `constants_name` = 'DISABLE_COMPRESSION' AND `constants_value` = 'false';

UPDATE `constants_table` SET `constants_value` = '5.9.29' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '106' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.9.33

UPDATE `constants_table` SET `constants_value` = '5.9.33' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '110' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';

-- 5.9.34

UPDATE `constants_table` SET `constants_value` = '5.9.34' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '111' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER'; 

-- 5.9.35

UPDATE `constants_table` SET `constants_value` = '5.9.35' WHERE `constants_name` = 'CURRENT_VERSION';
UPDATE `constants_table` SET `constants_value` = '112' WHERE `constants_name` = 'HOSTCMS_UPDATE_NUMBER';