summaryrefslogtreecommitdiffstats
path: root/web/template/stats/updates_table.php
blob: 4955ddca6f905789bbfb382803d59e36ae2e8494 (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="<?php echo get_uri('/rss/') ?>" 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_pkg_uri($row["Name"]); ?>"><?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>