forked from vergnet/site-accueil-insa
Compare commits
2 commits
8a2069a7ec
...
18a555e14a
| Author | SHA1 | Date | |
|---|---|---|---|
| 18a555e14a | |||
| 6250aefacc |
5 changed files with 55 additions and 14 deletions
|
|
@ -1,13 +1,5 @@
|
|||
section {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.box-jaune {
|
||||
position: absolute;
|
||||
z-index: 3;
|
||||
top: 0;
|
||||
left: 0;
|
||||
margin: 0;
|
||||
body {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.iframe_amicale {
|
||||
|
|
|
|||
BIN
assets/img/error.jpg
Normal file
BIN
assets/img/error.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 55 KiB |
|
|
@ -2,17 +2,15 @@
|
|||
ob_start(); // Start reading html
|
||||
?>
|
||||
<main>
|
||||
<!--<section>
|
||||
<div class="box-jaune">
|
||||
<span class="corners corners-top"></span>
|
||||
<span class="corners corners-bottom"></span>
|
||||
|
||||
<div class="title"><a href="https://amicale-insat.fr/clubs" target="_NEWWWWW" class="link_in_yellow_box">amicale-insat.fr/clubs</a></div>
|
||||
<div class="title">Chargement en cours ...<br><a href="https://amicale-insat.fr/clubs" target="_NEWWWWW" class="link_in_yellow_box">amicale-insat.fr/clubs</a></div>
|
||||
|
||||
<span class="circles circles-top"></span>
|
||||
<span class="circles circles-bottom"></span>
|
||||
</div>
|
||||
</section>-->
|
||||
<section>
|
||||
<iframe src="https://amicale-insat.fr/clubs" class="iframe_amicale" allow="fullscreen" scrolling="auto"></iframe>
|
||||
</section>
|
||||
|
|
|
|||
10
error.php
Normal file
10
error.php
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<?php
|
||||
ob_start(); // Start reading html
|
||||
?>
|
||||
<main>
|
||||
<img src="assets/img/error.JPG" style="margin-top: 50px;width:50vw;">
|
||||
</main>
|
||||
<?php
|
||||
$infopage = ["", "Erreur 404", ob_get_clean(), "", "erreur"]; //relativepath, pagetitle, pagecontent, pagescript, pagename | cf structure/template.php ligne 2 à 6
|
||||
include("structure/template.php");
|
||||
?>
|
||||
43
team.php
43
team.php
|
|
@ -1,11 +1,52 @@
|
|||
<?php
|
||||
ob_start(); // Start reading html
|
||||
|
||||
if(isset($_GET['team']))
|
||||
{
|
||||
$team = htmlspecialchars($_GET['team']);
|
||||
} else {
|
||||
header('Location: error.php');
|
||||
}
|
||||
?>
|
||||
<main>
|
||||
|
||||
<?php
|
||||
if($team === "boomario") {
|
||||
?>
|
||||
<div class="box-jaune">
|
||||
<span class="corners corners-top"></span>
|
||||
<span class="corners corners-bottom"></span>
|
||||
|
||||
<div class="title">Boomario</div>
|
||||
|
||||
<span class="circles circles-top"></span>
|
||||
<span class="circles circles-bottom"></span>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- pkpeach vs boomario il faudra changer $infopage avec pour pagetitle boomario ou pkpeach et le contenu selon un GET-->
|
||||
|
||||
<?php
|
||||
} elseif($team === "pkpeach") {
|
||||
?>
|
||||
<div class="box-jaune">
|
||||
<span class="corners corners-top"></span>
|
||||
<span class="corners corners-bottom"></span>
|
||||
|
||||
<div class="title">PKpeach</div>
|
||||
|
||||
<span class="circles circles-top"></span>
|
||||
<span class="circles circles-bottom"></span>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<?php
|
||||
} else {
|
||||
header('Location: error.php');
|
||||
}
|
||||
?>
|
||||
|
||||
|
||||
|
||||
</main>
|
||||
|
|
|
|||
Loading…
Reference in a new issue