<?php

include_once './pages/PageInterface.inc.php';

/**
 * This class represents the static page containing the Google map
 * for the different places.
 *
 * @author Thomas Schwery <thomas.schwery@epfl.ch>
 */
class SituationPage implements PageInterface {

    private $content;

    public function __construct() {
        $this->content = <<<SITU
<div>
<h2>Terrain FITA</h2>
<div class="index_image_center">
<img src='./images/photo_fita.jpg' alt='Lolcat placeholder'>
</div>
<p class="index_text">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur sed metus
massa. Pellentesque ac lacinia enim. Suspendisse potenti.
</p>
<div class="index_text_no_indent">
Rte des champignons magiques 74 <br>
1930 Village Magique
</div>
<div class="index_text_no_indent">
Jeudi, 17h00-19h00 <br>
Semaines des 4 jeudis
</div>
<img src='./images/map_example.png' alt='Access map'>
</div>

<div>
<h2>Terrain Field</h2>
<div class="index_image_center">
<img src='./images/photo_field.jpg' alt='Lolcat placeholder'>
</div>
<p class="index_text">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur sed metus
massa. Pellentesque ac lacinia enim. Suspendisse potenti.
</p>
<div class="index_text_no_indent">
Rte des champignons magiques 74 <br>
1930 Village Magique
</div>
<div class="index_text_no_indent">
Jeudi, 17h00-19h00 <br>
Semaines des 4 jeudis
</div>
<img src='./images/map_example.png' alt='Access map'>
</div>

<div>
<h2>Salle</h2>
<div class="index_image_center">
<img src='./images/photo_salle.jpg' alt='Lolcat placeholder'>
</div>
<p class="index_text">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur sed metus
massa. Pellentesque ac lacinia enim. Suspendisse potenti.
</p>
<div class="index_text_no_indent">
Rte des champignons magiques 74 <br>
1930 Village Magique
</div>
<div class="index_text_no_indent">
Jeudi, 17h00-19h00 <br>
Semaines des 4 jeudis
</div>
<img src='./images/map_example.png' alt='Access map'>
</div>
SITU;
    }

    public function getContent() {
        return $this->content;
    }

    public function getTitle() {
        return Localization::situationMap;
    }

    public static function getStaticTitle() {
        return Localization::situationMap;
    }
}
?>
