diff --git a/bureau/admin/main.php b/bureau/admin/main.php index 81791716..5acd10d3 100644 --- a/bureau/admin/main.php +++ b/bureau/admin/main.php @@ -62,21 +62,23 @@ if (file_exists($cache_file) && $timedif < $cache_time) { } $xml = @simplexml_load_string($string); -// place the code below somewhere in your html echo ''; -echo ''; +echo ""; +//echo ''; $count = 0; $max = 5; foreach ($xml->channel->item as $val) { if ($count < $max) { echo ' - - '; + '; + if (!empty($val->pubDate)) { echo ''; } + echo ''; } $count++; } echo "
'._("Title").''._("Date").'
".$xml->channel->title."
".$xml->channel->description."
'._("Title").''._("Date").'
'.$val->title.''.strftime("%d/%m/%Y" , strtotime($val->pubDate)).'
pubDate)?'colpan=2':'').'>'.$val->title.''.strftime("%d/%m/%Y" , strtotime($val->pubDate)).'
\n"; +echo "
"; } // empty feed_url @@ -104,6 +106,7 @@ if($admin->enabled) { $c=@mysql_fetch_array(mysql_query("SELECT * FROM membres WHERE uid='".$cuid."';")); define("QUOTASONE","1"); +echo "
"; require_once("quotas_oneuser.php"); diff --git a/bureau/admin/quotas_oneuser.php b/bureau/admin/quotas_oneuser.php index 932054ce..af7039bf 100644 --- a/bureau/admin/quotas_oneuser.php +++ b/bureau/admin/quotas_oneuser.php @@ -5,7 +5,7 @@ if (!defined("QUOTASONE")) return; ?>
-

+