".CLAN_APPLICANT." GROUP BY " . db_prefix("clans") . ".clanid ORDER BY c DESC"; $result = db_query($sql); if (db_num_rows($result)>0){ output("`7You ask %s`7 for the clan listings. She points you toward a marquee board near the entrance of the lobby that lists the clans.`0`n`n",$registrar); $v = 0; $memb_n = translate_inline("(%s members)"); $memb_1 = translate_inline("(%s member)"); rawoutput('
', true); if ($row['c'] == 1) { $memb = sprintf($memb_1, $row['c']); } else { $memb = sprintf($memb_n, $row['c']); } output_notl(" <%s> %s %s`n", $row['clanshort'], $row['clanid'], full_sanitize(htmlentities($row['clanname']), ENT_COMPAT, getsetting("charset", "ISO-8859-1")), $memb, true); rawoutput(' |