<!doctype html> <html lang="fr"> <head> <title>Postulation Apprentis | Consultation</title> <?php require_once("tequila/tequila.php"); $oClient = new TequilaClient(); $oClient->SetApplicationName('Formulaire apprentissage'); $oClient->SetWantedAttributes(array('uniqueid','firstname','name')); $oClient->SetWishedAttributes(array('user')); $oClient->SetAllowsFilter('categorie=epfl-guests'); $oClient->Authenticate(); $user = $oClient->getValue('user'); $firstname = $oClient->getValue('firstname'); $name = $oClient->getValue('name'); $guest_sciper = $oClient->getValue('uniqueid'); $sKey = $oClient->GetKey(); include('templates/head.php'); include('./helpers.php'); ?> </head> <body> <?php include('templates/header.php'); ?> <main id="main" role="main" class="content container-grid"> <h3 class="mb-5">Candidature pour un apprentissage</h3> <h5 class="mb-3">Votre postulation</h5> <article> <h1></h1> <?php $postulation = getPostulationBySciper($pdo, $guest_sciper)[0]; print_r($postulation); ?> <table class="table table-boxed"> <thead> <tr> <th>Informations personnelles</th> <th>Données</th> </tr> </thead> <tbody> <tr> <td>Formation, lieu</td> <td><?= $postulation['applicant_formation'] . " " . $postulation['applicant_it_section'] . ", " . $postulation['applicant_formation_location'] ?></td> </tr> <tr> <td>Maturité intégrée</td> <td><?= $postulation['applicant_maturity'] ?></td> </tr> <tr> <td>Nom, Prénom</td> <td><?= $postulation['applicant_name'] . " " . $postulation['applicant_fsname'] ?></td> </tr> <tr> <td>Genre</td> <td><?= $postulation['applicant_gender'] ?></td> </tr> <tr> <td>Adresse</td> <td><?= $postulation['applicant_name'] . " " . $postulation['applicant_fsname'] ?></td> </tr> </tbody> </table> </article> </main> </body> </html>