2012 London Olympics medal list code php WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB Original
2016-07-25 09:06:16 1565browse
2012 London Olympic Games medal list code php usage tutorial:
http://www.tongqiong.com/read.php?tid-94.html
define('SINA_SAE', '0'); //Whether to enable SINA SAE platform 1 means use 0 means not use $ayurl="http://2012.titan24.com/medal .html"; $content=fcontents($ayurl); preg_match_all('|(.*)
|isU',$content,$table);
echo '
< meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
Olympic medal list-2012 London Olympics-Same Poor Forum
.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){/ /Get content
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;
}?>
Tongqiong Forum www.tongqiong .com I wish the Chinese delegation good results!
Copy code
Statement: The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn