add suburl, expire to subs page

This commit is contained in:
mercury
2025-08-31 00:18:00 +04:00
parent 3dff9e039f
commit 7fc24ea4f4
+4 -2
View File
@@ -6446,11 +6446,13 @@ DNS-over-HTTPS with IP:
if (empty($v['off'])) {
$flag = false;
}
$uid = $v['id'];
$email = $v['email'];
$uid = $v['id'];
$email = $v['email'];
$expire = $v['time'];
break;
}
}
$suburl = "<a href='$scheme://{$domain}/pac$hash/sub?id={$uid}'>subscription</a>";
$download = $this->getBytes($st['users'][$k]['global']['download'] + $st['users'][$k]['session']['download']);
$upload = $this->getBytes($st['users'][$k]['global']['upload'] + $st['users'][$k]['session']['upload']);
$singbox = "$scheme://{$domain}/pac$hash/" . base64_encode(serialize([