'SELECT DISTINCT s.post_id, s.author_id, s.image_guid, s.image_id, s.artist_guid, s.artist_id, s.artist_slug, s.artist, s.post_title, s.pub_date, s.image_type_id as image_color_type_id, s.language_id, s.keywords, s.country, s.allowed_sites, s.file_name, s.format FROM dw_cci_search AS s WHERE (s.post_id IS NOT NULL) AND (s.language_id = 1 ) AND (( (s.post_title LIKE \'{eccda6fda98088954956b5f9c0a8d34d3b76cf5da7361437c7de5ea1d8b0040d}hateful{eccda6fda98088954956b5f9c0a8d34d3b76cf5da7361437c7de5ea1d8b0040d}\' ) OR (s.keywords LIKE \'{eccda6fda98088954956b5f9c0a8d34d3b76cf5da7361437c7de5ea1d8b0040d}hateful{eccda6fda98088954956b5f9c0a8d34d3b76cf5da7361437c7de5ea1d8b0040d}\' ) ) OR ( (s.post_title LIKE \'{eccda6fda98088954956b5f9c0a8d34d3b76cf5da7361437c7de5ea1d8b0040d}\\"hateful\\"{eccda6fda98088954956b5f9c0a8d34d3b76cf5da7361437c7de5ea1d8b0040d}\' ) OR (s.keywords LIKE \'{eccda6fda98088954956b5f9c0a8d34d3b76cf5da7361437c7de5ea1d8b0040d}\\"hateful\\"{eccda6fda98088954956b5f9c0a8d34d3b76cf5da7361437c7de5ea1d8b0040d}\' ) )) ORDER BY s.pub_date DESC, s.image_id DESC LIMIT 20;'
'SELECT DISTINCT s.post_id, s.author_id, s.image_guid, s.image_id, s.artist_guid, s.artist_id, s.artist_slug, s.artist, s.post_title, s.pub_date, s.image_type_id as image_color_type_id, s.language_id, s.keywords, s.country, s.allowed_sites, s.file_name, s.format FROM dw_cci_search AS s WHERE (s.post_id IS NOT NULL) AND (s.language_id = 1 ) AND (( (s.post_title LIKE \'{eccda6fda98088954956b5f9c0a8d34d3b76cf5da7361437c7de5ea1d8b0040d}hateful{eccda6fda98088954956b5f9c0a8d34d3b76cf5da7361437c7de5ea1d8b0040d}\' ) OR (s.keywords LIKE \'{eccda6fda98088954956b5f9c0a8d34d3b76cf5da7361437c7de5ea1d8b0040d}hateful{eccda6fda98088954956b5f9c0a8d34d3b76cf5da7361437c7de5ea1d8b0040d}\' ) ) OR ( (s.post_title LIKE \'{eccda6fda98088954956b5f9c0a8d34d3b76cf5da7361437c7de5ea1d8b0040d}\\"hateful\\"{eccda6fda98088954956b5f9c0a8d34d3b76cf5da7361437c7de5ea1d8b0040d}\' ) OR (s.keywords LIKE \'{eccda6fda98088954956b5f9c0a8d34d3b76cf5da7361437c7de5ea1d8b0040d}\\"hateful\\"{eccda6fda98088954956b5f9c0a8d34d3b76cf5da7361437c7de5ea1d8b0040d}\' ) )) ORDER BY s.pub_date DESC, s.image_id DESC LIMIT 20;'
'SELECT DISTINCT s.post_id, s.author_id, s.image_guid, s.image_id, s.artist_guid, s.artist_id, s.artist_slug, s.artist, s.post_title, s.pub_date, s.image_type_id as image_color_type_id, s.language_id, s.keywords, s.country, s.allowed_sites, s.file_name, s.format FROM dw_cci_search AS s WHERE (s.post_id IS NOT NULL) AND (s.language_id = 1 ) AND (( (s.post_title LIKE \'{eccda6fda98088954956b5f9c0a8d34d3b76cf5da7361437c7de5ea1d8b0040d}hateful{eccda6fda98088954956b5f9c0a8d34d3b76cf5da7361437c7de5ea1d8b0040d}\' ) OR (s.keywords LIKE \'{eccda6fda98088954956b5f9c0a8d34d3b76cf5da7361437c7de5ea1d8b0040d}hateful{eccda6fda98088954956b5f9c0a8d34d3b76cf5da7361437c7de5ea1d8b0040d}\' ) ) OR ( (s.post_title LIKE \'{eccda6fda98088954956b5f9c0a8d34d3b76cf5da7361437c7de5ea1d8b0040d}\\"hateful\\"{eccda6fda98088954956b5f9c0a8d34d3b76cf5da7361437c7de5ea1d8b0040d}\' ) OR (s.keywords LIKE \'{eccda6fda98088954956b5f9c0a8d34d3b76cf5da7361437c7de5ea1d8b0040d}\\"hateful\\"{eccda6fda98088954956b5f9c0a8d34d3b76cf5da7361437c7de5ea1d8b0040d}\' ) )) ORDER BY s.pub_date DESC, s.image_id DESC LIMIT 20;'
'SELECT DISTINCT s.post_id, s.author_id, s.image_guid, s.image_id, s.artist_guid, s.artist_id, s.artist_slug, s.artist, s.post_title, s.pub_date, s.image_type_id as image_color_type_id, s.language_id, s.keywords, s.country, s.allowed_sites, s.file_name, s.format FROM dw_cci_search AS s WHERE (s.post_id IS NOT NULL) AND (s.language_id = 1 ) AND (( (s.post_title LIKE \'{eccda6fda98088954956b5f9c0a8d34d3b76cf5da7361437c7de5ea1d8b0040d}hateful{eccda6fda98088954956b5f9c0a8d34d3b76cf5da7361437c7de5ea1d8b0040d}\' ) OR (s.keywords LIKE \'{eccda6fda98088954956b5f9c0a8d34d3b76cf5da7361437c7de5ea1d8b0040d}hateful{eccda6fda98088954956b5f9c0a8d34d3b76cf5da7361437c7de5ea1d8b0040d}\' ) ) OR ( (s.post_title LIKE \'{eccda6fda98088954956b5f9c0a8d34d3b76cf5da7361437c7de5ea1d8b0040d}\\"hateful\\"{eccda6fda98088954956b5f9c0a8d34d3b76cf5da7361437c7de5ea1d8b0040d}\' ) OR (s.keywords LIKE \'{eccda6fda98088954956b5f9c0a8d34d3b76cf5da7361437c7de5ea1d8b0040d}\\"hateful\\"{eccda6fda98088954956b5f9c0a8d34d3b76cf5da7361437c7de5ea1d8b0040d}\' ) )) ORDER BY s.pub_date DESC, s.image_id DESC LIMIT 20;'
'SELECT DISTINCT COUNT(*) As Records FROM dw_cci_search AS s WHERE (s.post_id IS NOT NULL) AND (s.language_id = 1 ) AND (( (s.post_title LIKE \'{eccda6fda98088954956b5f9c0a8d34d3b76cf5da7361437c7de5ea1d8b0040d}hateful{eccda6fda98088954956b5f9c0a8d34d3b76cf5da7361437c7de5ea1d8b0040d}\' ) OR (s.keywords LIKE \'{eccda6fda98088954956b5f9c0a8d34d3b76cf5da7361437c7de5ea1d8b0040d}hateful{eccda6fda98088954956b5f9c0a8d34d3b76cf5da7361437c7de5ea1d8b0040d}\' ) ) OR ( (s.post_title LIKE \'{eccda6fda98088954956b5f9c0a8d34d3b76cf5da7361437c7de5ea1d8b0040d}\\"hateful\\"{eccda6fda98088954956b5f9c0a8d34d3b76cf5da7361437c7de5ea1d8b0040d}\' ) OR (s.keywords LIKE \'{eccda6fda98088954956b5f9c0a8d34d3b76cf5da7361437c7de5ea1d8b0040d}\\"hateful\\"{eccda6fda98088954956b5f9c0a8d34d3b76cf5da7361437c7de5ea1d8b0040d}\' ) ))'
'SELECT DISTINCT s.post_id, s.author_id, s.image_guid, s.image_id, s.artist_guid, s.artist_id, s.artist_slug, s.artist, s.post_title, s.pub_date, s.image_type_id as image_color_type_id, s.language_id, s.keywords, s.country, s.allowed_sites, s.file_name, s.format FROM dw_cci_search AS s WHERE (s.post_id IS NOT NULL) AND (s.language_id = 1 ) AND (( (s.post_title LIKE \'{eccda6fda98088954956b5f9c0a8d34d3b76cf5da7361437c7de5ea1d8b0040d}hateful{eccda6fda98088954956b5f9c0a8d34d3b76cf5da7361437c7de5ea1d8b0040d}\' ) OR (s.keywords LIKE \'{eccda6fda98088954956b5f9c0a8d34d3b76cf5da7361437c7de5ea1d8b0040d}hateful{eccda6fda98088954956b5f9c0a8d34d3b76cf5da7361437c7de5ea1d8b0040d}\' ) ) OR ( (s.post_title LIKE \'{eccda6fda98088954956b5f9c0a8d34d3b76cf5da7361437c7de5ea1d8b0040d}\\"hateful\\"{eccda6fda98088954956b5f9c0a8d34d3b76cf5da7361437c7de5ea1d8b0040d}\' ) OR (s.keywords LIKE \'{eccda6fda98088954956b5f9c0a8d34d3b76cf5da7361437c7de5ea1d8b0040d}\\"hateful\\"{eccda6fda98088954956b5f9c0a8d34d3b76cf5da7361437c7de5ea1d8b0040d}\' ) )) ORDER BY s.pub_date DESC, s.image_id DESC LIMIT 20;'