summaryrefslogtreecommitdiffstats
path: root/web/template/stats/updates_table.php
blob: 835d956f483ffcf18e8b315816820d4cf70adf2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<h3><?php echo __("Recent Updates") ?></h3>

<a href="rss.php" title="Arch Package Updates RSS Feed" class="rss-icon"><img src="images/feed-icon-14x14.png" alt="RSS Feed" /></a>

<table>
	<?php foreach ($newest_packages->getIterator() as $row): ?>
		<tr>
			<td>
				<a href="<?php echo get_uri('/packages/'); ?>?ID=<?php print intval($row["ID"]); ?>"><?php print htmlspecialchars($row["Name"]) . ' ' . htmlspecialchars($row["Version"]); ?></a>
			</td>
			<td>
				<span><?php print gmdate("Y-m-d H:i", intval($row["ModifiedTS"])); ?></span>
			</td>
		</tr>
	<?php endforeach; ?>
</table>