error_reporting(0);
require("/home/mibbit/include/accesssearchdb.inc.php");
include "ads.inc.php";
?>
IRC Networks > GIMPnet
include "header.inc.php"; ?>
// Get a list of networks...
$netName = $_GET["network"];
$res = mysql_query("select id, netName, sum(users) as currentUsers, from_unixtime(bot_connect_time), bot_servers, bot_channels, bot_users, bot_ircd_version, bot_motd from ircNetworks join backendnetstats on networkID=ircNetworks.id where isPublic=1 and (unix_timestamp()-ctime)<(60*60) and netName=\"".mysql_real_escape_string($netName)."\"", $sql);
$n = mysql_num_rows($res);
if ($n==0) {
echo "Network not found";
} else {
mysql_data_seek($res, 0);
$info = mysql_fetch_array($res); // Add on the ID here...
$net_id = $info[0];
$net_name = $info[1];
$mib_users = $info[2];
$bot_ctime = $info[3];
$bot_servers = $info[4];
$bot_channels = $info[5];
$bot_users = $info[6];
$bot_ircd_version = $info[7];
$bot_motd = $info[8];
?>
Network information
Network Name: | |
IRCD Version: | |
Last users: | 0 |
Last mibbit users: | 0 |
Last channels: | 0 Show all channels |
Last servers: | 0 |
Last updated: | |
Usage graphs
Week
| Month
| Year
|
|
}
?>
include "footer.inc.php"; ?>