2023-06-22 17:43:50 +02:00
|
|
|
|
|
|
|
<!--
|
|
|
|
|
|
|
|
_____ _ _ _____ _______ ____ _ _ _ ____ _ _ _____ ______
|
|
|
|
|_ _| \ | |/ ____| /\ |__ __/ __ \| | | | | / __ \| | | |/ ____| ____|
|
|
|
|
| | | \| | (___ / \ | | | | | | | | | | | | | | | | | (___ | |__
|
|
|
|
| | | . ` |\___ \ / /\ \ | | | | | | | | | | | | | | | | |\___ \| __|
|
|
|
|
_| |_| |\ |____) / ____ \ | | | |__| | |__| | |___| |__| | |__| |____) | |____
|
|
|
|
|_____|_| \_|_____/_/ \_\ |_| \____/ \____/|______\____/ \____/|_____/|______|
|
|
|
|
|
|
|
|
|
|
|
|
,-,
|
|
|
|
_.-=;~ /_
|
|
|
|
_-~ ' ;.
|
|
|
|
_.-~ ' .-~-~`-._
|
|
|
|
_.--~~:. --.____88
|
|
|
|
____.........--~~~. .' . . _..-------~~
|
|
|
|
_..--~~~~ .' .' ,'
|
|
|
|
_.-~ . . ` ,'
|
|
|
|
.' :. ./
|
|
|
|
.: ,/ ` ::. ,'
|
|
|
|
.:' ,( ;. ::. ,-'
|
|
|
|
.' ./'.`. . . /:::._______.... _/:.o/
|
|
|
|
/ ./'. . .) . _.,' `88;?88|
|
|
|
|
,' . .,/'._,-~ /_.o8P' 88P ?8b
|
|
|
|
_,'' . .,/',-~ d888P' 88' 88|
|
|
|
|
_.'~ . .,:oP' ?88b _..--- 88.--'8b.--..__
|
|
|
|
: ...' 88o __,------.88o ...__..._.=~- . `~~ `~~ ~-._ Seal _.
|
|
|
|
`.;;;:=' ~~ ~~~ ~- - - -
|
|
|
|
|
|
|
|
|
|
|
|
Avouez il est joli le renard :D
|
|
|
|
|
|
|
|
A>>B
|
|
|
|
|
|
|
|
Si vous voulez guetter un peu sous l'capot du site ça se passe sur
|
|
|
|
https://git.etud.insa-toulouse.fr/mougnibas/site-accueil-insa
|
|
|
|
|
|
|
|
-->
|
|
|
|
|
|
|
|
|
2020-09-19 16:08:07 +02:00
|
|
|
<?php
|
2022-01-19 22:26:58 +01:00
|
|
|
ob_start(); // Start reading html
|
2022-06-20 18:54:57 +02:00
|
|
|
|
|
|
|
include "assets/fonts/color.php";
|
2023-04-19 15:42:01 +02:00
|
|
|
include "assets/scripts/globals.php";
|
2020-09-19 16:08:07 +02:00
|
|
|
?>
|
2022-04-09 13:35:13 +02:00
|
|
|
<main>
|
2022-04-08 14:42:53 +02:00
|
|
|
|
2022-04-17 16:18:38 +02:00
|
|
|
|
2023-04-19 15:42:01 +02:00
|
|
|
|
|
|
|
|
2023-04-20 20:33:46 +02:00
|
|
|
<script>
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
Script du decompte avant la semaine d'accueil.
|
|
|
|
*/
|
|
|
|
|
|
|
|
// avis aux futurs devs, changez la date ici :)
|
2023-04-28 18:27:56 +02:00
|
|
|
var target_date = Math.floor(Date.parse("2023-09-15 00:00:00") /1000)
|
2023-04-20 20:33:46 +02:00
|
|
|
|
|
|
|
function set_timer(){
|
|
|
|
|
|
|
|
// recupere la date actuelle
|
|
|
|
var date_now = Math.floor(Date.now() / 1000);
|
|
|
|
|
|
|
|
// savants calculs à base de division de timestamps UNIX en secondes
|
|
|
|
var delta_seconds = target_date-date_now;
|
|
|
|
|
|
|
|
var delta_days = Math.floor(delta_seconds/(60*60*24));
|
|
|
|
var delta_hours = Math.floor((delta_seconds % (60*60*24)) /(60*60));
|
|
|
|
var delta_minutes = Math.floor((delta_seconds % (60*60))/60);
|
|
|
|
delta_seconds = delta_seconds % 60;
|
|
|
|
|
2023-04-28 18:27:56 +02:00
|
|
|
|
|
|
|
|
2023-04-20 20:33:46 +02:00
|
|
|
// on met tout dans le div du decompte
|
|
|
|
document.getElementById("decompte").innerText = "J - "
|
|
|
|
+delta_days+"j "
|
|
|
|
+delta_hours+"h "
|
|
|
|
+delta_minutes+"min "
|
|
|
|
+delta_seconds+"s";
|
|
|
|
|
2023-04-28 18:27:56 +02:00
|
|
|
|
|
|
|
|
2023-04-20 20:33:46 +02:00
|
|
|
// récursion chaque seconde
|
|
|
|
setTimeout(set_timer, 1000);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// assigne la fonction qui gère le timer au chargement de la page
|
|
|
|
window.onload = set_timer;
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<div id="decompte">
|
2023-04-19 15:42:01 +02:00
|
|
|
|
|
|
|
</div>
|
2023-04-16 14:58:05 +02:00
|
|
|
|
|
|
|
|
2023-04-22 18:47:14 +02:00
|
|
|
<div class="zone_txt">
|
2023-01-24 18:02:07 +01:00
|
|
|
<p>
|
2023-04-22 17:48:36 +02:00
|
|
|
Bienvenue à l'<font color="red">INSA Toulouse</font> jeune gaulois, pour ta magnifique semaine d'accueil.
|
2023-01-24 18:02:07 +01:00
|
|
|
Ce site est fait pour t'aider à commencer l'aventure en toute sérénité.
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Tu vas pouvoir trouver ici des informations générales sur ta semaine, comme
|
|
|
|
<a href="planning.php" class="link">Le Planning</a>,
|
|
|
|
<a href="map.php" class="link">Le Plan Du Campus</a>, des détails sur
|
|
|
|
<a href="parrainage.php" class="link">Le Parrainage</a>,
|
|
|
|
ou encore des directives concernant ta magnifique <a href="blouse.php" class="link">Blouse</a>.
|
|
|
|
</p>
|
|
|
|
<br>
|
|
|
|
<h3><a href="enigma.php" style="text-decoration: none; color: black;">INSA BROS</a></h3>
|
|
|
|
<p>
|
|
|
|
Si tu as reçu (et lu!) ta <?= colored_text("plaquette") ?>, tu sais que tu fais partie d'une #team:
|
|
|
|
</p>
|
|
|
|
<p>
|
2023-01-26 15:53:45 +01:00
|
|
|
<?php
|
2023-04-16 14:58:05 +02:00
|
|
|
echo"<a href=\"team.php?team=".$TEAM2."\" class=\"link\">".$TEAM2."</a>,";
|
|
|
|
echo"<a href=\"team.php?team=".$TEAM1."\" class=\"link\">".$TEAM1."</a>";
|
2023-01-26 15:53:45 +01:00
|
|
|
?>
|
2023-01-24 18:02:07 +01:00
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Fais gagner des points à ton équipe durant la semaine pour lui faire remporter les INSA BROS !
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Si tu souhaites voir le détail des scores, <a href="stats.php" class="link">c'est par ici</a>.
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
|
2023-04-16 14:58:05 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
2022-01-20 00:53:13 +01:00
|
|
|
</main>
|
2022-01-19 22:26:58 +01:00
|
|
|
<?php
|
2023-01-22 12:46:06 +01:00
|
|
|
$infopage = ["", "Accueil", ob_get_clean(), "", "index","Semaine d'Accueil INSA Toulouse 2023"]; //relativepath, pagetitle, pagecontent, pagescript, pagename, txt_pancarte | cf structure/template.php ligne 2 à 6
|
2022-01-19 22:26:58 +01:00
|
|
|
include("structure/template.php");
|
|
|
|
?>
|