File manager - Edit - /home/autoph/public_html/portal/doctors_portal.php
Back
<?php include 'core/init.php'; protected_page(); $if_doc_id = $user_data['if_doc_id']; $compCode = $user_data['company_assignment']; $checkIfAccess = $user_data['guard_access_only']; $checkIfNurse = $user_data['nurse_access_only']; $uLockedCount = $user_data['u_locked_count']; $user = $user_data['u_name']; $if_doc_id = $user_data['if_doc_id']; $userLName = $user_data['u_lname']; $userFName = $user_data['u_fname']; $suffix = mysql_result(mysql_query("SELECT `suffix` FROM `doctors_profile` WHERE `doc_id` = '$if_doc_id'"),0); $u_id = $user_data['u_id']; $CompanyAssignment = $user_data['company_assignment']; if($user!='arnel'){ if($uLockedCount >= 5){ header("Location: logout.php"); } } if($checkIfAccess==='1'){ header("Refresh:0; url=checkin-window.php?view=in"); } if($checkIfNurse==='1'){ header("Refresh:0; url=nurse-station.php?view=on"); } //check if access is for Guard Only, if yes access will redirect to guards module //ACCESS OF DOCTORS switch($_GET['view']){ case 'das': include 'includes/doctors/doc_view_dashboard.php'; break; case 'msu': include 'includes/doctors/doc_tx_summary.php'; break; case 'pay': include 'includes/doctors/doc_pay_tx_summary.php'; break; case 'pl': include 'includes/doctors/doc_patient_list.php'; break; } ?> <html> <head> <title>NEPHRO GROUP</title> <meta charset="UTF-8"> <META http-equiv="refresh" content="900;URL=logout2.php"> <link rel="stylesheet" href="css/screen_white.css"> <link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css"> <link rel="stylesheet" href="/resources/demos/style.css"> <script src="https://code.jquery.com/jquery-1.12.4.js"></script> <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script> <link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css"> <link rel="stylesheet" href="/resources/demos/style.css"> <script src="https://code.jquery.com/jquery-1.12.4.js"></script> <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script> <script> $( function() { $( "#datepicker" ).datepicker(); } ); $( function() { $( "#datepickerA" ).datepicker(); } ); </script> <script> $( function() { $( "#menu" ).menu(); } ); </script> <style> .ui-menu { width: 200px; } </style> </head> <style type="text/css"> div#containerM { width: 1200px; height: 30px; margin-top: 0px; margin-left: 0px; text-align: left; position:relative; } </style> <style type="text/css"> body { background-color: #FFFFFF; color: #000000; } </style> <style type="text/css"> a:hover { color: #290200; } </style> <script type="text/javascript" src="./jscookmenu.js"></script> <link rel="stylesheet" href="./ThemeFancy/theme.css" type="text/css"> <script type="text/javascript" src="./ThemeFancy/theme.js"></script> <script type="text/javascript"> <!-- function popupwnd(url, toolbar, menubar, locationbar, resize, scrollbars, statusbar, left, top, width, height) { if (left == -1) { left = (screen.width/2)-(width/2); } if (top == -1) { top = (screen.height/2)-(height/2); } var popupwindow = this.open(url, '', 'toolbar=' + toolbar + ',menubar=' + menubar + ',location=' + locationbar + ',scrollbars=' + scrollbars + ',resizable=' + resize + ',status=' + statusbar + ',left=' + left + ',top=' + top + ',width=' + width + ',height=' + height); } //--> </script> <script> $( function() { $( "#dialog" ).dialog(); } ); </script> <body class="lightGradient"><center> <table style="width:100%;background:white;border-collapse:collapse;height:100%;min-height:680px"> <tr> <?php include 'includes/docwidgets.php';?> </tr> <tr> <?php //HIDE OR SHOW HEADER include 'includes/mainmenuD.php'; //<p>Date: <input type="text" id="datepicker" </p> ?> </tr> <tr> <td class="lightGradient" align="center" valign="top" style="background:lightgray;border:none;width:100%;text-align:center;height:100%;border-bottom:1px solid lightgray;"> <table style='width:100%;height:100%;background:lightgray'> <td valign='top' style='height:100%;width:100%;border:1px solid gray'> <table style="height:100%;width:100%;border:1px solid white;background:white;border-bottom:none;border-left:none;border-right:none;"> <tr> <?php if(isset($_GET['subView'])){ } else { echo "<td valign='top' style='height:100%;text-align:middle;border:none;width:250px;min-width:250px;background:white;font-size:20px;font-weight:bold;color:blue;border-right:1px solid gray'>"; include 'includes/doctors_patients.php'; echo "</td>"; } ?> <td valign="top" style="border:none;width:80%;background:white;text-align:top;"> <div style='width:100%;height:100%;border:1px solid gray;min-width:700px;min-height:30px'> <div style='position:relative;background:red'> <table style='width:100%;border-collapse:collapse'> <tr> <td colspan='2' class="lightGradient" style="border:1px solid lightgray;height:28px;font-size:14px;font-weight:normal;color:gray;border-right:1px solid #f2f2f2"> <img src="images/bullet.gif" width="10px" height="10px"> </img> <b style="font-size:14px;color:red"> <?php if(isset($_GET['sum'])){ echo "GENERAL INFORMATION"; }else{ echo "PATIENT'S INFORMATION "; } $pID = $_GET['id']; $pfname = mysql_result(mysql_query("SELECT `patient_fname` FROM `patient_list` WHERE `patient_id`='$pID'"),0); if(!empty($_GET['search'])){ echo "<b style='font-size:18px'> (" . $_GET['search'] .", ".$pfname.")</b>"; } ?> </b> </td> <td align='center' class="lightGradient" style='width:3%;background:#F2F2F2;border:1px solid lightgray'> <a href='doctors_portal.php?search=&view=plist&id=<?php echo $_GET['id'];?>'> <input type='button' name='close' value='X' style='width:25px;font-size:16;font-weight:bold;height:25px'></a> </td> </tr> </table> </div> <center> <div align='left' style='padding-left:0px;position:relative;width:100%;border:1px solid white'> <?php // 24-hour format of an hour without leading zeros (0 through 23) $Hour = date('G'); if ( $Hour >= 5 && $Hour <= 11 ) { $greetings = 'Good Morning'; //echo $greetings; } else if ( $Hour >= 12 && $Hour <= 18 ) { $greetings = 'Good Afternoon'; //echo $greetings; } else if ( $Hour >= 19 || $Hour <= 4 ) { $greetings = 'Good Evening'; //echo $greetings; } if(isset($_GET['subView'])){ echo "<table style='width:100%;height:100%'>"; echo "<tr>"; echo "<td valign='top' style='height:490px;width:20%;min-width:250px;background:white;border:1px solid white'>"; include 'includes/lab/doctors_menu.php'; echo "</td>"; echo "<td valign='top' style='width:75%;min-width:800px;height:100%;background:white'>"; switch($_GET['subView']){ case 'profile': include 'includes/doctors/doc_patient_profile.php'; break; case 'lab': include 'includes/doctors/doc_laboratory_data.php'; break; case 'med': include 'includes/doctors/doc_med_history.php'; break; case 'dia': include 'includes/doctors/doc_dial_history.php'; break; case 'epo': include 'includes/doctors/doc_epo_history.php'; break; case 'tx': include 'includes/doctors/doc_tx_history.php'; break; case 'healthconditions': include 'includes/doctors/patient_health_conditions.php'; break; } echo "</td>"; echo "</tr>"; echo "</table>"; }else { include 'includes/doctors/welcome.php'; } ?> </div> </center> </div> </td> </tr> </table> </td> </table> </td> </tr> <tr> <?php include 'includes/links.php'; ?> </tr> </table></center> </body> </html>
| ver. 1.4 |
.
| PHP 7.3.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings