-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
67 lines (54 loc) · 873 Bytes
/
index.php
File metadata and controls
67 lines (54 loc) · 873 Bytes
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
66
67
<?php
require_once(dirname(__FILE__) . '/extras/config.php');
$app->get('/',
function() use ($app)
{
$app->render('index.html');
});
$app->get('/rounds',
function() use ($app)
{
$app->render('rounds.html');
});
$app->get('/maps',
function() use ($app)
{
$app->render('maps.html');
});
$app->get('/table',
function() use ($app)
{
$app->render('data_table.html');
});
$app->get('/spread',
function() use ($app)
{
$app->render('vector_graph.html');
});
$app->get('/distance',
function() use ($app)
{
$app->render('bar_graph.html');
});
$app->get('/stats',
function() use ($app)
{
$app->render('stats.html');
});
$app->get('/admin',
function() use ($app)
{
$app->render('admin.html');
});
$app->get('/help',
function() use ($app)
{
$app->render('help.html');
});
$app->get('/about',
function() use ($app)
{
$app->render('about.html');
});
$app->run();
?>