<?php include "../../myDatabase.php"; $registrationNo = $_GET['registrationNo']; $itemNo = $_GET['itemNo']; $description = $_GET['description']; $quantity = $_GET['quantity']; $username = $_GET['username']; $show = $_GET['show']; $desc = $_GET['desc']; $ro = new database(); ?> <link rel="stylesheet" type="text/css" href="http://<?php echo $ro->getMyUrl(); ?> /COCONUT/myCSS/coconutCSS.css" /> <?php echo "<br><br><br><Br><br>"; if ($ro->getTitle($itemNo) == "MEDICINE" || $ro->getTitle($itemNo) == "SUPPLIES") { echo "<center><div style='border:1px solid #ff0000; width:400px; height:120px;\t'>"; echo "<br><center><font size=2 color=red>Are you sure you want to return <br>{$description}?</font></center>"; } else { echo "<center><div style='border:1px solid #ff0000; width:400px; height:110px;\t'>"; echo "<br><center><font size=2 color=red>Are you sure you want to delete <br>{$description}?</font></center>"; echo "<Br>"; } echo ""; echo "<form method='get' action='http://" . $ro->getMyUrl() . "/COCONUT/availableCharges/deletePatientCharges_requested.php'>\n<input type=hidden name='itemNo' value='{$itemNo}'>\n<input type=hidden name='registrationNo' value='{$registrationNo}'>"; if (($ro->getTitle($itemNo) == "MEDICINE" || $ro->getTitle($itemNo) == "SUPPLIES") && $ro->getChargesStatus($itemNo) == "PAID") { echo "\n<input type=text name='quantity' value='{$quantity}' style='width:70px; border:1px solid #ff0000; padding:2px 2px 2px 10px; '><br><br>";
<?php include "../myDatabase.php"; $ro = new database(); $ro->coconutDesign(); $ro->coconutFormStart("get", "networkConfiguration1.php"); echo "<center><br><br><Br><font size=3>Network </font><br>"; $ro->coconutBoxStart("400", "130"); echo "<br><br>"; $ro->coconutTextBox("ip", $ro->getMyUrl()); echo "<br><br>"; $ro->coconutButton("Proceed"); $ro->coconutBoxStop(); $ro->coconutFormStop();
<?php include "../../../myDatabase.php"; $branchID = $_GET['branchID']; $branch = $_GET['branch']; $username = $_GET['username']; $ro = new database(); $ro->deleteNow("branch", "branchID", $branchID); echo "\n\n<script type='text/javascript'>\nalert('{$branch} Branch is now deleted');\nwindow.location='http://" . $ro->getMyUrl() . "/COCONUT/masterfile/branch.php?username={$username}';\n</script>\n\n";
<?php include "../myDatabase.php"; require_once '../COCONUT/authentication.php'; $username = $_SESSION['username']; $module = $_SESSION['module']; $from = $_SESSION['from']; $ro = new database(); echo "\n<style type='text/css'>\na { text-decoration:none; color:red; }\n</style>\n\n"; $ro->coconutDesign(); $ro->coconutHeading($module, "Department/initializeDepartment.php"); $ro->coconutUpperMenuStart(); $ro->coconutUpperMenuStop(); $url = "http://" . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; //kuhain ang current web address /* if ( (!isset($username) && !isset($module)) ) { header("Location:/LOGINPAGE/module.php "); die(); } */ echo "<br><br><center>"; $ro->coconutBoxStart("600", "100"); echo "<br>"; echo "<font size=3 color=black>Logged as {$username}</font>"; echo "<Br>"; echo "<a href='http://" . $ro->getMyUrl() . "/LOGINPAGE/module.php'><font color=red size=2><< Sign Out</a> "; echo " <a href='http://" . $ro->getMyUrl() . "/Department/departmentHeading.php'><font color=blue size=2>Sign In >></font></a>"; $ro->coconutBoxStop();
include "../../myDatabase.php"; $packageName = $_GET['packageName']; $packagePrice = $_GET['packagePrice']; $phicPrice = $_GET['phicPrice']; $ro = new database(); /* $ro->getBatchNo(); $myFile = "/opt/lampp/htdocs/COCONUT/trackingNo/batchNo.dat"; $fh = fopen($myFile, 'r'); $batchNo = fread($fh, 100); fclose($fh); */ ?> <script src="http://<?php echo $ro->getMyUrl(); ?> /COCONUT/serverTime/serverTime.js"></script> <script type='text/javascript'> function showResult() { if (document.addCharge.availableCharges.value.length==0) { document.getElementById("livesearch").innerHTML=""; document.getElementById("livesearch").style.border="0px"; return; } if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari
<?php include "../../myDatabase.php"; //require_once('../authentication.php'); $username = $_GET['username']; $date = $_GET['date']; $ro = new database(); //$_SESSION['username'] = $_GET['username']; //if(!isset($_SESSION['username'])) { //header("Location:/LOGINPAGE/module.php"); //} echo "\n\n<frameset cols='50%,200%' framespacing='0' border='1'>\n <frame src='http://" . $ro->getMyUrl() . "/COCONUT/ER/erPatient1.php?date={$date}&username={$username}' scrolling=yes frameborder=1 framespacing=1 name='selection' />\n <frame src='erNull.php' scrolling=yes frameborder=1 framespacing=1 name='rightFrame' />\n\n</frameset>\n\n\n";
$fromMonth = $_GET['fromMonth']; $fromDay = $_GET['fromDay']; $fromYear = $_GET['fromYear']; $toMonth = $_GET['toMonth']; $toDay = $_GET['toDay']; $toYear = $_GET['toYear']; $type = $_GET['type']; $dept = $_GET['dept']; $username = $_GET['username']; $ro = new database(); echo "\n<style type='text/css'>\n.style1 {font-family: Arial;font-size: 20px;font-weight: bold;color: #000000;}\n.style2 {font-family: Arial;font-size: 14px;font-weight: bold;color: #000000;}\n.style3 {font-family: Arial;font-size: 14px;font-weight: bold;color: #FFFFFF;}\n.style4 {font-family: Arial;font-size: 16px;color: #000000;}\n.style5 {font-family: Arial;font-size: 14px;color: #000000;}\n.button01 {font-family: Arial;font-size: 16px;font-weight: bold;color: #000000;background-color: #FFFFFF;border: 1px solid #000000;}\n.button02 {font-family: Arial;font-size: 16px;font-weight: bold;color: #FF0000;background-color: #FFFFFF;border: 1px solid #000000;}\n.button03 {font-family: Arial;font-size: 16px;border: 0;padding: 0;display: inline;background: none;color: #000000;}\n#rowz:hover {\nbackground-color:yellow;\n}\n</style>\n"; echo "<center>"; //echo "<font size=6>".$ro->getReportInformation("hmoSOA_name")."</font>"; //echo "<br><font size=3>".$ro->getReportInformation("hmoSOA_address")."</font>"; //echo "<Br><font size=3>($branch)</font>"; echo "<center><img src='http://" . $ro->getMyUrl() . "/COCONUT/myImages/mendero.png' width='60%' height='20%'></center>"; echo "<span class='style1'>Registration Census For {$type}</span>"; echo "<br><span class='style5'>({$fromMonth} {$fromDay}, {$fromYear} - {$toMonth} {$toDay}, {$toYear})</span>"; //$ro->censusRegistered($fromMonth,$fromDay,$fromYear,$toMonth,$toDay,$toYear,$type,$dept,$username); $con = mysql_connect($ro->myHost, $ro->username, $ro->password); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db($ro->database, $con); $fromRegistered = $fromYear . "-" . $fromMonth . "-" . $fromDay; $toRegistered = $toYear . "-" . $toMonth . "-" . $toDay; if ($dept != "") { if ($type == "IPD") { $result = mysql_query("SELECT upper(pr.lastName) as lastName,upper(pr.firstName) as firstName,upper(pr.middleName) as middleName,rd.*,pr.Age,pr.Gender,pr.phic FROM patientRecord pr,registrationDetails rd WHERE rd.patientNo = pr.patientNo and (dateRegistered between '{$fromRegistered}' and '{$toRegistered}' ) and rd.type in ('IPD','ER','OR/DR','ICU') and rd.registeredFrom='{$dept}' order by dateRegistered,timeRegistered asc "); } else { $result = mysql_query("SELECT upper(pr.lastName) as lastName,upper(pr.firstName) as firstName,upper(pr.middleName) as middleName,rd.*,pr.Age,pr.Gender,pr.phic FROM patientRecord pr,registrationDetails rd WHERE rd.patientNo = pr.patientNo and (dateRegistered between '{$fromRegistered}' and '{$toRegistered}') and rd.type='{$type}' and rd.registeredFrom='{$dept}' order by dateRegistered,timeRegistered asc ");
<?php include "../../myDatabase.php"; $registrationNo = $_GET['registrationNo']; $itemNo = $_GET['itemNo']; $quantity = $_GET['quantity']; $username = $_GET['username']; $show = $_GET['show']; $desc = $_GET['desc']; $ro = new database(); if (($ro->getTitle($itemNo) == "MEDICINE" || $ro->getTitle($itemNo) == "SUPPLIES") && $ro->getChargesStatusDept($itemNo)) { $ro->editNow("patientCharges", "itemNo", $itemNo, "status", "Return"); $ro->editNow("patientCharges", "itemNo", $itemNo, "departmentStatus", $quantity . "_" . $registrationNo); $ro->editNow("patientCharges", "itemNo", $itemNo, "approvedBy", $username); $ro->changeQTY($ro->getChargesCode($itemNo), $ro->getCurrentQTY($ro->getChargesCode($itemNo)) + $quantity); $ro->deletePatientCharges($registrationNo, $itemNo); } else { $ro->deletePatientCharges($registrationNo, $itemNo); $ro->editNow("forDeletion", "itemNo", $itemNo, "approvedBy", $username); } echo "\n<script type='text/javascript'>\nwindow.location='http://" . $ro->getMyUrl() . "/COCONUT/ADMIN/requestDelete_update.php?username={$username}';\n</script>\n"; ?>
include "../../myDatabase.php"; $packageName = $_GET['packageName']; $ro = new database(); $ro->coconutDesign(); /* $ro->getBatchNo(); $myFile = "/opt/lampp/htdocs/COCONUT/trackingNo/batchNo.dat"; $fh = fopen($myFile, 'r'); $batchNo = fread($fh, 100); fclose($fh); */ ?> <script src="http://<?php echo $ro->getMyUrl(); ?> /COCONUT/serverTime/serverTime.js"></script> <script type='text/javascript'> function showResult() { if (document.addCharge.availableCharges.value.length==0) { document.getElementById("livesearch").innerHTML=""; document.getElementById("livesearch").style.border="0px"; return; } if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari
<?php include "../../myDatabase.php"; $branch = $_GET['branch']; $floor = $_GET['floor']; $ro = new database(); $ro->coconutAjax("12000", "http://" . $ro->getMyUrl() . "/COCONUT/NURSING/nsRoom.php?branch={$branch}&floor={$floor}");
<?php include "../../../myDatabase.php"; $itemNo = $_GET['itemNo']; $registrationNo = $_GET['registrationNo']; $subjective = $_GET['subjective']; $objective = $_GET['objective']; $assessment = $_GET['assessment']; $plan = $_GET['plan']; $username = $_GET['username']; $ro = new database(); $ro->getPatientProfile($registrationNo); $ro->getSOAP($itemNo, $registrationNo); $ro->editNow("SOAP", "soapNo", $ro->soap_soapNo(), "subjective", $subjective); $ro->editNow("SOAP", "soapNo", $ro->soap_soapNo(), "objective", $objective); $ro->editNow("SOAP", "soapNo", $ro->soap_soapNo(), "assessment", $assessment); $ro->editNow("SOAP", "soapNo", $ro->soap_soapNo(), "plan", $plan); $ro->editNow("SOAP", "soapNo", $ro->soap_soapNo(), "patientNo", $ro->getRegistrationDetails_patientNo()); echo "\n<script type='text/javascript'>\nwindow.location='http://" . $ro->getMyUrl() . "/COCONUT/Doctor/doctorModule/soapView.php?itemNo={$itemNo}®istrationNo={$registrationNo}&username={$username}';\n</script>\n\n";
$service = $_GET['service']; $title = $_GET['title']; $paidVia = $_GET['paidVia']; $cashPaid = $_GET['cashPaid']; $batchNo = $_GET['batchNo']; $username = $_GET['username']; $quantity = $_GET['quantity']; $inventoryFrom = $_GET['inventoryFrom']; $room = ""; $paycash = $_GET['paycash']; $remarks = $_GET['remarks']; $url = $_GET['url']; $ro = new database(); $ro->coconutDesign(); if ($title == "OT" || $title == "ST") { $ro->coconutFormStart("get", "http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/therapyCharges.php"); echo "<br><br>"; $ro->coconutBoxStart("500", "100"); echo "<Br>"; echo "<font color=red>{$description}</font>"; echo "<br>"; echo "<table border=0>"; echo "<tr>"; echo "<Td>Date Charge </td>"; echo "<Td>"; $ro->coconutComboBoxStart_short("month"); echo "<option value='" . date("m") . "'>" . date("M") . "</option>"; echo "<option value='01'>Jan</option>"; echo "<option value='02'>Feb</option>"; echo "<option value='03'>Mar</option>"; echo "<option value='04'>Apr</option>";
//ADD ROOM $ro->getRoom($room); $ro->addCharges_cash("UNPAID", $registrationNo, $room, $room, $ro->room_rate(), 0, $ro->room_rate(), $ro->room_rate(), 0, 0, date("H:i:s"), date("M_d_Y"), $ro->getUserRegistered(), "Confinement", "Room And Board", "Cash", 0, "", 1, "", $ro->getUserBranch($password), ""); $ro->EditNow("room", "Description", $room, "status", "Occupied"); //GWEN OCCUPIED ANG STATUS NG ROOM } } } $ro->editNow("patientRecord", "patientNo", $patientNo, "lastName", $lastname); $ro->editNow("patientRecord", "patientNo", $patientNo, "firstName", $firstname); $ro->editNow("patientRecord", "patientNo", $patientNo, "middleName", $middlename); $ro->editNow("patientRecord", "patientNo", $patientNo, "contactNo", $patientContact); $ro->editNow("patientRecord", "patientNo", $patientNo, "Birthdate", $birthDate); $ro->editNow("patientRecord", "patientNo", $patientNo, "Gender", $gender); $ro->editNow("patientRecord", "patientNo", $patientNo, "Senior", $seniorCitizen); $ro->editNow("patientRecord", "patientNo", $patientNo, "Address", $address); $ro->editNow("patientRecord", "patientNo", $patientNo, "PHIC", $philHealth); $ro->editNow("patientRecord", "patientNo", $patientNo, "civilStatus", $civilStatus); $ro->editNow("patientRecord", "patientNo", $patientNo, "phicType", $phicType); $ro->editNow("patientRecord", "patientNo", $patientNo, "completeName", $completeName); } // Registration Status [old] echo "\n<script type='text/javascript'>\nwindow.location='http://" . $ro->getMyUrl() . "/Registration/patient.php?registrationNo={$registrationNo}&username="******"';\n</script>\n"; } catch (Exception $e) { echo "\n<script type='text/javascript'>\nwindow.back();\n</script>\n\n"; } } else { //ELSE 1 echo "\n<script type='text/javascript'>\nalert('WRONG AUTHENTICATION');\nhistory.back();\n</script>\n\n"; } //ELSE 1
$remarks = $_GET['remarks']; $stockCardNo = $_GET['stockCardNo']; $ro = new database(); $ro->coconutDesign(); echo "<script src='../js/jquery-2.1.4.min.js'></script>"; echo "<script src='../js/jquery-ui.min.js'></script>"; echo "<link rel='stylesheet' href='../myCSS/coconutCSS.css'></link>"; echo "<link rel='stylesheet' href='../myCSS/jquery-ui.css'></link>"; echo "\n<script>\n\t\$(document).ready(function(){\n\t\t\$('#dateCharge').datepicker({\n\t\t\tdateFormat:'yy-mm-dd'\n\t\t});\n\t});\n</script>\n"; if ($ro->selectNow("inventory", "quantity", "inventoryCode", $chargesCode) < 1) { $ro->getBack("Sorry, Out of Stock"); } echo "\n<style type='text/css'>\n.qty {\n\tborder: 1px solid #000;\n\tcolor: #000;\n\theight:25px;\n\twidth: 100px;\n\tpadding:4px 4px 4px 10px;\n}\n\n</style>\n\n"; //addCharges.php echo "<br><Br>"; echo "<form method='get' action='http://" . $ro->getMyUrl() . "/COCONUT/availableMedicine/addCharges_cash.php'>"; echo "<center>\n<font color=red>" . $description . "</font>\n<div style='border:1px solid #000000; width:470px; height:130px;\t'>"; echo "<br><table border=0 cellpadding=0 cellspacing=0>"; echo "<tr>"; echo "<td><font size=2>Quantity:</font></td>"; echo "<td><input type=text class='qty' name='quantity' value='1'></td>"; echo "</tr>"; echo "<tr>"; echo "<td><font size=2>Date Charge</font> </td>"; echo "<td>"; /* $ro->coconutComboBoxStart_short("month"); echo "<option value='".date("m")."'>".date("M")."</option>"; echo "<option value='01'>Jan</option>"; echo "<option value='02'>Feb</option>"; echo "<option value='03'>Mar</option>";
<?php include "../../myDatabase.php"; //require_once('../authentication.php'); $username = $_GET['username']; $ro = new database(); //$_SESSION['username'] = $_GET['username']; //if(!isset($_SESSION['username'])) { //header("Location:/LOGINPAGE/module.php"); //} echo "\n\n<frameset cols='45%,210%' framespacing='0' border='1'>\n <frame src='http://" . $ro->getMyUrl() . "/COCONUT/Pharmacy/viewPx.php?username={$username}' scrolling=no frameborder=1 framespacing=1 name='selection' />\n <frame src='' scrolling=yes frameborder=1 framespacing=1 name='rightFrame' />\n\n</frameset>\n\n\n";
<?php include "../../myDatabase.php"; $ro = new database(); $ro->coconutAjax("9000", "http://" . $ro->getMyUrl() . "/COCONUT/room/listRoom.php");
include "../../myDatabase.php"; session_start(); $username = $_SESSION['username']; $module = $_SESSION['module']; $ro = new database(); echo "\n<style type='text/css'>\na { text-decoration:none; color:red; }\n</style>\n\n"; $ro->coconutDesign(); $ro->coconutHeading($module, "COCONUT/currentPatient/initializePatient.php"); $ro->coconutUpperMenuStart(); $ro->coconutUpperMenuStop(); $url = "http://" . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; //kuhain ang current web address if (!isset($username) && !isset($module)) { header("Location:/LOGINPAGE/module.php "); die; } echo "<br><br><center>"; $ro->coconutBoxStart("600", "100"); echo "<br>"; echo "<font size=3 color=black>Logged as {$username}</font>"; echo "<Br>"; echo "<a href='http://" . $ro->getMyUrl() . "/LOGINPAGE/module.php'><font color=red size=2><< Sign Out</a> "; //echo " <a href='http://".$ro->getMyUrl()."/COCONUT/currentPatient/patientInterface.php?patientSearch=&username=$username&module=$module'><font color=blue size=2>Sign In >></font></a>"; $ro->coconutFormStart("post", "/COCONUT/currentPatient/patientInterface.php"); $ro->coconutHidden("patientSearch", ""); $ro->coconutHidden("username", $username); $ro->coconutHidden("module", $module); echo "<br>"; echo "<input type='submit' style='background:transparent; border:1px solid #0000FF; color:blue' value='Sign In >>>'>"; $ro->coconutFormStop(); $ro->coconutBoxStop();
<?php include "../../../myDatabase.php"; $month = $_GET['month']; $day = $_GET['day']; $year = $_GET['year']; $month1 = $_GET['month1']; $day1 = $_GET['day1']; $year1 = $_GET['year1']; $service = $_GET['service']; $ro = new database(); echo "\n\n<frameset cols='60%,150%' framespacing='0' border='1'>\n <frame src='http://" . $ro->getMyUrl() . "/COCONUT/graphicalReport/bestSelling/monthlyRangeDoctor1.php?month={$month}&day={$day}&year={$year}&month1={$month1}&day1={$day1}&year1={$year1}&service={$service}' scrolling=no frameborder=1 framespacing=1 name='selection' />\n <frame src='#' name='selection1' />\n\n</frameset>\n\n\n";
<?php include "../../../myDatabase.php"; $date = $_GET['date']; $shift = $_GET['shift']; $attrNo = $_GET['attrNo']; $ro = new database(); $dateIndividual = preg_split("/\\-/", $date); $year = $dateIndividual[0]; $month = $dateIndividual[1]; $day = $dateIndividual[2]; $ro->deleteNow("dailyCashiersAttr", "attrNo", $attrNo); $ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/Cashier/cashierReport/dailyCashiersReport.php?month={$month}&day={$day}&year={$year}&shift={$shift}");
<?php include "../../myDatabase.php"; $registrationNo = $_GET['registrationNo']; $username = $_GET['username']; $show = $_GET['show']; $desc = $_GET['desc']; $ro = new database(); echo "\n<style type='text/css'>\n.head {\nfont-size:13px;\n}\n\n.find {\n\tborder: 1px solid #000;\n\tcolor: #000;\n\theight: 25px;\n\twidth: 370px;\n\tborder-color:black black black black;\n\tbackground:#FFFFFF url(http://" . $ro->getMyUrl() . "/COCONUT/myImages/search.jpeg) no-repeat 4px 4px;\n\tpadding:4px 4px 4px 22px;\n}\n\n\n.button {\n\tborder: 1px solid #000;\n\tcolor: #fff;\n\theight: 23px;\n\twidth: 70px;\n\tborder-color:black black black black;\n\ttext-align:center;\n\tbackground-color:#3b5998;\n}\n\n#selected:hover {\nbackground-color:yellow; color:black;\n}\n\n</style>\n\n"; echo "<script type='text/javascript'>\n\nvar charges = 'Find Charges';\nfunction SetMsg (txt,active) {\n if (txt == null) return;\n \n \n if (active) {\n if (txt.value == charges) txt.value = ''; \n } else {\n if (txt.value == '') txt.value = charges;\n }\n}\n\n</script>"; echo "<Table width='100%' border=1 rules=all cellpadding=0 cellspacing=0>"; echo "<Tr>"; echo "<td id='selected'>"; echo "<a href='http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/paymentTransfer.php?registrationNo={$registrationNo}&username={$username}&show=cash2company&desc=cash2company'><Center><font size=2 color=red>Cash</font> > <font size=2 color=blue>Company</font></a></center>"; echo "</td>"; echo "<td id='selected'>"; echo "<a href='http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/paymentTransfer.php?registrationNo={$registrationNo}&username={$username}&show=cash2phic&desc=cash2phic'><center><font size=2 color=red>Cash</font> > <font size=2 color=green>P.H.I.C</font></center></a>"; echo "</td>"; echo "<td id='selected'>"; echo "<a href='http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/paymentTransfer.php?registrationNo={$registrationNo}&username={$username}&show=cash2package&desc=cash2package'><center><font size=2 color=red>Cash</font> > <font size=2 color=black>Package</font></center></a>"; echo "</td>"; echo "<td id='selected'>"; echo "<a href='http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/paymentTransfer.php?registrationNo={$registrationNo}&username={$username}&show=company2cash&desc=company2cash'><center><font size=2 color=blue>Company</font> > <font size=2 color=red>Cash</font></center></a>"; echo "</td>"; echo "<td id='selected'>"; echo "<a href='http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/paymentTransfer.php?registrationNo={$registrationNo}&username={$username}&show=company2phic&desc=company2phic'><center><font size=2 color=blue>Company</font> > <font size=2 color=green>P.H.I.C</font></center></a>"; echo "</td>"; echo "<td id='selected'>"; echo "<a href='http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/paymentTransfer.php?registrationNo={$registrationNo}&username={$username}&show=phic2cash&desc=phic2cash'><center><font size=2 color=darkgreen>P.H.I.C</font> > <font size=2 color=red>Cash</font></center></a>"; echo "</td>"; echo "<td id='selected'>";
<?php include "../../myDatabase.php"; $verificationNo = $_GET['verificationNo']; $requestingDepartment = $_GET['requestingDepartment']; $requestingBranch = $_GET['requestingBranch']; $requestTo_department = $_GET['requestTo_department']; $requestTo_branch = $_GET['requestTo_branch']; $username = $_GET['username']; $ro = new database(); $ro->editNow("inventoryManager", "verificationNo", $verificationNo, "status", "DELETED_" . $username); $ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/availableMedicine/showRequestList.php?requestingDepartment={$requestingDepartment}&requestingBranch={$requestingBranch}&requestTo_department={$requestTo_department}&requestTo_branch={$requestTo_branch}&username={$username}");
<?php include "../../myDatabase.php"; session_start(); $username = $_SESSION['username']; $module = $_SESSION['module']; $ro = new database(); if (!isset($username) && !isset($module)) { header("Location:http://" . $ro->getMyUrl() . "/LOGINPAGE/module.php "); } ?> <html> <head> <link rel="stylesheet" type="text/css" href="http://<?php echo $ro->getMyUrl(); ?> /COCONUT/flow/rickyCSS1.css" /> <script type="text/javascript" src="http://<?php echo $ro->getMyUrl(); ?> /Registration/menu/jquery-1.4.2.min.js"></script> <script type="text/javascript" src="http://<?php echo $ro->getMyUrl(); ?> /Registration/menu/jquery.fixedMenu.js"></script> <link rel="stylesheet" type="text/css" href="http://<?php echo $ro->getMyUrl(); ?> /Registration/menu/fixedMenu_style1.css" />
$case = $_GET['case']; $ro = new database(); $ro->getPHIClimit_setter($casetype); echo $cash - $ro->getPHIClimit_room(); echo "<br><br>"; $itemz = preg_split("/\\_/", $ro->getMaximumTotal_any($registrationNo, "Room And Board")); echo "Price:" . $itemz[0]; echo "<br><br>item no." . $itemz[1]; $ro->getPatientChargesToEdit($itemz[1]); if ($itemz[0] >= $ro->getPHIClimit_room()) { $newCash = $ro->patientCharges_cashUnpaid() - ($ro->getPHIClimit_room() - $ro->getTotal("phic", "Room And Board", $registrationNo)); if ($newCash > 1) { $ro->editNow("patientCharges", "itemNo", $itemz[1], "cashUnpaid", $newCash); $ro->editNow("patientCharges", "itemNo", $itemz[1], "phic", $ro->getPHIClimit_room() - $ro->getTotal("phic", "Room And Board", $registrationNo)); } else { $ro->editNow("patientCharges", "itemNo", $itemz[1], "cashUnpaid", "0"); $ro->editNow("patientCharges", "itemNo", $itemz[1], "phic", $ro->patientCharges_cashUnpaid()); } } else { $ro->editNow("patientCharges", "itemNo", $itemz[1], "cashUnpaid", "0"); $ro->editNow("patientCharges", "itemNo", $itemz[1], "phic", $ro->patientCharges_cashUnpaid()); } if ($ro->getTotal("phic", "Room And Board", $registrationNo) != $ro->getPHIClimit_room()) { $ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/phicLimit/phicFuller_room.php?registrationNo={$registrationNo}&casetype={$casetype}&cash=&case={$case}"); } else { if ($ro->getMaximumTotal_any_checker($registrationNo, "Room And Board") == 0) { $ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/phicLimit/phicFuller_PF.php?registrationNo={$registrationNo}&casetype={$casetype}&cash=&case={$case}"); } else { $ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/phicLimit/phicFuller_PF.php?registrationNo={$registrationNo}&casetype={$casetype}&cash=&case={$case}"); } }
<?php include "../../../myDatabase.php"; $username = $_GET['username']; $registrationNo = $_GET['registrationNo']; $icdNo = $_GET['icdNo']; $icdCode = $_GET['icdCode']; $diagnosis = $_GET['diagnosis']; $ro = new database(); $ro->EditNow("patientICD", "icdNo", $icdNo, "icdCode", $icdCode); $ro->EditNow("patientICD", "icdNo", $icdNo, "diagnosis", $diagnosis); echo "\n\n<script type='text/javascript'>\nwindow.location='http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/viewICD.php?username={$username}®istrationNo={$registrationNo}';\n</script>\n\n\n";
$ro = new database(); unset($_SESSION['registrationNo']); //echo "<style type='text/css'>@import url('http://localhost/COCONUT/myCSS/newCSS.css');</style>"; ?> <div id="main" style="border:1px solid #000; height:auto; width:620px; border-color:white black white black; margin-left:10.2em; margin-right:17.2em; padding-left:1em; padding-right:1em; "> <center> <img src="http://<?php echo $ro->getMyUrl(); ?> /COCONUT/myImages/mendero.png" width="100%" height="20%"> </center> <br> <br> <font size=2> <font color=red><b>Question:</b></font> Lahat ba ng medicine dapat i-encode sa system? <br> <font color=blue><b>Answer:</b></font> Hindi Lahat, yung available lang sa pharmacy ang dapat i-encode <br><br> <font color=red><b>Question:</b></font> Paano ko malalaman kung available sa pharmacy ang medicine/supplies? <br> <font color=blue><b>Answer:</b></font> kung available makikita mo yun sa search pero kung wala hindi mo makikita sa search. <br><br> <font color=red><b>Question:</b></font> Magbibigay pa ba ako ng reseta?
$username = $_SESSION['username']; $registrationNo = $_SESSION['registrationNo']; $module = $_SESSION['module']; $ro = new database(); echo "\n<style type='text/css'>\na { text-decoration:none; color:red; }\n</style>\n\n"; $ro->coconutDesign(); $ro->coconutHeading($module, "/COCONUT/currentPatient/initializeProfile.php"); $ro->coconutUpperMenuStart(); $ro->coconutUpperMenuStop(); $url = "http://" . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; //kuhain ang current web address if (!isset($username) && !isset($registrationNo)) { header("Location:/LOGINPAGE/module.php "); die; } echo "<br><br><center>"; $ro->coconutBoxStart("600", "100"); echo "<br>"; echo "<font size=3 color=black>Logged as {$username}</font>"; echo "<Br>"; echo "<a href='http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/unknownUser/verifyUser.php?registrationNo={$registrationNo}'><font color=red size=2><< Sign Out</a> "; //echo " <a href='http://".$ro->getMyUrl()."/COCONUT/currentPatient/patientInterface1.php?username=$username®istrationNo=$_GET[registrationNo]'><font color=blue size=2>Sign In >></font></a>"; $ro->coconutFormStart("post", "/COCONUT/currentPatient/patientInterface1.php"); $ro->coconutHidden("patientSearch", ""); $ro->coconutHidden("username", $username); $ro->coconutHidden("module", $module); $ro->coconutHidden("registrationNo", $registrationNo); echo "<br>"; echo "<input type='submit' style='background:transparent; border:1px solid #0000FF; color:blue' value='Sign In >>>'>"; $ro->coconutFormStop(); $ro->coconutBoxStop();
<?php include "../../../myDatabase.php"; $username = $_GET['username']; $module = $_GET['module']; $ro = new database(); ?> <link rel="stylesheet" type="text/css" href="http://<?php echo $ro->getMyUrl(); ?> /COCONUT/myCSS/coconutCSS.css" /> <?php echo "<form method='get' action='http://" . $ro->getMyUrl() . "/COCONUT/Reports/doctorReport/doctorPF.php'>"; echo "<br><br><Br><br><center><div style='border:1px solid #000000; width:500px; height:230px; border-color:black black black black;'>"; echo "<br><table border=0 cellpadding=0 cellspacing=0>"; echo "<Tr>"; echo "<font class='labelz'>Doctor</font> <select name='doctor' class='comboBox'>"; $ro->showOption("Doctors", "Name"); echo "</select>"; echo "</tr>"; echo "<tr>"; echo "<td><font class='labelz'>Date </font></td>"; echo "<td>\n<select name='month' class='comboBoxShort'> \n<option value='" . date("M") . "'>" . date("M") . "</option>\n<option value='Jan'>Jan</option>\n<option value='Feb'>Feb</option>\n<option value='Mar'>Mar</option>\n<option value='Apr'>Apr</option>\n<option value='May'>May</option>\n<option value='Jun'>Jun</option>\n<option value='Jul'>Jul</option>\n<option value='Aug'>Aug</option>\n<option value='Sep'>Sep</option>\n<option value='Oct'>Oct</option>\n<option value='Nov'>Nov</option>\n<option value='Dec'>Dec</option>\n</select>"; echo " <select name='day' class='comboBoxShort'>"; echo "<option value='" . date("d") . "'>" . date("d") . "</option>"; for ($x = 1; $x < 32; $x++) { if ($x < 10) { echo "<option value='0{$x}'>0{$x}</option>"; } else {
$ro = new database(); $ro4 = new database4(); $username = $ro->selectNow('registeredUser', 'username', 'employeeID', $_SESSION['employeeID']); $module = $ro->selectNow('registeredUser', 'module', 'employeeID', $_SESSION['employeeID']); $ro->showPatientHistory($ro->doubleSelectNow('patientRecord', 'patientNo', 'completeName', $_POST['patientSearch'], "statusz", "")); ?> <html> <head> <title>PATIENT PROFILE</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <link rel="stylesheet" type="text/css" href="http://<?php echo $ro->getMyUrl(); ?> /COCONUT/flow/rickyCSS1.css" /> <script type="text/javascript" src="http://<?php echo $ro->getMyUrl(); ?> /jquery.js"></script> <script type="text/javascript" src="http://<?php echo $ro->getMyUrl(); ?> /jquery.autocomplete.js"></script> <script src="../js/open.js"></script> <link rel="stylesheet" type="text/css" href="http://<?php echo $ro->getMyUrl(); ?> /jquery.autocomplete.css" />
<?php include "../../../myDatabase.php"; $registrationNo = $_GET['registrationNo']; $username = $_GET['username']; $category = $_GET['category']; $ro = new database(); $ro->getPatientProfile($registrationNo); ?> <link rel="stylesheet" type="text/css" href="http://<?php echo $ro->getMyUrl(); ?> /COCONUT/myCSS/coconutCSS.css" /> <?php echo "<br><center><div style='border:0px solid #000000; width:825px; height:auto; border-color:black black black black;'>"; echo "<font size=4><b>" . $ro->getReportInformation("hmoSOA_name") . "</b></font><br>"; echo "<font size=2>" . $ro->getReportInformation("hmoSOA_address") . "</font><br>"; echo "<font size=2>" . $ro->getRegistrationDetails_branch() . "</font><br>"; echo "<br><br>"; echo "<table border=0>"; echo "<tr>"; echo "<td><font class='labelz'><b>Name:</b></font></td><td><font size=2>" . $ro->getPatientRecord_completeName() . "</font></td>"; echo "<td> </td>"; echo "<Td><font class='labelz'><b>Registration#:</b></font></td>"; echo "<td><font size=2>" . $ro->getRegistrationDetails_registrationNo() . "</td>"; echo "</tr>"; echo "<tr>"; echo "<Td><font class='labelz'><B>Age:</b></td>"; echo "<Td><font size=2>" . $ro->getPatientRecord_age() . " yrs Old</font></td>";
<?php include "../../myDatabase.php"; $radioSavedNo = $_GET['radioSavedNo']; $username = $_GET['username']; $module = $_GET['module']; $doctorCode = $_GET['doctorCode']; $ro = new database(); $ro->editNow("radioSavedReport", "radioSavedNo", $radioSavedNo, "approved", "yes"); $ro->editNow("radioSavedReport", "radioSavedNo", $radioSavedNo, "approvedDate", date("Y-m-d")); $ro->editNow("radioSavedReport", "radioSavedNo", $radioSavedNo, "approvedTime", $ro->getSynapseTime()); $ro->editNow("radioSavedReport", "radioSavedNo", $radioSavedNo, "approvedBy", $username); $ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/radiology/forApproval.php?username={$username}&module={$module}&doctorCode={$doctorCode}");