preg_match_all('|
(.*)|isU',$content,$table);
echo '
奥运奖牌榜-2012伦敦奥运会-同穷论坛
.time {height: 24px;padding: 10px;}
.fR {float: right;}.fL {float: left;}
table.ctab {font-family: Arial,Helvetica,sans-serif;width: 750px;}
table {border-collapse: collapse;border-spacing: 0;}
table.ctab th {background: none repeat scroll 0 0 #F1F3F4;color: #0C48A0;font-size: 14px;font-weight: bold;height: 28px;text-align: center;}
table.ctab td {color: #000000;font-size: 14px;height: 28px;line-height: 28px;text-align: center;}
table.ctab td.na, table.ctab th.na {padding-left: 16px;text-align: left;}
table.ctab td.red {color: #DD0000;}
table.ctab td.blue {color: #00509C;}
'.$table[1][0].'
';
function fcontents($a){//获取内容
if(SINA_SAE){
$f = new SaeFetchurl();
$content = $f->fetch($a);
if($f->errno() == 0) $r=$content;
else $r=$f->errmsg();
}else{$r=@file_get_contents($a);}
return $r;
}?>
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/27214157/viewspace-738802/
,如需转载,请注明出处,否则将追究法律责任。