Move user statistics table to the right

Display user statistics under the general package statistics table.

Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
Lukas Fleischer 2014-07-01 21:16:40 +02:00
parent 6a319a3be7
commit 8535435595

View file

@ -71,20 +71,6 @@ html_header( __("Home") );
<?= __('Unsupported packages are user produced content. Any use of the provided files is at your own risk.'); ?>
</div>
</div>
<?php if (!empty($_COOKIE["AURSID"])): ?>
<div id="pkg-updates" class="widget box">
<table>
<tr>
<td class="pkg-name">
<?php
$userid = uid_from_sid($_COOKIE["AURSID"]);
user_table($userid);
?>
</td>
</tr>
</table>
</div>
<?php endif; ?>
</div>
</div>
<div id="content-right">
@ -103,6 +89,11 @@ html_header( __("Home") );
<div id="pkg-stats" class="widget box">
<?php general_stats_table(); ?>
</div>
<?php if (!empty($_COOKIE["AURSID"])): ?>
<div id="pkg-stats" class="widget box">
<?php user_table(uid_from_sid($_COOKIE["AURSID"])); ?>
</div>
<?php endif; ?>
</div>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>