Mikhmon Online Extreme Edition

Cari topik dari Mikhmon Standard, Extreme Edition, Fitur Baru Extreme, Panduan Chat, dan Template Voucher. Minimal 2 karakter.

Template Voucher Mikhmon

Katalog Template Voucher + Preview

Halaman ini berisi 8 contoh desain template voucher siap pakai lengkap dengan preview dan kode template.

Sample Desain Template Voucher

Setiap desain memiliki preview visual dan kode template yang bisa langsung dicopy ke Template Editor.

Price Adaptive Classic

Default 190px

Warna dasar otomatis berubah mengikuti nominal harga voucher (getsprice).

Lihat Kode Template
<?php
if (substr($validity, -1) == "d") {
  $validity = "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";
}

if ($getsprice == "1000") { $color = "#FF1493"; }
elseif ($getsprice == "2000") { $color = "#8B008B"; }
elseif ($getsprice == "3000") { $color = "#666666"; }
elseif ($getsprice == "5000") { $color = "#FF4500"; }
elseif ($getsprice == "10000") { $color = "#E65100"; }
elseif ($getsprice == "15000") { $color = "#228B22"; }
elseif ($getsprice == "20000") { $color = "#008000"; }
elseif ($getsprice == "30000") { $color = "#FF00FF"; }
elseif ($getsprice == "60000") { $color = "#E60C00"; }
elseif ($getsprice == "70000") { $color = "#FF0000"; }
else { $color = "#BA68C8"; }
?>
<!--mks-mulai-->
<table style="display:inline-block;width:190px;border:1px solid <?= $color; ?>;border-radius:11px;overflow:hidden;margin:2px;background:#fdfdff;color:#1f2432;position:relative;">
  <tr>
    <td style="padding:7px;">
      <div style="position:relative;overflow:hidden;border-radius:8px;background:linear-gradient(120deg,<?= $color; ?>,#1f2937);padding:6px;color:#fff;">
        <div style="position:absolute;right:-18px;top:-18px;width:54px;height:54px;border-radius:999px;background:rgba(255,255,255,.24);"></div>
        <div style="display:flex;justify-content:space-between;align-items:center;position:relative;">
          <img src="<?= $logo; ?>" style="height:26px;width:26px;border-radius:6px;background:rgba(255,255,255,.2);padding:2px;">
          <div style="font:800 14px/1.1 Tahoma;text-align:right;"><?= $price; ?></div>
        </div>
      </div>
      <div style="margin-top:6px;border:1px dashed <?= $color; ?>;border-radius:8px;padding:5px;text-align:center;">
        <div style="font:800 14px/1.2 Tahoma;color:#121826;"><?= $username; ?></div>
        <div style="font:700 11px/1.2 Tahoma;color:#2b3b55;"><?= $password; ?></div>
      </div>
      <div style="font:700 9px/1.35 Tahoma;margin-top:5px;color:#1f2432;">
        <?= $validity; ?><br>
        <?= $timelimit; ?><br>
        <?= $datalimit; ?>
      </div>
      <div style="display:flex;justify-content:space-between;align-items:center;margin-top:6px;">
        <span style="font:700 9px/1.2 Tahoma;">Login: <?= $dnsname; ?></span>
        <div style="width:34px;height:34px;"><?= $qrcode; ?></div>
      </div>
      <div style="margin-top:6px;background:<?= $color; ?>;color:#fff;font:700 9px/1.2 Tahoma;padding:3px 5px;border-radius:6px;">
        PROFILE <?= $profile; ?> | No. <?= $num; ?>
      </div>
    </td>
  </tr>
</table>
<!--mks-akhir-->

Clean Corporate

Default 190px

Tampilan formal dan rapi untuk area kantor, sekolah, dan meeting room.

