summaryrefslogtreecommitdiffstats
path: root/web/template/stats/updates_table.php
blob: b942dbcbbafe0c5ae2dd93b743b93a1494c66e4d (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="packages.php?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>