I didnt create this, just sharing it with a few small modifications
In admincp.php put this link with the other links you already have (adjust height and width as needed)
also somewhere in admincp.php, put
english.php, put
place image in images/admin/ folder
[ATTACH alt="2617"]5006[/ATTACH]
[ATTACH type="full" alt="Capture.PNG"]5234[/ATTACH]
In admincp.php put this link with the other links you already have (adjust height and width as needed)
<td align="center"><a href="admincp.php?action=torrentclients"><img src="images/admin/clients.png" border="0" width="118" height="80" alt="" /><br /><?php echo T_("CLIENTS"); ?><br /></a></td>also somewhere in admincp.php, put
/////TORRENT CLIENTS////////
if ($action == "torrentclients") {
if ($CURUSER["class"] < 6)
show_error_msg("Error", "Access denied.");
$res12 = SQL_Query_exec("SELECT client, peer_id FROM peers GROUP BY client");
stdhead("Torrent clients");
begin_frame("All Clients");
print("<br /><table class=tabla_table align=center border=0 cellspacing=0 cellpadding=5>\n");
print("<tr><th class=table_head>Client</th><th class=table_head>Peer ID</th><th class=table_head>To ban use</th></tr>\n");
while($arr12 = mysqli_fetch_assoc($res12)) {
$peer=$arr12['peer_id'];
$peer=substr($peer,0,8);
$peer2=$peer;
print("<tr><td class=table_col1> $arr12[client] </td><td class=table_col2> $arr12[peer_id] </td><td class=table_col2> $peer2 </td></tr>\n");
}
print("</table><br />\n");
end_frame();
navmenu();
stdfoot();
}
/////END TORRENT CLIENTS/////english.php, put
$LANG["CLIENTS"] = "Torrent Clients Used";
place image in images/admin/ folder
[ATTACH alt="2617"]5006[/ATTACH]
[ATTACH type="full" alt="Capture.PNG"]5234[/ATTACH]
TTv3 Micro Edition
Ubuntu 20.04.6 LTS Server
Mysql Version: 10.3.39-MariaDB-0ubuntu0.20.04.2
PHP Version: 7.4.3-4ubuntu2.20
Apache Version: Apache/2.4.59 (Ubuntu)
Ubuntu 20.04.6 LTS Server
Mysql Version: 10.3.39-MariaDB-0ubuntu0.20.04.2
PHP Version: 7.4.3-4ubuntu2.20
Apache Version: Apache/2.4.59 (Ubuntu)