You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

46 lines
1023 B

<?php
switch($_GET['q']) {
case 'raccontare':
case 'due-cucchiai-di-salute':
case 'le-variabili-del-gusto':
case 'un-olio-da-strippare':
$section_label = 'raccontare';
break;
case 'conoscere':
$section_label = 'conoscere';
break;
case 'produrre':
$section_label = 'produrre';
break;
case 'acquistare':
$section_label = 'acquistare';
break;
}
?>
<!DOCTYPE html>
<html lang="it">
<head>
<meta charset="UTF-8">
<title>IoLovOlio</title>
<meta name="viewport" content="width=device-width, user-scalable=no,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0">
<meta name="description" content=".">
<link rel="stylesheet" href="/assets/css/styles.css">
</head>
<body>
${require('../components/header/header.html')}
<main class="main-content">
<?php
echo $_GET['q'];
@include $_GET['q'].'.php';
?>
</main>
${require('../components/footer/footer.html')}
</body>
</html>