Warning: mysql_pconnect(): Connection refused in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 14 Warning: mysql_select_db() expects parameter 2 to be resource, boolean given in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 15 Warning: mysql_query() expects parameter 2 to be resource, boolean given in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 17 Warning: mysql_query(): No such file or directory in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 34 Warning: mysql_query(): A link to the server could not be established in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 34
SELECT `id` FROM `ad_geo_cities` WHERE `country_id` = "27" AND `region_id` = "672" AND `title` = "Saint Petersburg"
No such file or directory
Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 55 Warning: mysql_query(): No such file or directory in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 34 Warning: mysql_query(): A link to the server could not be established in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 34

			SELECT
				`m`.`id`,
				`m`.`market`,
				`m`.`name`,
				`m`.`dir`,
                COUNT(`i`.`id`) AS `count`
			FROM `market_vehicle` `v`
			INNER JOIN `market_items` `i` ON `v`.`id` = `i`.`id`
			INNER JOIN `base_marks` `m` ON `m`.`id` = `v`.`mark_id`
			WHERE `i`.`hidden` = 0 AND `i`.`deleted` = 0 AND `i`.`condition` < 6
			GROUP BY `v`.`mark_id`
			ORDER BY `m`.`name` ASC
		
No such file or directory
Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 73 Warning: mysql_query(): No such file or directory in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 34 Warning: mysql_query(): A link to the server could not be established in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 34

			SELECT
				`m`.`id`,
				`m`.`market`,
				`m`.`name`,
				`m`.`dir`,
                COUNT(`i`.`id`) AS `count`
			FROM `market_vehicle` `v`
			INNER JOIN `market_items` `i` ON `v`.`id` = `i`.`id`
			INNER JOIN `base_marks` `m` ON `m`.`id` = `v`.`mark_id`
			WHERE `i`.`hidden` = 0 AND `i`.`deleted` = 0 AND `i`.`condition` = 6
			GROUP BY `v`.`mark_id`
			ORDER BY `m`.`name` ASC
		
No such file or directory
Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 73 Warning: mysql_query(): No such file or directory in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 34 Warning: mysql_query(): A link to the server could not be established in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 34

				SELECT
					`i`.`id`,
					IF(`i`.`image_id` != 0, 1, 0) AS `image`,
					IF(`i`.`geo_region_id` = 4925, 1, 0) + IF(`i`.`geo_region_id` = 15789406, 1, 0) + IF(`i`.`geo_country_id` = 3159, 1, 0) AS `rel`
				FROM `market_items` `i`
				WHERE `i`.`hidden` = 0 AND `i`.`deleted` = 0 AND `i`.`image_id` != 0
				ORDER BY `image` DESC, `rel` DESC, `i`.`date` DESC
				LIMIT 0, 28
			
No such file or directory
Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 73 Рынок на МотоБратан
Warning: mysql_query(): No such file or directory in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 34 Warning: mysql_query(): A link to the server could not be established in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 34

			SELECT
				`p`.`id`,
				`p`.`company_id`,
				`p`.`tariff_type`,
				`p`.`tariff_count`,
				`p`.`tariff_price`,
				`p`.`limit_day`,
				UNIX_TIMESTAMP(`p`.`date_end`) AS `date_end`,
				`p`.`view`,
				`c`.`place_id`,
				`c`.`limit_type`,
				`c`.`limit_count`,
				`c`.`ext`,
				`c`.`link`,
				`c`.`target`,
				`c`.`priority`,
				`c`.`dealer`
			FROM `ad_periods` `p`
			RIGHT JOIN `ad_companies` `c` ON `c`.`id` = `p`.`company_id`
			LEFT JOIN `ad_limits` `l` ON `l`.`company_id` = `p`.`company_id` AND `l`.`key` = "versions"
			WHERE `c`.`place_id` = 3 AND `p`.`end` = 0 AND `p`.`date_start` <= NOW() AND `p`.`date_end` >= NOW() AND ((`l`.`value` = "8") OR `l`.`value` IS NULL)
			GROUP BY `p`.`company_id`
		
