Америка без ретуши

11.03.2016 Фермеры против властей: в США опубликована новая видеозапись убийства активиста В США опубликовано новое видео последних минут автомобильной погони, которая закончилась гибелью фермера Роберта Лавоя Финикума из штата Орегон. Мужчина был одним из тех, кто боролся с федеральными властями из-за прав на землю в орегонском заповеднике. В январе 2016 года фермеры захватили ... 12.03.2016 Комментариев: 0
1.02.2016 Новые правила позволяют американским полицейским применять силу «по ситуации» В США на встрече глав правоохранительных органов были представлены новые правила работы полиции. На разработку документа ушло почти два года, однако существует мнение, что он содержит только элементарные нормы. Согласно новым правилам, стражи порядка могут применять силу «соразмерно ситуации&r... 02.02.2016 Комментариев: 0
Америка без прикрас: Забота о материнстве в США как она есть (лекция Джессики Шорталл) Стране необходимы работающие женщины, которые при этом заводят детей. Тогда почему же Америка — одна из совсем немногих стран в мире, где не существует оплачиваемого декретного отпуска работающим матерям? В этом принципиальном выступлении Джессика Шорталл эмоционально и наглядно показывает, чт... 22.12.2015 Комментариев: 0
Гудбай, Америка! Фильм Г. Царевой Многие думают, что Америка - это рай, где реализуются все заветные мечты человека. Как на самом деле обстоят дела в здравоохранении, экономике, образовании, культуре и просто в частной жизни людей? С чем приходится сталкиваться в жизни рядовому обывателю и что кажется странным или совсем неприемлемы... 12.12.2015 Комментариев: 0
Вверх
Полная версия сайта
Мобильная версия сайта
Array
(
    [0] => Array
        (
            [REQUEST_2] => 0.072419
        )

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    [41] => Array
        (
            [REQUEST_44] => 0.002207
        )

)
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-6'
			LIMIT 1
		
    [3] => 
						SELECT compiled
							FROM ave_rubric_template_cache
						WHERE hash  = 'f4768e0fd2dee70d6ca0f89df6bd6ab3'
							LIMIT 1
					
    [4] => 
				SELECT rubric_start_code
				FROM ave_rubrics
				WHERE Id = '13'
				LIMIT 1
				
    [5] => 
							SELECT rubric_header_template
								FROM ave_rubrics
							WHERE Id = '13'
								LIMIT 1
						
    [6] => 
		SELECT *
		FROM ave_request
		WHERE Id = '2'
	
    [7] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '2' AND condition_status = '1'
	
    [8] => SET max_heap_table_size = 1024 * 1024 * 64;
    [9] => SET tmp_table_size = 1024 * 1024 * 32;
    [10] => 		# 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 != '21817') 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
	
    [11] => SELECT FOUND_ROWS()
    [12] => 
				SELECT *
				FROM ave_module
				WHERE ModuleStatus = '1'
			
    [13] => 
		SELECT *
		FROM ave_request
		WHERE Id = '3'
	
    [14] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '3' AND condition_status = '1'
	
    [15] => SET max_heap_table_size = 1024 * 1024 * 64;
    [16] => SET tmp_table_size = 1024 * 1024 * 32;
    [17] => 		# 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 != '21817') 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
	
    [18] => SELECT FOUND_ROWS()
    [19] => 
		SELECT *
		FROM ave_request
		WHERE Id = '4'
	
    [20] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '4' AND condition_status = '1'
	
    [21] => SET max_heap_table_size = 1024 * 1024 * 64;
    [22] => SET tmp_table_size = 1024 * 1024 * 32;
    [23] => 		# 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 != '21817') 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
	
    [24] => SELECT FOUND_ROWS()
    [25] => 
		SELECT *
		FROM ave_request
		WHERE Id = '5'
	
    [26] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '5' AND condition_status = '1'
	
    [27] => SET max_heap_table_size = 1024 * 1024 * 64;
    [28] => SET tmp_table_size = 1024 * 1024 * 32;
    [29] => 		# 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 != '21817') 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
	
    [30] => SELECT FOUND_ROWS()
    [31] => 
		SELECT *
		FROM ave_request
		WHERE Id = '30'
	
    [32] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '30' AND condition_status = '1'
	
    [33] => SET max_heap_table_size = 1024 * 1024 * 64;
    [34] => SET tmp_table_size = 1024 * 1024 * 32;
    [35] => 		# 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('%|21817|%'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,20
	
    [36] => SELECT FOUND_ROWS()
    [37] => SELECT rubric_field_alias FROM ave_rubric_fields WHERE Id=43
    [38] => SELECT rubric_field_alias FROM ave_rubric_fields WHERE Id=51
    [39] => SELECT rubric_field_alias FROM ave_rubric_fields WHERE Id=84
    [40] => 
		SELECT *
		FROM ave_request
		WHERE Id = '2'
	
    [41] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '2' AND condition_status = '1'
	
    [42] => SET max_heap_table_size = 1024 * 1024 * 64;
    [43] => SET tmp_table_size = 1024 * 1024 * 32;
    [44] => 		# 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 != '21817') 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
	
    [45] => SELECT FOUND_ROWS()
    [46] => 
		SELECT *
		FROM ave_request
		WHERE Id = '3'
	
    [47] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '3' AND condition_status = '1'
	
    [48] => SET max_heap_table_size = 1024 * 1024 * 64;
    [49] => SET tmp_table_size = 1024 * 1024 * 32;
    [50] => 		# 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 != '21817') 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
	
    [51] => SELECT FOUND_ROWS()
    [52] => 
		SELECT *
		FROM ave_request
		WHERE Id = '4'
	
    [53] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '4' AND condition_status = '1'
	
    [54] => SET max_heap_table_size = 1024 * 1024 * 64;
    [55] => SET tmp_table_size = 1024 * 1024 * 32;
    [56] => 		# 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 != '21817') 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
	
    [57] => SELECT FOUND_ROWS()
    [58] => 
		SELECT *
		FROM ave_request
		WHERE Id = '5'
	
    [59] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '5' AND condition_status = '1'
	
    [60] => SET max_heap_table_size = 1024 * 1024 * 64;
    [61] => SET tmp_table_size = 1024 * 1024 * 32;
    [62] => 		# 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 != '21817') 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
	
    [63] => SELECT FOUND_ROWS()
    [64] => 
		SELECT *
		FROM ave_request
		WHERE Id = '30'
	
    [65] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '30' AND condition_status = '1'
	
    [66] => SET max_heap_table_size = 1024 * 1024 * 64;
    [67] => SET tmp_table_size = 1024 * 1024 * 32;
    [68] => 		# 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('%|21817|%'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,20
	
    [69] => SELECT FOUND_ROWS()
    [70] => 
		SELECT *
		FROM ave_request
		WHERE Id = '22'
	
    [71] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '22' AND condition_status = '1'
	
    [72] => SET max_heap_table_size = 1024 * 1024 * 64;
    [73] => SET tmp_table_size = 1024 * 1024 * 32;
    [74] => 		# 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
		
	
    [75] => SELECT FOUND_ROWS()
    [76] => 
		SELECT *
		FROM ave_request
		WHERE Id = '27'
	
    [77] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '27' AND condition_status = '1'
	
    [78] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '27' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [79] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '27'
		
    [80] => SET max_heap_table_size = 1024 * 1024 * 64;
    [81] => SET tmp_table_size = 1024 * 1024 * 32;
    [82] => 		# 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
		
	
    [83] => SELECT FOUND_ROWS()
    [84] => 
		SELECT *
		FROM ave_request
		WHERE Id = '44'
	
    [85] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '44' AND condition_status = '1'
	
    [86] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '44' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [87] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '44'
		
    [88] => SET max_heap_table_size = 1024 * 1024 * 64;
    [89] => SET tmp_table_size = 1024 * 1024 * 32;
    [90] => 		# 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
		
	
    [91] => SELECT FOUND_ROWS()
    [92] => 
		SELECT *
		FROM ave_request
		WHERE Id = '16'
	
    [93] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '16' AND condition_status = '1'
	
    [94] => SET max_heap_table_size = 1024 * 1024 * 64;
    [95] => SET tmp_table_size = 1024 * 1024 * 32;
    [96] => 		# 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
		
	
    [97] => SELECT FOUND_ROWS()
    [98] => 
		SELECT *
		FROM ave_request
		WHERE Id = '40'
	
    [99] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '40' AND condition_status = '1'
	
    [100] => SET max_heap_table_size = 1024 * 1024 * 64;
    [101] => SET tmp_table_size = 1024 * 1024 * 32;
    [102] => 		# 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
	
    [103] => SELECT FOUND_ROWS()
    [104] => 
		SELECT *
		FROM ave_request
		WHERE Id = '39'
	
    [105] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '39' AND condition_status = '1'
	
    [106] => SET max_heap_table_size = 1024 * 1024 * 64;
    [107] => SET tmp_table_size = 1024 * 1024 * 32;
    [108] => 		# 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
	
    [109] => SELECT FOUND_ROWS()
    [110] => 
		SELECT *
		FROM ave_request
		WHERE Id = '27'
	
    [111] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '27' AND condition_status = '1'
	
    [112] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '27' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [113] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '27'
		
    [114] => SET max_heap_table_size = 1024 * 1024 * 64;
    [115] => SET tmp_table_size = 1024 * 1024 * 32;
    [116] => 		# 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
		
	
    [117] => SELECT FOUND_ROWS()
    [118] => 
		SELECT *
		FROM ave_request
		WHERE Id = '44'
	
    [119] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '44' AND condition_status = '1'
	
    [120] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '44' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [121] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '44'
		
    [122] => SET max_heap_table_size = 1024 * 1024 * 64;
    [123] => SET tmp_table_size = 1024 * 1024 * 32;
    [124] => 		# 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
		
	
    [125] => SELECT FOUND_ROWS()
    [126] => 
		SELECT *
		FROM ave_request
		WHERE Id = '16'
	
    [127] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '16' AND condition_status = '1'
	
    [128] => SET max_heap_table_size = 1024 * 1024 * 64;
    [129] => SET tmp_table_size = 1024 * 1024 * 32;
    [130] => 		# 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
		
	
    [131] => SELECT FOUND_ROWS()
    [132] => 
		SELECT *
		FROM ave_request
		WHERE Id = '40'
	
    [133] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '40' AND condition_status = '1'
	
    [134] => SET max_heap_table_size = 1024 * 1024 * 64;
    [135] => SET tmp_table_size = 1024 * 1024 * 32;
    [136] => 		# 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
	
    [137] => SELECT FOUND_ROWS()
    [138] => 
		SELECT *
		FROM ave_request
		WHERE Id = '39'
	
    [139] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '39' AND condition_status = '1'
	
    [140] => SET max_heap_table_size = 1024 * 1024 * 64;
    [141] => SET tmp_table_size = 1024 * 1024 * 32;
    [142] => 		# 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
	
    [143] => SELECT FOUND_ROWS()
    [144] => SELECT * FROM ave_navigation
    [145] => 
		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 = 21817
			AND (
				nav.navi_item_link = 'index.php?id=21817'
			OR nav.document_alias = 'media-6'
			OR nav.document_alias = '/media-6'
			OR nav.document_alias = 'media-6.html'
			OR nav.document_alias = '/media-6.html'
		
				OR nav.Id = doc.document_linked_navi_id
			)
	
    [146] => 
		SELECT *
		FROM ave_navigation_items
		WHERE navi_item_status = '1'
		AND navi_id = '1'
		ORDER BY navi_item_position ASC
	
    [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 '%|21817|%'
	
    [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 '%|1761|%'
	
    [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 '%|2997|%'
	
    [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 '%|1412|%'
	
    [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 '%|12092|%'
	
    [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 '%|9912|%'
	
    [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 '%|1414|%'
	
    [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 '%|1410|%'
	
    [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 '%|8382|%'
	
    [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 '%|21419|%'
	
    [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 '%|5085|%'
	
    [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 '%|1413|%'
	
    [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 '%|17869|%'
	
    [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 '%|8996|%'
	
    [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 '%|1760|%'
	
    [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 '%|1411|%'
	
    [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 '%|1416|%'
	
    [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 '%|32311|%'
	
    [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 '%|8441|%'
	
    [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 '%|1620|%'
	
    [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 '%|1812|%'
	
    [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 '%|1415|%'
	
    [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 '%|29518|%'
	
    [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 '%|3713|%'
	
    [171] => 
		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|%'
	
    [172] => 
		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|%'
	
    [173] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'Cr4JcDYkliU' AND
                status = 'success'
        
    [174] => 
                    SELECT sysblock_text
                    FROM ave_sysblocks
                    WHERE id = 25
                
    [175] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/33962.html' AND `moder` = 0
    [176] => 
		SELECT *
		FROM ave_request
		WHERE Id = '45'
	
    [177] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
	
    [178] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [179] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '45'
		
    [180] => SET max_heap_table_size = 1024 * 1024 * 64;
    [181] => SET tmp_table_size = 1024 * 1024 * 32;
    [182] => 		# 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 (33431,0))
			
		#GROUP BY a.Id
		
		
	
    [183] => SELECT FOUND_ROWS()
    [184] => SELECT rubric_field_alias FROM ave_rubric_fields WHERE Id=57
    [185] => SELECT rubric_field_alias FROM ave_rubric_fields WHERE Id=56
    [186] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = '1VLr-l5kXo8' AND
                status = 'success'
        
    [187] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/33176.html' AND `moder` = 0
    [188] => 
		SELECT *
		FROM ave_request
		WHERE Id = '45'
	
    [189] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
	
    [190] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [191] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '45'
		
    [192] => SET max_heap_table_size = 1024 * 1024 * 64;
    [193] => SET tmp_table_size = 1024 * 1024 * 32;
    [194] => 		# 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
		
		
	
    [195] => SELECT FOUND_ROWS()
    [196] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'wh3XdcQytw0' AND
                status = 'success'
        
    [197] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/30192.html' AND `moder` = 0
    [198] => 
		SELECT *
		FROM ave_request
		WHERE Id = '45'
	
    [199] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
	
    [200] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [201] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '45'
		
    [202] => SET max_heap_table_size = 1024 * 1024 * 64;
    [203] => SET tmp_table_size = 1024 * 1024 * 32;
    [204] => 		# 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 (5414,2391,0))
			
		#GROUP BY a.Id
		
		
	
    [205] => SELECT FOUND_ROWS()
    [206] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'arHK2S87vRc' AND
                status = 'success'
        
    [207] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/30144.html' AND `moder` = 0
    [208] => 
		SELECT *
		FROM ave_request
		WHERE Id = '45'
	
    [209] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
	
    [210] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [211] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '45'
		
    [212] => SET max_heap_table_size = 1024 * 1024 * 64;
    [213] => SET tmp_table_size = 1024 * 1024 * 32;
    [214] => 		# 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
		
		
	
    [215] => SELECT FOUND_ROWS()
    [216] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'QIgkl6sI9QY' AND
                status = 'success'
        
    [217] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/29933.html' AND `moder` = 0
    [218] => 
		SELECT *
		FROM ave_request
		WHERE Id = '45'
	
    [219] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
	
    [220] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [221] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '45'
		
    [222] => SET max_heap_table_size = 1024 * 1024 * 64;
    [223] => SET tmp_table_size = 1024 * 1024 * 32;
    [224] => 		# 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 (2926,0))
			
		#GROUP BY a.Id
		
		
	
    [225] => SELECT FOUND_ROWS()
    [226] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'BgCxK2RNLVU' AND
                status = 'success'
        
    [227] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/24224.html' AND `moder` = 0
    [228] => 
		SELECT *
		FROM ave_request
		WHERE Id = '45'
	
    [229] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
	
    [230] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [231] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '45'
		
    [232] => SET max_heap_table_size = 1024 * 1024 * 64;
    [233] => SET tmp_table_size = 1024 * 1024 * 32;
    [234] => 		# 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
		
		
	
    [235] => SELECT FOUND_ROWS()
    [236] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'dQJkNc88ijA' AND
                status = 'success'
        
    [237] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/24038.html' AND `moder` = 0
    [238] => 
		SELECT *
		FROM ave_request
		WHERE Id = '45'
	
    [239] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
	
    [240] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [241] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '45'
		
    [242] => SET max_heap_table_size = 1024 * 1024 * 64;
    [243] => SET tmp_table_size = 1024 * 1024 * 32;
    [244] => 		# 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 (2926,0))
			
		#GROUP BY a.Id
		
		
	
    [245] => SELECT FOUND_ROWS()
    [246] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'dJf2yTFnTz8' AND
                status = 'success'
        
    [247] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/22579.html' AND `moder` = 0
    [248] => 
		SELECT *
		FROM ave_request
		WHERE Id = '45'
	
    [249] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
	
    [250] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [251] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '45'
		
    [252] => SET max_heap_table_size = 1024 * 1024 * 64;
    [253] => SET tmp_table_size = 1024 * 1024 * 32;
    [254] => 		# 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
		
		
	
    [255] => SELECT FOUND_ROWS()
    [256] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'gCImGHhQndM' AND
                status = 'success'
        
    [257] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/22151.html' AND `moder` = 0
    [258] => 
		SELECT *
		FROM ave_request
		WHERE Id = '45'
	
    [259] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
	
    [260] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [261] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '45'
		
    [262] => SET max_heap_table_size = 1024 * 1024 * 64;
    [263] => SET tmp_table_size = 1024 * 1024 * 32;
    [264] => 		# 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
		
		
	
    [265] => SELECT FOUND_ROWS()
    [266] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'oGGBESHmxwE' AND
                status = 'success'
        
    [267] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/22080.html' AND `moder` = 0
    [268] => 
		SELECT *
		FROM ave_request
		WHERE Id = '45'
	
    [269] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
	
    [270] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [271] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '45'
		
    [272] => SET max_heap_table_size = 1024 * 1024 * 64;
    [273] => SET tmp_table_size = 1024 * 1024 * 32;
    [274] => 		# 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
		
		
	
    [275] => SELECT FOUND_ROWS()
    [276] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'ZN0_OE0dEqg' AND
                status = 'success'
        
    [277] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/21785.html' AND `moder` = 0
    [278] => 
		SELECT *
		FROM ave_request
		WHERE Id = '45'
	
    [279] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
	
    [280] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [281] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '45'
		
    [282] => SET max_heap_table_size = 1024 * 1024 * 64;
    [283] => SET tmp_table_size = 1024 * 1024 * 32;
    [284] => 		# 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
		
		
	
    [285] => SELECT FOUND_ROWS()
    [286] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'SJyE40koQyA' AND
                status = 'success'
        
    [287] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/19656.html' AND `moder` = 0
    [288] => 
		SELECT *
		FROM ave_request
		WHERE Id = '45'
	
    [289] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
	
    [290] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [291] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '45'
		
    [292] => SET max_heap_table_size = 1024 * 1024 * 64;
    [293] => SET tmp_table_size = 1024 * 1024 * 32;
    [294] => 		# 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
		
		
	
    [295] => SELECT FOUND_ROWS()
    [296] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'NAi17OuYwmE' AND
                status = 'success'
        
    [297] => SELECT COUNT(*) FROM `comments` WHERE `url` = '/media/19137.html' AND `moder` = 0
    [298] => 
		SELECT *
		FROM ave_request
		WHERE Id = '45'
	
    [299] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
	
    [300] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '45' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [301] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '45'
		
    [302] => SET max_heap_table_size = 1024 * 1024 * 64;
    [303] => SET tmp_table_size = 1024 * 1024 * 32;
    [304] => 		# 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
		
		
	
    [305] => SELECT FOUND_ROWS()
    [306] => 
		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 '%|21817|%' AND
			video_pers_fields.rubric_field_id = '59'
	
    [307] => 
		SELECT *
		FROM ave_request
		WHERE Id = '44'
	
    [308] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '44' AND condition_status = '1'
	
    [309] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '44' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [310] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '44'
		
    [311] => SET max_heap_table_size = 1024 * 1024 * 64;
    [312] => SET tmp_table_size = 1024 * 1024 * 32;
    [313] => 		# 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 (2926,16855,5414,2391,33431,0))
			
		#GROUP BY a.Id
		ORDER BY a.document_title ASC
		
	
    [314] => SELECT FOUND_ROWS()
)

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