<!-- START CUSTOM HTML -->
 <!-- ############################# -->
 {assign var="price" value=$vs['total']}
 {if $price eq '10000'}
 {assign var="color" value='#008000'}
 {elseif $price eq '150000'}
 {assign var="color" value='#008000'}
 {elseif $price eq '5000'}
 {assign var="color" value='#008000'}
 {elseif $price eq '10000'}
 {assign var="color" value='#008000'}
 {elseif $price eq '20000'}
 {assign var="color" value='#008000'}
 {else}
 {assign var="color" value='#008000'}
 {/if}
 <style type="text/css">
 .qrcode img{
 height:70px;
 width:70px;
 border: 1px solid {$color};
 border-radius: 3px; 
 width:70px;
 height:70px;
 }
 
 </style>
 
 <table style="display: inline-block;border-collapse: collapse;border: 1px solid #666;margin: 2.5px;width: 190px;overflow:hidden;position:relative;padding: 1px;margin: 0px;border: 1px solid #444; background:;margin-right: 6px ">
 <tbody>
 <tr>
 <td style="background:transparent;color:#666;padding:0px;" valign="top" colspan="2">
 <div style="text-align:center;color:#FF0000;font-size:9px;font-weight:bold;margin:1px;padding:2.5px;">
 
 </div>
 </td> 
 </tr>
 <tr>
 <td style="color:#666;" valign="top">
 <table style="width:100%;">
 <tbody>
 <tr> 
 <tr>
 <td style="width:15px">
 <div style="position:relative;z-index:-1;padding: 0px;float:left;">
 <div style="position:absolute;top:20;display:inline;margin-top:-120px;width: 0; height: 0; border-top: 230px solid transparent;border-left: 50px solid transparent;border-right:140px solid #DCDCDC; "></div> 
 
 </div>
 <img style="margin:-15px 0 0 -7px;" width="97" height="40" src="{$_theme}images/{$_c['show-logo']}" alt="logo"> 
 </td> 
 <td style="width:115px">
 <div style="float:right;margin-top:30px;margin-right:-3px;width:5%;text-align:right;font-size:7px;">
 </div>
 <div style="margin:-15px;text-align:right;font-weight:bold;font-size:20px;padding-left:15px;color:{$color}"> 
 <small style="font-size:0px;margin-left:-10px;position:absolute;">
 {$_c['currency_code']}
 </small>
 {number_format($vs['total'],0,$_c['dec_point'],$_c['thousands_sep'])}
 </div> 
 </td> 
 </tr>
 </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:-7px;margin-bottom:0px;">
 {if $vs['secret'] eq $vs['code']} 
 <div style="padding:0px;border-bottom:1px solid;text-align:left;font-weight:bold;font-size:10px;color:#444">KODE VOUCHER</div> 
 <div style="padding:0px;border-bottom:1px solid;text-align:left;font-weight:bold;font-size:18px;color:{$color}">{$vs['code']}</div>
 {else}
 <div style="padding:0px;border-bottom:1px solid;text-align:left;font-weight:bold;font-size:10px;color:#444">KODE MEMBER</div> 
 <div style="padding:0px;border-bottom:1px solid;text-align:left;font-weight:bold;font-size:18px;color:{$color}">
 {$vs['code']} <br> {$vs['secret']}</div>
 {/if}
 <!--mks-voucher-akhir-->
 </div>
 <div style="text-align:left;color:#111;font-size:9px;font-weight:bold;margin:0px;padding:0px;">
 Masa Aktif : {$vs['timelimit']}<br>
 <b>Expired : 1 hari </b>
 <b>Reseller: Winda/Pesab </b>
 <!-- Validity : {$vs['validperiod']}<br> -->
 <!-- AGEN : {$vs['owner_data']} -->
 </div>
 </td> 
 <p style=" margin-top:-18px;margin-bottom:-0px"></p>
 <td style="width:70px;text-align:right;">
 <!-- <div style="clear:both;padding:0 2.5px;font-size:7px;font-weight:bold;color:#000000"> 
 </div> -->
 <div style="solid;float:right;padding:-20px;text-align:right;width:110%;margin:0 -10px -10px 10;">
 <div class="qrcode" id="{$vs['code']}">
 {if $vs['secret'] eq $vs['code']}
 <script>
 var typeNumber = 0;
 var errorCorrectionLevel ='L';
 var qr = qrcode(typeNumber, errorCorrectionLevel);
 {if $vs['type'] eq 'HOTSPOT'}
 qr.addData("http://{$hotspotdns}/login?username={$vs['code']}&password={$vs['code']}");
 {else}
 qr.addData("SERVICE : {$vs['plan_name']}\nPROVIDER : {$_c['CompanyName']}\nUSERNAME : {$vs['code']}\nPASSWORD : {$vs['code']}\nTOTAL PRICE : {$vs['total']}");
 {/if}
 qr.make();
 document.getElementById("{$vs['code']}").innerHTML = qr.createImgTag();
 </script>
 {else}
 <script>
 var typeNumber = 0;
 var errorCorrectionLevel ='L';
 var qr = qrcode(typeNumber, errorCorrectionLevel);
 {if $vs['type'] eq 'HOTSPOT'}
 qr.addData("http://{$hotspotdns}/login?username={$vs['code']}&password={$vs['secret']}");
 {else}
 qr.addData("SERVICE : {$vs['plan_name']}\nPROVIDER : {$_c['CompanyName']}\nUSERNAME : {$vs['code']}\nPASSWORD : {$vs['secret']}\nTOTAL PRICE : {$vs['total']}");
 {/if}
 qr.make();
 document.getElementById("{$vs['code']}").innerHTML = qr.createImgTag();
 </script>
 {/if}
 </div> 
 </div>
 </td> 
 </tr>
 <tr>
 <td style="background:{$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;">
 <b>JANGAN DIBUANG SELAMA AKTIF</b>
 <span style="float: right;" id="num">[{$vs['number']}]</span>
 </div>
 </td> 
 </tr>
 </tbody>
 </table>
 </td>
 </tr>
 </tbody>
 </table>
 <!--mks-akhir-->
 
 
 
 
 <!-- ############################# -->
 <!-- END CUSTOM HTML -->
