-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtestBench.php
57 lines (52 loc) · 1.82 KB
/
testBench.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
<?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/testBench.css">
<link rel="stylesheet" href="css/projects.css">
<link rel="stylesheet" href="css/components/slideshow.css">
<link rel="stylesheet" href="css/components/3dModelViewer.css">
<script src="js/slideshow.js" defer></script>
<script src="js/components/3dModelViewer.js" defer></script>
<script type="module" src="https://ajax.googleapis.com/ajax/libs/model-viewer/3.5.0/model-viewer.min.js"></script>
</head>
<body>
<?php include ('components/scrollToTop.php'); ?>
<header>
<?php include ('components/header.php'); ?>
</header>
<main>
<h1><?php getValueFromJson('description'); ?></h1>
<a><?php getValueFromJson('text'); ?></a>
<?php
$model = "assets/3D/testBench.glb";
include 'components/3dModelViewer.php';
?>
<?php
$images = [
"assets/img/testBench/testBench1.webp",
"assets/img/testBench/testBench2.webp",
"assets/img/testBench/testBench3.webp"
];
$titles = [
getValueFromJson('slideshow.1',false),
getValueFromJson('slideshow.2',false),
getValueFromJson('slideshow.3',false)
];
include ('components/slideshow.php');
?>
</main>
<footer>
<?php include ('components/footer.php'); ?>
</footer>
</body>
</html>
<!-- © AIMA DEVELOPPEMENT 2024 -->