diff --git a/pages/wot/10.php b/pages/wot/10.php index 51ed019..4e38f65 100644 --- a/pages/wot/10.php +++ b/pages/wot/10.php @@ -23,20 +23,13 @@ '$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'"; + $rc = intval($row['assurances']); + + $query = "SELECT COUNT(1) FROM `notary` GROUP BY `from` HAVING COUNT(1) > {$rc}"; $rank = mysql_num_rows(mysql_query($query)) + 1; ?> @@ -57,16 +50,15 @@ - + @@ -93,17 +85,16 @@ '._("Deleted before Verification").''; else - $name = "$name"; + $name = "$name"; ?> @@ -121,4 +112,3 @@

[ ]

-