Last active
November 28, 2018 11:52
-
-
Save bvaudour/9b3dd64c052a5ae78570ab1cfda01233 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
include __DIR__.'/inc/vars.php'; | |
include __DIR__.'/inc/util.php'; | |
$sd = '/package/list'; | |
$args = [ | |
'repo' => 'build', | |
'sortby' => 'date', | |
'sortdir' => 'desc', | |
'limit' => 14, | |
'page' => 1, | |
]; | |
$result = execRequest($sd, $args); | |
if ($result === false) { | |
echo 'Internal servor error'; | |
return; | |
} | |
$packages = $result['data']; | |
?> | |
<table> | |
<tbody> | |
<tr> | |
<td>Full list<td> | |
<td></td> | |
</tr> | |
<?php foreach ($packages as $package): ?> | |
<tr> | |
<td><a href="view.php?repo=<?php echo $package['Repository']; ?>&name=<?php echo $package['CompleteName']; ?>"><?php echo $package['CompleteName']; ?></a></td> | |
<td><?php echo $package['BuildDate']; ?></td> | |
<tr> | |
<?php endforeach; ?> | |
</tbody> | |
</table> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment