-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadmin-page.php
More file actions
69 lines (66 loc) · 1.88 KB
/
admin-page.php
File metadata and controls
69 lines (66 loc) · 1.88 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
64
65
66
67
68
69
<?php
/*
Admin page file
@package: WordPress
@subpackage: MineStack
*/
function display_stacks() {
$stacks = getStacks();
print_r($stacks);
print_r(getHeaders('/home/stranger/demo/wp-content/plugins/MineStack/stacks/launcher/index.php'))
?>
<div id="wrap" class="wrap" style="width: 50%">
<table width="50px" cellspacing="0" class="wp-list-table widefat fixed posts">
<thead>
<tr>
<th class="manage-column column-title" id="StackName" scope="col">
<span>Stack Name</span>
</th>
<th class="manage-column column-title" id="Author" scope="col">
<span>Author</span>
</th>
<th class="manage-column column-title" id="Description" scope="col">
<span>Description</span>
</th>
</tr>
</thead>
<tbody id="the-list">
<? if ($stacks) {
foreach($stacks as $stack){ ?>
<tr valign="top" class="post-1 post type-post status-publish format-standard hentry category-- alternate iedit author-self" id="post-1">
<td class="post-title page-title column-title">
<?php echo $stack['Name'].' '.$stack['Version']; ?>
</td>
<td class="post-title page-title column-title">
<strong>
<span class="row-title"><?php echo $stack['Author'] ?></span>
</strong>
</td>
<td class="post-title page-title column-title">
<strong>
<?php echo $stack['Description'] ?>
</strong>
</td>
</tr>
<?php
}
} ?>
</tbody>
<tfoot>
<tr>
<th class="manage-column column-title" id="StackName" scope="col">
<span>Stack Name</span>
</th>
<th class="manage-column column-title" id="Author" scope="col">
<span>Author</span>
</th>
<th class="manage-column column-title" id="Description" scope="col">
<span>Description</span>
</th>
</tr>
</tfoot>
</table>
</div>
<?
}
?>