Server IP : 162.240.98.243 / Your IP : 18.225.234.220 Web Server : Apache System : Linux server.bti.yaw.mybluehostin.me 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : btiyawmy ( 1003) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/btiyawmy/public_html/login.easenup.in/ |
Upload File : |
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Document</title> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" crossorigin="anonymous"> <link rel="stylesheet" href="pdf.css" /> <script src="pdf.js"></script> <script src="https://raw.githack.com/eKoopmans/html2pdf/master/dist/html2pdf.bundle.js"></script> <script> function generatepdf(){ const element=document.getElementById("invace"); html2pdf() .from(element) .save(); } </script> </head> <body id='invace'> <div class="container d-flex justify-content-center mt-50 mb-50"> <div class="row"> <div class="col-md-12 text-right mb-3"> <button class="btn btn-primary" id="download"> download pdf</button> </div> <div class="col-md-12"> <div class="card" id="invoice"> <div class="card-body"> <?php session_start(); include("dbconnection.php"); include("showpage_CovidChecklist.php"); ?> <input type='button' onclick="generatepdf()" value='down'> </body> </div></div> </div> </html>