Server IP : 162.240.98.243 / Your IP : 13.58.51.36 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('../DBManager.php'); require_once('../patientmanager.php'); if(isset($_POST[drnote])) { PatientManager::potential("$_GET[prescriptionid]","$_GET[patientid]","$_POST[operative_date]","$_POST[Mode_Treatment]","$_POST[Plan_Of_Care]","$_POST[Follow_Up_Care]","$_POST[treatment_Facility]","$_POST[entered_by]"); } ?> <script> function myFunction1031() { var checkBox = document.getElementById("myCheck1031"); var text = document.getElementById("text1031"); if (checkBox.checked == true){ text.style.display = "block"; } else { text.style.display = "none"; } } </script> <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: 24px; } .slider:before { position: absolute; content: ""; height: 10px; width: 10px; left: 2px; bottom: 2px; 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(46px); -ms-transform: translateX(46px); transform: translateX(55px); } /*------ ADDED CSS ---------*/ .slider:after { content:'Unavailable'; color: white; display: block; position: absolute; transform: translate(-50%,-50%); top: 50%; left: 50%; font-size: 9px; font-family: Verdana, sans-serif; } input:checked + .slider:after { content:'Available'; } .box{ display: none; } .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> <link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css"> <form name="drnote" method="post"> <table id="example2" class="table table-bordered table-hover"> <tr><td> <span style="font-size: 20px"> Treatment facility option </span></h3></td><td><label class="switch"> <input name="treatment_Facility" value='Available' id="myCheck1031" onclick="myFunction1031()" type="checkbox"> <span class="slider"></span> </label> </td> </tr> <tr id="text1031" style="display:none"><td> <span style="font-size: 20px"> Mode of Treatment</span></h3></td><td> <select name="Mode_Treatment"> <option value="" disabled selected> Mode of Treatment</option> <option value="Not Required">Not Required</option> <option value="Explained-Accepted-to-Continue">Explained & Accepted to Continue</option> <option value="Explained & Denied">Explained & Denied </option> </select> </td> </tr> <tr class="Explained-Accepted-to-Continue box"> <td width="50%">Plan Of Care<textarea name="Plan_Of_Care" rows="2" cols="50"></textarea></td><td width="50%">Follow Up Care <textarea name="Follow_Up_Care" rows="2" cols="50"></textarea></td></tr> <tr> <td height="62"> <span style="font-size: 20px">Operative procedure date : </span></td> <td><input type="date" placeholder="dd-mm-yyyy" name="operative_date" value="" min="1997-01-01" max="2030-12-31"></td> </tr> </table> <input type="submit" name="drnote" id="drnote" value="Submit" /> </form> <html> <head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/selectize.js/0.12.6/js/standalone/selectize.min.js" integrity="sha256-+C0A5Ilqmu4QcSPxrlGpaZxJ04VjsRjKu+G82kl5UJk=" crossorigin="anonymous"></script> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/selectize.js/0.12.6/css/selectize.bootstrap3.min.css" integrity="sha256-ze/OEYGcFbPRmvCnrSeKbRTtjG4vGLHXgOqsyLFTRjg=" crossorigin="anonymous" /> </head> <body> <script> $(document).ready(function () { $('select12').selectize({ sortField: 'text' }); }); </script> </body> </html>