Server IP : 162.240.98.243 / Your IP : 3.138.121.151 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 : |
<?php session_start(); include 'dbconnection.php'; require_once("../patientmanager.php"); require_once("../DBManager.php"); if(isset($_POST['covidcheck'])) { PatientManager::covidchecklist("$_GET[prescriptionid]","$_GET[patientid]","$_POST[symptoms_fever]","$_POST[difficulty_breathing]","$_POST[country_days]","$_POST[other_cities]","$_POST[two_weeks]","$_POST[health_facility]","$_POST[entered_by]"); } ?> <style> .switch { position: relative; display: inline-block; width: 90px; height: 34px; } .switch input {display:none;} .slider5 { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ca2222; -webkit-transition: .4s; transition: .4s; border-radius: 34px; } .slider5: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 + .slider5 { background-color: #2ab934; } input:focus + .slider5 { box-shadow: 0 0 1px #2196F3; } input:checked + .slider5:before { -webkit-transform: translateX(26px); -ms-transform: translateX(26px); transform: translateX(55px); } /*------ ADDED CSS ---------*/ .slider5:after { content:'Undone'; color: white; display: block; position: absolute; transform: translate(-50%,-50%); top: 50%; left: 50%; font-size: 10px; font-family: Verdana, sans-serif; } input:checked + .slider5:after { content:'Done'; } .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> <style> .center { border: 1px solid grey; text-align:; } </style> <script src="https://code.jquery.com/jquery-3.5.1.min.js"></script> <script> $(document).ready(function(){ $("select").change(function(){ $(this).find("option:selected").each(function(){ var optionValue = $(this).attr("value"); if(optionValue){ $(".box").not("." + optionValue).hide(); $("." + optionValue).show(); } else{ $(".box").hide(); } }); }).change(); }); </script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ $('#myForm').submit(function() { $('#loaderImg').show(); return true; }); }); </script> <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"> <link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css"> <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="myForm" enctype="multipart/form-data"> <input type='hidden' name='cov' value='on'> <h3 align="center">Covid 19 Checklist</h3> <table id="example2" class="table table-bordered table-hover"> <tr> <td><span style="font-size: 20px">Do you have symptoms such as fever, cough, sneezing, sore throat, fatigue, sense of smell, changes in taste, and body aches? </span></h3></td><td><label class="switch"> <input name="symptoms_fever" type="checkbox"> <span class="slider"></span> </label> </td> </tr> <tr> <td><span style="font-size: 20px">Do you have difficulty of breathing? </span></h3></td><td><label class="switch"> <input name="difficulty_breathing" type="checkbox"> <span class="slider"></span> </label> </td> </tr> <tr> <td><span style="font-size: 20px">Have you travelled outside the country in the last 30 days? </span></h3></td><td><label class="switch"> <input name="country_days" id="myCheck7" onclick="myFunction7()" type="checkbox"> <span class="slider"></span> </label> </td> </tr> <tr> <td><span style="font-size: 20px">Have you traveled to other cities in India in 15 days? </span></h3></td><td><label class="switch"> <input name="other_cities" type="checkbox"> <span class="slider"></span> </label> </td> </tr> <tr> <td><span style="font-size: 20px">Were you a Covid-19 positive patient in the last two weeks? or suspect in a case of covid-19 ? </span></h3></td><td><label class="switch"> <input name="two_weeks" type="checkbox"> <span class="slider"></span> </label> </td> </tr> <tr> <td><span style="font-size: 20px">Have you visited a health care facility in the past two weeks? </span></h3></td><td><label class="switch"> <input name="health_facility" type="checkbox"> <span class="slider"></span> </label> </td> </tr> </table> <br> <input type="submit" name="covidcheck" value="Submit"> </form> </div> </body> </html>