Server IP : 162.240.98.243 / Your IP : 18.118.154.106 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/www/login.easenup.in/ |
Upload File : |
<?php session_start(); include 'dbconnection.php'; require_once("../patientmanager.php"); require_once("../DBManager.php"); if(isset($_POST['covidcheck'])) { PatientManager::PatientInformation("$_GET[prescriptionid]","$_GET[patientid]","$_POST[Diagnosis]","$_POST[Investigation]","$_POST[Duration_hospital]","$_POST[Estimatedexpenses]","$_POST[Possible_outcome]","$_POST[Invited_patient]","$_POST[Explained_importance]","$_POST[Discussed_essential]","$_POST[entered_by]"); } ?> <style> .switch { position: relative; display: inline-block; width: 90px; height: 34px; } .switch input {display:none;} .slider{ position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ca2222; -webkit-transition: .4s; transition: .4s; border-radius: 34px; } .slider:before { position: absolute; content: ""; height: 26px; width: 26px; left: 4px; bottom: 4px; background-color: white; -webkit-transition: .4s; transition: .4s; border-radius: 50%; } input:checked + .slider { background-color: #2ab934; } input:focus + .slider { box-shadow: 0 0 1px #2196F3; } input:checked + .slider:before { -webkit-transform: translateX(26px); -ms-transform: translateX(26px); transform: translateX(55px); } /*------ ADDED CSS ---------*/ .slider:after { content:'No'; color: white; display: block; position: absolute; transform: translate(-50%,-50%); top: 50%; left: 50%; font-size: 10px; font-family: Verdana, sans-serif; } input:checked + .slider:after { content:'Yes'; } .center { border: 1px solid grey; text-align:; } .box2{ display: none; } .center { border: 1px solid grey; text-align:; } .center2 { border: 5px solid grey; text-align:; } </style> <script src="https://code.jquery.com/jquery-3.5.1.min.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ $('#myForm2').submit(function() { $('#loaderImg').show(); return true; }); }); </script> <style> .center { border: 1px solid grey; text-align:; } </style> <style> #loaderImg { position: absolute; top: 0; bottom: 0; left: 0; right: 0; margin: auto; border: 10px solid grey; border-radius: 50%; border-top: 10px solid black; width: 100px; height: 100px; animation: spin 1s linear infinite; } @keyframes spin { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } </style> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Document</title> </head> <body> <div class='center'> <div style = "display:none;" id = "loaderImg"> <div class="loader"> </div> </div> <form name="covidcheck" method="post" id="myForm2" enctype="multipart/form-data"> <h3 align="center">Patient Information</h3> <span style="color:black;font-size: 20px"> Patient has informed Counselling about </span> <br> <br> <table id="example2" class="table table-bordered table-hover"> <tr> <td><span style="font-size: 20px">Diagnosis/ Nature of disease </span></h3></td><td><label class="switch"> <input name="Diagnosis" type="checkbox"> <span class="slider"></span> </label> </td> </tr> <tr> <td><span style="font-size: 20px">Investigation / treatment that may need to undergo </span></h3></td><td><label class="switch"> <input name="Investigation" type="checkbox"> <span class="slider"></span> </label> </td> </tr> <tr> <td><span style="font-size: 20px">Duration of hospital stay </span></h3></td><td><label class="switch"> <input name="Duration_hospital" type="checkbox"> <span class="slider"></span> </label> </td> </tr> <tr> <td><span style="font-size: 20px">Estimated expenses of Treatment </span></h3></td><td><label class="switch"> <input name="Estimatedexpenses" id="myCheck7" onclick="myFunction7()" type="checkbox"> <span class="slider"></span> </label> </td> </tr> <tr> <td><span style="font-size: 20px">Possible outcome of treatment </span></h3></td><td><label class="switch"> <input name="Possible_outcome" type="checkbox"> <span class="slider"></span> </label> </td> </tr> </table> <span style="color:black;font-size: 20px"> Seek patient’s participation </span> <br><br> <table id="example2" class="table table-bordered table-hover"> <tr> <td><span style="font-size: 20px">Invited patient to participate in the decisionmaking process. </span></h3></td><td><label class="switch"> <input name="Invited_patient" type="checkbox"> <span class="slider"></span> </label> </td> </tr> <tr> <td><span style="font-size: 20px">Explained the importance of patient’s role in the decisionmaking process. </span></h3></td><td><label class="switch"> <input name="Explained_importance" type="checkbox"> <span class="slider"></span> </label> </td> </tr> <tr> <td><span style="font-size: 20px">Discussed the essential issues about patient’s condition </span></h3></td><td><label class="switch"> <input name="Discussed_essential" type="checkbox"> <span class="slider"></span> </label> </td> </tr> </table> <input type="submit" name="covidcheck" value="Submit"> </form> </div> <script src="../plugins/select2/js/select2.full.min.js"></script> <script> $(function () { //Initialize Select2 Elements $('.select2').select2() //Initialize Select2 Elements $('.select2bs4').select2({ theme: 'bootstrap4' }) </script>