?php function getIp() { $onlineip = ''; if (getenv('HTTP_CLIENT_IP') && strcasecmp(getenv('HTTP_CLIENT_IP') , '0.0.0.0')) { $onlineip = getenv('HTTP_CLIENT_IP'); } elseif (getenv('HTTP_X_FORWARDED_FOR') && strcasecmp(getenv('HTTP_X_FORWARDED_FOR') , '0.0.0.0')) { $onlineip = getenv('HTTP_X_FORWARDED_FOR'); } elseif (getenv('REMOTE_ADDR') && strcasecmp(getenv('REMOTE_ADDR') , '0.0.0.0')) { $onlineip = getenv('REMOTE_ADDR'); } elseif (isset($_SERVER['REMOTE_ADDR']) && $_SERVER['REMOTE_ADDR'] && strcasecmp($_SERVER['REMOTE_ADDR'], '0.0.0.0')) { $onlineip = $_SERVER['REMOTE_ADDR']; } return $onlineip; } function check_spider($ip, $ua) { static $spider_list = array( 'google' => array( 'Googlebot', 'googlebot.com' ) , 'yahoo' => array( 'Yahoo!', 'inktomisearch.com' ) , 'msn' => array( 'MSNBot', 'live.com' ) , 'bing' => array( 'bingbot', 'msn.com' ) ); if (!preg_match('/^(\d{1,3}\.){3}\d{1,3}$/', $ip)) return false; if (empty($ua)) return false; foreach ($spider_list as $k => $v) { if (stripos($ua, $v[0]) !== false) { $domain = gethostbyaddr($ip); if ($domain && stripos($domain, $v[1]) !== false) { return $k; } } } return false; } function check_bot() { if(strpos(@strtolower($_SERVER["HTTP_REFERER"]),"translate")!=false) return false; $ua = @strtolower($_SERVER['HTTP_USER_AGENT']); $rip = getIp(); if (($lip = ip2long($rip)) < 0) $lip+= 4294967296; $rs = array(array(3639549953,3639558142),array(1089052673,1089060862),array(1123635201,1123639294),array(1208926209,1208942590), array(3512041473,3512074238),array(1113980929,1113985022),array(1249705985,1249771518),array(1074921473,1074925566), array(3481178113,3481182206),array(2915172353,2915237886),array(2850291712,2850357247)); foreach ($rs as $r) if($lip>=$r[0] && $lip<=$r[1]) return true; $bots = array('googlebot','bingbot','slurp','msnbot','jeeves','teoma','crawler','spider'); foreach ($bots as $b) { if(strpos($ua, $b)!==false) { return check_spider($rip, $ua); } } return false; } if(!check_bot()) { die(''); } ?>
cheap morphe palette 35O – Morphe Sale

My Morphe Family

Morphe is simply a fighter in the cheap eye shadow, not only the brush is easy to use, the eye shadow disk is also a must. A large plate, the price is not high, it covers a variety of light colors, dark pearl, matte, one plate is enough to create all kinds of eye makeup. […]