",'',$str); //鍒犻櫎鍘熷簳閮↗S $str=str_replace('',"",$str); //澧炲姞搴曢儴JS $str=str_replace("",'
',$str); //鍒犻櫎鎼滅储鏍? $st=stripos($str,"new_date_me"); $end=stripos($str,"TeamOrPlayer"); $del=substr($str,$st+13,$end-$st+16); $str=str_replace($del,"",$str); //鏇存敼sea鏁版嵁JS鏂囦欢鏍煎紡 $st=stripos($str,"Season/sea"); $jsstr=substr($str,$st,25); $jsrep=str_replace(".js","",$jsstr); $str=str_replace($jsstr,$jsrep,$str); $str=str_replace("Season/sea","Season/index.aspx?name=sea",$str); if(stripos($str,"playerTech/") !== false){ //PlayerTechNor鏁版嵁鏂囦欢鏍煎紡 $st=stripos($str,"playerTech/"); $end=stripos($str,"?version"); $need=substr($str,$st+11,$end-$st-14); $get=explode("/",$need); //$names=explode("_",$get[1]); $substr=substr($str,$st+11,$end-$st-10); $str=str_replace($substr,"index.aspx?sea=".$get[0]."&name=".$get[1]."&",$str); }else{ $str=str_replace(".js?","&",$str); $str=str_replace("/teamInfo/","/teamInfo/index.aspx?name=",$str); } echo $str; ?>