mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-03 14:10:57 +08:00
add PT-Gen api point setting
This commit is contained in:
@@ -36,9 +36,9 @@ if (get_user_class() >= UC_MODERATOR || $CURUSER["guard"] == "yes")
|
||||
$uc++;
|
||||
while($arr = mysql_fetch_assoc($ros))
|
||||
{
|
||||
if ($arr['added'] == '0000-00-00 00:00:00')
|
||||
if ($arr['added'] == '0000-00-00 00:00:00' || $arr['added'] == null)
|
||||
$arr['added'] = '-';
|
||||
if ($arr['last_access'] == '0000-00-00 00:00:00')
|
||||
if ($arr['last_access'] == '0000-00-00 00:00:00' || $arr['last_access'] == null)
|
||||
$arr['last_access'] = '-';
|
||||
if($arr["downloaded"] != 0)
|
||||
$ratio = number_format($arr["uploaded"] / $arr["downloaded"], 3);
|
||||
|
||||
Reference in New Issue
Block a user