diff --git a/data/uploads/news_01.json b/data/uploads/news_01.json index f6aaae5071d6d3cee022aa14b79a841442306ade..f1f7f06ba0336888d57f6acc024e120ea92b5ab0 100644 --- a/data/uploads/news_01.json +++ b/data/uploads/news_01.json @@ -7,12 +7,12 @@ }, { "title":"NASA's Juno Mission Cheks Out Eclipse on Jupiter", - "imgurl":"../img/astronaut.jpg", + "imgurl":"../img/uploads/astronaut.jpg", "content":"All is well on our largest neighbor; NASA's Juno spacecraft just managed to spot the shadow of Jupiter's moon, Io, passing over its marbled clouds." }, { "title":"Europe Wants Ideas for Cave-Spelumking Moon Robots", - "imgurl":"../img/nasa_launch.jpg", + "imgurl":"../img/uploads/nasa_launch.jpg", "content":"As NASA makes a big push to land humans on the moon's surface by 2024, the European Space Agency (ESA) wants to learn more about the lunar caves that lie beneath." } ] diff --git a/data/uploads/news_03.json b/data/uploads/news_03.json new file mode 100644 index 0000000000000000000000000000000000000000..50c134463ffeb447ea31b86da38896b70661d676 --- /dev/null +++ b/data/uploads/news_03.json @@ -0,0 +1,9 @@ +{ + "news":[ + { + "title":"NASA Plane", + "imgurl":"../img/uploads/plane.jpg", + "content":"Wednesday, Sept. 7:(1 p.m. EDT), NASA TV" + } + ] +} \ No newline at end of file diff --git a/img/astronaut.jpg b/img/astronaut.jpg deleted file mode 100644 index a4515611f82fa11be991409a09a4fab21093ac1d..0000000000000000000000000000000000000000 Binary files a/img/astronaut.jpg and /dev/null differ diff --git a/img/uploads/plane.jpg b/img/uploads/plane.jpg new file mode 100644 index 0000000000000000000000000000000000000000..226479cafeff691d44cd69bf4686bc212c934502 Binary files /dev/null and b/img/uploads/plane.jpg differ diff --git a/php/Index.php b/php/Index.php index 2e2fc753f33cd587a45dcff172dc9c3fe180cc09..4bd030eecb1e12ff39421d8876113bd892514620 100644 --- a/php/Index.php +++ b/php/Index.php @@ -252,13 +252,6 @@ EOT; </div> </div> </article> - -EOT; - foreach ($this->news as $news) { - $this->createSmallContent($news); - } - - echo <<<EOT </main> </body> EOT;