Masa Aktif :".substr($validity,0,-1)."Hari";
}else if(substr($validity,-1) == "h"){
$validity = "Masa 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";
}
/*
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. untuk template ini warna ditaruh di keterangan harga <-- Price --> line 81
*/
if($getprice == "3000"){ $color = "#bf0000";} // jika harga == "1000" maka warna = "#01579B"
elseif($getprice == "3000"){ $color = "#bf0000";}
elseif($getprice == "5000"){ $color = "#0E2DDB";}
elseif($getprice == "10000"){ $color = "#E65100";}
elseif($getprice == "20000"){ $color = "#DF00E6";}
elseif($getprice == "60000"){ $color = "#E60C00";}
elseif($getprice == "70000"){ $color = "#E60C00";} // ini yang dicopy untuk menambah warna berdarsarkan harga, kemudian paste di atas baris // else color
// else color
else{ $color = "#BA68C8";}
?>
Rp.
Kode Voucher |
|
Rp.
Username |
|
Password |
|
Username |
Password |
|
|
|
|
|
Login = $dnsname; ?>
Cs : 0822 4072 5472
= " [$num]"; ?>
|
|
|