Server IP : 2a02:4780:11:1359:0:1d43:a566:2 / Your IP : 216.73.216.161 Web Server : LiteSpeed System : Linux in-mum-web1259.main-hosting.eu 4.18.0-553.37.1.lve.el8.x86_64 #1 SMP Mon Feb 10 22:45:17 UTC 2025 x86_64 User : u490972518 ( 490972518) PHP Version : 5.6.40 Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail MySQL : ON | cURL : ON | WGET : ON | Perl : OFF | Python : OFF Directory (0755) : /home/u490972518/domains/swrampyarejan.in/public_html/link/../admin/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php include("../link/admin_headconnection.php"); include("../link/databaseconnection.php"); session_start(); $lg=$_SESSION['admin']; if(!$lg) { header("location:index.php"); } $id=$_REQUEST['flag']; $sel="select * from bill where id='$id' order by id desc"; $res=mysqli_query($conn,$sel); $row=mysqli_fetch_array($res,MYSQLI_BOTH); $date1=$row['date']; $amount=$row['amount']; $date=date("d-m-Y",strtotime($date1)); ?> <div class="container"> <div class="row"> <div class="receipt-main col-xs-10 col-sm-10 col-md-6 col-xs-offset-1 col-sm-offset-1 col-md-offset-3"> <div class="row"> <div class="receipt-header"> <div class="col-xs-12 col-sm-12 col-md-12"> <div class="receipt-left"> <img class="img-responsive" alt="iamgurdeeposahan" src="../images/jdawn_name.png" style="width: 100%;height:100px ;"> </div> </div> </div> </div> <div class="row"> <div class="receipt-header receipt-header-mid"> <div class="col-xs-8 col-sm-8 col-md-8 text-left"> <div class="receipt-right"> <h5><b><?php echo $row['name']?></b> <small> | Sr Number : <?php echo $row['id']?></small></h5> <p><b>Mobile :</b> <?php echo $row['mobile']?></p> <p><b>Address :</b> <?php echo $row['address']?></p> </div> </div> <div class="col-xs-4 col-sm-4 col-md-4"> <div class="receipt-left"> <h3>Expense Receipt</h3> </div> </div> </div> </div> <div> <table class="table table-bordered"> <thead> <tr> <th>Description</th> <th>Amount</th> </tr> </thead> <tbody> <tr> <td class="col-md-9"><?php echo $row['description']?></td> <td class="col-md-3"><i class="fa fa-inr"></i> <?php echo $row['amount']?>/-</td> </tr> <tr> <td class="text-right"><h4><strong>Total: </strong></h4></td> <td class="text-left text-danger"><h4><strong><i class="fa fa-inr"></i> <?php echo $row['amount']?>/-</strong></h4></td> </tr> </tbody> </table> </div> <div class="row"> <div class="receipt-header receipt-header-mid receipt-footer"> <div class="col-xs-8 col-sm-8 col-md-8 text-left"> <div class="receipt-right"> <p><b>Date,Time :</b> <?php echo $date?>,<?php echo $row['time']?></p> <h4 style="color: rgb(140, 140, 140);">Thanks for Contacts!</h4> </div> </div> <div class="col-xs-4 col-sm-4 col-md-4"> <div class="receipt-left"> <h4>Signature</h4> </div> </div> </div> </div> </div> <br/> <button id="print" style="margin-left:500px;" >Print</button>      <span><button id="back" >Back</button></span> <script> $(document).ready(function(){ $("#pay").click(function(){ window.location.href='bil.php'; }); }); $(document).ready(function(){ $("#print").click(function(){ $("#pay").css("visibility","hidden"); $("#back").css("visibility","hidden"); $("#print").css("visibility","hidden"); window.print(); window.location.href='bill_add.php'; }); $("#back").click(function(){ window.location.href='bill_add.php'; }); }); </script> </div> </div>