Accueil/blogs.php
Chouchen fdc7719815 Amélioration des scripts AJAX et des styles
Ajout de la fonctionnalité "changement d'options" pour la clockAdvanced
2010-09-20 14:39:08 +00:00

12 lines
342 B
PHP

<?
require('blogs_last_post.php');
$opts = array(CURLOPT_RETURNTRANSFER => true, CURLOPT_FOLLOWLOCATION => true, CURLOPT_TIMEOUT => 10, CURLOPT_CONNECTTIMEOUT => 10);
$blogs = new Blogs_last_post();
foreach($blogs->getLinks() as $link)
{
$blogs->addSession($link['url'], $opts);
}
echo $blogs->getEverything();
$blogs->clear();