No such file or directory
Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 73
МотоБратан / Рынок
Запчасти и аксессуары
Warning: mysql_query(): No such file or directory in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 34 Warning: mysql_query(): A link to the server could not be established in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 34

				SELECT 
					`a`.`id`,
					IF(`i`.`image_id` != 0, 1, 0) AS `image`,
					IF(`i`.`geo_region_id` = 4925, 1, 0) + IF(`i`.`geo_country_id` = 3159, 1, 0) AS `rel`
				FROM `market_articles` `a`
				LEFT JOIN `market_items` `i` ON `i`.`id` = `a`.`id`
				WHERE `i`.`hidden` = 0 AND `i`.`deleted` = 0 AND `i`.`image_id` != 0 AND `a`.`group_id` IN (1,24,194,191,193,237,197,195,31,192,15,18,17,16,21,53,57,55,54,56,8,154,155,151,153,26,152,23,181,182,9,20,198,200,199,19,12,143,144,142,22,186,42,41,183,185,201,187,165,184,13,175,178,168,180,30,177,156,51,176,179,11,149,150,167,146,147,148,145,52,172,169,170,174,171,173,29,96,95,202,94,203,10,141,139,140,130,135,136,134,133,131,132,27,188,189,190,14,166,164,48,44,163,162,45,161,43,46,158,157,159,49,160,25,137,138)
				
				ORDER BY `image` DESC, `rel` DESC, RAND()
				LIMIT 0, 1
			
No such file or directory
Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 73 Warning: mysql_query(): No such file or directory in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 34 Warning: mysql_query(): A link to the server could not be established in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 34

				SELECT
					`id`,
					UNIX_TIMESTAMP(`date`) AS `date`,
					UNIX_TIMESTAMP(`update`) AS `update`,
					`type`,
					`condition`,
					`availability`,
					`price`,
					`price_currency`,
					`haggle`,
					`shipping`,
					`geo_country_id`,
					`geo_region_id`,
					`geo_city_id`,
					`owner_id`,
					`object_type`,
					`object_id`,
					`image_id`,
					`adlight_rate`,
					`view`,
					`click`,
					`hidden`,
					`deleted`,
					`auth`,
					`url`,
					`import_id`,
					`adlight_rate`,
					`extension`,
					`extension_send`
				FROM `market_items`
				WHERE 
					(
						`id` = ""
					)
			
No such file or directory
Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 55 Warning: mysql_query(): No such file or directory in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 34 Warning: mysql_query(): A link to the server could not be established in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 34

				SELECT
					`id`,
					`title`,
					`brand_id`,
					`group_id`,
					`link`
				FROM `market_articles`
				WHERE 
					(
						`id` = ""
					)
			
No such file or directory
Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 55 Warning: mysql_query(): No such file or directory in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 34 Warning: mysql_query(): A link to the server could not be established in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 34

				SELECT
					`id`,
					`parent_id`,
					`original_id`,
					`dir`,
					`way`,
					`title`,
					`title_long`,
					`type`
				FROM `market_groups`
				WHERE 
					(
						`id` = ""
					)
			
No such file or directory
Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 55 Warning: mysql_query(): No such file or directory in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 34 Warning: mysql_query(): A link to the server could not be established in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 34
SELECT `currency_count`, `currency_rate` FROM `currency` WHERE `currency_code` = 
No such file or directory
Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 55 Warning: Division by zero in /var/www/11.system.motorussia.ru/config/libs/way.class.php on line 431
Багаж Блоки и узлы в сборе Ветровые стёкла и обтекатели Впуск и топливная система Графика и стиль Двигатель и выпускная система Дуги и защитные элементы Колёса и ходовая часть Контрольные приборы и электрика Кузовные детали и пластик Освещение Охрана Сидения и спинки Система охлаждения Сцепление и коробка передач Управление и тормозная система Чехлы
Одежда и экипировка
Warning: mysql_query(): No such file or directory in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 34 Warning: mysql_query(): A link to the server could not be established in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 34

				SELECT 
					`a`.`id`,
					IF(`i`.`image_id` != 0, 1, 0) AS `image`,
					IF(`i`.`geo_region_id` = 4925, 1, 0) + IF(`i`.`geo_country_id` = 3159, 1, 0) AS `rel`
				FROM `market_articles` `a`
				LEFT JOIN `market_items` `i` ON `i`.`id` = `a`.`id`
				WHERE `i`.`hidden` = 0 AND `i`.`deleted` = 0 AND `i`.`image_id` != 0 AND `a`.`group_id` IN (2,64,229,234,60,117,113,114,116,115,216,218,217,221,219,220,67,84,83,85,93,226,227,228,118,120,119,61,111,110,112,66,107,109,108,68,105,104,106,213,215,214,222,225,224,223,59,82,80,81,65,235,91,86,90,88,89,87,230,232,231,233,207,212,209,208,211,210)
				
				ORDER BY `image` DESC, `rel` DESC, RAND()
				LIMIT 0, 1
			
