Новые видео и фото

Вверх
Полная версия сайта
Мобильная версия сайта
Array
(
    [0] => Array
        (
            [REQUEST_2] => 0.060974
        )

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

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

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

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

    [5] => Array
        (
            [SYSBLOCK_6] => 0.0001739999999999
        )

    [6] => Array
        (
            [SYSBLOCK_7] => 0.00022
        )

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

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

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

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

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

    [12] => Array
        (
            [SYSBLOCK_6] => 0.00012500000000004
        )

    [13] => Array
        (
            [SYSBLOCK_7] => 0.00010899999999991
        )

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

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

    [16] => Array
        (
            [REQUEST_27] => 0.00557
        )

    [17] => Array
        (
            [REQUEST_9] => 0.0039469999999999
        )

    [18] => Array
        (
            [REQUEST_9] => 0.0025909999999999
        )

    [19] => Array
        (
            [REQUEST_8] => 0.002921
        )

    [20] => Array
        (
            [REQUEST_31] => 0.0069669999999999
        )

    [21] => Array
        (
            [REQUEST_44] => 0.03847
        )

    [22] => Array
        (
            [REQUEST_80] => -0.364596
        )

    [23] => Array
        (
            [REQUEST_27] => 0.005984
        )

    [24] => Array
        (
            [REQUEST_9] => 0.003135
        )

    [25] => Array
        (
            [REQUEST_9] => 0.002655
        )

    [26] => Array
        (
            [REQUEST_8] => 0.002298
        )

    [27] => Array
        (
            [REQUEST_31] => 0.00749
        )

    [28] => Array
        (
            [REQUEST_44] => 0.032286
        )

    [29] => Array
        (
            [REQUEST_80] => -0.342471
        )

    [30] => Array
        (
            [NAVIGATION_1] => 0.002383
        )

    [31] => Array
        (
            [REQUEST_28] => 0.023125
        )

    [32] => Array
        (
            [REQUEST_28] => 0.016587
        )

    [33] => Array
        (
            [REQUEST_28] => 0.014068
        )

    [34] => Array
        (
            [REQUEST_28] => 0.021073
        )

    [35] => Array
        (
            [REQUEST_28] => 0.01404
        )

    [36] => Array
        (
            [REQUEST_28] => 0.007282
        )

    [37] => Array
        (
            [REQUEST_28] => 0.012816
        )

    [38] => Array
        (
            [REQUEST_28] => 0.006127
        )

    [39] => Array
        (
            [REQUEST_28] => 0.015935
        )

    [40] => Array
        (
            [REQUEST_28] => 0.013821
        )

    [41] => Array
        (
            [REQUEST_28] => 0.014815
        )

    [42] => Array
        (
            [REQUEST_28] => 0.015871
        )

    [43] => Array
        (
            [REQUEST_28] => 0.023943
        )

    [44] => Array
        (
            [REQUEST_28] => 0.007333
        )

    [45] => Array
        (
            [REQUEST_28] => 0.012629
        )

    [46] => Array
        (
            [REQUEST_28] => 0.016203
        )

    [47] => Array
        (
            [REQUEST_28] => 0.024335
        )

    [48] => Array
        (
            [REQUEST_28] => 0.023957
        )

    [49] => Array
        (
            [REQUEST_28] => 0.0064509999999999
        )

    [50] => Array
        (
            [REQUEST_28] => 0.010896
        )

    [51] => Array
        (
            [REQUEST_28] => 0.00907
        )

    [52] => Array
        (
            [REQUEST_28] => 0.018769
        )

    [53] => Array
        (
            [REQUEST_28] => 0.011347
        )

    [54] => Array
        (
            [REQUEST_28] => 0.011443
        )

    [55] => Array
        (
            [REQUEST_28] => 0.016849
        )

    [56] => Array
        (
            [REQUEST_28] => 0.015009
        )

)
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'
			LIMIT 1
		
    [3] => 
						SELECT compiled
							FROM ave_rubric_template_cache
						WHERE hash  = 'a9fb9d7900c9cb9ff7510beaf17d249b'
							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 != '1245') 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 != '1245') 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 != '1245') 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 != '1245') 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 = '2'
	
    [30] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '2' AND condition_status = '1'
	
    [31] => SET max_heap_table_size = 1024 * 1024 * 64;
    [32] => SET tmp_table_size = 1024 * 1024 * 32;
    [33] => 		# 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 != '1245') 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
	
    [34] => SELECT FOUND_ROWS()
    [35] => 
		SELECT *
		FROM ave_request
		WHERE Id = '3'
	
    [36] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '3' AND condition_status = '1'
	
    [37] => SET max_heap_table_size = 1024 * 1024 * 64;
    [38] => SET tmp_table_size = 1024 * 1024 * 32;
    [39] => 		# 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 != '1245') 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
	
    [40] => SELECT FOUND_ROWS()
    [41] => 
		SELECT *
		FROM ave_request
		WHERE Id = '4'
	
    [42] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '4' AND condition_status = '1'
	
    [43] => SET max_heap_table_size = 1024 * 1024 * 64;
    [44] => SET tmp_table_size = 1024 * 1024 * 32;
    [45] => 		# 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 != '1245') 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
	
    [46] => SELECT FOUND_ROWS()
    [47] => 
		SELECT *
		FROM ave_request
		WHERE Id = '5'
	
    [48] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '5' AND condition_status = '1'
	
    [49] => SET max_heap_table_size = 1024 * 1024 * 64;
    [50] => SET tmp_table_size = 1024 * 1024 * 32;
    [51] => 		# 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 != '1245') 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
	
    [52] => SELECT FOUND_ROWS()
    [53] => 
		SELECT *
		FROM ave_request
		WHERE Id = '27'
	
    [54] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '27' AND condition_status = '1'
	
    [55] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '27' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [56] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '27'
		
    [57] => SET max_heap_table_size = 1024 * 1024 * 64;
    [58] => SET tmp_table_size = 1024 * 1024 * 32;
    [59] => 		# 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
		
	
    [60] => SELECT FOUND_ROWS()
    [61] => 
		SELECT *
		FROM ave_request
		WHERE Id = '9'
	
    [62] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '9' AND condition_status = '1'
	
    [63] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '9' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [64] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '9'
		
    [65] => SET max_heap_table_size = 1024 * 1024 * 64;
    [66] => SET tmp_table_size = 1024 * 1024 * 32;
    [67] => 		# req=9
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			
			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '5' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.Id != '1245') 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_published DESC
		LIMIT 0,1
	
    [68] => SELECT FOUND_ROWS()
    [69] => SELECT rubric_field_alias FROM ave_rubric_fields WHERE Id=18
    [70] => 
		SELECT *
		FROM ave_request
		WHERE Id = '9'
	
    [71] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '9' AND condition_status = '1'
	
    [72] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '9' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [73] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '9'
		
    [74] => SET max_heap_table_size = 1024 * 1024 * 64;
    [75] => SET tmp_table_size = 1024 * 1024 * 32;
    [76] => 		# req=9
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			
			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '5' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.Id != '1245') 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_published DESC
		LIMIT 0,1
	
    [77] => SELECT FOUND_ROWS()
    [78] => 
		SELECT *
		FROM ave_request
		WHERE Id = '8'
	
    [79] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '8' AND condition_status = '1'
	
    [80] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '8' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [81] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '8'
		
    [82] => SET max_heap_table_size = 1024 * 1024 * 64;
    [83] => SET tmp_table_size = 1024 * 1024 * 32;
    [84] => 		# req=8
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			
			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '5' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.Id != '1245') 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_published DESC
		LIMIT 0,1
	
    [85] => SELECT FOUND_ROWS()
    [86] => SELECT rubric_field_alias FROM ave_rubric_fields WHERE Id=17
    [87] => 
		SELECT *
		FROM ave_request
		WHERE Id = '31'
	
    [88] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '31' AND condition_status = '1'
	
    [89] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '31' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [90] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '31'
		
    [91] => SET max_heap_table_size = 1024 * 1024 * 64;
    [92] => SET tmp_table_size = 1024 * 1024 * 32;
    [93] => 		# req=31
		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_published ASC
		
	
    [94] => SELECT FOUND_ROWS()
    [95] => 
		SELECT *
		FROM ave_request
		WHERE Id = '44'
	
    [96] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '44' AND condition_status = '1'
	
    [97] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '44' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [98] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '44'
		
    [99] => SET max_heap_table_size = 1024 * 1024 * 64;
    [100] => SET tmp_table_size = 1024 * 1024 * 32;
    [101] => 		# 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
		
	
    [102] => SELECT FOUND_ROWS()
    [103] => 
		SELECT *
		FROM ave_request
		WHERE Id = '80'
	
    [104] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '80' AND condition_status = '1'
	
    [105] => SET max_heap_table_size = 1024 * 1024 * 64;
    [106] => SET tmp_table_size = 1024 * 1024 * 32;
    [107] => 		# req=80
		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,40
	
    [108] => SELECT FOUND_ROWS()
    [109] => 
		SELECT *
		FROM ave_request
		WHERE Id = '27'
	
    [110] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '27' AND condition_status = '1'
	
    [111] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '27' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [112] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '27'
		
    [113] => SET max_heap_table_size = 1024 * 1024 * 64;
    [114] => SET tmp_table_size = 1024 * 1024 * 32;
    [115] => 		# 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
		
	
    [116] => SELECT FOUND_ROWS()
    [117] => 
		SELECT *
		FROM ave_request
		WHERE Id = '9'
	
    [118] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '9' AND condition_status = '1'
	
    [119] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '9' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [120] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '9'
		
    [121] => SET max_heap_table_size = 1024 * 1024 * 64;
    [122] => SET tmp_table_size = 1024 * 1024 * 32;
    [123] => 		# req=9
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			
			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '5' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.Id != '1245') 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_published DESC
		LIMIT 0,1
	
    [124] => SELECT FOUND_ROWS()
    [125] => 
		SELECT *
		FROM ave_request
		WHERE Id = '9'
	
    [126] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '9' AND condition_status = '1'
	
    [127] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '9' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [128] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '9'
		
    [129] => SET max_heap_table_size = 1024 * 1024 * 64;
    [130] => SET tmp_table_size = 1024 * 1024 * 32;
    [131] => 		# req=9
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			
			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '5' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.Id != '1245') 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_published DESC
		LIMIT 0,1
	
    [132] => SELECT FOUND_ROWS()
    [133] => 
		SELECT *
		FROM ave_request
		WHERE Id = '8'
	
    [134] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '8' AND condition_status = '1'
	
    [135] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '8' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [136] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '8'
		
    [137] => SET max_heap_table_size = 1024 * 1024 * 64;
    [138] => SET tmp_table_size = 1024 * 1024 * 32;
    [139] => 		# req=8
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			
			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '5' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.Id != '1245') 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_published DESC
		LIMIT 0,1
	
    [140] => SELECT FOUND_ROWS()
    [141] => 
		SELECT *
		FROM ave_request
		WHERE Id = '31'
	
    [142] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '31' AND condition_status = '1'
	
    [143] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '31' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [144] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '31'
		
    [145] => SET max_heap_table_size = 1024 * 1024 * 64;
    [146] => SET tmp_table_size = 1024 * 1024 * 32;
    [147] => 		# req=31
		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_published ASC
		
	
    [148] => SELECT FOUND_ROWS()
    [149] => 
		SELECT *
		FROM ave_request
		WHERE Id = '44'
	
    [150] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '44' AND condition_status = '1'
	
    [151] => 
		SELECT *
		FROM ave_request_conditions
		WHERE request_id = '44' AND condition_status = '1'
		ORDER BY condition_position ASC
	
    [152] => 
			UPDATE ave_request
			SET	request_where_cond = ''
			WHERE Id = '44'
		
    [153] => SET max_heap_table_size = 1024 * 1024 * 64;
    [154] => SET tmp_table_size = 1024 * 1024 * 32;
    [155] => 		# 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
		
	
    [156] => SELECT FOUND_ROWS()
    [157] => 
		SELECT *
		FROM ave_request
		WHERE Id = '80'
	
    [158] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '80' AND condition_status = '1'
	
    [159] => SET max_heap_table_size = 1024 * 1024 * 64;
    [160] => SET tmp_table_size = 1024 * 1024 * 32;
    [161] => 		# req=80
		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,40
	
    [162] => SELECT FOUND_ROWS()
    [163] => SELECT * FROM ave_navigation
    [164] => 
		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 = 1245
			AND (
				nav.navi_item_link = 'index.php?id=1245'
			OR nav.document_alias = 'media'
			OR nav.document_alias = '/media'
			OR nav.document_alias = 'media.html'
			OR nav.document_alias = '/media.html'
		
				OR nav.Id = doc.document_linked_navi_id
			)
	
    [165] => 
		SELECT *
		FROM ave_navigation_items
		WHERE navi_item_status = '1'
		AND navi_id = '1'
		ORDER BY navi_item_position ASC
	
    [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 '%|21817|%'
	
    [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 '%|1761|%'
	
    [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 '%|2997|%'
	
    [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 '%|1412|%'
	
    [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 '%|12092|%'
	
    [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 '%|9912|%'
	
    [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 '%|1414|%'
	
    [173] => 
		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|%'
	
    [174] => 
		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|%'
	
    [175] => 
		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|%'
	
    [176] => 
		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|%'
	
    [177] => 
		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|%'
	
    [178] => 
		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|%'
	
    [179] => 
		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|%'
	
    [180] => 
		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|%'
	
    [181] => 
		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|%'
	
    [182] => 
		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|%'
	
    [183] => 
		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|%'
	
    [184] => 
		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|%'
	
    [185] => 
		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|%'
	
    [186] => 
		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|%'
	
    [187] => 
		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|%'
	
    [188] => 
		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|%'
	
    [189] => 
		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|%'
	
    [190] => 
		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|%'
	
    [191] => 
		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|%'
	
    [192] => 
		SELECT *
		FROM ave_request
		WHERE Id = '28'
	
    [193] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '28' AND condition_status = '1'
	
    [194] => SET max_heap_table_size = 1024 * 1024 * 64;
    [195] => SET tmp_table_size = 1024 * 1024 * 32;
    [196] => 		# req=28
		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('%||1410||%'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,3
	
    [197] => SELECT FOUND_ROWS()
    [198] => SELECT rubric_field_alias FROM ave_rubric_fields WHERE Id=43
    [199] => SELECT rubric_field_alias FROM ave_rubric_fields WHERE Id=51
    [200] => SELECT rubric_field_alias FROM ave_rubric_fields WHERE Id=84
    [201] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'zJ-7COOfr_o' AND
                status = 'success'
        
    [202] => 
                    SELECT sysblock_text
                    FROM ave_sysblocks
                    WHERE id = 25
                
    [203] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'SJyE40koQyA' AND
                status = 'success'
        
    [204] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = '9WM_F7UXLc8' AND
                status = 'success'
        
    [205] => 
		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|%'
	
    [206] => 
		SELECT *
		FROM ave_request
		WHERE Id = '28'
	
    [207] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '28' AND condition_status = '1'
	
    [208] => SET max_heap_table_size = 1024 * 1024 * 64;
    [209] => SET tmp_table_size = 1024 * 1024 * 32;
    [210] => 		# req=28
		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('%||1411||%'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,3
	
    [211] => SELECT FOUND_ROWS()
    [212] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'rTFX61o7xU4' AND
                status = 'success'
        
    [213] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'MXFYlIcrTH0' AND
                status = 'success'
        
    [214] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'qB0i4gDZzv0' AND
                status = 'success'
        
    [215] => 
		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|%'
	
    [216] => 
		SELECT *
		FROM ave_request
		WHERE Id = '28'
	
    [217] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '28' AND condition_status = '1'
	
    [218] => SET max_heap_table_size = 1024 * 1024 * 64;
    [219] => SET tmp_table_size = 1024 * 1024 * 32;
    [220] => 		# req=28
		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('%||1412||%'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,3
	
    [221] => SELECT FOUND_ROWS()
    [222] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'HdUoum_mmTI' AND
                status = 'success'
        
    [223] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'cLtZmPEwjDs' AND
                status = 'success'
        
    [224] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'ROgOqqeQAL4' AND
                status = 'success'
        
    [225] => 
		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|%'
	
    [226] => 
		SELECT *
		FROM ave_request
		WHERE Id = '28'
	
    [227] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '28' AND condition_status = '1'
	
    [228] => SET max_heap_table_size = 1024 * 1024 * 64;
    [229] => SET tmp_table_size = 1024 * 1024 * 32;
    [230] => 		# req=28
		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('%||1413||%'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,3
	
    [231] => SELECT FOUND_ROWS()
    [232] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'vIAtrhufkVM' AND
                status = 'success'
        
    [233] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'oTx_X2BJaNE' AND
                status = 'success'
        
    [234] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'WpV_cXOGNTQ' AND
                status = 'success'
        
    [235] => 
		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|%'
	
    [236] => 
		SELECT *
		FROM ave_request
		WHERE Id = '28'
	
    [237] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '28' AND condition_status = '1'
	
    [238] => SET max_heap_table_size = 1024 * 1024 * 64;
    [239] => SET tmp_table_size = 1024 * 1024 * 32;
    [240] => 		# req=28
		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('%||1414||%'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,3
	
    [241] => SELECT FOUND_ROWS()
    [242] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = '9oY9s_od6TM' AND
                status = 'success'
        
    [243] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'XEyAJHsd4Og' AND
                status = 'success'
        
    [244] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 's4FeBlWpyqE' AND
                status = 'success'
        
    [245] => 
		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|%'
	
    [246] => 
		SELECT *
		FROM ave_request
		WHERE Id = '28'
	
    [247] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '28' AND condition_status = '1'
	
    [248] => SET max_heap_table_size = 1024 * 1024 * 64;
    [249] => SET tmp_table_size = 1024 * 1024 * 32;
    [250] => 		# req=28
		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('%||1415||%'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,3
	
    [251] => SELECT FOUND_ROWS()
    [252] => 
		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|%'
	
    [253] => 
		SELECT *
		FROM ave_request
		WHERE Id = '28'
	
    [254] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '28' AND condition_status = '1'
	
    [255] => SET max_heap_table_size = 1024 * 1024 * 64;
    [256] => SET tmp_table_size = 1024 * 1024 * 32;
    [257] => 		# req=28
		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('%||1620||%'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,3
	
    [258] => SELECT FOUND_ROWS()
    [259] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'vIAtrhufkVM' AND
                status = 'success'
        
    [260] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'fWQzv1A0pD4' AND
                status = 'success'
        
    [261] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'n2NWBx4xWvc' AND
                status = 'success'
        
    [262] => 
		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|%'
	
    [263] => 
		SELECT *
		FROM ave_request
		WHERE Id = '28'
	
    [264] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '28' AND condition_status = '1'
	
    [265] => SET max_heap_table_size = 1024 * 1024 * 64;
    [266] => SET tmp_table_size = 1024 * 1024 * 32;
    [267] => 		# req=28
		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('%||1416||%'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,3
	
    [268] => SELECT FOUND_ROWS()
    [269] => 
		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|%'
	
    [270] => 
		SELECT *
		FROM ave_request
		WHERE Id = '28'
	
    [271] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '28' AND condition_status = '1'
	
    [272] => SET max_heap_table_size = 1024 * 1024 * 64;
    [273] => SET tmp_table_size = 1024 * 1024 * 32;
    [274] => 		# req=28
		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('%||1760||%'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,3
	
    [275] => SELECT FOUND_ROWS()
    [276] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = '9KlI7JX9gJQ' AND
                status = 'success'
        
    [277] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = '38Uhy_sGjOo' AND
                status = 'success'
        
    [278] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'JfUgEUbcG6E' AND
                status = 'success'
        
    [279] => 
		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|%'
	
    [280] => 
		SELECT *
		FROM ave_request
		WHERE Id = '28'
	
    [281] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '28' AND condition_status = '1'
	
    [282] => SET max_heap_table_size = 1024 * 1024 * 64;
    [283] => SET tmp_table_size = 1024 * 1024 * 32;
    [284] => 		# req=28
		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('%||1761||%'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,3
	
    [285] => SELECT FOUND_ROWS()
    [286] => 
		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|%'
	
    [287] => 
		SELECT *
		FROM ave_request
		WHERE Id = '28'
	
    [288] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '28' AND condition_status = '1'
	
    [289] => SET max_heap_table_size = 1024 * 1024 * 64;
    [290] => SET tmp_table_size = 1024 * 1024 * 32;
    [291] => 		# req=28
		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('%||1812||%'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,3
	
    [292] => SELECT FOUND_ROWS()
    [293] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'q0PIu_SlNyQ' AND
                status = 'success'
        
    [294] => 
		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|%'
	
    [295] => 
		SELECT *
		FROM ave_request
		WHERE Id = '28'
	
    [296] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '28' AND condition_status = '1'
	
    [297] => SET max_heap_table_size = 1024 * 1024 * 64;
    [298] => SET tmp_table_size = 1024 * 1024 * 32;
    [299] => 		# req=28
		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('%||2997||%'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,3
	
    [300] => SELECT FOUND_ROWS()
    [301] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'K9sl23nqd44' AND
                status = 'success'
        
    [302] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'BoI4LJZSTSg' AND
                status = 'success'
        
    [303] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'fmQrhgjQ7yc' AND
                status = 'success'
        
    [304] => 
		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|%'
	
    [305] => 
		SELECT *
		FROM ave_request
		WHERE Id = '28'
	
    [306] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '28' AND condition_status = '1'
	
    [307] => SET max_heap_table_size = 1024 * 1024 * 64;
    [308] => SET tmp_table_size = 1024 * 1024 * 32;
    [309] => 		# req=28
		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('%||3713||%'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,3
	
    [310] => SELECT FOUND_ROWS()
    [311] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'trj2dWlZxRc' AND
                status = 'success'
        
    [312] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'J8FxdSNqJh0' AND
                status = 'success'
        
    [313] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'U5oKHktBXCY' AND
                status = 'success'
        
    [314] => 
		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|%'
	
    [315] => 
		SELECT *
		FROM ave_request
		WHERE Id = '28'
	
    [316] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '28' AND condition_status = '1'
	
    [317] => SET max_heap_table_size = 1024 * 1024 * 64;
    [318] => SET tmp_table_size = 1024 * 1024 * 32;
    [319] => 		# req=28
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			ave_document_fields AS t45,			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '11' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP())) AND ((t45.document_id = a.id AND (t45.rubric_field_id = '45' AND UPPER(t45.field_value) LIKE UPPER('%||4684||%'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,3
	
    [320] => SELECT FOUND_ROWS()
    [321] => 
		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|%'
	
    [322] => 
		SELECT *
		FROM ave_request
		WHERE Id = '28'
	
    [323] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '28' AND condition_status = '1'
	
    [324] => SET max_heap_table_size = 1024 * 1024 * 64;
    [325] => SET tmp_table_size = 1024 * 1024 * 32;
    [326] => 		# req=28
		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('%||5085||%'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,3
	
    [327] => SELECT FOUND_ROWS()
    [328] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'TgnexeTLMBw' AND
                status = 'success'
        
    [329] => 
		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|%'
	
    [330] => 
		SELECT *
		FROM ave_request
		WHERE Id = '28'
	
    [331] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '28' AND condition_status = '1'
	
    [332] => SET max_heap_table_size = 1024 * 1024 * 64;
    [333] => SET tmp_table_size = 1024 * 1024 * 32;
    [334] => 		# req=28
		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('%||8382||%'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,3
	
    [335] => SELECT FOUND_ROWS()
    [336] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'Qo8_oLZ6rho' AND
                status = 'success'
        
    [337] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'XDgizF9ZcRE' AND
                status = 'success'
        
    [338] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = '7pp7UN8lv2I' AND
                status = 'success'
        
    [339] => 
		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|%'
	
    [340] => 
		SELECT *
		FROM ave_request
		WHERE Id = '28'
	
    [341] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '28' AND condition_status = '1'
	
    [342] => SET max_heap_table_size = 1024 * 1024 * 64;
    [343] => SET tmp_table_size = 1024 * 1024 * 32;
    [344] => 		# req=28
		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('%||8441||%'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,3
	
    [345] => SELECT FOUND_ROWS()
    [346] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = '6elz4AqrNqA' AND
                status = 'success'
        
    [347] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = '1iLB3AxUmys' AND
                status = 'success'
        
    [348] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'QgPrFCR6X0A' AND
                status = 'success'
        
    [349] => 
		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|%'
	
    [350] => 
		SELECT *
		FROM ave_request
		WHERE Id = '28'
	
    [351] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '28' AND condition_status = '1'
	
    [352] => SET max_heap_table_size = 1024 * 1024 * 64;
    [353] => SET tmp_table_size = 1024 * 1024 * 32;
    [354] => 		# req=28
		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('%||8996||%'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,3
	
    [355] => SELECT FOUND_ROWS()
    [356] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'Q6NHu2cIU_U' AND
                status = 'success'
        
    [357] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'SnryDog5xBs' AND
                status = 'success'
        
    [358] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'tklCMLU66RA' AND
                status = 'success'
        
    [359] => 
		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|%'
	
    [360] => 
		SELECT *
		FROM ave_request
		WHERE Id = '28'
	
    [361] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '28' AND condition_status = '1'
	
    [362] => SET max_heap_table_size = 1024 * 1024 * 64;
    [363] => SET tmp_table_size = 1024 * 1024 * 32;
    [364] => 		# req=28
		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('%||9912||%'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,3
	
    [365] => SELECT FOUND_ROWS()
    [366] => 
		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|%'
	
    [367] => 
		SELECT *
		FROM ave_request
		WHERE Id = '28'
	
    [368] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '28' AND condition_status = '1'
	
    [369] => SET max_heap_table_size = 1024 * 1024 * 64;
    [370] => SET tmp_table_size = 1024 * 1024 * 32;
    [371] => 		# req=28
		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('%||12092||%'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,3
	
    [372] => SELECT FOUND_ROWS()
    [373] => 
		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|%'
	
    [374] => 
		SELECT *
		FROM ave_request
		WHERE Id = '28'
	
    [375] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '28' AND condition_status = '1'
	
    [376] => SET max_heap_table_size = 1024 * 1024 * 64;
    [377] => SET tmp_table_size = 1024 * 1024 * 32;
    [378] => 		# req=28
		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('%||15751||%'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,3
	
    [379] => SELECT FOUND_ROWS()
    [380] => 
		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|%'
	
    [381] => 
		SELECT *
		FROM ave_request
		WHERE Id = '28'
	
    [382] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '28' AND condition_status = '1'
	
    [383] => SET max_heap_table_size = 1024 * 1024 * 64;
    [384] => SET tmp_table_size = 1024 * 1024 * 32;
    [385] => 		# req=28
		SELECT STRAIGHT_JOIN
			a.*
			
			
		FROM
			ave_document_fields AS t45,			ave_documents AS a
			
			
		WHERE
			(
		a.Id != '1' AND a.Id != '2' AND
		a.rubric_id = '11' AND
		a.document_deleted != '1') AND (a.document_status = '1') AND (a.document_published <= UNIX_TIMESTAMP() AND (a.document_expire = 0 OR a.document_expire >=UNIX_TIMESTAMP())) AND ((t45.document_id = a.id AND (t45.rubric_field_id = '45' AND UPPER(t45.field_value) LIKE UPPER('%||17869||%'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,3
	
    [386] => SELECT FOUND_ROWS()
    [387] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'wc5sX1xmVFU' AND
                status = 'success'
        
    [388] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'tklCMLU66RA' AND
                status = 'success'
        
    [389] => 
		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|%'
	
    [390] => 
		SELECT *
		FROM ave_request
		WHERE Id = '28'
	
    [391] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '28' AND condition_status = '1'
	
    [392] => SET max_heap_table_size = 1024 * 1024 * 64;
    [393] => SET tmp_table_size = 1024 * 1024 * 32;
    [394] => 		# req=28
		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,3
	
    [395] => SELECT FOUND_ROWS()
    [396] => 
		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|%'
	
    [397] => 
		SELECT *
		FROM ave_request
		WHERE Id = '28'
	
    [398] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '28' AND condition_status = '1'
	
    [399] => SET max_heap_table_size = 1024 * 1024 * 64;
    [400] => SET tmp_table_size = 1024 * 1024 * 32;
    [401] => 		# req=28
		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,3
	
    [402] => SELECT FOUND_ROWS()
    [403] => 
		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|%'
	
    [404] => 
		SELECT *
		FROM ave_request
		WHERE Id = '28'
	
    [405] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '28' AND condition_status = '1'
	
    [406] => SET max_heap_table_size = 1024 * 1024 * 64;
    [407] => SET tmp_table_size = 1024 * 1024 * 32;
    [408] => 		# req=28
		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('%||29518||%'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,3
	
    [409] => SELECT FOUND_ROWS()
    [410] => 
		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|%'
	
    [411] => 
		SELECT *
		FROM ave_request
		WHERE Id = '28'
	
    [412] => 
		SELECT DISTINCT(condition_field_id) AS fid
		FROM ave_request_conditions
		WHERE request_id = '28' AND condition_status = '1'
	
    [413] => SET max_heap_table_size = 1024 * 1024 * 64;
    [414] => SET tmp_table_size = 1024 * 1024 * 32;
    [415] => 		# req=28
		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('%||32311||%'))) AND 1=1)
			
		#GROUP BY a.Id
		ORDER BY a.document_published DESC
		LIMIT 0,3
	
    [416] => SELECT FOUND_ROWS()
    [417] => 
            SELECT 1
            FROM ave_videos
            WHERE
                id = 'Aea42ztHhmY' AND
                status = 'success'
        
    [418] => 
		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|%'
	
)

Время генерации: 2,224 сек.
Пиковое значение 5 020Kb
Количество запросов: 100 шт. за 0,115035 сек.