From af8f60fe7fab642dff85658acc2b560cc0ed6f20 Mon Sep 17 00:00:00 2001 From: canyonknight Date: Wed, 23 May 2012 13:49:43 -0400 Subject: Overhaul trusted user proposal page to match archweb * Change all boxes and other CSS to match archweb * General fixups in XHTML formatting * Change results table to match color scheme everywhere else Signed-off-by: canyonknight Signed-off-by: Lukas Fleischer --- web/template/tu_list.php | 112 +++++++++++++++++++++++------------------------ 1 file changed, 55 insertions(+), 57 deletions(-) (limited to 'web/template/tu_list.php') diff --git a/web/template/tu_list.php b/web/template/tu_list.php index 7eb6f323..d8acd713 100644 --- a/web/template/tu_list.php +++ b/web/template/tu_list.php @@ -1,60 +1,58 @@ -
+

- - - - - - - - - - - - - - - - - - + + + +
- -
- - '> - + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - -
+ + + + + + " . $row['User'] . ""; - } else { - print "N/A"; - } - ?> - - - - - - - - - -
+ $q = "SELECT * FROM TU_Votes WHERE VoteID = " . $row['ID'] . " AND UserID = " . uid_from_sid($_COOKIE["AURSID"]); + $result_tulist = db_query($q, $dbh); + if ($result_tulist): + $hasvoted = mysql_num_rows($result_tulist); + else: + $hasvoted = 0; + endif; + if ($hasvoted == 0): ?> + + + + +
-- cgit v1.2.3-24-g4f1b