",$n); $tp = explode("<",$tp[1]); return $tp[0]; } function listtab($n) { global $sevenid; if (count($n) < 1) return; $n[0] =""; $n = implode("",$n); $patterns =array( "/detail\.aspx\?companyid=(\d+)&scheduleid=\d+/i", "/\([1-9]+<\/span>/i", "/bgColor=#?\w{6}/i", "/class=green/i", "/background-color: #FF0000/i", "/aspx/i", "/'Search/i" ); $replacements = array("odds_ju_new.php?sid=".$sevenid."&cid=\\1", "<", "", "", "style='color:#ff6600;'", "background-color: #ff6600", "php", "'history/Search" ); //echo "/".$match->teamtwoname."/" . $team2->big5name; //http://scripts.sportscn.com/odds/odds_ju2011.php?mid=956524&cid=1&sid=1 //http://scripts1.sportscn.com:8080/odds/3in1odds.php?companyid=1&id=956524 echo preg_replace($patterns, $replacements,''.str_replace("Odd","odd",$n).""); } //$filename = "http://vip.bet007.com/AsianOdds_n.aspx?id=".$sevenid; //$filename = "http://bf.nowscore.com/odds/match.aspx?id=".$sevenid; $filename = "http://score.nowscore.com/odds/match.aspx?id=".$sevenid; $buffer = openfile($filename); //$buffer = iconv("UTF-8","GBK",$buffer); if ($sevenid>0){ $title = ""; preg_match_all('/

(.+?)  (.+?)   VS   (.+?)<\/h3><\/div>/',$buffer,$title,PREG_SET_ORDER); } $asialists = ""; preg_match_all("/(.*?<\/td>)(.*?<\/td>)(.*?<\/td>)(.*?<\/td>)(.*?<\/td>)(.*?<\/td>)(.*?<\/td>).*?<\/td>.*?<\/td>.*?<\/td>.*?<\/td>.*?<\/td>.*?<\/td>.*?<\/td>.*?<\/td>.*?<\/td>.*?<\/td>.*?<\/td>.*?<\/td>(.*?<\/td>)(.*?)<\/tr>/i",$buffer,$asialists,PREG_SET_ORDER); ?> 比分直播_足球比分_足球赔率亚盘_<?=$title[0][2]?> vs <?=$title[0][3]?>_bet365体育在线_<?=date("Y年n月j日")?>_华体即时比分直播频道