Server IP : 162.240.98.243 / Your IP : 18.118.253.223 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"); include("occumenu.php"); include("header.php"); require_once('../DBManager.php'); require_once("../LoginManager.php"); require_once('../patientmanager.php'); ?> <style> .box{ display: none; } .box1{ 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> <script> $(document).ready(function(){ $("select").change(function(){ $(this).find("option:selected").each(function(){ var optionValue = $(this).attr("value"); if(optionValue){ $(".box1").not("." + optionValue).hide(); $("." + optionValue).show(); } else{ $(".box1").hide(); } }); }).change(); }); </script> </head> <div class='content-wrapper'> <!-- Content Header (Page header) --> <section class='content-header'> <body> <div class='container'> <div class='row'> <div class='col-sm-12'> <!-- /.card-header --> <div class="card-body"> <table id="example2" class="table table-bordered table-hover"> <tr> <td bgcolor="1e73be"><strong> <span style="color:white">Date & Time</span></strong></td> <td bgcolor="1e73be"><strong><span style="color:white">Towards </span></strong></td> <td bgcolor="1e73be"><strong><span style="color:white">Assisted by </span></strong></td> <td bgcolor="1e73be"><strong> <span style="color:white"> <section class="content-header">Action</section> </strong></span></td> </tr> <?php include("dbconnection.php"); $sql ="SELECT * FROM occutracker WHERE occuid='$_GET[occuid]'"; $qsql = mysqli_query($con,$sql); if($rs = mysqli_fetch_array($qsql)) { $sqlpatient = "SELECT * FROM save_activity WHERE prescriptionid='$rs[prescriptionid]' ORDER BY srno ASC"; $qsqlpatient = mysqli_query($con,$sqlpatient); while($rsp = mysqli_fetch_array($qsqlpatient)) { $sqlpatient1 = "SELECT * FROM site_users WHERE userno='$rsp[entered_by]'"; $qsqlpatient1 = mysqli_query($con,$sqlpatient1); while($rsn = mysqli_fetch_array($qsqlpatient1)) { $occutracker = "SELECT * FROM addaspatient WHERE patientid='$rs[patientid]' AND prescriptionid='$rs[prescriptionid]' AND entered_by='$rsp[entered_by]' GROUP BY entered_by"; $qsqloccutracker = mysqli_query($con,$occutracker); while($roccutracker = mysqli_fetch_array($qsqloccutracker)) { echo " <tbody> <tr> <td> $rsp[created_at]</td> <td> $rsp[discription] <b>$rsp[srno]</b></td> <td> $rsn[name]</td> <td><section class='content-header'><a href='$rsp[link]$rsp[srno]' >View</a> | <a href='edit_opdslip1.php?prescriptionid=$_GET[prescriptionid]&patientid=$_GET[patientid]'>Edit</a></section></td> </tr> "; } } } } ?> </tbody> <tfoot> </tfoot> </table></div> </div> </div> </body> </html>