Lihat Kode Template
<?php
if ($getsprice == "1000") { $color = "#FF1493"; }
elseif ($getsprice == "2000") { $color = "#8B008B"; }
elseif ($getsprice == "3000") { $color = "#666666"; }
elseif ($getsprice == "5000") { $color = "#FF4500"; }
elseif ($getsprice == "10000") { $color = "#E65100"; }
elseif ($getsprice == "15000") { $color = "#228B22"; }
elseif ($getsprice == "20000") { $color = "#008000"; }
elseif ($getsprice == "30000") { $color = "#FF00FF"; }
elseif ($getsprice == "60000") { $color = "#E60C00"; }
elseif ($getsprice == "70000") { $color = "#FF0000"; }
else { $color = "#BA68C8"; }
?>
<!--mks-mulai-->
<table style="display:inline-block;width:190px;border:1px solid <?= $color; ?>;border-radius:8px;margin:2px;background:#ffffff;color:#203044;">
  <tr>
    <td style="padding:8px;">
      <div style="display:flex;justify-content:space-between;align-items:center;">
        <img src="<?= $logo; ?>" style="height:30px;">
        <span style="font:700 13px/1 Arial;color:<?= $color; ?>;"><?= $price; ?></span>
      </div>
      <div style="margin-top:6px;border:1px solid <?= $color; ?>;border-radius:6px;padding:6px;text-align:center;">
        <div style="font:700 13px/1.2 Arial;"><?= $username; ?></div>
        <div style="font:700 11px/1.2 Arial;color:#4b5f77;"><?= $password; ?></div>
      </div>
      <div style="font:700 9px/1.4 Arial;margin-top:6px;color:#30465f;">
        Validity: <?= $validity; ?> | Time: <?= $timelimit; ?><br>
        Data: <?= $datalimit; ?> | Profile: <?= $profile; ?>
      </div>
      <div style="display:flex;justify-content:space-between;align-items:center;margin-top:6px;">
        <span style="font:700 9px/1 Arial;">Login: <?= $dnsname; ?></span>
        <div style="width:34px;height:34px;"><?= $qrcode; ?></div>
      </div>
      <div style="margin-top:6px;background:<?= $color; ?>;color:#fff;font:700 9px/1.2 Arial;padding:3px 5px;border-radius:5px;">
        Profile <?= $profile; ?> | Ref <?= $num; ?>
      </div>
    </td>
  </tr>
</table>
<!--mks-akhir-->

Sunset Glass

Default 190px

Nuansa warm dengan panel glass, cocok untuk cafe dan food court.

Lihat Kode Template
<?php
if ($getsprice == "1000") { $color = "#FF1493"; }
elseif ($getsprice == "2000") { $color = "#8B008B"; }
elseif ($getsprice == "3000") { $color = "#666666"; }
elseif ($getsprice == "5000") { $color = "#FF4500"; }
elseif ($getsprice == "10000") { $color = "#E65100"; }
elseif ($getsprice == "15000") { $color = "#228B22"; }
elseif ($getsprice == "20000") { $color = "#008000"; }
elseif ($getsprice == "30000") { $color = "#FF00FF"; }
elseif ($getsprice == "60000") { $color = "#E60C00"; }
elseif ($getsprice == "70000") { $color = "#FF0000"; }
else { $color = "#BA68C8"; }
?>
<?php $bg = 'linear-gradient(135deg,' . $color . ',#ff3d54,#7b2cff)'; ?>
<!--mks-mulai-->
<table style="display:inline-block;width:190px;border-radius:12px;overflow:hidden;margin:2px;border:1px solid <?= $color; ?>;background:<?= $bg; ?>;color:#fff;">
  <tr>
    <td style="padding:8px;background:rgba(0,0,0,.18);">
      <div style="display:flex;justify-content:space-between;align-items:center;">
        <img src="<?= $logo; ?>" style="height:30px;border-radius:6px;">
        <span style="font:700 13px/1 Tahoma;"><?= $price; ?></span>
      </div>
      <div style="margin-top:6px;padding:6px;border-radius:8px;background:rgba(255,255,255,.2);backdrop-filter:blur(3px);">
        <div style="font:700 13px/1.2 Tahoma;"><?= $username; ?></div>
        <div style="font:700 11px/1.2 Tahoma;"><?= $password; ?></div>
      </div>
      <div style="font:700 9px/1.4 Tahoma;margin-top:6px;">
        <?= $validity; ?> | <?= $timelimit; ?> | <?= $datalimit; ?><br>
        Login: <?= $dnsname; ?>
      </div>
      <div style="display:flex;justify-content:space-between;align-items:center;margin-top:5px;">
        <span style="font:700 9px/1 Tahoma;">#<?= $num; ?> <?= $profile; ?></span>
        <div style="width:34px;height:34px;"><?= $qrcode; ?></div>
      </div>
      <div style="margin-top:5px;font:700 9px/1.2 Tahoma;color:#fff;background:<?= $color; ?>;padding:3px 6px;border-radius:6px;">
        Login cepat: <?= $dnsname; ?>
      </div>
    </td>
  </tr>
