История

Георгиевская лента. История и современность История появления георгиевской ленты непосредственно связана с историей самой главной военной наградой России - орденом святого Георгия, названного так в честь одного из самых почитаемых святых - Георгия победоносца. Орден был учрежден в 1769 году Екатериной II в честь Святого Георгия для отличия оф... 19.05.2016 Комментариев: 0
17.04.2016 М.Делягин. Конфликт в Нагорном Карабахе Конфликт в Нагорном Карабахе разгорелся так быстро и сильно, что не многие даже смогли понять, почему это произошло. Каков был расклад сил, реальные потери с обеих сторон и ход боевых действий. Сообщения из Еревана и Баку постоянно противоречили друг другу - обе стороны раз за разом публиковали собс... 21.04.2016 Комментариев: 0
Персоналии: Михаил Делягин
2.03.2016 Февраль 1917: олигархический переворот (К.Сивков, Д.Каптарь) Российский историк Дионис Каптарь в программе "Круглый стол с Константином Сивковым". Почему события февраля 1917 можно квалифицировать как олигархический переворот? Свержения Николая II - революционный порыв или заговор генералов? Почему лекала Февральской революции могут быть использован... 04.03.2016 Комментариев: 0
Персоналии: Константин Сивков
Священномученик Архиепископ Фаддей (Успенский). Память 31 декабря по н.ст. Священномученик Фаддей (Успенский, 1872-1937) - Архиепископ Тверской (до этого - архиепископ Волынский, Астраханский)  - величайший христианский святой ХХ века, соединивший в своей жизни  архипастырское служение и аскетический монашеский подвиг. Святость архиепископа Фаддея была очевидна с... 30.12.2015 Комментариев: 0
Персоналии: архимандрит Дамаскин (Орловский)
Сергей Михеев 21.12.2015: Пора перестать обольщаться по поводу Запада. Изъяны российской геополитики. Резолюция Совбеза ООН по сирийскому вопросу. Восток уважает силу. Не надо опять лелеять мечты о нобелевской премии мира. Тенденции, приведшие к гибели советского проекта. Был ли неизбежен крах советского союза? Гость - независимый политолог Сергей Михеев. Ведущие "Вестей ФМ" – Дмитри... 21.12.2015 Комментариев: 0
Персоналии: Сергей Михеев
А.В. Буренков на круглом столе Изборского клуба "Православие как фактор национального развития" в Курской области 5.12.2015 Выступление А.В. Буренкова, директора Института русско-славянских исследований им. Н.Я. Данилевского  на круглом столе Изборского клуба "Православие как фактор национального развития" в  Курской области 5 декабря 2015 г.... 17.12.2015 Комментариев: 0
Персоналии: Александр Буренков
Иван Солоневич. Последний рыцарь империи. Фильм Сергея Дебижева Санкт-Петербургская студия документальных фильмов и Кинокомпания «Два капитана»  представляют документальный фильм «ПОСЛЕДНИЙ РЫЦАРЬ ИМПЕРИИ» (режиссер: Сергей Дебижев, композитор: Виктор Сологуб, продюсеры: Алексей Тельнов, Михаил Скигин. Продолжительность: 80 мин ) Ива... 29.11.2015 Комментариев: 0
Игумен Дамаскин (Орловский) в телепередаче Русский дом 10.02.2002 А.Н.Крутов: "...Как может быть сегодня востребована вот эта жизнь мучеников для нас сегодняшних?" Игумен Дамаскин: "...Тот, что в этих книгах идеал - это ведь те же наши люди, современники, это ведь не только священники, не только епископы, не только сугубо церковные люди. Э... 04.05.2005 Комментариев: 0
Персоналии: Александр Крутов, архимандрит Дамаскин (Орловский)
Вверх
Полная версия сайта
Мобильная версия сайта
Array
(
    [0] => Array
        (
            [REQUEST_2] => 0.043645
        )

    [1] => Array
        (
            [REQUEST_3] => 0.020625
        )

    [2] => Array
        (
            [REQUEST_4] => 0.015247
        )

    [3] => Array
        (
            [REQUEST_5] => 0.018158
        )

    [4] => Array
        (
            [SYSBLOCK_5] => 0.099483
        )

    [5] => Array
        (
            [REQUEST_30] => 0.070355
        )

    [6] => Array
        (
            [SYSBLOCK_22] => 0.071064
        )

    [7] => Array
        (
            [REQUEST_2] => 0.03118
        )

    [8] => Array
        (
            [REQUEST_3] => 0.020862
        )

    [9] => Array
        (
            [REQUEST_4] => 0.016708
        )

    [10] => Array
        (
            [REQUEST_5] => 0.020418
        )

    [11] => Array
        (
            [SYSBLOCK_5] => 0.090838
        )

    [12] => Array
        (
            [REQUEST_30] => 0.06147
        )

    [13] => Array
        (
            [SYSBLOCK_22] => 0.062175
        )

    [14] => Array
        (
            [SYSBLOCK_3] => 0.00025299999999995
        )

    [15] => Array
        (
            [SYSBLOCK_4] => 0.00020500000000001
        )

    [16] => Array
        (
            [REQUEST_22] => 0.005197
        )

    [17] => Array
        (
            [REQUEST_27] => 0.00618
        )

    [18] => Array
        (
            [REQUEST_44] => 0.039894
        )

    [19] => Array
        (
            [REQUEST_16] => 0.018513
        )

    [20] => Array
        (
            [REQUEST_40] => 0.090737
        )

    [21] => Array
        (
            [REQUEST_39] => -0.306735
        )

    [22] => Array
        (
            [REQUEST_27] => 0.00644
        )

    [23] => Array
        (
            [REQUEST_44] => 0.030973
        )

    [24] => Array
        (
            [REQUEST_16] => 0.01626
        )

    [25] => Array
        (
            [REQUEST_40] => 0.068654
        )

    [26] => Array
        (
            [REQUEST_39] => -0.216391
        )

    [27] => Array
        (
            [NAVIGATION_1] => 0.002677
        )

    [28] => Array
        (
            [REQUEST_45] => 0.01347
        )

    [29] => Array
        (
            [REQUEST_45] => 0.009961
        )

    [30] => Array
        (
            [REQUEST_45] => 0.004545
        )

    [31] => Array
        (
            [REQUEST_45] => 0.0015500000000001
        )

    [32] => Array
        (
            [REQUEST_45] => 0.001773
        )

    [33] => Array
        (
            [REQUEST_45] => 0.0043920000000001
        )

    [34] => Array
        (
            [REQUEST_45] => 0.004578
        )

    [35] => Array
        (
            [REQUEST_45] => 0.0015919999999999
        )

    [36] => Array
        (
            [REQUEST_45] => 0.0043420000000001
        )

    [37] => Array
        (
            [REQUEST_45] => 0.005386
        )

    [38] => Array
        (
            [REQUEST_45] => 0.0018860000000001
        )

    [39] => Array
        (
            [REQUEST_45] => 0.0044850000000001
        )

    [40] => Array
        (
            [REQUEST_45] => 0.002816
        )

    [41] => Array
        (
            [REQUEST_45] => 0.00481
        )

    [42] => Array
        (
            [REQUEST_45] => 0.00744
        )

    [43] => Array
        (
            [REQUEST_45] => 0.0016459999999999
        )

    [44] => Array
        (
            [REQUEST_45] => 0.001758
        )

    [45] => Array
        (
            [REQUEST_45] => 0.001795
        )

    [46] => Array
        (
            [REQUEST_45] => 0.001657
        )

    [47] => Array
        (
            [REQUEST_45] => 0.014233
        )

    [48] => Array
        (
            [REQUEST_44] => 0.0051
        )

)
Queries
Array
(
    [0] => 
	SELECT * FROM ave_settings_lang
	WHERE lang_status='1'
	ORDER BY lang_default ASC

    [1] => SELECT * FROM ave_settings
    [2] => 
			SELECT
				doc.*,
				rubric_permission,
				rubric_template,
				rubric_meta_gen,
				template_text
			FROM
				ave_documents AS doc
			JOIN
				ave_rubrics AS rub
					ON rub.Id = doc.rubric_id
			JOIN
				ave_templates AS tpl
					ON tpl.Id = rubric_template_id
			JOIN
				ave_rubric_permissions AS prm
					ON doc.rubric_id = prm.rubric_id
			WHERE
				user_group_id = '2'
			AND
				document_alias = 'media-4'
			LIMIT 1
		
    [3] => 
						SELECT compiled
							FROM ave_rubric_template_cache
						WHERE hash  = 'c7d53de67a2daecf1d9e34057e57607f'
							LIMIT 1
					
    [4] => 
		SELECT *
		FROM ave_request
		WHERE Id = '2'
	
    [5] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '2' AND condition_status = '1'
	
    [6] => SET max_heap_table_size = 1024 * 1024 * 64;
    [7] => SET tmp_table_size = 1024 * 1024 * 32;
    [8] => 		# req=2
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			ave_document_fields AS t8,			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '3' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.Id != '17869') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP())) AND ((t8.document_id = a.id AND (t8.rubric_field_id = '8' AND UPPER(t8.field_value) = UPPER('3'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,5
	
    [9] => SELECT FOUND_ROWS()
    [10] => 
				SELECT *
				FROM ave_module
				WHERE ModuleStatus = '1'
			
    [11] => 
		SELECT *
		FROM ave_request
		WHERE Id = '3'
	
    [12] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '3' AND condition_status = '1'
	
    [13] => SET max_heap_table_size = 1024 * 1024 * 64;
    [14] => SET tmp_table_size = 1024 * 1024 * 32;
    [15] => 		# req=3
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			ave_document_fields AS t8,			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '3' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.Id != '17869') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP())) AND ((t8.document_id = a.id AND (t8.rubric_field_id = '8' AND UPPER(t8.field_value) = UPPER('4'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,5
	
    [16] => SELECT FOUND_ROWS()
    [17] => 
		SELECT *
		FROM ave_request
		WHERE Id = '4'
	
    [18] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '4' AND condition_status = '1'
	
    [19] => SET max_heap_table_size = 1024 * 1024 * 64;
    [20] => SET tmp_table_size = 1024 * 1024 * 32;
    [21] => 		# req=4
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			ave_document_fields AS t8,			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '3' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.Id != '17869') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP())) AND ((t8.document_id = a.id AND (t8.rubric_field_id = '8' AND UPPER(t8.field_value) = UPPER('6'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,5
	
    [22] => SELECT FOUND_ROWS()
    [23] => 
		SELECT *
		FROM ave_request
		WHERE Id = '5'
	
    [24] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '5' AND condition_status = '1'
	
    [25] => SET max_heap_table_size = 1024 * 1024 * 64;
    [26] => SET tmp_table_size = 1024 * 1024 * 32;
    [27] => 		# req=5
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			ave_document_fields AS t8,			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '3' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.Id != '17869') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP())) AND ((t8.document_id = a.id AND (t8.rubric_field_id = '8' AND UPPER(t8.field_value) = UPPER('7'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,5
	
    [28] => SELECT FOUND_ROWS()
    [29] => 
		SELECT *
		FROM ave_request
		WHERE Id = '30'
	
    [30] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '30' AND condition_status = '1'
	
    [31] => SET max_heap_table_size = 1024 * 1024 * 64;
    [32] => SET tmp_table_size = 1024 * 1024 * 32;
    [33] => 		# req=30
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			ave_document_fields AS t45,			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '11' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP())) AND ((t45.document_id = a.id AND (t45.rubric_field_id = '45' AND UPPER(t45.field_value) LIKE UPPER('%|17869|%'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,20
	
    [34] => SELECT FOUND_ROWS()
    [35] => SELECT rubric_field_alias FROM ave_rubric_fields WHERE Id=43
    [36] => SELECT rubric_field_alias FROM ave_rubric_fields WHERE Id=51
    [37] => SELECT rubric_field_alias FROM ave_rubric_fields WHERE Id=84
    [38] => 
		SELECT *
		FROM ave_request
		WHERE Id = '2'
	
    [39] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '2' AND condition_status = '1'
	
    [40] => SET max_heap_table_size = 1024 * 1024 * 64;
    [41] => SET tmp_table_size = 1024 * 1024 * 32;
    [42] => 		# req=2
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			ave_document_fields AS t8,			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '3' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.Id != '17869') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP())) AND ((t8.document_id = a.id AND (t8.rubric_field_id = '8' AND UPPER(t8.field_value) = UPPER('3'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,5
	
    [43] => SELECT FOUND_ROWS()
    [44] => 
		SELECT *
		FROM ave_request
		WHERE Id = '3'
	
    [45] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '3' AND condition_status = '1'
	
    [46] => SET max_heap_table_size = 1024 * 1024 * 64;
    [47] => SET tmp_table_size = 1024 * 1024 * 32;
    [48] => 		# req=3
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			ave_document_fields AS t8,			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '3' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.Id != '17869') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP())) AND ((t8.document_id = a.id AND (t8.rubric_field_id = '8' AND UPPER(t8.field_value) = UPPER('4'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,5
	
    [49] => SELECT FOUND_ROWS()
    [50] => 
		SELECT *
		FROM ave_request
		WHERE Id = '4'
	
    [51] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '4' AND condition_status = '1'
	
    [52] => SET max_heap_table_size = 1024 * 1024 * 64;
    [53] => SET tmp_table_size = 1024 * 1024 * 32;
    [54] => 		# req=4
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			ave_document_fields AS t8,			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '3' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.Id != '17869') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP())) AND ((t8.document_id = a.id AND (t8.rubric_field_id = '8' AND UPPER(t8.field_value) = UPPER('6'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,5
	
    [55] => SELECT FOUND_ROWS()
    [56] => 
		SELECT *
		FROM ave_request
		WHERE Id = '5'
	
    [57] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '5' AND condition_status = '1'
	
    [58] => SET max_heap_table_size = 1024 * 1024 * 64;
    [59] => SET tmp_table_size = 1024 * 1024 * 32;
    [60] => 		# req=5
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			ave_document_fields AS t8,			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '3' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.Id != '17869') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP())) AND ((t8.document_id = a.id AND (t8.rubric_field_id = '8' AND UPPER(t8.field_value) = UPPER('7'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,5
	
    [61] => SELECT FOUND_ROWS()
    [62] => 
		SELECT *
		FROM ave_request
		WHERE Id = '30'
	
    [63] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '30' AND condition_status = '1'
	
    [64] => SET max_heap_table_size = 1024 * 1024 * 64;
    [65] => SET tmp_table_size = 1024 * 1024 * 32;
    [66] => 		# req=30
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			ave_document_fields AS t45,			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '11' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP())) AND ((t45.document_id = a.id AND (t45.rubric_field_id = '45' AND UPPER(t45.field_value) LIKE UPPER('%|17869|%'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,20
	
    [67] => SELECT FOUND_ROWS()
    [68] => 
		SELECT *
		FROM ave_request
		WHERE Id = '22'
	
    [69] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '22' AND condition_status = '1'
	
    [70] => SET max_heap_table_size = 1024 * 1024 * 64;
    [71] => SET tmp_table_size = 1024 * 1024 * 32;
    [72] => 		# req=22
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			ave_document_fields AS t95,			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '10' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP())) AND ((t95.document_id = a.id AND (t95.rubric_field_id = '95' AND UPPER(t95.field_value) = UPPER('1'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_title ASC
		
	
    [73] => SELECT FOUND_ROWS()
    [74] => 
		SELECT *
		FROM ave_request
		WHERE Id = '27'
	
    [75] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '27' AND condition_status = '1'
	
    [76] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '27' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [77] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '27'
		
    [78] => SET max_heap_table_size = 1024 * 1024 * 64;
    [79] => SET tmp_table_size = 1024 * 1024 * 32;
    [80] => 		# req=27
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			
			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '13' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP()))
			
		#GROUP BY a.Id
		ORDER BY a.document_title ASC
		
	
    [81] => SELECT FOUND_ROWS()
    [82] => 
		SELECT *
		FROM ave_request
		WHERE Id = '44'
	
    [83] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '44' AND condition_status = '1'
	
    [84] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '44' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [85] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '44'
		
    [86] => SET max_heap_table_size = 1024 * 1024 * 64;
    [87] => SET tmp_table_size = 1024 * 1024 * 32;
    [88] => 		# req=44
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			
			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '14' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP()))
			
		#GROUP BY a.Id
		ORDER BY a.document_title ASC
		
	
    [89] => SELECT FOUND_ROWS()
    [90] => 
		SELECT *
		FROM ave_request
		WHERE Id = '16'
	
    [91] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '16' AND condition_status = '1'
	
    [92] => SET max_heap_table_size = 1024 * 1024 * 64;
    [93] => SET tmp_table_size = 1024 * 1024 * 32;
    [94] => 		# req=16
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			ave_document_fields AS t33,			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '8' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP())) AND ((t33.document_id = a.id AND (t33.rubric_field_id = '33' AND UPPER(t33.field_value) != UPPER('Автор неизвестен'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_title ASC
		
	
    [95] => SELECT FOUND_ROWS()
    [96] => 
		SELECT *
		FROM ave_request
		WHERE Id = '40'
	
    [97] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '40' AND condition_status = '1'
	
    [98] => SET max_heap_table_size = 1024 * 1024 * 64;
    [99] => SET tmp_table_size = 1024 * 1024 * 32;
    [100] => 		# req=40
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			ave_document_fields AS t43, ave_document_fields AS t55,			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '11' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP())) AND ((t43.document_id = a.id AND (t43.rubric_field_id = '43' AND UPPER(t43.field_value) != UPPER('0'))) AND (t55.document_id = a.id AND (t55.rubric_field_id = '55' AND UPPER(t55.field_value) = UPPER('1'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_changed DESC
		LIMIT 0,4
	
    [101] => SELECT FOUND_ROWS()
    [102] => 
		SELECT *
		FROM ave_request
		WHERE Id = '39'
	
    [103] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '39' AND condition_status = '1'
	
    [104] => SET max_heap_table_size = 1024 * 1024 * 64;
    [105] => SET tmp_table_size = 1024 * 1024 * 32;
    [106] => 		# req=39
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			ave_document_fields AS t47, ave_document_fields AS t97,			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '9' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP())) AND ((t47.document_id = a.id AND (t47.rubric_field_id = '47' AND UPPER(t47.field_value) != UPPER('1'))) AND (t97.document_id = a.id AND (t97.rubric_field_id = '97' AND UPPER(t97.field_value) != UPPER('1'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,30
	
    [107] => SELECT FOUND_ROWS()
    [108] => 
		SELECT *
		FROM ave_request
		WHERE Id = '27'
	
    [109] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '27' AND condition_status = '1'
	
    [110] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '27' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [111] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '27'
		
    [112] => SET max_heap_table_size = 1024 * 1024 * 64;
    [113] => SET tmp_table_size = 1024 * 1024 * 32;
    [114] => 		# req=27
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			
			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '13' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP()))
			
		#GROUP BY a.Id
		ORDER BY a.document_title ASC
		
	
    [115] => SELECT FOUND_ROWS()
    [116] => 
		SELECT *
		FROM ave_request
		WHERE Id = '44'
	
    [117] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '44' AND condition_status = '1'
	
    [118] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '44' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [119] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '44'
		
    [120] => SET max_heap_table_size = 1024 * 1024 * 64;
    [121] => SET tmp_table_size = 1024 * 1024 * 32;
    [122] => 		# req=44
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			
			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '14' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP()))
			
		#GROUP BY a.Id
		ORDER BY a.document_title ASC
		
	
    [123] => SELECT FOUND_ROWS()
    [124] => 
		SELECT *
		FROM ave_request
		WHERE Id = '16'
	
    [125] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '16' AND condition_status = '1'
	
    [126] => SET max_heap_table_size = 1024 * 1024 * 64;
    [127] => SET tmp_table_size = 1024 * 1024 * 32;
    [128] => 		# req=16
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			ave_document_fields AS t33,			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '8' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP())) AND ((t33.document_id = a.id AND (t33.rubric_field_id = '33' AND UPPER(t33.field_value) != UPPER('Автор неизвестен'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_title ASC
		
	
    [129] => SELECT FOUND_ROWS()
    [130] => 
		SELECT *
		FROM ave_request
		WHERE Id = '40'
	
    [131] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '40' AND condition_status = '1'
	
    [132] => SET max_heap_table_size = 1024 * 1024 * 64;
    [133] => SET tmp_table_size = 1024 * 1024 * 32;
    [134] => 		# req=40
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			ave_document_fields AS t43, ave_document_fields AS t55,			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '11' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP())) AND ((t43.document_id = a.id AND (t43.rubric_field_id = '43' AND UPPER(t43.field_value) != UPPER('0'))) AND (t55.document_id = a.id AND (t55.rubric_field_id = '55' AND UPPER(t55.field_value) = UPPER('1'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_changed DESC
		LIMIT 0,4
	
    [135] => SELECT FOUND_ROWS()
    [136] => 
		SELECT *
		FROM ave_request
		WHERE Id = '39'
	
    [137] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '39' AND condition_status = '1'
	
    [138] => SET max_heap_table_size = 1024 * 1024 * 64;
    [139] => SET tmp_table_size = 1024 * 1024 * 32;
    [140] => 		# req=39
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			ave_document_fields AS t47, ave_document_fields AS t97,			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '9' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP())) AND ((t47.document_id = a.id AND (t47.rubric_field_id = '47' AND UPPER(t47.field_value) != UPPER('1'))) AND (t97.document_id = a.id AND (t97.rubric_field_id = '97' AND UPPER(t97.field_value) != UPPER('1'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,30
	
    [141] => SELECT FOUND_ROWS()
    [142] => SELECT * FROM ave_navigation
    [143] => 
		SELECT CONCAT_WS(
				';',
				CONCAT_WS(',', nav.Id, nav.parent_id, nav2.parent_id),
				CONCAT_WS(',', nav.navi_item_level),
				nav.Id
			)
		FROM
			ave_navigation_items AS nav
		JOIN
			ave_documents AS doc
		LEFT JOIN
			ave_navigation_items AS nav2 ON nav2.Id = nav.parent_id
		WHERE nav.navi_item_status = 1
			AND nav.navi_id = 1
			AND doc.Id = 17869
			AND (
				nav.navi_item_link = 'index.php?id=17869'
			OR nav.document_alias = 'media-4'
			OR nav.document_alias = '/media-4'
			OR nav.document_alias = 'media-4.html'
			OR nav.document_alias = '/media-4.html'
		
				OR nav.Id = doc.document_linked_navi_id
			)
	
    [144] => 
		SELECT *
		FROM ave_navigation_items
		WHERE navi_item_status = '1'
		AND navi_id = '1'
		ORDER BY navi_item_position ASC
	
    [145] => 
		SELECT COUNT(*)
		FROM ave_documents AS d
		LEFT JOIN ave_document_fields AS df ON d.Id = df.document_id
		WHERE
				d.rubric_id = '11'
			 AND d.document_status = '1' 
			 AND d.document_deleted = '0' 
			AND	df.rubric_field_id = '45'
			AND df.field_value LIKE '%|21817|%'
	
    [146] => 
		SELECT COUNT(*)
		FROM ave_documents AS d
		LEFT JOIN ave_document_fields AS df ON d.Id = df.document_id
		WHERE
				d.rubric_id = '11'
			 AND d.document_status = '1' 
			 AND d.document_deleted = '0' 
			AND	df.rubric_field_id = '45'
			AND df.field_value LIKE '%|1761|%'
	
    [147] => 
		SELECT COUNT(*)
		FROM ave_documents AS d
		LEFT JOIN ave_document_fields AS df ON d.Id = df.document_id
		WHERE
				d.rubric_id = '11'
			 AND d.document_status = '1' 
			 AND d.document_deleted = '0' 
			AND	df.rubric_field_id = '45'
			AND df.field_value LIKE '%|2997|%'
	
    [148] => 
		SELECT COUNT(*)
		FROM ave_documents AS d
		LEFT JOIN ave_document_fields AS df ON d.Id = df.document_id
		WHERE
				d.rubric_id = '11'
			 AND d.document_status = '1' 
			 AND d.document_deleted = '0' 
			AND	df.rubric_field_id = '45'
			AND df.field_value LIKE '%|1412|%'
	
    [149] => 
		SELECT COUNT(*)
		FROM ave_documents AS d
		LEFT JOIN ave_document_fields AS df ON d.Id = df.document_id
		WHERE
				d.rubric_id = '11'
			 AND d.document_status = '1' 
			 AND d.document_deleted = '0' 
			AND	df.rubric_field_id = '45'
			AND df.field_value LIKE '%|12092|%'
	
    [150] => 
		SELECT COUNT(*)
		FROM ave_documents AS d
		LEFT JOIN ave_document_fields AS df ON d.Id = df.document_id
		WHERE
				d.rubric_id = '11'
			 AND d.document_status = '1' 
			 AND d.document_deleted = '0' 
			AND	df.rubric_field_id = '45'
			AND df.field_value LIKE '%|9912|%'
	
    [151] => 
		SELECT COUNT(*)
		FROM ave_documents AS d
		LEFT JOIN ave_document_fields AS df ON d.Id = df.document_id
		WHERE
				d.rubric_id = '11'
			 AND d.document_status = '1' 
			 AND d.document_deleted = '0' 
			AND	df.rubric_field_id = '45'
			AND df.field_value LIKE '%|1414|%'
	
    [152] => 
		SELECT COUNT(*)
		FROM ave_documents AS d
		LEFT JOIN ave_document_fields AS df ON d.Id = df.document_id
		WHERE
				d.rubric_id = '11'
			 AND d.document_status = '1' 
			 AND d.document_deleted = '0' 
			AND	df.rubric_field_id = '45'
			AND df.field_value LIKE '%|1410|%'
	
    [153] => 
		SELECT COUNT(*)
		FROM ave_documents AS d
		LEFT JOIN ave_document_fields AS df ON d.Id = df.document_id
		WHERE
				d.rubric_id = '11'
			 AND d.document_status = '1' 
			 AND d.document_deleted = '0' 
			AND	df.rubric_field_id = '45'
			AND df.field_value LIKE '%|8382|%'
	
    [154] => 
		SELECT COUNT(*)
		FROM ave_documents AS d
		LEFT JOIN ave_document_fields AS df ON d.Id = df.document_id
		WHERE
				d.rubric_id = '11'
			 AND d.document_status = '1' 
			 AND d.document_deleted = '0' 
			AND	df.rubric_field_id = '45'
			AND df.field_value LIKE '%|21419|%'
	
    [155] => 
		SELECT COUNT(*)
		FROM ave_documents AS d
		LEFT JOIN ave_document_fields AS df ON d.Id = df.document_id
		WHERE
				d.rubric_id = '11'
			 AND d.document_status = '1' 
			 AND d.document_deleted = '0' 
			AND	df.rubric_field_id = '45'
			AND df.field_value LIKE '%|5085|%'
	
    [156] => 
		SELECT COUNT(*)
		FROM ave_documents AS d
		LEFT JOIN ave_document_fields AS df ON d.Id = df.document_id
		WHERE
				d.rubric_id = '11'
			 AND d.document_status = '1' 
			 AND d.document_deleted = '0' 
			AND	df.rubric_field_id = '45'
			AND df.field_value LIKE '%|1413|%'
	
    [157] => 
		SELECT COUNT(*)
		FROM ave_documents AS d
		LEFT JOIN ave_document_fields AS df ON d.Id = df.document_id
		WHERE
				d.rubric_id = '11'
			 AND d.document_status = '1' 
			 AND d.document_deleted = '0' 
			AND	df.rubric_field_id = '45'
			AND df.field_value LIKE '%|17869|%'
	
    [158] => 
		SELECT COUNT(*)
		FROM ave_documents AS d
		LEFT JOIN ave_document_fields AS df ON d.Id = df.document_id
		WHERE
				d.rubric_id = '11'
			 AND d.document_status = '1' 
			 AND d.document_deleted = '0' 
			AND	df.rubric_field_id = '45'
			AND df.field_value LIKE '%|8996|%'
	
    [159] => 
		SELECT COUNT(*)
		FROM ave_documents AS d
		LEFT JOIN ave_document_fields AS df ON d.Id = df.document_id
		WHERE
				d.rubric_id = '11'
			 AND d.document_status = '1' 
			 AND d.document_deleted = '0' 
			AND	df.rubric_field_id = '45'
			AND df.field_value LIKE '%|1760|%'
	
    [160] => 
		SELECT COUNT(*)
		FROM ave_documents AS d
		LEFT JOIN ave_document_fields AS df ON d.Id = df.document_id
		WHERE
				d.rubric_id = '11'
			 AND d.document_status = '1' 
			 AND d.document_deleted = '0' 
			AND	df.rubric_field_id = '45'
			AND df.field_value LIKE '%|1411|%'
	
    [161] => 
		SELECT COUNT(*)
		FROM ave_documents AS d
		LEFT JOIN ave_document_fields AS df ON d.Id = df.document_id
		WHERE
				d.rubric_id = '11'
			 AND d.document_status = '1' 
			 AND d.document_deleted = '0' 
			AND	df.rubric_field_id = '45'
			AND df.field_value LIKE '%|1416|%'
	
    [162] => 
		SELECT COUNT(*)
		FROM ave_documents AS d
		LEFT JOIN ave_document_fields AS df ON d.Id = df.document_id
		WHERE
				d.rubric_id = '11'
			 AND d.document_status = '1' 
			 AND d.document_deleted = '0' 
			AND	df.rubric_field_id = '45'
			AND df.field_value LIKE '%|32311|%'
	
    [163] => 
		SELECT COUNT(*)
		FROM ave_documents AS d
		LEFT JOIN ave_document_fields AS df ON d.Id = df.document_id
		WHERE
				d.rubric_id = '11'
			 AND d.document_status = '1' 
			 AND d.document_deleted = '0' 
			AND	df.rubric_field_id = '45'
			AND df.field_value LIKE '%|8441|%'
	
    [164] => 
		SELECT COUNT(*)
		FROM ave_documents AS d
		LEFT JOIN ave_document_fields AS df ON d.Id = df.document_id
		WHERE
				d.rubric_id = '11'
			 AND d.document_status = '1' 
			 AND d.document_deleted = '0' 
			AND	df.rubric_field_id = '45'
			AND df.field_value LIKE '%|1620|%'
	
    [165] => 
		SELECT COUNT(*)
		FROM ave_documents AS d
		LEFT JOIN ave_document_fields AS df ON d.Id = df.document_id
		WHERE
				d.rubric_id = '11'
			 AND d.document_status = '1' 
			 AND d.document_deleted = '0' 
			AND	df.rubric_field_id = '45'
			AND df.field_value LIKE '%|1812|%'
	
    [166] => 
		SELECT COUNT(*)
		FROM ave_documents AS d
		LEFT JOIN ave_document_fields AS df ON d.Id = df.document_id
		WHERE
				d.rubric_id = '11'
			 AND d.document_status = '1' 
			 AND d.document_deleted = '0' 
			AND	df.rubric_field_id = '45'
			AND df.field_value LIKE '%|1415|%'
	
    [167] => 
		SELECT COUNT(*)
		FROM ave_documents AS d
		LEFT JOIN ave_document_fields AS df ON d.Id = df.document_id
		WHERE
				d.rubric_id = '11'
			 AND d.document_status = '1' 
			 AND d.document_deleted = '0' 
			AND	df.rubric_field_id = '45'
			AND df.field_value LIKE '%|29518|%'
	
    [168] => 
		SELECT COUNT(*)
		FROM ave_documents AS d
		LEFT JOIN ave_document_fields AS df ON d.Id = df.document_id
		WHERE
				d.rubric_id = '11'
			 AND d.document_status = '1' 
			 AND d.document_deleted = '0' 
			AND	df.rubric_field_id = '45'
			AND df.field_value LIKE '%|3713|%'
	
    [169] => 
		SELECT COUNT(*)
		FROM ave_documents AS d
		LEFT JOIN ave_document_fields AS df ON d.Id = df.document_id
		WHERE
				d.rubric_id = '11'
			 AND d.document_status = '1' 
			 AND d.document_deleted = '0' 
			AND	df.rubric_field_id = '45'
			AND df.field_value LIKE '%|4684|%'
	
    [170] => 
		SELECT COUNT(*)
		FROM ave_documents AS d
		LEFT JOIN ave_document_fields AS df ON d.Id = df.document_id
		WHERE
				d.rubric_id = '11'
			 AND d.document_status = '1' 
			 AND d.document_deleted = '0' 
			AND	df.rubric_field_id = '45'
			AND df.field_value LIKE '%|15751|%'
	
    [171] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'PdmxdRgw0zU' AND
                status = 'success'
        
    [172] => 
                    SELECT sysblock_text
                    FROM ave_sysblocks
                    WHERE id = 25
                
    [173] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/32556.html' AND `moder` = 0
    [174] => 
		SELECT *
		FROM ave_request
		WHERE Id = '45'
	
    [175] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
	
    [176] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [177] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '45'
		
    [178] => SET max_heap_table_size = 1024 * 1024 * 64;
    [179] => SET tmp_table_size = 1024 * 1024 * 32;
    [180] => 		# req=45
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			
			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '14' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP())) AND (a.Id IN (2445,0))
			
		#GROUP BY a.Id
		
		
	
    [181] => SELECT FOUND_ROWS()
    [182] => SELECT rubric_field_alias FROM ave_rubric_fields WHERE Id=57
    [183] => SELECT rubric_field_alias FROM ave_rubric_fields WHERE Id=56
    [184] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'FEXslvICLYU' AND
                status = 'success'
        
    [185] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/31256.html' AND `moder` = 0
    [186] => 
		SELECT *
		FROM ave_request
		WHERE Id = '45'
	
    [187] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
	
    [188] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [189] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '45'
		
    [190] => SET max_heap_table_size = 1024 * 1024 * 64;
    [191] => SET tmp_table_size = 1024 * 1024 * 32;
    [192] => 		# req=45
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			
			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '14' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP())) AND (a.Id IN (4646,4027,0))
			
		#GROUP BY a.Id
		
		
	
    [193] => SELECT FOUND_ROWS()
    [194] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = '5nP_2z49tNs' AND
                status = 'success'
        
    [195] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/30109.html' AND `moder` = 0
    [196] => 
		SELECT *
		FROM ave_request
		WHERE Id = '45'
	
    [197] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
	
    [198] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [199] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '45'
		
    [200] => SET max_heap_table_size = 1024 * 1024 * 64;
    [201] => SET tmp_table_size = 1024 * 1024 * 32;
    [202] => 		# req=45
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			
			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '14' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP())) AND (a.Id IN (2275,0))
			
		#GROUP BY a.Id
		
		
	
    [203] => SELECT FOUND_ROWS()
    [204] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'hB5RvAk3iSg' AND
                status = 'success'
        
    [205] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/29696.html' AND `moder` = 0
    [206] => 
		SELECT *
		FROM ave_request
		WHERE Id = '45'
	
    [207] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
	
    [208] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [209] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '45'
		
    [210] => SET max_heap_table_size = 1024 * 1024 * 64;
    [211] => SET tmp_table_size = 1024 * 1024 * 32;
    [212] => 		# req=45
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			
			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '14' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP())) AND (a.Id IN (0))
			
		#GROUP BY a.Id
		
		
	
    [213] => SELECT FOUND_ROWS()
    [214] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'OYroTdgGM8o' AND
                status = 'success'
        
    [215] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/27491.html' AND `moder` = 0
    [216] => 
		SELECT *
		FROM ave_request
		WHERE Id = '45'
	
    [217] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
	
    [218] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [219] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '45'
		
    [220] => SET max_heap_table_size = 1024 * 1024 * 64;
    [221] => SET tmp_table_size = 1024 * 1024 * 32;
    [222] => 		# req=45
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			
			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '14' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP())) AND (a.Id IN (0))
			
		#GROUP BY a.Id
		
		
	
    [223] => SELECT FOUND_ROWS()
    [224] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = '_np0BO--Sa4' AND
                status = 'success'
        
    [225] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/26288.html' AND `moder` = 0
    [226] => 
		SELECT *
		FROM ave_request
		WHERE Id = '45'
	
    [227] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
	
    [228] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [229] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '45'
		
    [230] => SET max_heap_table_size = 1024 * 1024 * 64;
    [231] => SET tmp_table_size = 1024 * 1024 * 32;
    [232] => 		# req=45
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			
			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '14' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP())) AND (a.Id IN (2440,0))
			
		#GROUP BY a.Id
		
		
	
    [233] => SELECT FOUND_ROWS()
    [234] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'AnFLuLvfo50' AND
                status = 'success'
        
    [235] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/23770.html' AND `moder` = 0
    [236] => 
		SELECT *
		FROM ave_request
		WHERE Id = '45'
	
    [237] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
	
    [238] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [239] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '45'
		
    [240] => SET max_heap_table_size = 1024 * 1024 * 64;
    [241] => SET tmp_table_size = 1024 * 1024 * 32;
    [242] => 		# req=45
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			
			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '14' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP())) AND (a.Id IN (16810,0))
			
		#GROUP BY a.Id
		
		
	
    [243] => SELECT FOUND_ROWS()
    [244] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = '3KHek2w5Dbw' AND
                status = 'success'
        
    [245] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/21730.html' AND `moder` = 0
    [246] => 
		SELECT *
		FROM ave_request
		WHERE Id = '45'
	
    [247] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
	
    [248] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [249] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '45'
		
    [250] => SET max_heap_table_size = 1024 * 1024 * 64;
    [251] => SET tmp_table_size = 1024 * 1024 * 32;
    [252] => 		# req=45
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			
			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '14' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP())) AND (a.Id IN (0))
			
		#GROUP BY a.Id
		
		
	
    [253] => SELECT FOUND_ROWS()
    [254] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'K-mtwfB1634' AND
                status = 'success'
        
    [255] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/21701.html' AND `moder` = 0
    [256] => 
		SELECT *
		FROM ave_request
		WHERE Id = '45'
	
    [257] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
	
    [258] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [259] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '45'
		
    [260] => SET max_heap_table_size = 1024 * 1024 * 64;
    [261] => SET tmp_table_size = 1024 * 1024 * 32;
    [262] => 		# req=45
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			
			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '14' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP())) AND (a.Id IN (2438,0))
			
		#GROUP BY a.Id
		
		
	
    [263] => SELECT FOUND_ROWS()
    [264] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = '_65hcaeOAfI' AND
                status = 'success'
        
    [265] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/21688.html' AND `moder` = 0
    [266] => 
		SELECT *
		FROM ave_request
		WHERE Id = '45'
	
    [267] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
	
    [268] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [269] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '45'
		
    [270] => SET max_heap_table_size = 1024 * 1024 * 64;
    [271] => SET tmp_table_size = 1024 * 1024 * 32;
    [272] => 		# req=45
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			
			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '14' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP())) AND (a.Id IN (2445,0))
			
		#GROUP BY a.Id
		
		
	
    [273] => SELECT FOUND_ROWS()
    [274] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'Dz1b3L-o18U' AND
                status = 'success'
        
    [275] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/20073.html' AND `moder` = 0
    [276] => 
		SELECT *
		FROM ave_request
		WHERE Id = '45'
	
    [277] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
	
    [278] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [279] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '45'
		
    [280] => SET max_heap_table_size = 1024 * 1024 * 64;
    [281] => SET tmp_table_size = 1024 * 1024 * 32;
    [282] => 		# req=45
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			
			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '14' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP())) AND (a.Id IN (0))
			
		#GROUP BY a.Id
		
		
	
    [283] => SELECT FOUND_ROWS()
    [284] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'Aea42ztHhmY' AND
                status = 'success'
        
    [285] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/20070.html' AND `moder` = 0
    [286] => 
		SELECT *
		FROM ave_request
		WHERE Id = '45'
	
    [287] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
	
    [288] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [289] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '45'
		
    [290] => SET max_heap_table_size = 1024 * 1024 * 64;
    [291] => SET tmp_table_size = 1024 * 1024 * 32;
    [292] => 		# req=45
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			
			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '14' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP())) AND (a.Id IN (5547,0))
			
		#GROUP BY a.Id
		
		
	
    [293] => SELECT FOUND_ROWS()
    [294] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'SF4NziV_GnM' AND
                status = 'success'
        
    [295] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/20069.html' AND `moder` = 0
    [296] => 
		SELECT *
		FROM ave_request
		WHERE Id = '45'
	
    [297] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
	
    [298] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [299] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '45'
		
    [300] => SET max_heap_table_size = 1024 * 1024 * 64;
    [301] => SET tmp_table_size = 1024 * 1024 * 32;
    [302] => 		# req=45
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			
			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '14' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP())) AND (a.Id IN (0))
			
		#GROUP BY a.Id
		
		
	
    [303] => SELECT FOUND_ROWS()
    [304] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'l2aDIGF902c' AND
                status = 'success'
        
    [305] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/19579.html' AND `moder` = 0
    [306] => 
		SELECT *
		FROM ave_request
		WHERE Id = '45'
	
    [307] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
	
    [308] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [309] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '45'
		
    [310] => SET max_heap_table_size = 1024 * 1024 * 64;
    [311] => SET tmp_table_size = 1024 * 1024 * 32;
    [312] => 		# req=45
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			
			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '14' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP())) AND (a.Id IN (9703,0))
			
		#GROUP BY a.Id
		
		
	
    [313] => SELECT FOUND_ROWS()
    [314] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'wc5sX1xmVFU' AND
                status = 'success'
        
    [315] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/19424.html' AND `moder` = 0
    [316] => 
		SELECT *
		FROM ave_request
		WHERE Id = '45'
	
    [317] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
	
    [318] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [319] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '45'
		
    [320] => SET max_heap_table_size = 1024 * 1024 * 64;
    [321] => SET tmp_table_size = 1024 * 1024 * 32;
    [322] => 		# req=45
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			
			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '14' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP())) AND (a.Id IN (2418,0))
			
		#GROUP BY a.Id
		
		
	
    [323] => SELECT FOUND_ROWS()
    [324] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'EMVYtvGzBDo' AND
                status = 'success'
        
    [325] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/18408.html' AND `moder` = 0
    [326] => 
		SELECT *
		FROM ave_request
		WHERE Id = '45'
	
    [327] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
	
    [328] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [329] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '45'
		
    [330] => SET max_heap_table_size = 1024 * 1024 * 64;
    [331] => SET tmp_table_size = 1024 * 1024 * 32;
    [332] => 		# req=45
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			
			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '14' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP())) AND (a.Id IN (0))
			
		#GROUP BY a.Id
		
		
	
    [333] => SELECT FOUND_ROWS()
    [334] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'tklCMLU66RA' AND
                status = 'success'
        
    [335] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/18159.html' AND `moder` = 0
    [336] => 
		SELECT *
		FROM ave_request
		WHERE Id = '45'
	
    [337] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
	
    [338] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [339] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '45'
		
    [340] => SET max_heap_table_size = 1024 * 1024 * 64;
    [341] => SET tmp_table_size = 1024 * 1024 * 32;
    [342] => 		# req=45
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			
			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '14' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP())) AND (a.Id IN (0))
			
		#GROUP BY a.Id
		
		
	
    [343] => SELECT FOUND_ROWS()
    [344] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = '976_q30p_KA' AND
                status = 'success'
        
    [345] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/17868.html' AND `moder` = 0
    [346] => 
		SELECT *
		FROM ave_request
		WHERE Id = '45'
	
    [347] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
	
    [348] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [349] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '45'
		
    [350] => SET max_heap_table_size = 1024 * 1024 * 64;
    [351] => SET tmp_table_size = 1024 * 1024 * 32;
    [352] => 		# req=45
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			
			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '14' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP())) AND (a.Id IN (0))
			
		#GROUP BY a.Id
		
		
	
    [353] => SELECT FOUND_ROWS()
    [354] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'xGMXDiQQ46Y' AND
                status = 'success'
        
    [355] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/18158.html' AND `moder` = 0
    [356] => 
		SELECT *
		FROM ave_request
		WHERE Id = '45'
	
    [357] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
	
    [358] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [359] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '45'
		
    [360] => SET max_heap_table_size = 1024 * 1024 * 64;
    [361] => SET tmp_table_size = 1024 * 1024 * 32;
    [362] => 		# req=45
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			
			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '14' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP())) AND (a.Id IN (0))
			
		#GROUP BY a.Id
		
		
	
    [363] => SELECT FOUND_ROWS()
    [364] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'I-a5rut8_hE' AND
                status = 'success'
        
    [365] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/10724.html' AND `moder` = 0
    [366] => 
		SELECT *
		FROM ave_request
		WHERE Id = '45'
	
    [367] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
	
    [368] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [369] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '45'
		
    [370] => SET max_heap_table_size = 1024 * 1024 * 64;
    [371] => SET tmp_table_size = 1024 * 1024 * 32;
    [372] => 		# req=45
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			
			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '14' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP())) AND (a.Id IN (5547,4347,0))
			
		#GROUP BY a.Id
		
		
	
    [373] => SELECT FOUND_ROWS()
    [374] => 
		SELECT DISTINCT video_pers_fields.field_value AS person
		FROM ave_documents AS video
		LEFT JOIN ave_document_fields AS video_tag_fields ON (video.Id = video_tag_fields.document_id)
		LEFT JOIN ave_document_fields AS video_pers_fields ON (video.Id = video_pers_fields.document_id)
		WHERE
			video_tag_fields.rubric_field_id = '45' AND
			video_tag_fields.field_value LIKE '%|17869|%' AND
			video_pers_fields.rubric_field_id = '59'
	
    [375] => 
		SELECT *
		FROM ave_request
		WHERE Id = '44'
	
    [376] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '44' AND condition_status = '1'
	
    [377] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '44' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [378] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '44'
		
    [379] => SET max_heap_table_size = 1024 * 1024 * 64;
    [380] => SET tmp_table_size = 1024 * 1024 * 32;
    [381] => 		# req=44
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			
			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '14' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP())) AND (a.Id IN (5547,4347,2418,9703,2445,2438,16810,2440,2275,2443,18304,4646,4027,0))
			
		#GROUP BY a.Id
		ORDER BY a.document_title ASC
		
	
    [382] => SELECT FOUND_ROWS()
)

Время генерации: 2,379 сек.
Пиковое значение 6 860Kb
Количество запросов: 100 шт. за 0,014347 сек.