No such file or directory
Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 73 Warning: mysql_query(): No such file or directory in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 34 Warning: mysql_query(): A link to the server could not be established in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 34

				SELECT
					`id`,
					UNIX_TIMESTAMP(`date`) AS `date`,
					UNIX_TIMESTAMP(`update`) AS `update`,
					`type`,
					`condition`,
					`availability`,
					`price`,
					`price_currency`,
					`haggle`,
					`shipping`,
					`geo_country_id`,
					`geo_region_id`,
					`geo_city_id`,
					`owner_id`,
					`object_type`,
					`object_id`,
					`image_id`,
					`adlight_rate`,
					`view`,
					`click`,
					`hidden`,
					`deleted`,
					`auth`,
					`url`,
					`import_id`,
					`adlight_rate`,
					`extension`,
					`extension_send`
				FROM `market_items`
				WHERE 
					(
						`id` = ""
					)
			
No such file or directory
Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 55 Warning: mysql_query(): No such file or directory in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 34 Warning: mysql_query(): A link to the server could not be established in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 34

				SELECT
					`id`,
					`title`,
					`brand_id`,
					`group_id`,
					`link`
				FROM `market_articles`
				WHERE 
					(
						`id` = ""
					)
			
No such file or directory
Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 55 Warning: mysql_query(): No such file or directory in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 34 Warning: mysql_query(): A link to the server could not be established in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 34

				SELECT
					`id`,
					`parent_id`,
					`original_id`,
					`dir`,
					`way`,
					`title`,
					`title_long`,
					`type`
				FROM `market_groups`
				WHERE 
					(
						`id` = ""
					)
			
No such file or directory
Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 55 Warning: mysql_query(): No such file or directory in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 34 Warning: mysql_query(): A link to the server could not be established in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 34
SELECT `currency_count`, `currency_rate` FROM `currency` WHERE `currency_code` = 
No such file or directory
Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 55 Warning: Division by zero in /var/www/11.system.motorussia.ru/config/libs/way.class.php on line 431
Аксессуары Головные уборы Дождевики Жилетки Комбинезоны Кофты и толстовки Куртки Обувь Очки Перчатки Термобелье Футболки и майки Шлемы Штаны Элементы защиты
Резина
Warning: mysql_query(): No such file or directory in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 34 Warning: mysql_query(): A link to the server could not be established in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 34

				SELECT 
					`a`.`id`,
					IF(`i`.`image_id` != 0, 1, 0) AS `image`,
					IF(`i`.`geo_region_id` = 4925, 1, 0) + IF(`i`.`geo_country_id` = 3159, 1, 0) AS `rel`
				FROM `market_articles` `a`
				LEFT JOIN `market_items` `i` ON `i`.`id` = `a`.`id`
				WHERE `i`.`hidden` = 0 AND `i`.`deleted` = 0 AND `i`.`image_id` != 0 AND `a`.`group_id` IN (3,75,74,73,76,69,71,70,72)
				
				ORDER BY `image` DESC, `rel` DESC, RAND()
				LIMIT 0, 1
			
No such file or directory
Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 73 Warning: mysql_query(): No such file or directory in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 34 Warning: mysql_query(): A link to the server could not be established in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 34

				SELECT
					`id`,
					UNIX_TIMESTAMP(`date`) AS `date`,
					UNIX_TIMESTAMP(`update`) AS `update`,
					`type`,
					`condition`,
					`availability`,
					`price`,
					`price_currency`,
					`haggle`,
					`shipping`,
					`geo_country_id`,
					`geo_region_id`,
					`geo_city_id`,
					`owner_id`,
					`object_type`,
					`object_id`,
					`image_id`,
					`adlight_rate`,
					`view`,
					`click`,
					`hidden`,
					`deleted`,
					`auth`,
					`url`,
					`import_id`,
					`adlight_rate`,
					`extension`,
					`extension_send`
				FROM `market_items`
				WHERE 
					(
						`id` = ""
					)
			
