Церковь и государство

5/03/18 Патриарх Кирилл: «Никакой политкорректностью нельзя оправдать ложную историческую интерпретацию» 2-4 марта 2018 года состоялся визит Святейшего Патриарха Кирилла в Болгарскую Православную Церковь, приуроченный к празднованию 140-летия освобождения Болгарии от османского ига. В завершение своего визита в аэропорту Софии Святейший Патриарх Кирилл ответил на вопросы представителей СМИ.... 06.03.2018 Комментариев: 0
Персоналии: - Патриарх Московский и всея Руси Кирилл
Путин, патриарх Кирилл на церемонии открытия памятника св. равноап. великому князю Владимиру на Боровицкой площади в Москве 4.11.2016 4 ноября 2016 года, в праздник Казанской иконы Божией Матери и День народного единства, Президент Российской Федерации В.В. Путин и Святейший Патриарх Московский и всея Руси Кирилл возглавили церемонию открытия памятника святому равноапостольному великому князю Владимиру на Боровицкой площади в Моск... 08.11.2016 Комментариев: 0
Персоналии: Владимир Путин, Сергей Шойгу, Дмитрий Медведев, - Патриарх Московский и всея Руси Кирилл, Владимир Мединский
18.10.2016 Пресс-конференция Патриарха Кирилла по итогам визита в Лондон 18 октября завершился визит Святейшего Патриарха Московского и всея Руси Кирилла в Сурожскую епархию, посвященный 300-летию присутствия Русской Православной Церкви на Британских островах. Перед отлетом в Москву Святейший Патриарх дал итоговую пресс-конференцию.... 22.10.2016 Комментариев: 0
Персоналии: - Патриарх Московский и всея Руси Кирилл
7.09.2016 Патриарх Кирил в миссионерской поездке на Чукотке оказался неготовым совершить обряд крещения Патриарх Московский и всея Руси Кирилл 7 сентября побывал в гостях у жителей чукотской тундры. Предстоятель сейчас находится в регионе с пастырским визитом. Начался он с самого северного города России Певека. За время поездки Патриарх заложит строительство двух новых храмов на вечной мерзлоте. В ход... 07.09.2016 Комментариев: 0
Персоналии: - Патриарх Московский и всея Руси Кирилл
27.07.2016 Патриарх Кирилл призвал членов олимпийской сборной России "выигрывать с высоко поднятой головой" Москва. 27 июля. ИНТЕРФАКС - Патриарх Московский и всея Руси Кирилл призвал членов олимпийской сборной России "выигрывать с высоко поднятой головой", не поддаваясь давлению из-за скандала с допингом. "Мы сегодня будем молиться о том, чтобы вы не сделали ошибок. А самая главная ошибка ... 29.07.2016 Комментариев: 0
Персоналии: - Патриарх Московский и всея Руси Кирилл
Православный календарь 12 июля 2016г. Славных и всехвальных первоверховных апостолов Петра и Павла Тропарь апостолов глас 4 Апостолов первопрестольницы/ и вселенныя учителие,/ Владыку всех молите/ мир вселенней даровати// и душам нашим велию милость. Кондак апостолов глас 2 Твердыя и боговещанныя проповедатели,/ верх апостолов Твоих, Господи,/ приял еси в наслаждение благих Твоих и покой:/ болезн... 12.07.2016 Комментариев: 0
16.06.2016 "Вселенская планерка провалилась". Владимир Семенко и Андрей Фефелов о ситуации вокруг "Всеправославного собора" «Вселенский собор в той повестке, которая была предложена, был во многом провокационен по отношению к практике мирового православия. И даже усечённая повестка Вселенского собора вызвала массу вопросов у поместных архиерейских соборов. Неудивительно, что в итоге Вселенский собор фактически пров... 20.06.2016 Комментариев: 0
16.06.2016 Всеправославный собор пройдет без ключевых участников На острове Крит, несмотря на церковные разногласия, открылся Всеправославный собор. Русская Православная церковь - вслед за Болгарской, Антиохийской, Грузинской - не участвует и просила о переносе собора. Из Константинополя последовал отказ.... 20.06.2016 Комментариев: 0
Вверх
Полная версия сайта
Мобильная версия сайта
Array
(
    [0] => Array
        (
            [REQUEST_2] => 0.058756
        )

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    [19] => Array
        (
            [REQUEST_16] => -0.97791
        )

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

    [21] => Array
        (
            [REQUEST_39] => 0.853043
        )

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

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

    [24] => Array
        (
            [REQUEST_16] => -0.978779
        )

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

    [26] => Array
        (
            [REQUEST_39] => 0.589754
        )

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

)
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/cerkov-i-gosudarstvo'
			LIMIT 1
		
    [3] => 
						SELECT compiled
							FROM ave_rubric_template_cache
						WHERE hash  = '98b879fbff6e331020de3b2a97a679a0'
							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 != '4684') 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 != '4684') 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 != '4684') 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 != '4684') 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('%|4684|%'))) 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 != '4684') 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 != '4684') 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 != '4684') 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 != '4684') 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('%|4684|%'))) 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 = 4684
			AND (
				nav.navi_item_link = 'index.php?id=4684'
			OR nav.document_alias = 'media/cerkov-i-gosudarstvo'
			OR nav.document_alias = '/media/cerkov-i-gosudarstvo'
			OR nav.document_alias = 'media/cerkov-i-gosudarstvo.html'
			OR nav.document_alias = '/media/cerkov-i-gosudarstvo.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 = 'RyUBOo6gVgE' AND
                status = 'success'
        
    [172] => 
                    SELECT sysblock_text
                    FROM ave_sysblocks
                    WHERE id = 25
                
    [173] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/34048.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 (4402,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 = '7KfT9_SoQoA' AND
                status = 'success'
        
    [185] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/33073.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 (0))
			
		#GROUP BY a.Id
		
		
	
    [193] => SELECT FOUND_ROWS()
    [194] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'qcMv4sb1wYk' AND
                status = 'success'
        
    [195] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/33042.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 (0))
			
		#GROUP BY a.Id
		
		
	
    [203] => SELECT FOUND_ROWS()
    [204] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'rG_Z2GKBtrY' AND
                status = 'success'
        
    [205] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/33041.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 (5547,0))
			
		#GROUP BY a.Id
		
		
	
    [213] => SELECT FOUND_ROWS()
    [214] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'JK3tPd0N05M' AND
                status = 'success'
        
    [215] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/33015.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 (2445,4402,3464,3769,5968,0))
			
		#GROUP BY a.Id
		
		
	
    [223] => SELECT FOUND_ROWS()
    [224] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'OA95gSQ9iPc' AND
                status = 'success'
        
    [225] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/33011.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 (4402,0))
			
		#GROUP BY a.Id
		
		
	
    [233] => SELECT FOUND_ROWS()
    [234] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = '4Uk5ylt-lL8' AND
                status = 'success'
        
    [235] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/33008.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 (4402,0))
			
		#GROUP BY a.Id
		
		
	
    [243] => SELECT FOUND_ROWS()
    [244] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'Qoa5fP2KLrg' AND
                status = 'success'
        
    [245] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/32513.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 = 'mGzKQDcdF10' AND
                status = 'success'
        
    [255] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/32191.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 (4402,0))
			
		#GROUP BY a.Id
		
		
	
    [263] => SELECT FOUND_ROWS()
    [264] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'yldQ8HoBjkc' AND
                status = 'success'
        
    [265] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/32129.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 (4402,0))
			
		#GROUP BY a.Id
		
		
	
    [273] => SELECT FOUND_ROWS()
    [274] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = '9k60L_JzL3A' AND
                status = 'success'
        
    [275] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/31918.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 (4402,0))
			
		#GROUP BY a.Id
		
		
	
    [283] => SELECT FOUND_ROWS()
    [284] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'kCWZWx67OEM' AND
                status = 'success'
        
    [285] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/30610.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 (4402,0))
			
		#GROUP BY a.Id
		
		
	
    [293] => SELECT FOUND_ROWS()
    [294] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'QxEJyFAFIe4' AND
                status = 'success'
        
    [295] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/30482.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 = 'axll2ZkKFdg' AND
                status = 'success'
        
    [305] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/29871.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 (0))
			
		#GROUP BY a.Id
		
		
	
    [313] => SELECT FOUND_ROWS()
    [314] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'CyAoF__4WFo' AND
                status = 'success'
        
    [315] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/29870.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 (0))
			
		#GROUP BY a.Id
		
		
	
    [323] => SELECT FOUND_ROWS()
    [324] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'trj2dWlZxRc' AND
                status = 'success'
        
    [325] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/29507.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 (2430,0))
			
		#GROUP BY a.Id
		
		
	
    [333] => SELECT FOUND_ROWS()
    [334] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = '5F2_DpOm15Y' AND
                status = 'success'
        
    [335] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/29206.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 (18304,0))
			
		#GROUP BY a.Id
		
		
	
    [343] => SELECT FOUND_ROWS()
    [344] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'tUYGaWz7ChI' AND
                status = 'success'
        
    [345] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/28832.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 = 'tYVq5p-LPis' AND
                status = 'success'
        
    [355] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/28831.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 = 'tSGT34dSvv0' AND
                status = 'success'
        
    [365] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/28760.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 (2430,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 '%|4684|%' 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 (4402,4626,5125,2444,4562,2445,3378,5547,2434,2458,4347,2922,2430,2737,3937,2926,3528,7171,2440,33530,2418,6861,19448,5762,15290,18304,28368,3464,3769,5968,0))
			
		#GROUP BY a.Id
		ORDER BY a.document_title ASC
		
	
    [382] => SELECT FOUND_ROWS()
)

Время генерации: 3,567 сек.
Пиковое значение 6 813Kb
Количество запросов: 100 шт. за 0,075330 сек.