-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlist.php
More file actions
32 lines (23 loc) · 1.1 KB
/
list.php
File metadata and controls
32 lines (23 loc) · 1.1 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
<?php include __DIR__.'/header.php';?>
<main role="main">
<div class="container py-5">
<small>
<?php
$Parsedown = new Parsedown();
echo $Parsedown->text($out[$type]['tip']);
?><?php echo $type;?>
</small>
<ul class="list-group" >
<?php foreach($out[$type]['lists'] as $key=>$vo){?>
<li class="list-group-item d-flex justify-content-between align-items-center">
<?php echo $key; ?>(<?php echo $vo['tip']; ?>)
<span class="pull-right">
<a href="/view/<?php echo $type;?>?version=<?php echo $key; ?>">查看更新日志</a>
<a style="margin-left: 10px;" href="/download/<?php echo $type;?>?version=<?php echo $key; ?>">下载</a>
</span>
</li>
<?php }?>
</ul>
</div>
</main>
<?php include __DIR__.'/footer.php';?>