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 '
'._("Title").' | '._("Date").' |
---|---|
".$xml->channel->title." ".$xml->channel->description." | |
'._("Title").' | '._("Date").' |
'.$val->title.' | '.strftime("%d/%m/%Y" , strtotime($val->pubDate)).' | -pubDate)?'colpan=2':'').'>'.$val->title.' | '; + if (!empty($val->pubDate)) { echo ''.strftime("%d/%m/%Y" , strtotime($val->pubDate)).' | '; } + echo ''; } $count++; } echo "
+