<?php
Define (' Sina_sae ', ' 0 '); Whether to enable Sina SAE platform 1 for use 0 is not used
$ayurl = "http://2012.titan24.com/medal.html";
$content =fcontents ($ayurl);
Preg_match_all (' <div class= "box Bdr1" > (. *) </table>isu ', $content, $table);
Echo '
<meta http-equiv= "Content-type" content= "text/html; charset=gb2312 "/>
<title> Olympic medal list-2012 London Olympics-the same poverty forum </title>
<meta name= "description" content= "with the poor forum to provide the latest, most accurate, most professional, most authoritative 2012 London Olympic medals list." "/>
<meta name= "keywords" content= "2012 London Olympic Games, medal standings, gold medal standings, Sino-US hegemony, same-poor forum"/>
<style>
. 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;te Xt-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;}
</style> '. $table [1][0]. ' </table>
<div align= "center" ><a href= "http://www.php100.com" >php100 forum </a></div>
';
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;
}?>