WordPress database error: [Server shutdown in progress]
SELECT meta_value FROM crig_mail_bank_meta WHERE meta_key IN('settings','email_configuration')


Notice: Undefined offset: 0 in /home/crigroup/public_html/wp-content/plugins/wp-mail-bank/wp-mail-bank.php on line 520

WordPress database error: [Lost connection to MySQL server during query]
SELECT meta_value FROM crig_mail_bank_meta WHERE meta_key='email_configuration'

WordPress database error: [Lost connection to MySQL server during query]
SELECT meta_value FROM crig_mail_bank_meta WHERE meta_key='settings'

WordPress database error: [Lost connection to MySQL server during query]
SHOW FULL COLUMNS FROM `crig_wflivetraffichuman`

WordPress database error: [Lost connection to MySQL server during query]
SHOW FULL COLUMNS FROM `crig_wflivetraffichuman`

WordPress database error: [Lost connection to MySQL server during query]
SELECT option_value FROM crig_options WHERE option_name = '_transient_timeout_doing_cron' LIMIT 1

WordPress database error: [Lost connection to MySQL server during query]
SELECT option_value FROM crig_options WHERE option_name = '_transient_doing_cron' LIMIT 1

WordPress database error: [Lost connection to MySQL server during query]
INSERT INTO `crig_options` (`option_name`, `option_value`, `autoload`) VALUES ('_transient_doing_cron', '1714452821.2950429916381835937500', 'yes') ON DUPLICATE KEY UPDATE `option_name` = VALUES(`option_name`), `option_value` = VALUES(`option_value`), `autoload` = VALUES(`autoload`)

WordPress database error: [Lost connection to MySQL server during query]
SELECT ID, post_name, post_parent, post_type FROM crig_posts WHERE post_name IN ('azovmashinvest-holding-ltd-in-liquidation-provisional-liquidators-preliminary-report-to-court-24-april-2017') AND post_type IN ('page','attachment')

WordPress database error: [Lost connection to MySQL server during query]
SELECT post_type, post_name FROM crig_posts p LEFT JOIN crig_icl_translations wpml_translations ON wpml_translations.element_id = p.ID AND CONCAT('post_', p.post_type) = wpml_translations.element_type AND p.post_type IN ('post','page','attachment','wp_block','wp_template','team','properties','publications','wpcf7_contact_form' ) WHERE post_name = 'azovmashinvest-holding-ltd-in-liquidation-provisional-liquidators-preliminary-report-to-court-24-april-2017' AND post_type IN ('post', 'page', 'attachment', 'team', 'properties', 'publications', 'news') AND ( post_status = 'publish' OR ( post_type = 'attachment' AND post_status = 'inherit' ) ) ORDER BY post_type = 'page' ASC, CASE wpml_translations.language_code WHEN 'en' THEN 4 WHEN 'el' THEN 2 WHEN 'ru' THEN 1 ELSE 0 END DESC , CASE p.post_type WHEN 'page' THEN 2 WHEN 'post' THEN 1 ELSE 0 END DESC LIMIT 1

WordPress database error: [Lost connection to MySQL server during query]
SELECT ID FROM crig_posts p JOIN crig_icl_translations wpml_translations ON p.ID = wpml_translations.element_id AND wpml_translations.element_type = CONCAT('post_', p.post_type ) WHERE p.post_type = 'page' AND p.post_name = 'azovmashinvest-holding-ltd-in-liquidation-provisional-liquidators-preliminary-report-to-court-24-april-2017' ORDER BY p.post_parent = 0 DESC

WordPress database error: [Lost connection to MySQL server during query]
SELECT post_type from crig_posts where ID=0

WordPress database error: [Lost connection to MySQL server during query]
SELECT post_type from crig_posts where ID=0

WordPress database error: [Lost connection to MySQL server during query]
SELECT crig_posts.* FROM crig_posts JOIN crig_icl_translations wpml_translations ON crig_posts.ID = wpml_translations.element_id AND wpml_translations.element_type = CONCAT('post_', crig_posts.post_type) WHERE 1=1 AND crig_posts.post_name = 'azovmashinvest-holding-ltd-in-liquidation-provisional-liquidators-preliminary-report-to-court-24-april-2017' AND crig_posts.post_type = 'post' AND ( ( ( wpml_translations.language_code = 'en' OR 0 ) AND crig_posts.post_type IN ('post','page','attachment','wp_block','wp_template','team','properties','publications','wpcf7_contact_form' ) ) OR crig_posts.post_type NOT IN ('post','page','attachment','wp_block','wp_template','team','properties','publications','wpcf7_contact_form' ) ) ORDER BY crig_posts.menu_order, crig_posts.post_date DESC

