diff --git a/index.php b/index.php
index bdfed25..d666825 100644
--- a/index.php
+++ b/index.php
@@ -1,44 +1,41 @@
-
-
-
-
-addNews(new News($title,$description,$pubdate,$link));
- $gateAdmin = new gatewayAdmin($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");
-
+
+ addNews(new News($title,$description,$pubdate,$link));
+ $gateAdmin = new gatewayAdmin($con);
+
+ $gateAdmin->addAdmin(new admin("toto","tata"));
- }
- catch( PDOException $Exception ) {
- echo 'erreur';
- echo $Exception->getMessage();
- }
-?>
-
+ /*$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();
+ }
+ ?>
+
+
diff --git a/sources.php b/sources.php
index 59ae8a1..78482ab 100644
--- a/sources.php
+++ b/sources.php
@@ -1,7 +1,7 @@