-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
63 lines (48 loc) · 1.68 KB
/
header.php
File metadata and controls
63 lines (48 loc) · 1.68 KB
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
<?php
if (!isset($path)) $path = "./";
echo "<!--";
print_r($_SERVER['REQUEST_URI']);
$uri = explode("/", trim($_SERVER['REQUEST_URI'], "/"));
print_r($uri);
$last = array_pop($uri);
print_r($last);
$pages = array('intro', 'explorer', 'download');
foreach($pages as $p) {
$a[$p] = "";
}
$class = ' class="active"';
if ($last) {
$a[$last] = $class;
} else {
$a['intro'] = $class;
}
echo "-->";
?>
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<title>BEP Simulation Explorer</title>
<link rel="stylesheet" href="<?php echo $path; ?>css/bootstrap.min.css" charset="utf-8">
<link rel="stylesheet" href="<?php echo $path; ?>css/bootstrap-theme.min.css" charset="utf-8">
<link rel="stylesheet" href="<?php echo $path; ?>css/font-awesome.min.css" type='text/css'>
<link rel="stylesheet" href="<?php echo $path; ?>css/bep.css?dsfs" type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Open+Sans:300,400,700,800' rel='stylesheet' type='text/css'>
</head>
<body>
<div class="container">
<div class="page-header">
<h1>Branching Evolutionary Processes Simulation</h1>
<h2>Cancer evolution simulation identifies possible principles
underlying intratumor heterogeneity</h2>
</div>
<nav class="navbar navbar-default">
<div class="container">
<div id="navbar">
<ul class="nav navbar-nav">
<li<?php echo $a['intro']; ?>><a href="<?php echo $path; ?>">Introduction</a></li>
<li<?php echo $a['explorer']; ?>><a href="<?php echo $path; ?>explorer/">Simulation Explorer</a></li>
<li<?php echo $a['download']; ?>><a href="<?php echo $path; ?>download/">Download</a></li>
</ul>
</div><!--/.nav-collapse -->
</div><!--/.container-fluid -->
</nav>