This repository has been archived by the owner on Mar 28, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
43 lines (39 loc) · 2.51 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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
<?php include "./handlers/employee/index.php" ?>
<div class="container">
<section class="row text-center banner pb-3">
<h5>
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor"
class="bi bi-stars" viewBox="0 0 16 16">
<path
d="M7.657 6.247c.11-.33.576-.33.686 0l.645 1.937a2.89 2.89 0 0 0 1.829 1.828l1.936.645c.33.11.33.576 0 .686l-1.937.645a2.89 2.89 0 0 0-1.828 1.829l-.645 1.936a.361.361 0 0 1-.686 0l-.645-1.937a2.89 2.89 0 0 0-1.828-1.828l-1.937-.645a.361.361 0 0 1 0-.686l1.937-.645a2.89 2.89 0 0 0 1.828-1.828l.645-1.937zM3.794 1.148a.217.217 0 0 1 .412 0l.387 1.162c.173.518.579.924 1.097 1.097l1.162.387a.217.217 0 0 1 0 .412l-1.162.387A1.734 1.734 0 0 0 4.593 5.69l-.387 1.162a.217.217 0 0 1-.412 0L3.407 5.69A1.734 1.734 0 0 0 2.31 4.593l-1.162-.387a.217.217 0 0 1 0-.412l1.162-.387A1.734 1.734 0 0 0 3.407 2.31l.387-1.162zM10.863.099a.145.145 0 0 1 .274 0l.258.774c.115.346.386.617.732.732l.774.258a.145.145 0 0 1 0 .274l-.774.258a1.156 1.156 0 0 0-.732.732l-.258.774a.145.145 0 0 1-.274 0l-.258-.774a1.156 1.156 0 0 0-.732-.732L9.1 2.137a.145.145 0 0 1 0-.274l.774-.258c.346-.115.617-.386.732-.732L10.863.1z"/>
</svg>
Salut <?php echo $person ?>, bienvenue sur ton espace personnel!
</h5>
</section>
<section>
<h1 class="text-center">Offres d'emploi</h1>
<div class="d-flex flex-column flew-wrap align-content-center justify-content-between">
<?php
foreach ($offers as $offer) {
$subtitle = "";
if ($offer->publication_date != null) $subtitle .= $offer->getPublicationDate('D, d M Y');
if ($subtitle != "" && $offer->city != null) $subtitle .= " - ";
if ($offer->city != null) $subtitle .= "$offer->city";
$body_text = "";
if ($offer->description != null) $body_text .= $offer->description;
echo "<div class=\"card mb-3\">
<div class=\"card-header\">Publié par $offer->employer</div>
<div class=\"card-body\">
<h4 class=\"card-title\">$offer->title</h3>
<h6 class=\"card-subtitle\">$subtitle</h5>
<p class=\"card-text mt-3\">$body_text</p>
</div>
</div>";
}
?>
</div>
</section>
<script>
document.title = "flag1(AMA84EU82S_7)";
</script>
</div>