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:"; } /* Sesuikan harga dan warna masing-masing. warna bisa dilihat di https://material.io/guidelines/style/color.html#color-color-palette variable $color background-color:; -webkit-print-color-adjust: exact; ditambahkan ke style di tag html yang ingin dikasi warna. */ if ($getsprice == "1000") { $color = "#2196F3"; } // jika harga == "1000" maka warna = "#2196F3" elseif ($getsprice == "3000") { $color = "#009688"; } elseif ($getsprice == "5000") { $color = "#FF9800"; } elseif ($getsprice == "12000") { $color = "#304FFE"; } // ini yang dicopy untuk menambah warna berdarsarkan harga, kemudian paste di atas baris // else color // else color else { $color = "#FFFFFF"; } ?>
logo
Kode Voucher
Username
Password
Username Password
Login: http://