WordPress database error: [Lost connection to MySQL server during query]
SELECT option_value FROM crig_options WHERE option_name = 'sticky_posts_en' LIMIT 1

WordPress database error: [Lost connection to MySQL server during query]
SELECT post_id FROM crig_postmeta, crig_posts WHERE ID = post_id AND post_type = 'post' AND meta_key = '_wp_old_slug' AND meta_value = 'azovmashinvest-holding-ltd-in-liquidation-provisional-liquidators-preliminary-report-to-court-24-april-2017'

WordPress database error: [Lost connection to MySQL server during query]
SELECT ID FROM crig_posts WHERE post_name LIKE 'azovmashinvest-holding-ltd-in-liquidation-provisional-liquidators-preliminary-report-to-court-24-april-2017%' AND post_type IN ('post', 'page', 'attachment', 'team', 'properties', 'publications', 'news') AND post_status = 'publish'

WordPress database error: [Lost connection to MySQL server during query]
SELECT element_id, language_code FROM crig_icl_translations WHERE trid = (SELECT trid FROM crig_icl_translations WHERE element_type = 'post_page' AND element_id = (SELECT option_value FROM crig_options WHERE option_name='page_on_front' LIMIT 1))

WordPress database error: [Lost connection to MySQL server during query]
SHOW FULL COLUMNS FROM `crig_wflivetraffichuman`

WordPress database error: [Lost connection to MySQL server during query]
SHOW FULL COLUMNS FROM `crig_wflivetraffichuman`

WordPress database error: [Lost connection to MySQL server during query]
SELECT t.*, tt.* FROM crig_terms AS t INNER JOIN crig_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy IN ('wp_theme') AND t.name IN ('crigroup')

WordPress database error: [Lost connection to MySQL server during query]
SELECT crig_posts.* FROM crig_posts JOIN crig_icl_translations wpml_translations ON crig_posts.ID = wpml_translations.element_id AND wpml_translations.element_type = CONCAT('post_', crig_posts.post_type) WHERE 1=1 AND crig_posts.post_name IN ('404') AND ( 0 = 1 ) AND crig_posts.post_type = 'wp_template' AND ((crig_posts.post_status = 'publish')) AND ( ( ( wpml_translations.language_code = 'en' OR 0 ) AND crig_posts.post_type IN ('post','page','attachment','wp_block','wp_template','team','properties','publications','wpcf7_contact_form' ) ) OR crig_posts.post_type NOT IN ('post','page','attachment','wp_block','wp_template','team','properties','publications','wpcf7_contact_form' ) ) GROUP BY crig_posts.ID ORDER BY crig_posts.menu_order, crig_posts.post_date DESC

WordPress database error: [Lost connection to MySQL server during query]
SELECT * FROM `crig_yoast_indexable` WHERE `object_type` = 'system-page' AND `object_sub_type` = '404' LIMIT 1

WordPress database error: [Lost connection to MySQL server during query]
SELECT * FROM `crig_yoast_indexable` WHERE `object_type` = 'system-page' AND `object_sub_type` = '404' LIMIT 1

WordPress database error: [Lost connection to MySQL server during query]
INSERT INTO `crig_yoast_indexable` (`object_type`, `object_sub_type`, `title`, `is_robots_noindex`, `blog_id`, `breadcrumb_title`, `created_at`, `updated_at`) VALUES ('system-page', '404', 'Page not found %%sep%% %%sitename%%', '1', '1', 'Error 404: Page not found', '2024-04-30 04:53:41', '2024-04-30 04:53:41')

WordPress database error: [Lost connection to MySQL server during query]
SELECT id FROM crig_icl_strings WHERE BINARY value='CRI Group' AND context='WP' AND name = 'Blog Title' LIMIT 1

WordPress database error: [Lost connection to MySQL server during query]
SELECT value, language FROM crig_icl_strings WHERE id=0

Page not found - CRI Group

WordPress database error: [Lost connection to MySQL server during query]
SELECT * FROM `crig_yoast_indexable` WHERE `object_type` = 'home-page' LIMIT 1

