From aaa11c69b4b04c4169a0c3b5c70937eb0bc61013 Mon Sep 17 00:00:00 2001 From: Markus Warg Date: Tue, 19 Oct 2010 16:41:25 +0200 Subject: https://bugs.cacert.org/view.php?id=827 changes submitted by Dirk Astrath on 10.10.2010 by email (cherry picked from commit 066d7cbdcebe67345c61a958c5aa258eb5b14c18) --- pages/wot/15.php | 185 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 185 insertions(+) create mode 100644 pages/wot/15.php (limited to 'pages/wot/15.php') diff --git a/pages/wot/15.php b/pages/wot/15.php new file mode 100644 index 0000000..fa1ca50 --- /dev/null +++ b/pages/wot/15.php @@ -0,0 +1,185 @@ + + + + + + + + '$rc' ORDER BY `notary`.`when` DESC"; +*/ + $query = "SELECT count(*) AS `list` FROM `users` + inner join `notary` on `users`.`id` = `notary`.`from` + GROUP BY `notary`.`from` HAVING count(*) > '$rc'"; + + $rank = mysql_num_rows(mysql_query($query)) + 1; +?> + + +
+
+ + + + + + + + + + + + + $maxpoints) + $awarded = $maxpoints-$points; + $points = $points + $awarded; + $fromuser = mysql_fetch_assoc(mysql_query("select * from `users` where `id`='".intval($row['from'])."'")); +?> + + + + + + + + + + + + + + +
: 
+
+ + + + + + + + + + + + +Revoked"; + } else + { + if ($points+$awarded > $maxpoints) + $awarded = $maxpoints-$points; + $points = $points + $awarded; + } + $fromuser = mysql_fetch_assoc(mysql_query("select * from `users` where `id`='".intval($row['from'])."'")); +?> + + + + + + + + + + + + + + +
: 
+
+ + + + + + + + + + + + +$name"; +?> + + + + + + + + + + + + + + +
: 
+

[ ]

+ -- cgit v1.2.1