|
|
|
@ -28,7 +28,7 @@
|
|
|
|
|
$rc = $row['list'];
|
|
|
|
|
$query = "SELECT `users`. *, count(*) AS `list` FROM `users`, `notary`
|
|
|
|
|
WHERE `users`.`id` = `notary`.`from` AND `notary`.`from` != `notary`.`to`
|
|
|
|
|
GROUP BY `notary`.`from` HAVING count(*) > '$rc' ORDER BY `list` DESC";
|
|
|
|
|
GROUP BY `notary`.`from` HAVING count(*) > '$rc' ORDER BY `notary`.`when` DESC";
|
|
|
|
|
$rank = mysql_num_rows(mysql_query($query)) + 1;
|
|
|
|
|
?>
|
|
|
|
|
<td class="DataTD"><?=sprintf(_("You have made %s assurances which ranks you as the #%s top assurer."), intval($rc), intval($rank))?></td>
|
|
|
|
|