ok
Direktori : /proc/thread-self/root/home2/selectio/www/lilyexpresslive/software/admin/ |
Current File : //proc/thread-self/root/home2/selectio/www/lilyexpresslive/software/admin/cargo-invoice-empty.php |
<?php ob_start(); session_start(); include("inc/config.php"); include("inc/functions.php"); include("inc/CSRF_Protect.php"); $csrf = new CSRF_Protect(); $error_message = ''; $success_message = ''; $error_message1 = ''; $success_message1 = ''; // Check if the user is logged in or not if(!isset($_SESSION['user'])) { header('location: login.php'); exit; } $clientId=$_SESSION['user']['id']; $clientLocation=$_SESSION['user']['location']; $clientType=$_SESSION['user']['role']; $list_id=array(); $list_id=$_GET['list_id']; $li=explode(",",$list_id); $k=0; foreach($li as $lid) { $k++; $bar[]=$lid; } ?> <?php for($is=0;$is<$k;$is++) {?> <?php for($i=1;$i<=4;$i++){ ?> <body > <div > <table style="border: none;" class="watermark"> <tr> <td style="border: none;"> <table style="border-bottom: none;"> <tr> <td width="18%" style="border-right: none;padding-left: 2px;border-bottom: none;"> <img src="img/logo.png" style="width: 100%;"> </td> <td width="22%" style="border-left: none;padding: 2px;vertical-align: top;border-bottom: none;"> <p style="font-size:10px;margin-left:2%;"> <b style="font-size:12px;font-weight: 900">SPEED LINK SERVICE</b><br> #6, Huskur Main Road,<br> Makali, Bangalore-562123<br> Ph : +9180 2963 0029,<br> Mb no : +91 9880963232<br> E-mail : info@speedlinkservices.in<br> <b>GST NO : 29ALUPM9087C1ZB</b></p> </td> <td width="28%" style="padding: 2px;vertical-align: top;border-bottom: none;"> <table style="vertical-align: top;"> <tr style="vertical-align: top;"> <td style="padding: 2px;vertical-align: top;border-bottom:none;" class="bg"> <center style="font-size:12px;">BOOKING DATE</center> </td> </tr> <tr style="border: none;text-align:center"> <td style="padding: 3px;border-top:none;"> <b> </b> </td> </tr> <tr style="border: none;vertical-align: top;"> <td style="padding: 2px;vertical-align: top;border-bottom:none;" class="bg"> <center style="font-size:12px;">DESTINATION</center> </td> </tr> <tr style="border: none;text-align:center"> <td style="padding: 3px;border-top:none;"> <b> </b> </td> </tr> </table> </td> <td width="25%" style="vertical-align: top;border-bottom: none;padding-top: 2px;"> <table style="border: none;vertical-align: top;border-bottom: none;"> <tr style="border: none;vertical-align: top;"> <td style="border: none;text-align:center" > <center>AWB No:<br><img alt="testing" class="img_bar" src="barcode/barcode.php?codetype=Code39&size=40&text=<?=$bar[$is]?>&" style="width: 80%;height:40px"><br><b style="font-size:20px;font-weight:900;"><?=$bar[$is]?></b></center> </td> </tr> <!-- <tr style="border: none;"> </tr>--> </table> </td> </tr> </table> <table style="border:none;"> <tr> <td width="38%" style=""> <table style="border:none;font-size:10px;"> <tr> <td class="bg" width="7%" rowspan="7" style="text-align: center;border-top: none;font-size:12px;border-left: none;border-bottom: none;"><b style="font-weight:bold;writing-mode: vertical-rl;">CONSIGNOR</b></td> <td style="border:none ;padding:3px;padding-left:10px;"> <p style="line-height: 14px;font-weight: bold;"> <b> </b><br> </p> </td> <td width="0%" style="border:none ;padding:0px;"> <p style="border:none ;padding:0px;min-height:137px;"></p> </td> </tr> </table> </td> <td width="50%" style="vertical-align:top;"> <table style="border:none;font-size:10px;"> <tr> <td class="bg" width="7%" rowspan="7" style="text-align: center;font-size:12px;border-left: none;border-bottom: none;border-top: none;"><b style="font-weight:bold;writing-mode: vertical-lr;">CONSIGNEE</b></td> <td style="border:none ;padding:3px;padding-left:10px;"> <p style="line-height: 14px;font-weight: bold;"> </p> </td> <td width="0%" style="border:none ;padding:0px;vertical-align:top;"> <p style="border:none ;padding:0px;min-height:137px;"></p> </td> </tr> </table> </td> </tr> <tr> <td colspan="2" style="border-bottom:none;"> <table style="border:none;text-align: center;font-size: 10px;"> <tr> <td rowspan="6" width="43%" style="vertical-align:top;padding-left:2px;padding-right:2px;padding-top:2px;border-top-color:white;border-left-color: white;border-bottom:none;"> <table style="text-align: center;"> <tr> <td class="bg" colspan="5" style="border-bottom:none;">DIMENSIONS</td> </tr> <tr style="border:none;font-size:12px;"> <td class="bg" style="padding:2px;border:none;">Length</td> <td class="bg" style="padding:2px;border:none;">Width</td> <td class="bg" style="padding:2px;border:none;">Height</td> <td class="bg" style="padding:2px;border:none;">No of Box</td> <td class="bg" style="padding:2px;border:none;">Act WT</td> </tr> <?php for($r=1;$r<=5;$r++){ ?> <tr style="vertical-align: center;font-size:12px;"> <td style="padding:2px;"><b></b> </td> <td style="padding:2px;"><b></b> </td> <td style="padding:2px;"><b></b> </td> <td style="padding:2px;"><b></b> </td> <td style="padding:2px;"><b></b> </td> </tr> <?php } ?> </table> </td> <td style="vertical-align:top;padding-left:2px;border-top-color:white; border-bottom:none;padding-top:2px;padding-right:2px;"> <table style="text-align: center;font-size:12px;"> <tr style="vertical-align: center;"> <td class="bg" style="padding:2px;border-bottom:none;">INVOICE NO</td> <td class="bg" style="padding:2px;border-bottom:none;">INVOICE VALUE</td> <td class="bg" style="padding:2px;border-bottom:none;">E-WAY BILL NO</td> </tr> <tr style="vertical-align: center;"> <td style="padding:2px;border-top:none;"><b></b> </td> <td style="padding:2px;border-top:none;"><b></b> </td> <td style="padding:2px;border-top:none;"><b></b> </td> </tr> <tr style="vertical-align: center;"> <td class="bg" style="padding:2px;border-bottom:none;">NO Of PCS</td> <td class="bg" style="padding:2px;border-bottom:none;">ACTUAL WEIGHT</td> <td class="bg" style="padding:2px;border-bottom:none;">CHARGED WEIGHT</td> </tr> <tr style="vertical-align: center;"> <td style="padding:2px;border-top:none;"><b></b> </td> <td style="padding:2px;border-top:none;"><b></b> </td> <td style="padding:2px;border-top:none;" ><b></b> </td> </tr> <tr style="vertical-align: center;"> <td class="bg" colspan="3" style="padding:2px;border:none;border-bottom:none;"><b>DESCRIPTION OF GOODS</b></td> </tr> <tr style="vertical-align: center;"> <td colspan="3" style="padding:2px;border-top:none;"><b></b> </td> </tr> <tr style="vertical-align: center;"> <td class="bg" colspan="3" style="padding:2px;"><b>RECEIVED IN GOODS CONDITION</b></td> </tr> </table> </td> </tr> </table> </td> </tr> <tr> <td colspan="2" style="border-top: none;vertical-align:top;"> <table style="border:none;text-align: center;font-size: 10px;vertical-align:top;"> <tr> <td style="padding-left: 5px;padding: 2px;border-top: none;border-left: none;vertical-align:top;" width="13%"> <!--<img src="img/qrcode.png" >--> <img width="80%" src="https://chart.googleapis.com/chart?chs=300x300&cht=qr&chl=https://speedlinkservices.com/track_details.php?track_id=<?php echo $bar[$is] ?>&choe=UTF-8" title="Speedlink Services" /> <span style="font-size:9px;">Scan QR Code For Your Shipment Tracking...</span> </td> <td style="padding-left: 5px;padding: 2px;border-top: none;border-left: none;vertical-align:top;" width="30%"> <table style="border:none;font-size: 10px;"> <tr> <td colspan="2" style="border:none;text-align: center;padding: 2px;"> <b style="font-size: 10px;text-align: center;">Consignor's Declaretion</b> </td> </tr> <tr> <td colspan="2" style="border:none;text-align: left;padding-left: 5px;padding: 2px;"><p>I / We have read carefully & verified the contents filled in this Docket and agree to the terms and coditions printed overleaf of the Docket and will pay all charges as per tariff mentioned in this Docket or as per the agreement.</p></td> </tr> <tr> <td style="border:none;text-align: left;padding: 2px;height: 15px;vertical-align: bottom;text-align:center;" colspan="2"><b>For </b></td> </tr> <tr> <td style="border:none;text-align: left;padding: 2px;height: 15px;vertical-align: bottom;text-align:center;" colspan="2"><b> </b></td> </tr> </table> </td> <td rowspan="2" style="vertical-align:top;padding: 2px;border-top: none;border-right: none;border-bottom: none;"> <table style="border:none;font-size: 8px;font-weight: bold;text-align:left;"> <tr> <td width="50%" style="border:none;padding: 2px;padding-top: 5px;opacity: 0.5;font-weight: 900;">NAME</td> <td style="border:none;padding: 2px;padding-top: 5px;padding-left: 30px;font-weight: 900;opacity: 0.5;">DATE & TIME</td> </tr> <tr> <td style="border:none;padding: 2px;height: 90px;opacity: 0.5;font-weight: 900;">SEAL</td> <td style="border:none;padding: 2px;height: 90px;padding-left: 30px;opacity: 0.5;font-weight: 900;">RELATION</td> </tr> <tr> <td style="border:none;padding: 1px;padding-bottom: 3px;vertical-align:bottom;opacity: 0.5;font-weight: 900;">SIGNATURE</td> <td style="border:none;padding: 2px;padding-bottom: 1px;padding-left: 30px;vertical-align:bottom;opacity: 0.5;font-weight: 900;">REMARK</td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </td style="border-bottom: none;"> <td style="border: none;padding:5px;" class="bg"> <b style="font-weight:bold;writing-mode: vertical-rl;"><?php if($i==1){ echo "CONSIGNOR";}else if($i==2){ echo "CONSIGNEE"; }else if($i==3){ echo "POD";}else{ echo "ACCOUNTS";}?></b> </td> </tr> </table> <?php if($i%2==1){ ?> <hr class="dashed"> </div> <?php }else{ echo "<br>";} } // ?> <?php }?> </body> <style type="text/css"> table,th { border: 1px solid; } td { border: 1px solid; padding: 0px; } table { width: 100%; border-collapse: collapse; } .watermark { display: block; position: relative; } .watermark::after { content: ""; background: url(img/logo.png); opacity: 0.07; top: 10%; left: 16%; bottom: 0%; background-size: 500px 300px; background-repeat: no-repeat; right: 0%; text-align: center; position: absolute; z-index: -1; } @page{ size: auto; /* auto is the initial value */ margin: 5mm 5mm 5mm 5mm; } @media print { * { -webkit-print-color-adjust: exact; } } .bg{ color: black; /*font-weight: bold;*/ -webkit-print-color-adjust: exact; } .dashed {border-style: dashed; margin-top: 30px; margin-bottom: 28px; } .old-dashed {border-style: dashed; margin-top: 25px; margin-bottom: 25px; } </style> <script> window.onload = function () { window.print(); setTimeout(function(){window.close();}, 1); } </script>