|
|
@ -5,6 +5,12 @@
|
|
|
|
"c" => array("img" => "test3","nom" => "Kilou", "prenom" => "Hugo", "status" => "Hors ligne")
|
|
|
|
"c" => array("img" => "test3","nom" => "Kilou", "prenom" => "Hugo", "status" => "Hors ligne")
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$listMe= array (
|
|
|
|
|
|
|
|
"a" => array("img" => "test","nom" => "Kilou", "prenom" => "Clément", "status" => "En ligne"),
|
|
|
|
|
|
|
|
"b" => array("img" => "test2","nom" => "Kilou", "prenom" => "Frédérique", "status" => "En ligne"),
|
|
|
|
|
|
|
|
"c" => array("img" => "test3","nom" => "Kilou", "prenom" => "Hugo", "status" => "Hors ligne")
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
$listA= array (
|
|
|
|
$listA= array (
|
|
|
|
"a" => array("date" => "29/11/18","type" => "Nage", "bpm" => "116", "kmh" => "3.0","distance" => "0.6"),
|
|
|
|
"a" => array("date" => "29/11/18","type" => "Nage", "bpm" => "116", "kmh" => "3.0","distance" => "0.6"),
|
|
|
|
"b" => array("date" => "27/11/18","type" => "Sprint", "bpm" => "143", "kmh" => "19.0","distance" => "4.2"),
|
|
|
|
"b" => array("date" => "27/11/18","type" => "Sprint", "bpm" => "143", "kmh" => "19.0","distance" => "4.2"),
|
|
|
@ -30,15 +36,17 @@
|
|
|
|
$loader = new \Twig\Loader\FilesystemLoader(__DIR__.'/views/Templates');
|
|
|
|
$loader = new \Twig\Loader\FilesystemLoader(__DIR__.'/views/Templates');
|
|
|
|
$twig = new \Twig\Environment($loader);
|
|
|
|
$twig = new \Twig\Environment($loader);
|
|
|
|
|
|
|
|
|
|
|
|
$template=$twig->load('./page/import.html.twig');
|
|
|
|
$template=$twig->load('./page/exercice.html.twig');
|
|
|
|
$template->display([
|
|
|
|
$template->display([
|
|
|
|
'pp' => "test2",
|
|
|
|
'pp' => "test2",
|
|
|
|
'user' => "Amandine",
|
|
|
|
'user' => "Amandine",
|
|
|
|
|
|
|
|
'role' => "Athlète",
|
|
|
|
'friendship' => $listF,
|
|
|
|
'friendship' => $listF,
|
|
|
|
'analyzes' => $listA,
|
|
|
|
'analyzes' => $listA,
|
|
|
|
'mails' => $listM,
|
|
|
|
'mails' => $listM,
|
|
|
|
'users' => $listF,
|
|
|
|
'users' => $listF,
|
|
|
|
'infoUser' => $infoUser,
|
|
|
|
'infoUser' => $infoUser,
|
|
|
|
'exos' => $listE
|
|
|
|
'exos' => $listE,
|
|
|
|
|
|
|
|
'member' => $listMe
|
|
|
|
]);
|
|
|
|
]);
|
|
|
|
?>
|
|
|
|
?>
|