diff --git a/web/html/tu.php b/web/html/tu.php index e2f77127..d2216190 100644 --- a/web/html/tu.php +++ b/web/html/tu.php @@ -134,6 +134,8 @@ if ($atype == "Trusted User" || $atype == "Developer") { query($q); + + $details = array(); + while ($row = $result->fetch(PDO::FETCH_ASSOC)) { + $details[] = $row; + } + + return $details; +} + /** * Determine the total number of Trusted User proposals * diff --git a/web/template/tu_last_votes_list.php b/web/template/tu_last_votes_list.php new file mode 100644 index 00000000..090ce8d0 --- /dev/null +++ b/web/template/tu_last_votes_list.php @@ -0,0 +1,40 @@ +
= __("User") ?> | += __("Last vote") ?> | +
---|---|
= __("No results found.") ?> | |
+ + = htmlspecialchars($username) ?> | + + = htmlspecialchars($username) ?> + + ++ = intval($row["LastVote"]) ?> + | +