2012 London Olympic medal list code

Source: Internet
Author: User
<?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;
}?>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.