aurweb/web/template/stats/user_table.php
Loui Chang 701186ad05 Fix user stats table links.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-03-02 13:38:54 -05:00

46 lines
1.1 KiB
PHP

<?php
$username = username_from_sid($_COOKIE["AURSID"]);
?>
<table class='boxSoft'>
<tr>
<th colspan='2' class='boxSoftTitle'>
<span class='f3'><?php print __("My Statistics"); ?></span>
</th>
</tr>
<tr>
<td class='boxSoft'>
<span class='f4'><a href="packages.php?SeB=m&amp;L=2&amp;K=<?php echo $username; ?>">
<?php print __("Packages in unsupported"); ?></a></span>
</td>
<td class='boxSoft'>
<span class='f4'><?php print $maintainer_unsupported_count; ?></span>
</td>
</tr>
<?php if (($atype == 'Trusted User') || ($atype == 'Developer')) : ?>
<tr>
<td class='boxSoft'>
<span class='f4'><a href="packages.php?SeB=m&amp;L=3&amp;K=<?php echo $username; ?>">
<?php print __("Packages in [community]"); ?></a></span>
</td>
<td class='boxSoft'>
<span class='f4'>
<?php echo $maintainer_community_count; ?></span>
</td>
</tr>
<?php endif; ?>
<tr>
<td class='boxSoft'>
<span class='f4'><a href="packages.php?SeB=m&amp;outdated&amp;K=<?php echo $username; ?>">
<?php print __("Out of Date"); ?></a></span>
</td>
<td class='boxSoft'>
<span class='f4'>
<?php echo $flagged_outdated ?></span>
</td>
</tr>
</table>