</table>
<!--mks-akhir-->

Aurora Lime

Default 190px

Kombinasi hijau-lime dengan kontras tajam untuk booth penjualan cepat.

Lihat Kode Template
<?php
if ($getsprice == "1000") { $color = "#FF1493"; }
elseif ($getsprice == "2000") { $color = "#8B008B"; }
elseif ($getsprice == "3000") { $color = "#666666"; }
elseif ($getsprice == "5000") { $color = "#FF4500"; }
elseif ($getsprice == "10000") { $color = "#E65100"; }
elseif ($getsprice == "15000") { $color = "#228B22"; }
elseif ($getsprice == "20000") { $color = "#008000"; }
elseif ($getsprice == "30000") { $color = "#FF00FF"; }
elseif ($getsprice == "60000") { $color = "#E60C00"; }
elseif ($getsprice == "70000") { $color = "#FF0000"; }
else { $color = "#BA68C8"; }
?>
<?php $grad = 'linear-gradient(135deg,#052f25,' . $color . ',#c8ff36)'; ?>
<!--mks-mulai-->
<table style="display:inline-block;width:190px;border:1px solid <?= $color; ?>;border-radius:11px;margin:2px;background:<?= $grad; ?>;color:#f6fff5;overflow:hidden;">
  <tr>
    <td style="padding:8px;background:rgba(0,0,0,.16);">
      <div style="display:flex;justify-content:space-between;align-items:center;">
        <div style="display:flex;align-items:center;gap:5px;">
          <img src="<?= $logo; ?>" style="height:25px;width:25px;border-radius:6px;background:rgba(255,255,255,.22);padding:2px;">
          <span style="font:700 10px/1 Arial;"><?= $hotspotname; ?></span>
        </div>
        <span style="font:900 14px/1 Arial;color:#fff;"><?= $price; ?></span>
      </div>
      <div style="margin-top:6px;padding:6px;border-radius:8px;background:rgba(255,255,255,.22);text-align:center;">
        <div style="font:700 14px/1.2 Arial;color:#08322a;"><?= $username; ?></div>
        <div style="font:700 11px/1.2 Arial;color:#12443a;"><?= $password; ?></div>
      </div>
      <div style="font:700 9px/1.35 Arial;margin-top:5px;">
        Aktif <?= $validity; ?> | Durasi <?= $timelimit; ?><br>
        Kuota <?= $datalimit; ?> | <?= $profile; ?>
      </div>
      <div style="display:flex;justify-content:space-between;align-items:center;margin-top:5px;">
        <span style="font:700 9px/1.3 Arial;">Login: <?= $dnsname; ?></span>
        <div style="width:32px;height:32px;"><?= $qrcode; ?></div>
      </div>
      <div style="margin-top:5px;background:<?= $color; ?>;padding:3px 5px;border-radius:6px;font:700 9px/1 Arial;color:#fff;">
        Paket <?= $profile; ?> | No <?= $num; ?>
      </div>
    </td>
  </tr>
</table>
<!--mks-akhir-->

Thermal Compact

Thermal 80mm

Format ringkas untuk kertas thermal 80mm, fokus ke kecepatan transaksi.

