suggested users page

This commit is contained in:
biglyderv 2025-02-03 08:04:51 -05:00
parent aaa6cb0845
commit 6052dbb9c6
2 changed files with 2 additions and 1 deletions

View file

@ -13,6 +13,7 @@
<h2>Community</h2>
<a class="form-button" href="/tou.php">Terms of Use</a>
<a class="form-button" href="/stats.php?ref=" . <?php echo $username ?>>Suggested Users</a>
<a class="form-button" href="/stats.php">Top Users</a>
<a class="form-button" href="https://dervland.net/">More Projects</a>
</div>

View file

@ -13,7 +13,7 @@
page_header();
function get_handler() {
$api = file_get_contents("https://nbg.dervland.net/node/top");
$api = file_get_contents("https://nbg.dervland.net/node/top?ref=" . $_GET['ref']);
$pr = json_decode($api);
foreach ($pr as $usern => $rr) { ?>