suggested users page
This commit is contained in:
parent
aaa6cb0845
commit
6052dbb9c6
2 changed files with 2 additions and 1 deletions
|
@ -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>
|
||||
|
|
|
@ -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) { ?>
|
||||
|
|
Loading…
Reference in a new issue