Template Editor].
if (substr($validity, -1) == "d") {
$validity = "Aktif:" . substr($validity, 0, -1) . "Hari";
} else if (substr($validity, -1) == "h") {
$validity = "Aktif:" . substr($validity, 0, -1) . "Jam";
}
if (substr($timelimit, -1) == "d" & strlen($timelimit) > 3) {
$timelimit = "Durasi:" . ((substr($timelimit, 0, -1) * 7) + substr($timelimit, 2, 1)) . "Hari";
} else if (substr($timelimit, -1) == "d") {
$timelimit = "Durasi:" . substr($timelimit, 0, -1) . "Hari";
} else if (substr($timelimit, -1) == "h") {
$timelimit = "Durasi:" . substr($timelimit, 0, -1) . "Jam";
} else if (substr($timelimit, -1) == "w") {
$timelimit = "Durasi:" . (substr($timelimit, 0, -1) * 7) . "Hari";
}
if ($datalimit == "") {
$kuota = " Unlimited";
} else {
$kuota = "Kuota:";
}
?>
= $hotspotname; ?> = " [$num]"; ?> |
Kode Voucher |
= $username; ?> |
Username |
= $username; ?> |
Password |
= $password; ?> |
Username |
Password |
= $username; ?> |
= $password; ?> |
|
= $qrcode ?>
|
= $price; ?> |
= $validity; ?> = $timelimit; ?> = $kuota . $datalimit; ?> |
Login: http://= $dnsname; ?> |
|