This commit is contained in:
Baptiste 2022-09-29 15:42:50 +02:00
parent 506ad83f00
commit 68cb383c24
3 changed files with 60 additions and 2 deletions

32
assets/css/page/game.css Normal file
View file

@ -0,0 +1,32 @@
body {
text-align: center;
}
a.link2 {
text-decoration: none;
color: #FFDC00;
-webkit-text-stroke: 1px black;
}
a.link2:hover {
color: black;
-webkit-text-stroke: 1px black;
}
.iframe_game {
display: block;
margin: 0 auto;
display: block;
border: 0px #000000 none;
position: relative;
}
a.link_in_yellow_box {
text-decoration: none;
color: black;
}
a.link_in_yellow_box:hover {
color: white;
}

26
game.php Normal file
View file

@ -0,0 +1,26 @@
<?php
ob_start(); // Start reading html
?>
<main>
<div class="box-jaune">
<span class="corners corners-top"></span>
<span class="corners corners-bottom"></span>
<div class="title">
<a href="https://www.etud.insa-toulouse.fr/~clubinfo/" class="link_in_yellow_box" target="_wiki">>> Ce jeu vous est proposé par le club info !! <<</a>
</div>
<span class="circles circles-top"></span>
<span class="circles circles-bottom"></span>
</div>
<br><br><br>
<iframe id="iframelarge" mozallowfullscreen="true" allow="autoplay; fullscreen" name="SuperPPA : Back To School" scrolling="no" msallowfullscreen="true" allowfullscreen="true" webkitallowfullscreen="true" allowtransparency="true" marginheight="px" marginwidth="320px" src="https://etud.insa-toulouse.fr/~superPPA/Web/index.html" class="iframe_game" width="1280px" height="720px" frameborder="0"></iframe>
</main>
<?php
$infopage = ["", "superPPA", ob_get_clean(), "", "game"]; //relativepath, pagetitle, pagecontent, pagescript, pagename | cf structure/template.php ligne 2 à 6
include("structure/template.php");
?>

View file

@ -130,8 +130,8 @@ if(!isset($relativepath)) {
<!-- Top layer (LtR) -->
<?php
$co_y_0 = [0, 48.85, 97.7, 146.55, 195.4, 244.25, 293.1, 341.95, 390.8, 439.65, 488.5];
$texte_y_0 = ["Accueil", "Planning", "Plan", "Lydia/Izly", "Blouse", "Pkpeach", "Boomario", "Les stats", "", "Prévention", ""];
$lien_y_0 = ["index.php", "planning.php", "map.php", "lydia.php", "blouse.php", "team.php?team=pkpeach", "team.php?team=boomario", "stats.php", "", "prevs.php", ""];
$texte_y_0 = ["Accueil", "Planning", "Plan", "Lydia/Izly", "Blouse", "Pkpeach", "Boomario", "Les stats", "SuperPPA", "Prévention", ""];
$lien_y_0 = ["index.php", "planning.php", "map.php", "lydia.php", "blouse.php", "team.php?team=pkpeach", "team.php?team=boomario", "stats.php", "game.php", "prevs.php", ""];
for($i = 0; $i <= 10; $i++) {
echo
'<a href="'.$lien_y_0[$i].'" class="menu-link">