Lihat Kode Template
<?php
if ($getsprice == "1000") { $color = "#FF1493"; }
elseif ($getsprice == "2000") { $color = "#8B008B"; }
elseif ($getsprice == "3000") { $color = "#666666"; }
elseif ($getsprice == "5000") { $color = "#FF4500"; }
elseif ($getsprice == "10000") { $color = "#E65100"; }
elseif ($getsprice == "15000") { $color = "#228B22"; }
elseif ($getsprice == "20000") { $color = "#008000"; }
elseif ($getsprice == "30000") { $color = "#FF00FF"; }
elseif ($getsprice == "60000") { $color = "#E60C00"; }
elseif ($getsprice == "70000") { $color = "#FF0000"; }
else { $color = "#BA68C8"; }
?>
<!--mks-mulai-->
<table style="display:inline-block;width:280px;border:1px dashed <?= $color; ?>;border-radius:8px;margin:2px;background:linear-gradient(180deg,#fffef7,#ffe9c4);color:#251708;overflow:hidden;">
  <tr>
    <td style="padding:8px;">
      <div style="display:flex;justify-content:space-between;align-items:center;">
        <img src="<?= $logo; ?>" style="height:26px;width:26px;border-radius:6px;border:1px solid <?= $color; ?>;background:#fff;padding:2px;">
        <div style="font:700 12px/1.2 Consolas;color:<?= $color; ?>;"><?= strtoupper($hotspotname); ?></div>
        <div style="font:800 12px/1.2 Consolas;color:<?= $color; ?>;"><?= $price; ?></div>
      </div>
      <div style="text-align:center;font:700 10px/1.2 Consolas;margin-top:2px;"><?= $profile; ?> | <?= $price; ?></div>
      <hr style="border:0;border-top:1px dashed <?= $color; ?>;margin:6px 0;">
      <div style="font:700 16px/1.2 Consolas;text-align:center;letter-spacing:1px;"><?= $username; ?></div>
      <div style="font:700 12px/1.2 Consolas;text-align:center;"><?= $password; ?></div>
      <div style="font:700 10px/1.4 Consolas;margin-top:6px;">
        VALID <?= $validity; ?><br>
        TIME <?= $timelimit; ?><br>
        DATA <?= $datalimit; ?><br>
        LOGIN <?= $dnsname; ?>
      </div>
      <div style="text-align:center;margin-top:6px;"><?= $qrcode; ?></div>
      <div style="text-align:center;font:700 10px/1 Consolas;margin-top:4px;background:<?= $color; ?>;color:#fff;padding:3px;border-radius:5px;">No. <?= $num; ?></div>
    </td>
  </tr>
</table>
<!--mks-akhir-->

Ticket Split

Default 190px

Layout ala tiket dengan panel data kiri-kanan yang mudah dipindai kasir.

Lihat Kode Template
<?php
if ($getsprice == "1000") { $color = "#FF1493"; }
elseif ($getsprice == "2000") { $color = "#8B008B"; }
elseif ($getsprice == "3000") { $color = "#666666"; }
elseif ($getsprice == "5000") { $color = "#FF4500"; }
elseif ($getsprice == "10000") { $color = "#E65100"; }
elseif ($getsprice == "15000") { $color = "#228B22"; }
elseif ($getsprice == "20000") { $color = "#008000"; }
elseif ($getsprice == "30000") { $color = "#FF00FF"; }
elseif ($getsprice == "60000") { $color = "#E60C00"; }
elseif ($getsprice == "70000") { $color = "#FF0000"; }
else { $color = "#BA68C8"; }
?>
<?php $side = $color; ?>
<!--mks-mulai-->
<table style="display:inline-block;width:190px;border:1px solid <?= $color; ?>;border-radius:9px;overflow:hidden;margin:2px;background:#f7fbff;color:#163351;">
  <tr>
    <td style="width:60px;background:<?= $side; ?>;color:#fff;padding:8px 6px;vertical-align:top;">
      <div style="text-align:center;">
        <img src="<?= $logo; ?>" style="height:22px;width:22px;border-radius:6px;background:rgba(255,255,255,.22);padding:2px;">
      </div>
      <div style="font:700 9px/1.3 Tahoma;"><?= $profile; ?></div>
      <div style="font:700 11px/1.3 Tahoma;margin-top:2px;"><?= $price; ?></div>
      <div style="margin-top:6px;"><?= $qrcode; ?></div>
    </td>
    <td style="padding:7px;vertical-align:top;">
      <div style="font:700 12px/1.2 Tahoma;"><?= $username; ?></div>
      <div style="font:700 10px/1.2 Tahoma;color:<?= $color; ?>;"><?= $password; ?></div>
      <div style="font:700 9px/1.35 Tahoma;margin-top:5px;">
        <?= $validity; ?> | <?= $timelimit; ?><br>
        <?= $datalimit; ?>
      </div>
      <div style="font:700 9px/1.3 Tahoma;margin-top:5px;"><?= $dnsname; ?></div>
      <div style="font:700 8px/1 Tahoma;margin-top:5px;color:<?= $color; ?>;">Ref: <?= $comment; ?></div>
    </td>
  </tr>
