forked from vergnet/site-accueil-insa
58 lines
1.6 KiB
PHP
58 lines
1.6 KiB
PHP
<?php
|
|
if (!isset($relativePath))
|
|
$relativePath='';
|
|
|
|
if (!isset($customBackgroundId))
|
|
$customBackgroundId='';
|
|
|
|
|
|
require_once $relativePath.'classes/dao.php';
|
|
require_once $relativePath.'includes/score_functions.php';
|
|
|
|
|
|
?>
|
|
<!DOCTYPE html>
|
|
<html lang="fr">
|
|
<head>
|
|
<meta charset='utf-8'>
|
|
<meta http-equiv="X-UA-Compatible" content="chrome=1">
|
|
<meta name="viewport" content="width=device-width,maximum-scale=2">
|
|
<link rel="shortcut icon" href="<?= $relativePath ?>favicon.ico">
|
|
<title>Tiens tiens tiens</title>
|
|
<!-- Matomo -->
|
|
<script type="text/javascript">
|
|
var _paq = _paq || [];
|
|
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
|
_paq.push(['disableCookies']);
|
|
_paq.push(['trackPageView']);
|
|
_paq.push(['enableLinkTracking']);
|
|
(function() {
|
|
var u="//etud.insa-toulouse.fr/~accueil_insa/analytics/";
|
|
_paq.push(['setTrackerUrl', u+'piwik.php']);
|
|
_paq.push(['setSiteId', '1']);
|
|
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
|
|
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
|
|
})();
|
|
</script>
|
|
<!-- End Matomo Code -->
|
|
</head>
|
|
</html>
|
|
|
|
<code>
|
|
function meilleure_team (team :string) return string is
|
|
<br>
|
|
begin
|
|
<br>
|
|
case team is
|
|
<br>
|
|
when “Peksentard” => return “La meilleure équipe et le meilleur respo”;
|
|
<br>
|
|
when others=> return “Aussi excitant que Bran roi”;
|
|
<br>
|
|
end case;
|
|
<br>
|
|
end meilleure_team;
|
|
</code>
|
|
|
|
<p id="hint"> sorry je peux pas indent :/</p>
|
|
|