-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.php
53 lines (43 loc) · 1.55 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
53
<?php
// Start Session
if (!isset($_SESSION)) {
session_start();
}
//require 'lib/cookieId.php';
//require 'lib/existingUser.php';
?>
<!DOCTYPE html>
<html>
<head>
<!-- Local Stylesheets -->
<link rel="stylesheet" href="css/base.css">
<link rel="stylesheet" href="css/2048theme.css">
<!-- 3rd Party Stylesheets + Icon Font -->
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<!-- 3rd Party JS libraries -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquerymobile/1.4.5/jquery.mobile.js"></script>
<!-- Local JS -->
<script src="scripts/menus.js"></script>
<!-- Adjust screen nicely for mobile-->
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<title>SwipeAway - Home</title>
</head>
<body>
<?php
require_once('lib/topbar.php');
?>
<div id="title">
<h1 id="titleText">SwipeAway</h1>
</div>
<form>
<ul id="options">
<li><a name="link" class="btn btn-default" id="playButton" href="level1.php" rel="external">Play</a></li>
<li><a name="link" class="btn btn-default" id="levelButton" href="level.php" rel="external">Level</a></li>
<li><a name="link" class="btn btn-default" id="highscoreButton" href="highscore.php" rel="external">Highscore</a></li>
</ul>
</form>
<audio preload="auto" id="audioClick" src="audio/tick.ogg"></audio>
</body>
</html>