- Someone
- Friday, July 21st, 2006 at 8:07:51am MDT
- " . $a["username"] . ""; else $latestuser = $a['username']; */ $registered = number_format(get_row_count("users")); //$unverified = number_format(get_row_count("users", "WHERE status='pending'")); $downloads = number_format(get_row_count("downloads")); //$dead = number_format(get_row_count("torrents", "WHERE visible='no'")); $r = mysql_query("SELECT value_u FROM avps WHERE arg='upladers'") or sqlerr(__FILE__, __LINE__); $a = mysql_fetch_row($r); $uploaders = 0 + $a[0]; $r = mysql_query("SELECT value_u FROM avps WHERE arg='leechers'") or sqlerr(__FILE__, __LINE__); $a = mysql_fetch_row($r); $leechers = 0 + $a[0]; if ($leechers == 0) $ratio = 0; else $ratio = round($seeders / $leechers * 100); $peers = number_format($seeders + $leechers); $seeders = number_format($seeders); $leechers = number_format($leechers); /* $dt = gmtime() - 180; $dt = sqlesc(get_date_time($dt)); $res = mysql_query("SELECT id, username, class, donated FROM users WHERE last_access >= $dt ORDER BY username") or print(mysql_error()); while ($arr = mysql_fetch_assoc($res)) { if ($activeusers) $activeusers .= ",\n"; switch ($arr["class"]) { case UC_SYSOP: case UC_ADMINISTRATOR: case UC_MODERATOR: $arr["username"] = "" . $arr["username"] . ""; break; case UC_UPLOADER: $arr["username"] = "" . $arr["username"] . ""; break; } $donator = $arr["donated"] > 0; if ($donator) $activeusers .= ""; if ($CURUSER) $activeusers .= "" . $arr["username"] . ""; else $activeusers .= "$arr[username]"; if ($donator) $activeusers .= "Donated $$arr[donated]"; } if (!$activeusers) $activeusers = "There have been no active users in the last 15 minutes."; */ stdhead(); //echo "Welcome to our newest member, $latestuser!\n"; print("
- "); print("
advertising
Update the Post
Either update this post and resubmit it with changes, or make a new post.
You may also comment on this post.
Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.