Европа без ретуши

27.07.2016 «Я не узнаю Францию»: жители страны напуганы нападениями ИГ Президент Франции Франсуа Олланд во время телеобращения к нации заявил, что страна находится в состоянии войны с исламизмом и призвал использовать для борьбы с ним все имеющиеся ресурсы. Ранее ИГ взяло на себя ответственность за захват заложников в церкви в Нормандии, в результате которого был убит ... 28.07.2016 Комментариев: 0
3.06.2016 М.Делягин Европа слишком поздно открыла глаза на проблему беженцев Группа английских политиков выступила с заявлением, в котором призвала власти Великобритании, в случае если Великобритания выйдет из Евросоюза по результатам референдума, кардинально изменить политику в отношении мигрантов. Это обращение является отражением осознания большей частью европейской элиты... 04.06.2016 Комментариев: 0
Персоналии: Михаил Делягин
Европа переходит на отопление городов трупами Кратко: Самым экологичным способом отопления домов в Швеции признана энергия от сжигания горожан. Шведы рекламируют, что тепла от 1 трупа им хватает на приготовление 2 млн тостов, 1 млн чашек чая и на 600 тыс. стирок. Великобритания уже перенима... 31.05.2016 Комментариев: 0
17.05.2016 Бюрократия в России не позволит вернуть Украине Крым к "Евровидению" Украина недооценивает российскую бюрократию, заявляя о намерении провести "Евровидение-2017" в Крыму.Для осуществления своего замысла Украине придется побеждать как минимум второй год подряд. Можно даже отправить на следующий конкурс Юлию Тимошенко. "Я, на самом деле, хорошо понимаю у... 17.05.2016 Комментариев: 0
Персоналии: Михаил Делягин
5.03.2016 Что есть, то и ешь: как меняется немецкая кухня в многонациональной Германии В Германии во многих заведениях общепита из меню пропали традиционные свиные сосиски. «Табу на колбаски» ввели для того, чтобы не оскорблять чувства мусульман. Депутаты правящей партии «Христианско-демократический союз» настаивают, что мультикультурализм не должен влиять на н... 06.03.2016 Комментариев: 0
Персоналии: Ангела Меркель
19.01.2016 Михаил Делягин. Беженцы в Европе: что ждет ЕС после отставки Меркель Член земельного совета одного из баварских городов отправил Ангеле Меркель подарок - автобус с беженцами, которые прибыли в его город. Он предупредил канцлера Германии, что город может принять только ограниченное количество беженцев и заявил, что всех излишних он будет отправлять непосредственно ей.... 20.01.2016 Комментариев: 0
Персоналии: Михаил Делягин
Вверх
Полная версия сайта
Мобильная версия сайта
Array
(
    [0] => Array
        (
            [REQUEST_2] => 0.08506
        )

    [1] => Array
        (
            [REQUEST_3] => -0.966453
        )

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

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

    [4] => Array
        (
            [SYSBLOCK_5] => -0.82653
        )

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    [25] => Array
        (
            [REQUEST_40] => -0.919366
        )

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    [45] => Array
        (
            [REQUEST_44] => 0.002475
        )

)
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-5'
			LIMIT 1
		
    [3] => 
						SELECT compiled
							FROM ave_rubric_template_cache
						WHERE hash  = 'fccf709ea12f4653dd7ea74111eb683d'
							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 != '21419') 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 != '21419') 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 != '21419') 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 != '21419') 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('%|21419|%'))) 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 != '21419') 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 != '21419') 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 != '21419') 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 != '21419') 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('%|21419|%'))) 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 = 21419
			AND (
				nav.navi_item_link = 'index.php?id=21419'
			OR nav.document_alias = 'media-5'
			OR nav.document_alias = '/media-5'
			OR nav.document_alias = 'media-5.html'
			OR nav.document_alias = '/media-5.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 = 'i5hbOgp92Jc' AND
                status = 'success'
        
    [172] => 
                    SELECT sysblock_text
                    FROM ave_sysblocks
                    WHERE id = 25
                
    [173] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/30751.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 (7171,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 = 'zZ5IFGaRPKc' AND
                status = 'success'
        
    [185] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/30581.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 = 'arHK2S87vRc' AND
                status = 'success'
        
    [195] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/30144.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 (16855,0))
			
		#GROUP BY a.Id
		
		
	
    [203] => SELECT FOUND_ROWS()
    [204] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = '2p-oqOivqK4' AND
                status = 'success'
        
    [205] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/28174.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 (2440,0))
			
		#GROUP BY a.Id
		
		
	
    [213] => SELECT FOUND_ROWS()
    [214] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'ebOIxQaDQGs' AND
                status = 'success'
        
    [215] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/28053.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 = 'kPYleo7_0ko' AND
                status = 'success'
        
    [225] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/28016.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 (0))
			
		#GROUP BY a.Id
		
		
	
    [233] => SELECT FOUND_ROWS()
    [234] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'X3GQsnTAyxU' AND
                status = 'success'
        
    [235] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/27800.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 (2440,0))
			
		#GROUP BY a.Id
		
		
	
    [243] => SELECT FOUND_ROWS()
    [244] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'Oo9sB0Z7GaE' AND
                status = 'success'
        
    [245] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/27397.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 (2440,0))
			
		#GROUP BY a.Id
		
		
	
    [253] => SELECT FOUND_ROWS()
    [254] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'sfMwAaObL8Y' AND
                status = 'success'
        
    [255] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/24829.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 (2430,0))
			
		#GROUP BY a.Id
		
		
	
    [263] => SELECT FOUND_ROWS()
    [264] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'j-sfDxSaXqw' AND
                status = 'success'
        
    [265] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/23885.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 (2430,3140,0))
			
		#GROUP BY a.Id
		
		
	
    [273] => SELECT FOUND_ROWS()
    [274] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'gVaMoPMV5jU' AND
                status = 'success'
        
    [275] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/23882.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 (3140,0))
			
		#GROUP BY a.Id
		
		
	
    [283] => SELECT FOUND_ROWS()
    [284] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'dJf2yTFnTz8' AND
                status = 'success'
        
    [285] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/22579.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 (0))
			
		#GROUP BY a.Id
		
		
	
    [293] => SELECT FOUND_ROWS()
    [294] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'kZGdjS0exXM' AND
                status = 'success'
        
    [295] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/21993.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 = 'mkMd8N3KsVo' AND
                status = 'success'
        
    [305] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/21821.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 = 'ZN0_OE0dEqg' AND
                status = 'success'
        
    [315] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/21785.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 = 'YLm_6Upgc64' AND
                status = 'success'
        
    [325] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/21648.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 = 'GmBnIpwKQDA' AND
                status = 'success'
        
    [335] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/21418.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 (2440,0))
			
		#GROUP BY a.Id
		
		
	
    [343] => SELECT FOUND_ROWS()
    [344] => 
		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 '%|21419|%' AND
			video_pers_fields.rubric_field_id = '59'
	
    [345] => 
		SELECT *
		FROM ave_request
		WHERE Id = '44'
	
    [346] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '44' AND condition_status = '1'
	
    [347] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '44' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [348] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '44'
		
    [349] => SET max_heap_table_size = 1024 * 1024 * 64;
    [350] => SET tmp_table_size = 1024 * 1024 * 32;
    [351] => 		# 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 (2440,10685,3140,2430,16855,7171,0))
			
		#GROUP BY a.Id
		ORDER BY a.document_title ASC
		
	
    [352] => SELECT FOUND_ROWS()
)

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