Last active
October 16, 2017 08:21
-
-
Save saraclima/d7baa3e1b04b82cf6ec0e471b8ea45b9 to your computer and use it in GitHub Desktop.
Cornac
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Dans la peau d'un cornac</title> | |
</head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<body> | |
<?php | |
include "header.php"; | |
include "tableau.php"; | |
?> | |
<table> | |
<tr> | |
<th>Titre</th> | |
<th>Heure</th> | |
<th>Artiste</th> | |
<th>Image</th> | |
</tr> | |
<?php | |
$i=0; | |
while($i < count($spectacle)) { | |
echo "<tr>"; | |
echo "<td>"."Titre Spectacle".$spectacle[$i]["titre_spectacle"]."</td>"; | |
echo "<td>"."Heure".$spectacle[$i]["heure"]."</td>"; | |
echo "<td>"."Artiste".$spectacle[$i]["artiste"]."</td>"; | |
echo "<td><img src=".$spectacle[$i]["image_url"]."</td>"; | |
echo "</tr>"; | |
$i++; | |
} | |
?> | |
<footer> | |
<?php | |
include("footer.php"); | |
?> | |
</footer> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$spectacle[0]["titre_spectacle"] = "Ballet_Aérien_PourPlumes_Et_Trompette"; | |
$spectacle[0]["heure"]="10"; | |
$spectacle[0]["artiste"] = "Dumbo_&_the_renegade_clowns"; | |
$spectacle[0]["image_url"]="http://goo.gl/Vhe6ID"; | |
$spectacle[1]["titre_spectacle"]="Cirque_LOL"; | |
$spectacle[1]["heure"]="15"; | |
$spectacle[1]["artiste"]="Les_Clowns"; | |
$spectacle[1]["image_url"]="http://cdn.ebaumsworld.com/mediaFiles/picture/604025/85154200.jpg"; | |
$spectacle[2]["titre_spectacle"]="Crazy_Acros"; | |
$spectacle[2]["heure"]="17"; | |
$spectacle[2]["artiste"]="Ze_Acros"; | |
$spectacle[2]["image_url"]="https://www.cirquedusoleil.com/-/media/past-shows/assets/img/iris/slider/iris-act-kiriki.jpg"; | |
$spectacle[3]["titre_spectacle"]="Lambda_Show"; | |
$spectacle[3]["heure"]="20"; | |
$spectacle[3]["artiste"]="Helwas"; | |
$spectacle[3]["image_url"]="https://i.pinimg.com/736x/eb/fa/6e/ebfa6ee228d0d54c9649fb8920c13562--circus-performers-cirque.jpg"; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment