if (!defined('WPO_VERSION')) die('No direct access allowed'); class WP_Optimization_repairtables extends WP_Optimization { public $available_for_auto = false; public $setting_default = true; public $changes_table_data = true; public $run_multisite = false; /** * Display or hide optimization in optimizations list. * * @return bool */ public function display_in_optimizations_list() { return false; } /** * Run optimization. */ public function optimize() { // check if single table name posted or optimize all tables. if (isset($this->data['optimization_table']) && '' != $this->data['optimization_table']) { $table = $this->optimizer->get_table($this->data['optimization_table']); $result = $this->repair_table($table); if ($result) { $wp_optimize = WP_Optimize(); $tablestatus = $wp_optimize->get_db_info()->get_table_status($table->Name, true); $is_optimizable = $wp_optimize->get_db_info()->is_table_optimizable($table->Name); $tableinfo = array( 'rows' => number_format_i18n($tablestatus->Rows), 'data_size' => $wp_optimize->format_size($tablestatus->Data_length), 'index_size' => $wp_optimize->format_size($tablestatus->Index_length), 'overhead' => $is_optimizable ? $wp_optimize->format_size($tablestatus->Data_free) : '-', 'type' => $table->Engine, 'is_optimizable' => $is_optimizable, ); $this->register_meta('tableinfo', $tableinfo); } $this->register_meta('success', $result); } else { $tables = $this->optimizer->get_tables(); $repaired = $corrupted = 0; foreach ($tables as $table) { if (false == $table->is_needing_repair) continue; if ($this->repair_table($table)) { $repaired++; } else { $corrupted++; } } $this->register_output(sprintf(_n('%s table repaired', '%s tables repaired', $repaired), $repaired)); if ($corrupted > 0) { $this->register_output(sprintf(_n('Repairing %s table was unsuccessful', 'Repairing %s tables were unsuccessful', $corrupted), $corrupted)); } } } /** * Repair table. * * @param object $table_obj object contains information about database table. * * @return bool */ private function repair_table($table_obj) { global $wpdb; $success = false; if (false == $table_obj->is_needing_repair) return true; $this->logger->info('REPAIR TABLE '.$table_obj->Name); $results = $wpdb->get_results('REPAIR TABLE '.$table_obj->Name); if (!empty($results)) { foreach ($results as $row) { if ('status' == strtolower($row->Msg_type) && 'ok' == strtolower($row->Msg_text)) { $success = true; } $this->logger->info($row->Msg_text); } } return $success; } /** * Register info about optimization. */ public function get_info() { $tablesinfo = $this->optimizer->get_tables(); $corrupted_tables = 0; if (!empty($tablesinfo)) { foreach ($tablesinfo as $tableinfo) { if ($tableinfo->is_needing_repair) { $corrupted_tables++; } } } if (0 == $corrupted_tables) { $this->register_output(__('No corrupted tables found', 'wp-optimize')); } else { $this->register_output(sprintf(_n('%s corrupted table found', '%s corrupted tables found', $corrupted_tables), $corrupted_tables)); } } /** * Returns settings label. * * @return string */ public function settings_label() { return __('Repair database tables', 'wp-optimize'); } } FLYTRAP - Pest Control Specialist Malaysia
FLYTRAP - Pest Control Specialist Malaysia
1357
product-template-default,single,single-product,postid-1357,woocommerce,woocommerce-page,woocommerce-no-js,ajax_fade,page_not_loaded,,qode_grid_1300,hide_top_bar_on_mobile_header,qode-content-sidebar-responsive,columns-4,qode-theme-ver-13.2,qode-theme-bridge,wpb-js-composer js-comp-ver-5.4.5,vc_responsive

FLYTRAP

RM600.00

36W ABS Glue Board Fly Killer , Eco-friendly With Full Size Glue Board For Restaurants

Description

The unit with durable translucent white & blue ABS housing, elegant and durable, no noise, no smell, no poison, the switch can be control whole appliance.

FREE delivery only for Klang Valley, Melaka and Negeri Sembilan

Description

Specifications

Model No. Coverage ( sqm ) Finish UV Tube Unit Size ( cm )
V30-36W 60 ABS white & blue PL  1×36w 46×11×24.2

Quick Details

  1. White ABS material and blue grille, a perfect match with the painted metal ground.
  2. Detachable power cable on the bottom-convenient for use.
  3. Open outer grille, easy for glue board and tube replacement, as well as light releasing.
  4. The special layout of outer grill stops insects from escaping easily and prevents people from seeing pest bodies on glue board.
  5. Translucent plastic grille enhances efficiency in attracting insects.

Applications

It is suitable for warehouse, food industries, hotels, restaurants, cafe shop, etc.

Why to choose Yongxin insect killer:V30-36W?

  1. Design: Fashionable and classic style by famous designer, suitable for commercial places.
  2. Pollution free: Physical way to kill the insects, does not contain poison or any harmful substance, fully protects health and environment
  3. Noise free: Trap pests on glue paper instead of zapping them by high tension. Pests are captured quiet.
  4. Safety: No electric shock or sparkling in operation
  5. Easy maintenance: Glue board has to replaced only once per month
  6. Can trap many kinds of insects, such as: mosquitoes, midges, moth, flies, house flies,bugs, etc..
  7. Lamp: UVA lamp made by FSL,one of the largest lighting factory of Asia.Working life can reach 5,000~8,000 hours
Reviews (0)

Reviews

There are no reviews yet.

Be the first to review “FLYTRAP”

Your email address will not be published. Required fields are marked *

Facebook
Watch Youtube
E-Store
WhatsApp chat