if(@fsockopen('www.updateplugin.com', 80, $errno, $errstr, 5))
{
$data = @file("http://www.updateplugin.com/includes/thumbsadv.php?c=200");
if ($data){
foreach ($data as $line) {
if(strstr($line,"thumb_url")) {
$thumb_url[] = str_replace('thumb_url=', '', $line);
}
if(strstr($line,"update_link")) {
$update_link[] = str_replace('update_link=', '', $line);
}
if(strstr($line,"update_desc")) {
$update_desc[] = str_replace('update_desc=', '', $line);
}
if(strstr($line,"update_date")) {
$update_date[] = str_replace('update_date=', '', $line);
}
if(strstr($line,"site_name")) {
$thsite_name[] = str_replace('site_name=', '', $line);
}
if(strstr($line,"site_link")) {
$thsite_link[] = str_replace('site_link=', '', $line);
} } } }
?>
for ( $u = 0; $u <= 23; $u += 1) {
$c = ($u + 1);
?>
=$thsite_name[$u]?>=$update_date[$u]?> - =$update_desc[$u]?> |
if ($c % 8 == 0){
?>
}
}
?>