Şuanki Dizin: /home/wwwdreamtechnolo/www/vahtuksanghatana.com/ |
Şuanki Dosya : /home/wwwdreamtechnolo/www/vahtuksanghatana.com/view-details.php |
<?php require_once("admin/lib/function.php"); $db = new login_function(); if (isset($_GET['receipt_id'])) { $update_id = $_GET['receipt_id']; $_SESSION['receipt_id'] = $update_id; $success_msg = 1; } $update_id = $_SESSION['receipt_id']; $veh_no = ""; $veh_name = ""; $mobile_number = ""; $address = ""; $fitness_upto_date = ""; $lic_expiry = ""; $insurance_expiry = ""; $puc_expiry = ""; $permit_expiry = ""; $other_1 = ""; $other_2 = ""; $actual_image_name = ""; $vehical_data = array(); $vehical_data = $db->get_vehical_entry_details($update_id); //print_r($vehical_data); if(!empty($vehical_data)) { $veh_no = $vehical_data[1]; $veh_name =$vehical_data[2]; $mobile_number =$vehical_data[3]; $address = $vehical_data[4]; $fitness_upto_date =$vehical_data[5] ; $lic_expiry = $vehical_data[6]; $insurance_expiry =$vehical_data[7]; $puc_expiry = $vehical_data[8]; $permit_expiry = $vehical_data[9]; $other_1 = $vehical_data[10]; $other_2 =$vehical_data[11]; $date = $vehical_data[12]; $time= $vehical_data[13]; } ?> <!-- <div id="capture" style="padding: 10px; background: #f5da55"> <h4 style="color: #000; ">Hello world!</h4> </div>--> <meta name="viewport" content="width=device-width, initial-scale=1" /> <script src="js/jquery.min.js"></script> <script src="js/html2canvas.js"></script> <script src="js/canvas2image.js"></script> <div id="capture" style="width:100%; border:1px solid #CCCCCC; background:#FFFFFF; background-size:100% 100%; padding:5px;"> <div style="margin-top:0px; text-align:center;"> <img src="data/logo.jpg" style="border-radius:20px; margin:auto; width:250px;" /> </div> <div> <br /> <div style="font-size:20px; color:#dc143c; text-align:center; font-weight:bold; margin-top:15px;"> Vehicle No : <?php echo $veh_no; ?> </div> <br /> <div style="line-height:25px; padding-left:25px; font-weight:bold; font-family:Cambria; color:#333"> <table cellpadding="5" border="1" cellspacing="0" style="font-weight:bold; color:#A00BA1; width:100%;"> <tr> <td> Fitness Expiry : </td> <td> <?php echo $fitness_upto_date; ?> </td> </tr> <tr> <td> Licence Expiry : </td> <td> <?php echo $lic_expiry; ?> </td> </tr> <tr> <td> Insurance Expiry : </td> <td> <?php echo $insurance_expiry; ?> </td> </tr> <tr> <td> PUC Expiry : </td> <td> <?php echo $puc_expiry; ?> </td> </tr> <tr> <td> Permit Expiry : </td> <td> <?php echo $permit_expiry; ?> </td> </tr> <tr> <td> Other Details 1 : </td> <td> <?php echo $other_1; ?> </td> </tr> <tr> <td> Other Details 2 : </td> <td> <?php echo $other_2; ?> </td> </tr> </table> <br /> <br /> </div> </div> </div> <style> body { margin: 0; font-family: "Helvetica Neue",Helvetica,Arial,sans-serif; font-size: 14px; line-height: 20px; color: #333; background-color: #EFEFEF; margin:10px; } .btn { display: inline-block; padding: 6px 12px; margin-bottom: 0; font-size: 14px; font-weight: 400; line-height: 1.42857143; text-align: center; white-space: nowrap; vertical-align: middle; -ms-touch-action: manipulation; touch-action: manipulation; cursor: pointer; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; background-image: none; border: 1px solid transparent; border-radius: 4px; } .btn-default { color: #333; background-color: #fff; border-color: #ccc; } h1{ font-size: 36px; } h1{ font-family: inherit; font-weight: 500; line-height: 1.1; color: inherit; } h1 small{ font-size: 65%; } h1 small { font-weight: 400; line-height: 1; color: #777; display: block; padding-top: 15px; } .specific{ background-color: #fff; } p a{ padding: 5px; } </style> </body> </html>
Linux 65-254-81-4.cprapid.com 5.14.0-284.11.1.el9_2.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 9 05:49:00 EDT 2023 x86_64
Apache
65.254.81.4