WordPress database error: [Lost connection to MySQL server during query]
SELECT * FROM `crig_yoast_indexable` WHERE `object_type` = 'home-page' LIMIT 1

WordPress database error: [Lost connection to MySQL server during query]
SELECT id FROM crig_icl_strings WHERE BINARY value='' AND context='WP' AND name = 'Tagline' LIMIT 1

WordPress database error: [Lost connection to MySQL server during query]
SELECT value, language FROM crig_icl_strings WHERE id=0

WordPress database error: [Lost connection to MySQL server during query]
INSERT INTO `crig_yoast_indexable` (`object_type`, `title`, `breadcrumb_title`, `permalink`, `blog_id`, `description`, `is_robots_noindex`, `open_graph_title`, `open_graph_image`, `open_graph_image_id`, `open_graph_description`, `open_graph_image_source`, `open_graph_image_meta`, `permalink_hash`, `created_at`, `updated_at`) VALUES ('home-page', '%%sitename%% %%page%% %%sep%% %%sitedesc%%', 'Home', 'https://www.crigroup.com.cy/', '1', '', '0', '%%sitename%%', '', '0', '', NULL, NULL, '28:d24456105bbf2bcc69be78b3c8b931d7', '2024-04-30 04:53:41', '2024-04-30 04:53:41')

WordPress database error: [Lost connection to MySQL server during query]
SELECT * FROM crig_posts WHERE ID = 26287 LIMIT 1

WordPress database error: [Lost connection to MySQL server during query]
SELECT post_type, post_name FROM crig_posts p LEFT JOIN crig_icl_translations wpml_translations ON wpml_translations.element_id = p.ID AND CONCAT('post_', p.post_type) = wpml_translations.element_type AND p.post_type IN ('post','page','attachment','wp_block','wp_template','team','properties','publications','wpcf7_contact_form' ) WHERE post_name = 'crigroup' AND post_type IN ('custom_css') AND ( post_status = 'publish' OR ( post_type = 'attachment' AND post_status = 'inherit' ) ) ORDER BY post_type = 'page' ASC, CASE wpml_translations.language_code WHEN 'en' THEN 4 WHEN 'el' THEN 2 WHEN 'ru' THEN 1 ELSE 0 END DESC , CASE p.post_type WHEN 'page' THEN 2 WHEN 'post' THEN 1 ELSE 0 END DESC LIMIT 1

WordPress database error: [Lost connection to MySQL server during query]
SELECT ID FROM crig_posts p WHERE p.post_type = 'custom_css' AND p.post_name = 'crigroup' ORDER BY p.post_parent = 0 DESC

WordPress database error: [Lost connection to MySQL server during query]
SELECT crig_posts.* FROM crig_posts WHERE 1=1 AND crig_posts.post_name = 'crigroup' AND crig_posts.post_type = 'custom_css' AND ((crig_posts.post_status = 'publish' OR crig_posts.post_status = 'future' OR crig_posts.post_status = 'draft' OR crig_posts.post_status = 'pending' OR crig_posts.post_status = 'trash' OR crig_posts.post_status = 'auto-draft' OR crig_posts.post_status = 'inherit' OR crig_posts.post_status = 'request-pending' OR crig_posts.post_status = 'request-confirmed' OR crig_posts.post_status = 'request-failed' OR crig_posts.post_status = 'request-completed' OR crig_posts.post_status = 'private')) ORDER BY crig_posts.menu_order, crig_posts.post_date DESC

WordPress database error: [Lost connection to MySQL server during query]
SELECT wpml_translations.element_id, tax.term_id, tax.taxonomy FROM crig_icl_translations wpml_translations JOIN crig_term_taxonomy tax ON wpml_translations.element_id = tax.term_taxonomy_id AND wpml_translations.element_type = CONCAT('tax_', tax.taxonomy) JOIN crig_terms terms ON terms.term_id = tax.term_id WHERE tax.term_id != tax.term_taxonomy_id