</table>
<!--mks-akhir-->

Bold Price Tag

Default 190px

Harga dibuat dominan agar pelanggan cepat memilih paket di etalase.

Lihat Kode Template
<?php
if ($getsprice == "1000") { $color = "#FF1493"; }
elseif ($getsprice == "2000") { $color = "#8B008B"; }
elseif ($getsprice == "3000") { $color = "#666666"; }
elseif ($getsprice == "5000") { $color = "#FF4500"; }
elseif ($getsprice == "10000") { $color = "#E65100"; }
elseif ($getsprice == "15000") { $color = "#228B22"; }
elseif ($getsprice == "20000") { $color = "#008000"; }
elseif ($getsprice == "30000") { $color = "#FF00FF"; }
elseif ($getsprice == "60000") { $color = "#E60C00"; }
elseif ($getsprice == "70000") { $color = "#FF0000"; }
else { $color = "#BA68C8"; }
?>
<?php $priceColor = $color; ?>
<!--mks-mulai-->
<table style="display:inline-block;width:190px;border:1px solid <?= $priceColor; ?>;border-radius:9px;overflow:hidden;margin:2px;background:#fff;color:#1f2937;">
  <tr>
    <td style="padding:7px;">
      <div style="display:flex;justify-content:space-between;align-items:center;">
        <img src="<?= $logo; ?>" style="height:30px;">
        <span style="font:900 16px/1 Tahoma;color:<?= $priceColor; ?>;"><?= $price; ?></span>
      </div>
      <div style="margin-top:6px;padding:6px;border-radius:7px;background:#f5f7fb;">
        <?php if ($v_opsi == 'up') { ?>
          <div style="font:700 12px/1.2 Tahoma;"><?= $username; ?></div>
          <div style="font:700 10px/1.2 Tahoma;"><?= $password; ?></div>
        <?php } else { ?>
          <div style="font:700 12px/1.2 Tahoma;"><?= $username; ?></div>
        <?php } ?>
      </div>
      <div style="font:700 9px/1.35 Tahoma;margin-top:6px;">
        <?= $profile; ?> | <?= $validity; ?><br>
        <?= $timelimit; ?> | <?= $datalimit; ?>
      </div>
      <div style="display:flex;justify-content:space-between;align-items:center;margin-top:5px;">
        <span style="font:700 9px/1 Tahoma;"><?= $dnsname; ?></span>
        <div style="width:33px;height:33px;"><?= $qrcode; ?></div>
      </div>
      <div style="margin-top:5px;background:<?= $priceColor; ?>;color:#fff;font:700 9px/1.2 Tahoma;padding:3px 5px;border-radius:6px;">
        <?= $profile; ?> | Ref <?= $num; ?>
      </div>
    </td>
  </tr>
</table>
<!--mks-akhir-->

MKS Classic Reference

Default 190px

Template referensi MKS dengan warna harga adaptif berdasarkan nominal voucher.

Lihat Kode Template
<?php
// Copy Paste ke template editor [Settings -> Template Editor].

