-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
174 lines (153 loc) · 8.04 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
<!doctype html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="The Karr Lab is a computational systems biology research lab at the Icahn School of Medicine at Mount Sinai." />
<meta name="keywords" content="Jonathan Karr, systems biology, translational medicine, whole-cell, modeling" />
<meta name="author" content="Jonathan Karr" />
<meta name="revised" content="Jonathan Karr, 03/03/2018" />
<meta name="copyright" content="© 2013-2018 Karr Lab" />
<meta name="robots" content="ALL" />
<meta http-equiv="content-language" content="en-US" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>Karr Lab</title>
<link rel="stylesheet" href="https://www.karrlab.org/static/css/foundation.css" />
<link rel="stylesheet" href="https://www.karrlab.org/static/css/foundation-icons.css" />
<link rel="stylesheet" href="https://www.karrlab.org/static/css/extras.css" />
<script src="https://www.karrlab.org/static/js/vendor/modernizr.js"></script>
<link rel="icon" type="image/x-icon" href="https://www.karrlab.org/static/img/logo-mssm-16x16.ico" />
<style>
#docs{
width:100%;
}
#docs th {
background:#999;
}
#docs th,
#docs td {
padding-left:20px;
padding-right:20px;
padding-top:4px;
padding-bottom:4px;
width: auto;
}
</style>
</head>
<body>
<div class="off-canvas-wrap" data-offcanvas>
<div class="inner-wrap">
<nav class="tab-bar hide-for-medium-up">
<section class="left-small">
<a class="left-off-canvas-toggle menu-icon" href="#"><span></span></a>
</section>
<section class="right tab-bar-section">
<h1 class="title">Karr Systems Biology Lab</h1>
</section>
</nav>
<aside class="left-off-canvas-menu">
<ul class="off-canvas-list">
<li><label>Karr Systems Biology Lab</label></li>
<li><a href="https://www.karrlab.org/">Home</a></li>
<li><a href="https://www.karrlab.org/research">Research</a></li>
<li><a href="https://www.karrlab.org/resources">Resources</a></li>
<li><a href="https://www.karrlab.org/publications">Publications</a></li>
<li><a href="https://www.karrlab.org/press">Press</a></li>
<li><a href="https://www.karrlab.org/funding">Funding</a></li>
<li><a href="https://www.karrlab.org/people">People</a></li>
<li><a href="https://www.karrlab.org/join">Join us</a></li>
<li><a href="https://www.karrlab.org/contact">Contact</a></li>
</ul>
</aside>
<section class="main-section">
<!-- canvas wrapping -->
<!-- top bar -->
<div class="top-bar row show-for-medium-up">
<div class="small-12 columns">
<dl class="sub-nav">
<dd><a href="https://www.karrlab.org/">Home</a></dd>
<dd><a href="https://www.karrlab.org/research">Research</a></dd>
<dd class="active"><a href="https://www.karrlab.org/resources">Resources</a></dd>
<dd><a href="https://www.karrlab.org/publications">Publications</a></dd>
<dd><a href="https://www.karrlab.org/press">Press</a></dd>
<dd><a href="https://www.karrlab.org/funding">Funding</a></dd>
<dd><a href="https://www.karrlab.org/people">People</a></dd>
<dd><a href="https://www.karrlab.org/join">Join us</a></dd>
<dd><a href="https://www.karrlab.org/contact">Contact</a></dd>
</dl>
</div>
</div>
<div class="top-bar-bg show-for-medium-up">
</div>
<!-- content -->
<div class="row content">
<div class="centered">
<!-- end common header -->
<h3>Documentation</h3>
<table cellpadding=0 cellspacing=0 id="docs">
<thead>
<tr>
<th>Package</th>
<th>Documentation</th>
<th>Latest version</th>
<th>Last updated</th>
</tr>
</thead>
<tbody>
<?php
foreach (scandir('.') as $repo) {
if (file_exists("$repo/.htaccess") && strpos(file_get_contents("$repo/.htaccess"), 'RewriteEngine') === 0) {
echo "<tr>";
echo sprintf("<td><a href='https://github.com/KarrLab/%s'>%s</a></td>", $repo, $repo);
echo sprintf("<td><a href='%s'>docs</a></td>", $repo);
$versions = scandir("$repo/master/");
natsort($versions);
$version = array_pop($versions);
if (preg_match('/^\d+(\.\d+(\.\d+[a-zA-Z0-9]*)?)?$/', $version) != 1)
$version = '';
echo sprintf("<td><a href='%s'>%s</a></td>", $repo, $version);
if ($version) {
if (file_exists("$repo/master/$version/index.html"))
$last_updated = date('Y-m-d H:i:s', filemtime("$repo/master/$version/index.html"));
else
$last_updated = date('Y-m-d H:i:s', filemtime("$repo/master/$version"));
} else {
$last_updated = '';
}
echo sprintf("<td><a href='%s'>%s</a></td>", $repo, $last_updated);
echo "</tr>\n";
}
}
?>
</tbody>
</table>
<!-- common footer -->
</div>
</div>
<!-- bottom bar -->
<div class="row bottom-bar">
<div class="logo">
<a href="https://www.mssm.edu"><img src="https://www.karrlab.org/static/img/logo-mssm-32x32.png" /></a>
</div>
<div class="text-left">
<a href="https://icahn.mssm.edu/departments-and-institutes/genomics">Icahn Institute for Genomics & Multiscale Biology</a><br/>
<a href="https://icahn.mssm.edu/departments-and-institutes/genomics">Department of Genetics & Genomic Sciences</a><br/>
<a href="https://www.mssm.edu">Icahn School of Medicine at Mount Sinai</a>
</div>
<div class="text-right show-for-medium-up">
© Karr Lab 2018
</div>
<div class="clear"></div>
</div>
<!-- canvas wrapping -->
</section>
<a class="exit-off-canvas"></a>
</div>
</div>
<script src="https://www.karrlab.org/static/js/vendor/jquery.js"></script>
<script src="https://www.karrlab.org/static/js/foundation.min.js"></script>
<script>
$(document).foundation();
</script>
</body>
</html>