Newer
Older
<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();
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
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>