Server IP : 162.240.98.243 / Your IP : 18.119.28.194 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(); require_once("../LoginManager.php"); require_once("../DBManager.php"); include("dbconnection.php"); include 'dashboarddocument.php'; include("header.php"); ?> <!-- jQuery Library --> <script src="js/jquery.min.js"></script> <script type="text/javascript"> jQuery(document).ready(function($) { // Find the toggles and hide their content $('.toggle').each(function(){ $(this).find('.toggle-content').hide(); }); // When a toggle is clicked (activated) show their content $('.toggle a.toggle-trigger').click(function(){ var el = $(this), parent = el.closest('.toggle'); if( el.hasClass('active') ) { parent.find('.toggle-content').slideToggle(); el.removeClass('active'); } else { parent.find('.toggle-content').slideToggle(); el.addClass('active'); } return false; }); }); //End </script> <!-- Toggle CSS --> <style type="text/css"> /* Main toggle */ .toggle { font-size: 13px; line-height:20px; font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif; background: #ffffff; /* Main background */ margin-bottom: 10px; border: 1px solid #e5e5e5; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; } /* Toggle Link text */ .toggle a.toggle-trigger { display:block; padding: 10px 10px 10px 10px; position:relative; text-decoration: none; color: #666; } /* Toggle Link hover state */ .toggle a.toggle-trigger:hover { opacity: .8; text-decoration: none; } /* Toggle link when clicked */ .toggle a.active { text-decoration: none; border-bottom: 1px solid #e5e5e5; -webkit-box-shadow: 0 8px 6px -6px #ccc; -moz-box-shadow: 0 8px 6px -6px #ccc; box-shadow: 0 8px 6px -6px #ccc; color: #000; } /* Lets add a "-" before the toggle link */ .toggle a.toggle-trigger:before { content: "-"; /* You can add any symbol, font icon, or graphic icon */ margin-right: 3px; font-size: 1.3em; } /* When the toggle is active, change the "-" to a "+" */ .toggle a.active.toggle-trigger:before { content: "+"; } /* The content of the toggle */ .toggle .toggle-content { padding: 10px 10px 10px 10px; color:#666; } </style> <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:; } </style> <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h3>Discharge Summery </h3> <br> <?php include("dbconnection.php"); session_start(); $DisplayForm=True; $sql7 ="SELECT * FROM dischargechecklist WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql7 = mysqli_query($con,$sql7); if($rs7 = mysqli_fetch_array($qsql7)) { $DisplayForm=False; echo ""; } if(!$DisplayForm) { ?> <!-- Toggle #1 --> <div class="toggle"> <!-- Toggle Link --> <a href="#" title="Title of Toggle" class="toggle-trigger">Discharge Checklist <i style='font-size:16px;color:Green' class='fa fa-check' aria-hidden='true'></i> <!-- Toggle Content to display --> </a><div class="toggle-content"> <p><?php include("show_dischargechecklist.php"); ?></p> </div><!-- .toggle-content (end) --> </div><!-- .toggle (end) --> <!-- Toggle #2 --> <?php } ?> <?php include("dbconnection.php"); session_start(); $DisplayForm=True; $sql7 ="SELECT * FROM dischargechecklist WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql7 = mysqli_query($con,$sql7); if($rs7 = mysqli_fetch_array($qsql7)) { $DisplayForm=False; echo ""; } if($DisplayForm) { ?> <!-- Toggle #1 --> <div class="toggle"> <!-- Toggle Link --> <a href="#" title="Title of Toggle" class="toggle-trigger">Discharge Checklist <!-- Toggle Content to display --> </a> <div class="toggle-content"> <p><?php include("dischargechecklist.php"); ?></p> </div><!-- .toggle-content (end) --> </div><!-- .toggle (end) --> <!-- Toggle #2 --> <?php } ?> <?php include("dbconnection.php"); session_start(); $DisplayForm=True; $sql7 ="SELECT * FROM Request_Transport WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql7 = mysqli_query($con,$sql7); if($rs7 = mysqli_fetch_array($qsql7)) { $DisplayForm=False; echo ""; } if(!$DisplayForm) { ?> <!-- Toggle #1 --> <div class="toggle"> <!-- Toggle Link --> <a href="#" title="Title of Toggle" class="toggle-trigger">Request Transport <i style='font-size:16px;color:Green' class='fa fa-check' aria-hidden='true'></i> <!-- Toggle Content to display --> </a><div class="toggle-content"> <p><?php include("show_Request_Transport.php"); ?></p> </div><!-- .toggle-content (end) --> </div><!-- .toggle (end) --> <!-- Toggle #2 --> <?php } ?> <?php include("dbconnection.php"); session_start(); $DisplayForm=True; $sql7 ="SELECT * FROM Request_Transport WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql7 = mysqli_query($con,$sql7); if($rs7 = mysqli_fetch_array($qsql7)) { $DisplayForm=False; echo ""; } if($DisplayForm) { ?> <!-- Toggle #1 --> <div class="toggle"> <!-- Toggle Link --> <a href="#" title="Title of Toggle" class="toggle-trigger">Request Transport <!-- Toggle Content to display --> </a> <div class="toggle-content"> <p><?php include("Request_Transport.php"); ?></p> </div><!-- .toggle-content (end) --> </div><!-- .toggle (end) --> <!-- Toggle #2 --> <?php } ?> <?php include("dbconnection.php"); session_start(); $DisplayForm=True; $sql7 ="SELECT * FROM diagnosis_timiline WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql7 = mysqli_query($con,$sql7); if($rs7 = mysqli_fetch_array($qsql7)) { $DisplayForm=False; echo ""; } if(!$DisplayForm) { ?> <!-- Toggle #1 --> <div class="toggle"> <!-- Toggle Link --> <a href="#" title="Title of Toggle" class="toggle-trigger">Hospital Course <i style='font-size:16px;color:Green' class='fa fa-check' aria-hidden='true'></i> <!-- Toggle Content to display --> </a><div class="toggle-content"> <p><?php include("diagnosistimeline_discharge.php"); ?></p> </div><!-- .toggle-content (end) --> </div><!-- .toggle (end) --> <!-- Toggle #2 --> <?php } ?> <?php include("dbconnection.php"); session_start(); $DisplayForm=True; $sql7 ="SELECT * FROM diagnosis_timiline WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql7 = mysqli_query($con,$sql7); if($rs7 = mysqli_fetch_array($qsql7)) { $DisplayForm=False; echo ""; } if($DisplayForm) { ?> <!-- Toggle #1 --> <div class="toggle"> <!-- Toggle Link --> <a href="#" title="Title of Toggle" class="toggle-trigger">Hospital Course <!-- Toggle Content to display --> </a> <div class="toggle-content"> <p><?php include("diagnosistimeline_discharge.php"); ?></p> </div><!-- .toggle-content (end) --> </div><!-- .toggle (end) --> <!-- Toggle #2 --> <?php } ?> <?php include("dbconnection.php"); session_start(); $DisplayForm=True; $sql7 ="SELECT * FROM followdis WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql7 = mysqli_query($con,$sql7); if($rs7 = mysqli_fetch_array($qsql7)) { $DisplayForm=False; echo ""; } if(!$DisplayForm) { ?> <!-- Toggle #1 --> <div class="toggle"> <!-- Toggle Link --> <a href="#" title="Title of Toggle" class="toggle-trigger">Follow-up Advise <i style='font-size:16px;color:Green' class='fa fa-check' aria-hidden='true'></i> <!-- Toggle Content to display --> </a><div class="toggle-content"> <p><?php include("show_Follow_up.php"); ?></p> </div><!-- .toggle-content (end) --> </div><!-- .toggle (end) --> <!-- Toggle #2 --> <?php } ?> <?php include("dbconnection.php"); session_start(); $DisplayForm=True; $sql7 ="SELECT * FROM followdis WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql7 = mysqli_query($con,$sql7); if($rs7 = mysqli_fetch_array($qsql7)) { $DisplayForm=False; echo ""; } if($DisplayForm) { ?> <!-- Toggle #1 --> <div class="toggle"> <!-- Toggle Link --> <a href="#" title="Title of Toggle" class="toggle-trigger">Follow-up Advise <!-- Toggle Content to display --> </a> <div class="toggle-content"> <p><?php include("Follow_up.php"); ?></p> </div><!-- .toggle-content (end) --> </div><!-- .toggle (end) --> <!-- Toggle #2 --> <?php } ?> <?php include("dbconnection.php"); session_start(); $DisplayForm=True; $sql7 ="SELECT * FROM followdis1 WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql7 = mysqli_query($con,$sql7); if($rs7 = mysqli_fetch_array($qsql7)) { $DisplayForm=False; echo ""; } if(!$DisplayForm) { ?> <!-- Toggle #1 --> <div class="toggle"> <!-- Toggle Link --> <a href="#" title="Title of Toggle" class="toggle-trigger">Medication Order <i style='font-size:16px;color:Green' class='fa fa-check' aria-hidden='true'></i> <!-- Toggle Content to display --> </a><div class="toggle-content"> <p><?php //include("show_discharge_medicine.php"); ?></p> </div><!-- .toggle-content (end) --> </div><!-- .toggle (end) --> <!-- Toggle #2 --> <?php } ?> <?php include("dbconnection.php"); session_start(); $DisplayForm=True; $sql7 ="SELECT * FROM followdis1 WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql7 = mysqli_query($con,$sql7); if($rs7 = mysqli_fetch_array($qsql7)) { $DisplayForm=False; echo ""; } if($DisplayForm) { ?> <!-- Toggle #1 --> <div class="toggle"> <!-- Toggle Link --> <a href="#" title="Title of Toggle" class="toggle-trigger">Medication Order <!-- Toggle Content to display --> </a> <div class="toggle-content"> <p><?php include("discharge_medicine.php"); ?></p> </div><!-- .toggle-content (end) --> </div><!-- .toggle (end) --> <!-- Toggle #2 --> <?php } ?> <?php include("dbconnection.php"); session_start(); $DisplayForm=True; $sql7 ="SELECT * FROM Gatepass WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql7 = mysqli_query($con,$sql7); if($rs7 = mysqli_fetch_array($qsql7)) { $DisplayForm=False; echo ""; } if(!$DisplayForm) { ?> <!-- Toggle #1 --> <div class="toggle"> <!-- Toggle Link --> <a href="#" title="Title of Toggle" class="toggle-trigger">Create Gate pass <i style='font-size:16px;color:Green' class='fa fa-check' aria-hidden='true'></i> <!-- Toggle Content to display --> </a><div class="toggle-content"> <p><?php include("show_Create_Gate_pass.php"); ?></p> </div><!-- .toggle-content (end) --> </div><!-- .toggle (end) --> <!-- Toggle #2 --> <?php } ?> <?php include("dbconnection.php"); session_start(); $DisplayForm=True; $sql7 ="SELECT * FROM Gatepass WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql7 = mysqli_query($con,$sql7); if($rs7 = mysqli_fetch_array($qsql7)) { $DisplayForm=False; echo ""; } if($DisplayForm) { ?> <!-- Toggle #1 --> <div class="toggle"> <!-- Toggle Link --> <a href="#" title="Title of Toggle" class="toggle-trigger">Create Gate pass <!-- Toggle Content to display --> </a> <div class="toggle-content"> <p><?php include("Create_Gate_pass.php"); ?></p> </div><!-- .toggle-content (end) --> </div><!-- .toggle (end) --> <!-- Toggle #2 --> <?php } ?> <?php include("dbconnection.php"); session_start(); $DisplayForm=True; $sql7 ="SELECT * FROM discharge1 WHERE prescriptionid='$_GET[prescriptionid]'"; $qsql7 = mysqli_query($con,$sql7); if($rs7 = mysqli_fetch_array($qsql7)) { $DisplayForm=False; echo ""; } if(!$DisplayForm) { ?> <!-- Toggle #1 --> <div class="toggle"> <!-- Toggle Link --> <a href="#" title="Title of Toggle" class="toggle-trigger">Discharge Summery <i style='font-size:16px;color:Green' class='fa fa-check' aria-hidden='true'></i> <!-- Toggle Content to display --> </a><div class="toggle-content"> <p><?php include("show_discharge.php"); ?></p> </div><!-- .toggle-content (end) --> </div><!-- .toggle (end) --> <!-- Toggle #2 --> <?php } ?> <?php include("dbconnection.php"); session_start(); $DisplayForm=True; $sql7 ="SELECT * FROM discharge1 WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql7 = mysqli_query($con,$sql7); if($rs7 = mysqli_fetch_array($qsql7)) { $DisplayForm=False; echo ""; } if($DisplayForm) { ?> <!-- Toggle #1 --> <div class="toggle"> <!-- Toggle Link --> <a href="#" title="Title of Toggle" class="toggle-trigger">Discharge Summery <!-- Toggle Content to display --> </a> <div class="toggle-content"> <p><?php include("discharge.php"); ?></p> </div><!-- .toggle-content (end) --> </div><!-- .toggle (end) --> <!-- Toggle #2 --> <?php } ?> <?php if(isset($_SESSION[adminid])) { ?> <?php if(!isset($_SESSION[patientid])) { $sqlbilling_records ="SELECT * FROM billing WHERE appointmentid='$billappointmentid'"; $qsqlbilling_records = mysqli_query($con,$sqlbilling_records); $rsbilling_records = mysqli_fetch_array($qsqlbilling_records); if($rsbilling_records[discharge_date] == "0000-00-00") { ?> <table width="557" border="3"> <tbody> <tr> <th scope="col"><div align="center"><a href="paymentdischarge.php?appointmentid=<?php echo $rsappointment[0]; ?>&patientid=<?php echo $_GET[patientid]; ?>">Make Payment</a></div></th> </tr> </tbody> </table> <?php } } ?> </p> </div><!-- .toggle-content (end) --> </div><!-- .toggle (end) --> <?php } ?> </p> </div> </div> </div> <div class="clear"></div> </div> </div> <?php include("footer.php"); ?> <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> <script> $(document).ready(function () { $('select').selectize({ sortField: 'text' }); }); </script> </html>