mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 12:30:49 +08:00
add composer
This commit is contained in:
16
public/allagents.php
Normal file
16
public/allagents.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
require "../include/bittorrent.php";
|
||||
dbconn();
|
||||
loggedinorreturn();
|
||||
if (get_user_class() < UC_MODERATOR)
|
||||
stderr("Error", "Permission denied.");
|
||||
$res2 = sql_query("SELECT agent,peer_id FROM peers GROUP BY agent ") or sqlerr();
|
||||
stdhead("All Clients");
|
||||
print("<table align=center border=3 cellspacing=0 cellpadding=5>\n");
|
||||
print("<tr><td class=colhead>Client</td><td class=colhead>Peer ID</td></tr>\n");
|
||||
while($arr2 = mysql_fetch_assoc($res2))
|
||||
{
|
||||
print("</a></td><td align=left>$arr2[agent]</td><td align=left>$arr2[peer_id]</td></tr>\n");
|
||||
}
|
||||
print("</table>\n");
|
||||
stdfoot();
|
||||
Reference in New Issue
Block a user