forked from vergnet/site-accueil-insa
Compare commits
No commits in common. "18a555e14aac6dd51420f6c6732d28a2929c46b1" and "8a2069a7ec71d9aee5eb7dbdd3358e6fe5e61346" have entirely different histories.
18a555e14a
...
8a2069a7ec
5 changed files with 14 additions and 55 deletions
|
|
@ -1,5 +1,13 @@
|
|||
body {
|
||||
text-align: center;
|
||||
section {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.box-jaune {
|
||||
position: absolute;
|
||||
z-index: 3;
|
||||
top: 0;
|
||||
left: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.iframe_amicale {
|
||||
|
|
|
|||
Binary file not shown.
|
Before Width: | Height: | Size: 55 KiB |
|
|
@ -2,15 +2,17 @@
|
|||
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">Chargement en cours ...<br><a href="https://amicale-insat.fr/clubs" target="_NEWWWWW" class="link_in_yellow_box">amicale-insat.fr/clubs</a></div>
|
||||
<div class="title"><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
10
error.php
|
|
@ -1,10 +0,0 @@
|
|||
<?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,52 +1,11 @@
|
|||
<?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>
|
||||
|
||||
|
||||
|
||||
<?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');
|
||||
}
|
||||
?>
|
||||
|
||||
<!-- pkpeach vs boomario il faudra changer $infopage avec pour pagetitle boomario ou pkpeach et le contenu selon un GET-->
|
||||
|
||||
|
||||
</main>
|
||||
|
|
|
|||
Loading…
Reference in a new issue