Files
web_2025/R3.01/tp/tp2/ex1/ex1.php
T

28 lines
978 B
PHP
Raw Normal View History

2026-04-01 08:25:18 +02:00
<?php
2026-04-15 15:34:46 +02:00
include_once 'include/controller.php';
2026-04-01 08:25:18 +02:00
?>
<!DOCTYPE html>
2026-04-15 15:34:46 +02:00
<html lang="fr">
<head>
2026-04-01 08:25:18 +02:00
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@picocss/pico@2/css/pico.classless.min.css"
/>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css" integrity="sha512-SnH5WK+bZxgPHs44uWIX+LLJAJ9/2PkPKZ5QiAj6Ta86w+fsb2TkcmfRyVX3pBnMFcV7oQPJkl9QevSCWr3W6A==" crossorigin="anonymous" referrerpolicy="no-referrer" />
2026-04-15 15:34:46 +02:00
<link rel="stylesheet" href="./css/style.css">
<meta charset="UTF-8" />
<title>Exercice 1</title>
</head>
<body>
<main>
<ul>
<?php
echo '<li>' . htmlspecialchars($prenom . ' ' . $nom, ENT_QUOTES, 'UTF-8') . '</li>';
echo '<li>' . htmlspecialchars($systeme, ENT_QUOTES, 'UTF-8') . " <i class='fa-brands $icon fa-2x'></i></li>";
?>
</ul>
</main>
</body>
2026-04-01 08:25:18 +02:00
</html>