No such file or directory
Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 55 Warning: mysql_query(): No such file or directory in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 34 Warning: mysql_query(): A link to the server could not be established in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 34

				SELECT
					`id`,
					`title`,
					`brand_id`,
					`group_id`,
					`link`
				FROM `market_articles`
				WHERE 
					(
						`id` = ""
					)
			
No such file or directory
Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 55 Warning: mysql_query(): No such file or directory in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 34 Warning: mysql_query(): A link to the server could not be established in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 34

				SELECT
					`id`,
					`parent_id`,
					`original_id`,
					`dir`,
					`way`,
					`title`,
					`title_long`,
					`type`
				FROM `market_groups`
				WHERE 
					(
						`id` = ""
					)
			
No such file or directory
Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 55 Warning: mysql_query(): No such file or directory in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 34 Warning: mysql_query(): A link to the server could not be established in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 34
SELECT `currency_count`, `currency_rate` FROM `currency` WHERE `currency_code` = 
No such file or directory
Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 55 Warning: Division by zero in /var/www/11.system.motorussia.ru/config/libs/way.class.php on line 431
На разборке
Warning: mysql_query(): No such file or directory in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 34 Warning: mysql_query(): A link to the server could not be established in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 34

				SELECT
					`v`.`id`,
					IF(`i`.`geo_region_id` = 4925, 1, 0) + IF(`i`.`geo_country_id` = 3159, 1, 0) AS `rel`,	
					IF(`i`.`image_id` != 0, 1, 0) AS `image`
				FROM `market_vehicle` `v`
				INNER JOIN `market_items` `i` ON `v`.`id` = `i`.`id`
				WHERE `i`.`hidden` = 0 AND `i`.`deleted` = 0 AND `i`.`image_id` != 0 AND `i`.`condition` = 6
				ORDER BY `image` DESC, `rel` DESC, RAND()
				LIMIT 0, 1
			
No such file or directory
Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 73 Warning: mysql_query(): No such file or directory in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 34 Warning: mysql_query(): A link to the server could not be established in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 34

				SELECT
					`id`,
					UNIX_TIMESTAMP(`date`) AS `date`,
					UNIX_TIMESTAMP(`update`) AS `update`,
					`type`,
					`condition`,
					`availability`,
					`price`,
					`price_currency`,
					`haggle`,
					`shipping`,
					`geo_country_id`,
					`geo_region_id`,
					`geo_city_id`,
					`owner_id`,
					`object_type`,
					`object_id`,
					`image_id`,
					`adlight_rate`,
					`view`,
					`click`,
					`hidden`,
					`deleted`,
					`auth`,
					`url`,
					`import_id`,
					`adlight_rate`,
					`extension`,
					`extension_send`
				FROM `market_items`
				WHERE 
					(
						`id` = ""
					)
			
No such file or directory
Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 55 Warning: mysql_query(): No such file or directory in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 34 Warning: mysql_query(): A link to the server could not be established in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 34

				SELECT
					`id`,
					`mark_id`,
					`model_id`,
					`year`,
					IF(`run_unit` = "ml", (`run`*1.6), `run`) AS `run`,
					`run_unit`,
					`color_id`,
					`custom`
				FROM `market_vehicle`
				WHERE 
					(
						`id` = ""
					)
			
No such file or directory
Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 55 Warning: mysql_query(): No such file or directory in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 34 Warning: mysql_query(): A link to the server could not be established in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 34

				SELECT
					`id`,
					`name`,
					`dir`,
					`district_id`,
					IF(`text` != "", 1, 0) AS `istext`
				FROM `base_marks`
				WHERE `id` = ""
			
No such file or directory
Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 55 Warning: mysql_query(): No such file or directory in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 34 Warning: mysql_query(): A link to the server could not be established in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 34

				SELECT
					`id`,
					`mark_id`,
					`type`,
					`name`,
					`image_id`,
					`behaviour`,
					`dir`,
					`engine`,
					`tyres`,
					`temp`,
					`display`,
					`owners`,
					`market`,
					`docs`,
					`district_id`,
					`group_personal`,
					`group_id`
				FROM `base_models`
				WHERE `id` = ""
			
No such file or directory
Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 55
Warning: mysql_close() expects parameter 1 to be resource, boolean given in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 22