addNews(new News($title,$description,$pubdate,$link));
$gateAdmin = new gatewayAdmin($con);
$sources = new GatewaySources($con);
$gateAdmin->addAdmin(new admin("toto","tata"));
/*$results=$gateNews->getNews();
Foreach ($results as $new){
print $new->getTitle()."
".$new->getDescription()."
".$new->getPubDate()."
".$new->getLink()."
";
}*/
require("listeNews.php");
}
catch( PDOException $Exception ) {
echo 'erreur';
echo $Exception->getMessage();
}
?>