-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexercicio.php
More file actions
31 lines (31 loc) · 973 Bytes
/
Copy pathexercicio.php
File metadata and controls
31 lines (31 loc) · 973 Bytes
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link href="https://fonts.googleapis.com/css?family=Oswald:200,300,400,500,600,700" rel="stylesheet">
<link rel="stylesheet" href="recursos/css/estilo.css">
<link rel="stylesheet" href="recursos/css/exercicio.css">
<title>Exercício</title>
</head>
<body class="exercicio">
<header class="cabecalho">
<h1>Curso PHP</h1>
<h2>Visualização do Exercício</h2>
</header>
<nav class="navegacao">
<a href=<?= "/{$_GET['dir']}/{$_GET['file']}.php"?>
class="verde">Sem formatação</a>
<a href="index.php" class="vermelho">Voltar</a>
</nav>
<main class="principal">
<div class="conteudo">
<?php
include(__DIR__ . "/{$_GET['dir']}/{$_GET['file']}.php");
?>
</div>
</main>
<footer class="rodape">
COD3R & ALUNOS © <?= date('Y'); ?>
</footer>
</body>
</html>