WordPress database error: [Lost connection to MySQL server during query]
SELECT wpml_translations.translation_id, wpml_translations.element_id, wpml_translations.language_code, wpml_translations.source_language_code, wpml_translations.trid, wpml_translations.element_type FROM crig_icl_translations wpml_translations JOIN crig_term_taxonomy tax ON wpml_translations.element_id = tax.term_taxonomy_id AND wpml_translations.element_type = CONCAT('tax_', tax.taxonomy) JOIN crig_icl_translations tridt ON tridt.element_type = wpml_translations.element_type AND tridt.trid = wpml_translations.trid WHERE tridt.trid = (SELECT trid FROM crig_icl_translations wpml_translations JOIN crig_term_taxonomy tax ON wpml_translations.element_id = tax.term_taxonomy_id AND wpml_translations.element_type = CONCAT('tax_', tax.taxonomy) WHERE element_id = 2 LIMIT 1)

WordPress database error: [Lost connection to MySQL server during query]
SELECT wpml_translations.translation_id, wpml_translations.element_id, wpml_translations.language_code, wpml_translations.source_language_code, wpml_translations.trid, wpml_translations.element_type FROM crig_icl_translations wpml_translations JOIN crig_term_taxonomy tax ON wpml_translations.element_id = tax.term_taxonomy_id AND wpml_translations.element_type = CONCAT('tax_', tax.taxonomy) JOIN crig_icl_translations tridt ON tridt.element_type = wpml_translations.element_type AND tridt.trid = wpml_translations.trid WHERE tridt.trid = (SELECT trid FROM crig_icl_translations wpml_translations JOIN crig_term_taxonomy tax ON wpml_translations.element_id = tax.term_taxonomy_id AND wpml_translations.element_type = CONCAT('tax_', tax.taxonomy) WHERE element_id = 3 LIMIT 1)

WordPress database error: [Lost connection to MySQL server during query]
SELECT wpml_translations.translation_id, wpml_translations.element_id, wpml_translations.language_code, wpml_translations.source_language_code, wpml_translations.trid, wpml_translations.element_type FROM crig_icl_translations wpml_translations JOIN crig_term_taxonomy tax ON wpml_translations.element_id = tax.term_taxonomy_id AND wpml_translations.element_type = CONCAT('tax_', tax.taxonomy) JOIN crig_icl_translations tridt ON tridt.element_type = wpml_translations.element_type AND tridt.trid = wpml_translations.trid WHERE tridt.trid = (SELECT trid FROM crig_icl_translations wpml_translations JOIN crig_term_taxonomy tax ON wpml_translations.element_id = tax.term_taxonomy_id AND wpml_translations.element_type = CONCAT('tax_', tax.taxonomy) WHERE element_id = 4 LIMIT 1)

WordPress database error: [Lost connection to MySQL server during query]
SELECT wpml_translations.translation_id, wpml_translations.element_id, wpml_translations.language_code, wpml_translations.source_language_code, wpml_translations.trid, wpml_translations.element_type FROM crig_icl_translations wpml_translations JOIN crig_term_taxonomy tax ON wpml_translations.element_id = tax.term_taxonomy_id AND wpml_translations.element_type = CONCAT('tax_', tax.taxonomy) JOIN crig_icl_translations tridt ON tridt.element_type = wpml_translations.element_type AND tridt.trid = wpml_translations.trid WHERE tridt.trid = (SELECT trid FROM crig_icl_translations wpml_translations JOIN crig_term_taxonomy tax ON wpml_translations.element_id = tax.term_taxonomy_id AND wpml_translations.element_type = CONCAT('tax_', tax.taxonomy) WHERE element_id = 8 LIMIT 1)

WordPress database error: [Lost connection to MySQL server during query]
SELECT wpml_translations.translation_id, wpml_translations.element_id, wpml_translations.language_code, wpml_translations.source_language_code, wpml_translations.trid, wpml_translations.element_type FROM crig_icl_translations wpml_translations JOIN crig_term_taxonomy tax ON wpml_translations.element_id = tax.term_taxonomy_id AND wpml_translations.element_type = CONCAT('tax_', tax.taxonomy) JOIN crig_icl_translations tridt ON tridt.element_type = wpml_translations.element_type AND tridt.trid = wpml_translations.trid WHERE tridt.trid = (SELECT trid FROM crig_icl_translations wpml_translations JOIN crig_term_taxonomy tax ON wpml_translations.element_id = tax.term_taxonomy_id AND wpml_translations.element_type = CONCAT('tax_', tax.taxonomy) WHERE element_id = 14 LIMIT 1)

