-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.php
executable file
·52 lines (43 loc) · 1.87 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="author" content="Jean-André Santoni, Morgane Alonso, Zacharie Juillard" />
<meta name="keywords" content="" />
<meta name="description" content="Lakka is a lightweight Linux distribution that transforms a credit card sized computer called Raspberry Pi into a full blown emulation console." />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/style.css" />
<link href='http://fonts.googleapis.com/css?family=Asap:400,400italic,700,700italic' rel='stylesheet' type='text/css'>
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
<link rel="shortcut icon" href="favicon/fav64.ico" />
<link rel="icon" type="image/x-icon" href="favicon/fav64.ico" />
<link rel="icon" type="image/jpg" href="favicon/fav64.jpg" />
<link rel="icon" type="image/png" href="favicon/fav64.png" />
<link rel="icon" type="image/gif" href="favicon/fav64.gif" />
<link rel="apple-touch-icon" href="favicon/fav64.png" />
<title>Lakka - The DIY retro emulation console</title>
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<?php
$page = isset($_GET['page']) ? $_GET['page'] : "home.php";
$class = str_replace(".php", "", $page);
?>
<body class="<?php echo $class;?>">
<div id="menubar">
<h1><a href="/"><img src="images/lakka-logo.png" alt="Lakka's logo, represent a berry : the cloudberry" /></a></h1>
<nav>
<ul>
<!--<li><a href="">News</a></li>
<li><a href="">Documentation</a></li>
<li><a href="">Support</a></li>-->
<li><a href="/contact">Contact</a></li>
</ul>
</nav>
</div>
<?php
include($page);
?>
</body>
</html>