-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAIMAPN.php
65 lines (60 loc) · 2.14 KB
/
AIMAPN.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?php
include_once 'scripts/lang.php';
$language = $_SERVER['HTTP_ACCEPT_LANGUAGE'];
$deviceLang = substr($language, 0, 2);
session_start();
$lang = isset($_SESSION['lang']) ? $_SESSION['lang'] : $deviceLang;
?>
<!DOCTYPE html>
<html lang="<?php echo $lang; ?>">
<head>
<title><?php getValueFromJson('title'); ?></title>
<?php include 'components/head.php'; ?>
<link rel="stylesheet" href="css/aimapn.css">
<link rel="stylesheet" href="css/responsive/aimapn.css">
<link rel="stylesheet" href="css/components/projectHeader.css">
<link rel="stylesheet" href="css/responsive/components/projectHeader.css">
<link rel="stylesheet" href="css/components/slideshow.css">
<script src="js/slideshow.js" defer></script>
</head>
<body>
<?php include ('components/scrollToTop.php'); ?>
<header>
<?php
$title = getValueFromJson('header.title', false);
$description = getValueFromJson('header.description', false);
include ('components/header.php');
?>
</header>
<main>
<?php
$thumbnail = "assets/img/projects/aima-pn/thumbnail.webp";
include ('components/projectHeader.php');
?>
<a><?php getValueFromJson('intro'); ?></a>
<div id="details">
<img id="desktop" src="assets/img/projects/aima-pn/details.svg" alt="Details">
<img id="mobile" src="assets/img/projects/aima-pn/details_mobile.svg" alt="Details">
</div>
<?php
$images = [
"assets/img/projects/aima-pn/slideshow1.webp",
"assets/img/projects/aima-pn/slideshow2.webp",
"assets/img/projects/aima-pn/slideshow4.webp",
"assets/img/projects/aima-pn/slideshow3.webp"
];
$titles = [
getValueFromJson('slideshow.1', false),
getValueFromJson('slideshow.2', false),
getValueFromJson('slideshow.3', false),
getValueFromJson('slideshow.4', false)
];
include ('components/slideshow.php');
?>
</main>
<footer>
<?php include ('components/footer.php'); ?>
</footer>
</body>
</html>
<!-- © AIMA DEVELOPPEMENT 2024 -->