WordPress database error: [Lost connection to MySQL server during query]
SELECT wpml_translations.translation_id, wpml_translations.element_id, wpml_translations.language_code, wpml_translations.source_language_code, wpml_translations.trid, wpml_translations.element_type FROM crig_icl_translations wpml_translations JOIN crig_term_taxonomy tax ON wpml_translations.element_id = tax.term_taxonomy_id AND wpml_translations.element_type = CONCAT('tax_', tax.taxonomy) JOIN crig_icl_translations tridt ON tridt.element_type = wpml_translations.element_type AND tridt.trid = wpml_translations.trid WHERE tridt.trid = (SELECT trid FROM crig_icl_translations wpml_translations JOIN crig_term_taxonomy tax ON wpml_translations.element_id = tax.term_taxonomy_id AND wpml_translations.element_type = CONCAT('tax_', tax.taxonomy) WHERE element_id = 15 LIMIT 1)

WordPress database error: [Lost connection to MySQL server during query]
SELECT wpml_translations.translation_id, wpml_translations.element_id, wpml_translations.language_code, wpml_translations.source_language_code, wpml_translations.trid, wpml_translations.element_type FROM crig_icl_translations wpml_translations JOIN crig_term_taxonomy tax ON wpml_translations.element_id = tax.term_taxonomy_id AND wpml_translations.element_type = CONCAT('tax_', tax.taxonomy) JOIN crig_icl_translations tridt ON tridt.element_type = wpml_translations.element_type AND tridt.trid = wpml_translations.trid WHERE tridt.trid = (SELECT trid FROM crig_icl_translations wpml_translations JOIN crig_term_taxonomy tax ON wpml_translations.element_id = tax.term_taxonomy_id AND wpml_translations.element_type = CONCAT('tax_', tax.taxonomy) WHERE element_id = 23 LIMIT 1)

WordPress database error: [Lost connection to MySQL server during query]
SELECT wpml_translations.translation_id, wpml_translations.element_id, wpml_translations.language_code, wpml_translations.source_language_code, wpml_translations.trid, wpml_translations.element_type FROM crig_icl_translations wpml_translations JOIN crig_term_taxonomy tax ON wpml_translations.element_id = tax.term_taxonomy_id AND wpml_translations.element_type = CONCAT('tax_', tax.taxonomy) JOIN crig_icl_translations tridt ON tridt.element_type = wpml_translations.element_type AND tridt.trid = wpml_translations.trid WHERE tridt.trid = (SELECT trid FROM crig_icl_translations wpml_translations JOIN crig_term_taxonomy tax ON wpml_translations.element_id = tax.term_taxonomy_id AND wpml_translations.element_type = CONCAT('tax_', tax.taxonomy) WHERE element_id = 22 LIMIT 1)

WordPress database error: [Lost connection to MySQL server during query]
UPDATE `crig_options` SET `option_value` = 'a:7:{i:0;b:0;s:18:\"nav_menu_locations\";a:9:{s:6:\"header\";i:2;s:6:\"footer\";i:3;s:7:\"service\";i:4;s:4:\"blog\";i:8;s:4:\"team\";i:14;s:10:\"properties\";i:15;s:18:\"corporate-services\";i:4;s:15:\"others-services\";i:23;s:17:\"personal-services\";i:22;}s:18:\"custom_css_post_id\";i:-1;s:12:\"cri_linkedin\";s:55:\"https://www.linkedin.com/company/cri-group-ltd?trk=tyah\";s:13:\"cri_instagram\";s:29:\"https://twitter.com/CRI_Group\";s:11:\"cri_twitter\";s:29:\"https://twitter.com/CRI_Group\";s:12:\"cri_facebook\";s:37:\"https://www.facebook.com/CriGroupLtd/\";}' WHERE `option_name` = 'theme_mods_crigroup'

WordPress database error: [Lost connection to MySQL server during query]
SELECT option_value FROM crig_options WHERE option_name = 'site_logo' LIMIT 1

class="error404">

404 Not Found

Sorry, the requested page may have been moved or deleted.

