-
Notifications
You must be signed in to change notification settings - Fork 10
/
index.php
68 lines (65 loc) · 2.12 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?php
/*
* File: index.php
* Version: 1.0
* Description: Entry viewport for the mobile application
* Author: DoD Cyber Crime Center (www.dc3.mil)
* Released: 09 Jul 2013
* Language: PHP5, JQuery 1.6.2, JQuery-UI 1.8.3, JQuery-Mobile 1.0b3
* License: GPL v2
* Project: DC3 Digital Crime Scene Challenge
* Contact: [email protected]
*
* This project constitutes a work of the United States Government and is
* not subject to domestic copyright protection under 17 USC § 105.
*
* This project is free software, under either the GPL v2 license or a
* BSD style license, as supplied with this software.
*
* This project is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the license files for details.
*
* For additional details and disclaimers, please refer to LEGAL.txt
*/
/**************************************************
THESE FIELDS ARE REQUIRED ON ALL DISPLAY PAGES!
**************************************************/
$section = "Crime Scene";
$pageCSS = "";
require_once('inc/header.php');
$menu = array(
"Team Information" => "",
"Create Team" => "team/team.php",
"Teams" => "team/index.php",
"Participation Information" => "",
"In the Queue" => "queue/index.php",
"Score Information" => "",
"Overall Scoreboard" => "scoreboard/scoreboard.php",
"Scenario Scoreboards" => "scoreboard/scoreboards.php",
"Review Team Score Card" => "scoreboard/team_score.php",
"Daily Scoreboard" => "scoreboard/daily_score.php"
);
?>
<div data-role="fieldcontain" class="ui-body ui-body-a ui-corner-all">
<ul data-role="listview">
<?php
foreach($menu as $title => $link)
{
if($link == "")
{
?>
<li data-role="list-divider"><?php echo $title; ?></li>
<?php
}
else
{
?>
<li><a data-ajax="false" href="<?php echo $basePath.$link; ?>"><?php echo $title; ?></a></li>
<?php
}
}
?>
</ul>
</div>
<?php require_once('inc/footer.php'); ?>