-- 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 `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` ;


-- 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 `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 `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_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 `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 `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, 'Выключить', '');

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


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

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 `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;

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

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 `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, 'Редактировать', '');

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, 'Копировать', '');

-- 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';

-- 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';

-- 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';

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

-- 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';