WordPress database error: [Lost connection to MySQL server during query]
SELECT *, CASE WHEN `type` = 3 THEN 0 WHEN `type` = 4 THEN 1 WHEN `type` = 7 THEN 2 WHEN `type` = 6 THEN 3 WHEN `type` = 5 THEN 4 WHEN `type` = 9 THEN 5 WHEN `type` = 8 THEN 6 WHEN `type` = 2 THEN 7 WHEN `type` = 1 THEN 8 ELSE 9999 END AS `typeSort`, CASE WHEN `type` = 3 THEN `parameters` WHEN `type` = 4 THEN `parameters` WHEN `type` = 1 THEN `IP` WHEN `type` = 9 THEN `IP` WHEN `type` = 5 THEN `IP` WHEN `type` = 6 THEN `IP` WHEN `type` = 7 THEN `IP` WHEN `type` = 2 THEN `IP` WHEN `type` = 8 THEN `IP` ELSE 9999 END AS `detailSort` FROM `crig_wfblocks7` WHERE `type` IN (4) AND (`expiration` = 0 OR `expiration` > UNIX_TIMESTAMP()) ORDER BY `typeSort` ASC, `id` DESC

WordPress database error: [Lost connection to MySQL server during query]
SELECT *, CASE WHEN `type` = 3 THEN 0 WHEN `type` = 4 THEN 1 WHEN `type` = 7 THEN 2 WHEN `type` = 6 THEN 3 WHEN `type` = 5 THEN 4 WHEN `type` = 9 THEN 5 WHEN `type` = 8 THEN 6 WHEN `type` = 2 THEN 7 WHEN `type` = 1 THEN 8 ELSE 9999 END AS `typeSort`, CASE WHEN `type` = 3 THEN `parameters` WHEN `type` = 4 THEN `parameters` WHEN `type` = 1 THEN `IP` WHEN `type` = 9 THEN `IP` WHEN `type` = 5 THEN `IP` WHEN `type` = 6 THEN `IP` WHEN `type` = 7 THEN `IP` WHEN `type` = 2 THEN `IP` WHEN `type` = 8 THEN `IP` ELSE 9999 END AS `detailSort` FROM `crig_wfblocks7` WHERE `type` IN (3) AND (`expiration` = 0 OR `expiration` > UNIX_TIMESTAMP()) ORDER BY `typeSort` ASC, `id` DESC

WordPress database error: [Lost connection to MySQL server during query]
SELECT *, CASE WHEN `type` = 3 THEN 0 WHEN `type` = 4 THEN 1 WHEN `type` = 7 THEN 2 WHEN `type` = 6 THEN 3 WHEN `type` = 5 THEN 4 WHEN `type` = 9 THEN 5 WHEN `type` = 8 THEN 6 WHEN `type` = 2 THEN 7 WHEN `type` = 1 THEN 8 ELSE 9999 END AS `typeSort`, CASE WHEN `type` = 3 THEN `parameters` WHEN `type` = 4 THEN `parameters` WHEN `type` = 1 THEN `IP` WHEN `type` = 9 THEN `IP` WHEN `type` = 5 THEN `IP` WHEN `type` = 6 THEN `IP` WHEN `type` = 7 THEN `IP` WHEN `type` = 2 THEN `IP` WHEN `type` = 8 THEN `IP` ELSE 9999 END AS `detailSort` FROM `crig_wfblocks7` WHERE `type` IN (1, 8, 9, 2, 5, 6) AND (`expiration` = 0 OR `expiration` > UNIX_TIMESTAMP()) ORDER BY `typeSort` ASC, `id` DESC

WordPress database error: [Lost connection to MySQL server during query]
SELECT *, CASE WHEN `type` = 3 THEN 0 WHEN `type` = 4 THEN 1 WHEN `type` = 7 THEN 2 WHEN `type` = 6 THEN 3 WHEN `type` = 5 THEN 4 WHEN `type` = 9 THEN 5 WHEN `type` = 8 THEN 6 WHEN `type` = 2 THEN 7 WHEN `type` = 1 THEN 8 ELSE 9999 END AS `typeSort`, CASE WHEN `type` = 3 THEN `parameters` WHEN `type` = 4 THEN `parameters` WHEN `type` = 1 THEN `IP` WHEN `type` = 9 THEN `IP` WHEN `type` = 5 THEN `IP` WHEN `type` = 6 THEN `IP` WHEN `type` = 7 THEN `IP` WHEN `type` = 2 THEN `IP` WHEN `type` = 8 THEN `IP` ELSE 9999 END AS `detailSort` FROM `crig_wfblocks7` WHERE `type` IN (7) AND (`expiration` = 0 OR `expiration` > UNIX_TIMESTAMP()) ORDER BY `typeSort` ASC, `id` DESC