if(substr($validity,-1) == "d"){
  $validity = "   <br>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:<?php echo $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($getsprice == "3000"){ $color = "#666";} // jika harga == "1000" maka warna = "#01579B"
elseif($getsprice == "1000"){ $color = "#FF1493";}
elseif($getsprice == "2000"){ $color = "#8B008B";}
elseif($getsprice == "3000"){ $color = "#666";}
elseif($getsprice == "5000"){ $color = "#FF4500";}
elseif($getsprice == "10000"){ $color = "#E65100";}
elseif($getsprice == "15000"){ $color = "#228B22";}
elseif($getsprice == "20000"){ $color = "#008000";}
elseif($getsprice == "30000"){ $color = "#FF00FF";}
elseif($getsprice == "60000"){ $color = "#E60C00";}
elseif($getsprice == "70000"){ $color = "#FF0000";}
// ini yang dicopy untuk menambah warna berdarsarkan harga, kemudian paste di atas baris // else color

// else color
else{ $color = "#BA68C8";}
?>
 <!--mks-mulai-->
<style>
.qrcode{
        height:60px;
        width:60px;
}
</style>
<table style="display: inline-block;border-collapse: collapse;border: 1px solid #666;margin: 2.5px;width: 190px;overflow:hidden;position:relative;padding: 0px;margin: 2px;border: 1px solid #000000;">
<tbody>
<tr>
<td style="color:#666;" valign="top">
<table style="width:100%;">
<tbody>
<tr>
<td style="width:75px">
<div style="position:relative;z-index:-1;padding: 0px;float:left;">
<div style="position:absolute;top:0;display:inline;margin-top:-100px;width: 0; height: 0; border-top: 230px solid transparent;border-left: 50px solid transparent;border-right:140px solid #DCDCDC; "></div>
</div>
<img style="margin:5px 0 0 5px;" width="85" height="20" src="<?php echo $logo;?>" alt="logo">
</td>
<td style="width:115px">
<div style="float:right;margin-top:-6px;margin-right:0px;width:5%;text-align:right;font-size:7px;">
</div>
<div style="text-align:right;font-weight:bold;font-family:Tahoma;font-size:20px;padding-left:17px;color:<?php echo $color ?>">
<small style="font-size:10px;margin-left:-17px;position:absolute;"><?= explode(" ",$price)[0]?></small><?= explode(" ",$price)[1]?>
</div>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td style="color:#666;border-collapse: collapse;" valign="top">
<table style="width:100%;border-collapse: collapse;">
<tbody>
<tr>
<td style="width:95px"valign="top" >
<div style="clear:both;color:#555;margin-top:2px;margin-bottom:2.5px;">
<?php if($v_opsi=='up'){ ?>
<?php }else{ ?>
<div style="padding:0px;border-bottom:1px solid<?php echo $color ?>;text-align:center;font-weight:bold;font-size:10px;">VOUCHER</div>
<div style="padding:0px;border-bottom:1px solid<?php echo $color ?>;text-align:center;font-weight:bold;font-size:14px;;color:#000000;"><?php echo $username;?></div>
<?php } ?>
</div>
<div style="text-align:center;color:#111;font-size:7px;font-weight:bold;margin:0px;padding:2.5px;">
Hubungkan ke wifi MKS
Buka brouser ketik  : mks.net
</div>
</td>
<td style="width:100px;text-align:right;">
<div style="clear:both;padding:0 2.5px;font-size:7px;font-weight:bold;color:#000000">
<?php echo $validity;?><br> <?php echo $timelimit;?> <br><?php echo $datalimit;?>
</div>
<div style="float:right;padding:1px;text-align:right;width:70%;margin:0 5px -20px 0;"><?= $qrcode ?></div>
</td>
</tr>
<tr>
<td style="background:<?php echo $color ?>;color:#666;padding:0px;" valign="top" colspan="2">
<div style="text-align:left;color:#fff;font-size:9px;font-weight:bold;margin:0px;padding:2.5px;">
CS: <b>0822 4072 4572</b>
</div>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
 <!--mks-akhir-->
WA