本文整理汇总了PHP中database2::getMyUrl方法的典型用法代码示例。如果您正苦于以下问题:PHP database2::getMyUrl方法的具体用法?PHP database2::getMyUrl怎么用?PHP database2::getMyUrl使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类database2
的用法示例。
在下文中一共展示了database2::getMyUrl方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
<?php
include "../../../myDatabase2.php";
$itemNo = $_POST['itemNo'];
$cash = $_POST['cash'];
$company = $_POST['company'];
$phic = $_POST['phic'];
$company1 = $_POST['company1'];
$ro = new database2();
$ro->editNow("patientCharges", "itemNo", $itemNo, "cashUnpaid", $cash);
$ro->editNow("patientCharges", "itemNo", $itemNo, "company", $company);
$ro->editNow("patientCharges", "itemNo", $itemNo, "phic", $phic);
$ro->editNow("patientCharges", "itemNo", $itemNo, "company1", $company1);
$ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/additionalCompany/transfertoAdditionalCompany.php?registrationNo=" . $ro->selectNow("patientCharges", "registrationNo", "itemNo", $itemNo) . "&mode=");
?>
示例2:
<?php
include "../../../myDatabase2.php";
$doctorCode = $_GET['doctorCode'];
$username = $_GET['username'];
$ro = new database2();
$ro->coconutDesign();
echo "<link rel='stylesheet' type='text/css' href='../css/default.css' />";
echo "\n<center>\n<header class='clearfix' style='margin:15px;'>\n<span>Synapse System</span>\n</header>\n";
echo "<div style='background:#47a3da; margin:10px; height:auto; width:150px; border-radius:15px;' >";
echo "<Br>";
echo "<table border='0' width='150px;'>";
echo "<tr>\n<th><font color='white' size=4>Name</font></th>\n</tr>";
$ro->androidViewPatient($doctorCode);
echo "</table>";
echo "</div>";
echo "<br>\n<a href='http://" . $ro->getMyUrl() . "/COCONUT/android/doctor/doctorInterface.php?username={$username}&doctorCode={$doctorCode}' style='text-decoration:none; color:#47a3da;' target='_parent'>Back To Menu</a>";
示例3:
<?php
include "../../../myDatabase2.php";
$inventoryCode = $_GET['inventoryCode'];
$department = $_GET['department'];
$description = $_GET['description'];
$date = $_GET['date'];
$time = $_GET['time'];
$username = $_GET['username'];
$ro = new database2();
$ro->coconutDesign();
echo "<br><br><br><br><center><font size=2 color=red>{$description}</font></center>";
$ro->coconutFormStart("get", "http://" . $ro->getMyUrl() . "/COCONUT/inventory/department/inventoryLog.php");
$ro->coconutHidden("inventoryCode", $inventoryCode);
$ro->coconutHidden("department", $department);
$ro->coconutHidden("description", $description);
$ro->coconutHidden("date", $date);
$ro->coconutHidden("time", $time);
$ro->coconutHidden("username", $username);
$ro->coconutBoxStart("500", "85");
echo "<br>";
echo "<table border=0>";
echo "<Tr>";
echo "<td>QTY: </td>";
echo "<td>";
$ro->coconutTextBox_short("qty", "1");
echo "</td>";
echo "</tr>";
echo "</table>";
echo "<br>";
$ro->coconutButton("Proceed");
示例4:
<?php
include "../../myDatabase2.php";
$registrationNo = $_GET['registrationNo'];
$itemNo = $_GET['itemNo'];
$description = $_GET['description'];
$quantity = $_GET['quantity'];
$username = $_GET['username'];
$show = $_GET['show'];
$desc = $_GET['desc'];
$ro = new database2();
/*
if( ($ro->getTitle($itemNo) == "MEDICINE" || $ro->getTitle($itemNo) == "SUPPLIES") && $ro->selectNow("registeredUser","module","username",$username) != "PHARMACY" ) {
echo "<br><Br><Br><font color=red>PHARMACY NA LANG MAG RERETURN.
<bR>
NAHIYA AKO SAYO EH BKA BUSY KA. =)</font>";
*/
//}else {
$ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/verifyDelete_redirect.php?registrationNo={$registrationNo}&itemNo={$itemNo}&description={$description}&quantity={$quantity}&username={$username}&show={$show}&desc={$desc}");
//}
示例5: url
<?php
include "../../myDatabase2.php";
$username = $_GET['username'];
$registrationNo = $_GET['registrationNo'];
$status = $_GET['status'];
$ro = new database2();
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</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 "<form method='get' action='patientCharges.php' >";
echo "<input type=text name='desc'\t\n\tonfocus='SetMsg(this, true);'\n \tonblur='SetMsg(this,false);' \n\tvalue='Find Charges'\n\tautocomplete='off'\t\n\tclass='find'> ";
echo "<input type=hidden name='show' value='search'>";
echo "<input type=hidden name='registrationNo' value='{$registrationNo}'>";
echo "<input type=hidden name='username' value='{$username}'>";
echo "<form>";
echo "<br><br> ";
echo "<table border=1 cellpadding=0 cellspacing=0 rules=all>";
echo "<tr>";
echo "<th bgcolor='#3b5998'> <font color=white class='head'></font> </th>";
echo "<th bgcolor='#3b5998'> <font color=white class='head'>Description</font> </th>";
echo "<th bgcolor='#3b5998'> <font color=white class='head'>Price</font> </th>";
echo "<th bgcolor='#3b5998'> <font color=white class='head'>QTY</font> </th>";
echo "<th bgcolor='#3b5998'> <font color=white class='head'>Disc</font> </th>";
echo "<th bgcolor='#3b5998'> <font color=white class='head'>Total</font> </th>";
echo "<th bgcolor='#3b5998'> <font color=white class='head'>Time</font> </th>";
echo "<th bgcolor='#3b5998'> <font color=white class='head'>Date</font> </th>";
echo "<th bgcolor='#3b5998'> <font color=white class='head'>User</font> </th>";
echo "<th bgcolor='#3b5998'> <font color=white class='head'>Service</font> </th>";
echo "<th bgcolor='#3b5998'> <font color=white class='head'>Status</font> </th>";
echo "<th bgcolor='#3b5998'> <font color=white class='head'>Payment</font> </th>";
echo "<th bgcolor='#3b5998'> <font color=white class='head'>Balance</font> </th>";
示例6: date
$timeChargex = $ro->selectNow("patientCharges","timeCharge","itemNo",$itemNo);
$dateChargex = $ro->selectNow("patientCharges","dateCharge","itemNo",$itemNo);
$chargeByx = $ro->selectNow("patientCharges","chargeBy","itemNo",$itemNo);
$servicex = $ro->selectNow("patientCharges","service","itemNo",$itemNo);
$titlex = $ro->selectNow("patientCharges","title","itemNo",$itemNo);
$paidViax = $ro->selectNow("patientCharges","paidVia","itemNo",$itemNo);
$cashPaidx = $ro->selectNow("patientCharges","cashPaid","itemNo",$itemNo);
$batchNox = $ro->selectNow("patientCharges","batchNo","itemNo",$itemNo);
$inventoryFromx = $ro->selectNow("patientCharges","inventoryFrom","itemNo",$itemNo);
$branch="Consolacion";
$roomx = $ro->selectNow("patientCharges","room","itemNo",$itemNo);
$ro->addCharges_cash("Return",$regNo,$chargeCodez,$desc,$sp,$disc,$totz,$excess,$phicx,$companyx,$timeChargex,$dateChargex,$chargeByx,$servicex,$titlex,$paidViax,$cashPaidx,$batchNox,$quantity,$inventoryFromx,$branch,$roomx);
*/
//$ro->changeQTY($ro->getChargesCode($itemNo),($ro->getCurrentQTY($ro->getChargesCode($itemNo)) + $quantity) );
//$ro->deletePatientCharges($registrationNo,$itemNo);
}
} else {
if ($ro->getTitle($itemNo) == "MEDICINE" || $ro->getTitle($itemNo) == "SUPPLIES") {
$ro->editNow("patientCharges", "itemNo", $itemNo, "status", "DELETED_" . $username . "[" . date("Y-m-d") . "@" . $ro->getSynapseTime() . "]");
} else {
//$ro->deletePatientCharges($registrationNo,$itemNo);
$ro->editNow("patientCharges", "itemNo", $itemNo, "status", "DELETED_" . $username . "[" . date("Y-m-d") . "@" . $ro->getSynapseTime() . "]");
}
}
echo "\n<script type='text/javascript'>\nwindow.location='http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/patientChargesTitle.php?registrationNo={$registrationNo}&title={$titlez}&username={$username}&show={$show}&desc={$desc}';\n</script>\n";
}
?>
示例7:
<?php
include "../../myDatabase2.php";
$registrationNo = $_GET['registrationNo'];
$username = $_GET['username'];
$package = $_GET['package'];
$ro = new database2();
$ro->editNow("registrationDetails", "registrationNo", $registrationNo, "prePackage", $package);
$ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/patientProfile_handler.php?registrationNo={$registrationNo}&username={$username}");
示例8:
<?php
include "../../../myDatabase2.php";
$registrationNo = $_POST['registrationNo'];
$username = $_POST['username'];
$company1 = $_POST['company1'];
$company2 = $_POST['company2'];
$ro = new database2();
$ro->editNow("registrationDetails", "registrationNo", $registrationNo, "company1", $company1);
$ro->editNow("registrationDetails", "registrationNo", $registrationNo, "company2", $company2);
echo "\n<script type='text/javascript'>\nwindow.location='http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/patientProfile_handler.php?registrationNo={$registrationNo}&username={$username}';\n</script>\n\n";
示例9:
<?php
include "../../../myDatabase2.php";
$radioSavedNo = $_GET['radioSavedNo'];
$registrationNo = $_GET['registrationNo'];
$username = $_GET['username'];
$ro = new database2();
$ro->deleteNow("radioSavedReport", "radioSavedNo", $radioSavedNo);
$ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/Results/clinicalChemistry/view_labTest_done.php?registrationNo={$registrationNo}&username={$username}");
示例10:
<?php
include "../../../myDatabase2.php";
$templateNo = $_POST['templateNo'];
$ro = new database2();
$ro->deleteNow("labResultList", "templateNo", $templateNo);
$ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/Laboratory/resultList/resultFormMasterfile.php");
示例11:
<?php
include "../../../myDatabase2.php";
$registrationNo = $_POST['registrationNo'];
$username = $_POST['username'];
$companyName = $_POST['companyName'];
$columnToGet = $_POST['columnToGet'];
$ro = new database2();
$ro->getPatientProfile($registrationNo);
$ro->coconutDesign();
$ro->coconutFormStart("post", "http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/Payments/companyPayment1.php");
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutHidden("postBy", $username);
$ro->coconutHidden("itemNo", "");
$ro->coconutHidden("doctor", "");
$ro->coconutHidden("companyName", $companyName);
$ro->coconutHidden("columnToGet", $columnToGet);
echo "<Br><br><br>";
$ro->coconutBoxStart("500", "320");
echo "<br>";
echo "<table>";
echo "<tr>";
echo "<td>Ref#</td>";
echo "<td>";
$ro->coconutTextBox("refNo", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Check#</td>";
echo "<td>";
$ro->coconutTextBox("checkNo", "");
示例12:
<?php
include "../../../myDatabase2.php";
$refNo = $_POST['refNo'];
$registrationNo = $_POST['registrationNo'];
$amount = $_POST['amount'];
$tax = $_POST['tax'];
$month = $_POST['month'];
$day = $_POST['day'];
$year = $_POST['year'];
$postBy = $_POST['postBy'];
$ro = new database2();
$date = $year . "-" . $month . "-" . $day;
$ro->addPHICPayment($refNo, $registrationNo, $amount, $tax, $date, $postBy);
$ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/patientProfile_right.php?registrationNo={$registrationNo}&username={$postBy}");
示例13:
<?php
include "../../myDatabase2.php";
$packageNo = $_GET['packageNo'];
$packageName = $_GET['packageName'];
$price = $_GET['price'];
$ro = new database2();
$ro->editNow("hospitalPackage", "packageNo", $packageNo, "Added", $price);
$ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/hospitalPackage/showAddedPackage_update.php?packageName={$packageName}");
示例14:
$ro = new database2();
$ro->coconutDesign();
echo "<Br><Br><br>";
$caseRate_amount = $ro->selectNow("rBanny_caserate", "amount", "caseNo", $caserate);
//amount ng selected caserate
$hospitalBill = $ro->getTotal("total", "Room And Board", $registrationNo) + $ro->getTotal("total", "MEDICINE", $registrationNo) + $ro->getTotal("total", "SUPPLIES", $registrationNo) + $ro->getTotal("total", "LABORATORY", $registrationNo) + $ro->getTotal("total", "RADIOLOGY", $registrationNo) + $ro->getTotal("total", "NURSING-CHARGES", $registrationNo) + $ro->getTotal("total", "MISCELLANEOUS", $registrationNo) + $ro->getTotal("total", "OR/DR/ER Fee", $registrationNo) + $ro->getTotal("total", "OXYGEN", $registrationNo);
$pf = $ro->getTotal("phic", "PROFESSIONAL FEE", $registrationNo);
$targetAmount = $caseRate_amount - $caseRate_amount * 0.3;
echo "<Center>";
echo "<font color='blue' size=5><i>[R-Banny]-[noReset mode]</i></font>";
$ro->coconutBoxStart("500", "130");
echo "<br><font color=red size=4>Caserate</font>: " . $ro->selectNow("rBanny_caserate", "caserate", "caseNo", $caserate) . " [" . number_format($caseRate_amount, 2) . "]";
echo "<br>";
echo "<font color=red size=4>Hospital Bill: </font>" . number_format($hospitalBill, 2);
echo "<Br>";
echo "<font color=red size=4>Professional Fee: </font>" . number_format($pf, 2);
echo "<Br>";
$ro->coconutFormStart("get", "http://" . $ro->getMyUrl() . "/COCONUT/rBanny/analyzingData_noReset.php");
//$cazeRate = $ro->selectNow("availableICD","hospital","icdCode",$ro->selectNow("patientICD","icdCode","registrationNo",$registrationNo));
echo "<i><font color=blue size=4>Target Amount: </font></i><br>" . $ro->coconutTextBox_return("targetAmount", $ro->getFirstCaseRate($ro->selectNow("patientICD", "icdCode", "registrationNo", $registrationNo)));
echo "<br><Br>";
//$ro->coconutHidden("targetAmount",$targetAmount);
$ro->coconutHidden("cash", $ro->getTotal("cashUnpaid", "", $registrationNo));
$ro->coconutHidden("registrationNo", $registrationNo);
if ($hospitalBill > $targetAmount) {
$ro->coconutButton("Proceed");
} else {
//echo "<Br><font size=4 color=red>R-Banny Cannot analyze you're data because Target Amount is Higher [".number_format($targetAmount,2)."] than the Patient's Bill [".number_format($hospitalBill,2)."] </font>";
}
$ro->coconutFormStop();
$ro->coconutBoxStop();
示例15:
echo "</tr>";
echo "<Tr>";
echo "<td> <font color='white' size=4>Temp:</font> </td>";
if ($ro->selectNow("registrationDetails", "temperature", "registrationNo", $registrationNo) != "TEMPERATURE") {
echo "<td><font color='white' size=4><i>" . $ro->selectNow("registrationDetails", "temperature", "registrationNo", $registrationNo) . "</i></font></td>";
} else {
echo "<td></td>";
}
echo "</tr>";
echo "</table>";
echo " <font color='white' size=4>Complaints</font>";
echo "<center><div style='background-color:white; width:480px; height:80px; text-align:left; border-radius:5px; font-size:15px;' scrolling='yes'>" . $ro->selectNow("registrationDetails", "initialDiagnosis", "registrationNo", $registrationNo) . "</div>";
echo "</div>";
echo "<br><br>";
echo "<div style='float:left; width:100%; '>";
$ro->coconutFormStart("post", "http://" . $ro->getMyUrl() . "/COCONUT/android/doctor/mobileSOAP.php");
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutHidden("itemNo", $itemNo);
echo "<button style='border: none;\n\tbackground: #47a3da;\n\tcolor: #fff;\n\tpadding: 1.5em;\n\tdisplay: block;\n\twidth: 20%;\n\tcursor: pointer;\n\tmargin: -20px 0;\n\tfont-size: 0.9em;'>S.O.A.P & Add Charges</button>";
$ro->coconutFormStop();
echo "</div>";
echo "<div style='float:right; position:absolute; margin: 0 0 0 240px; width:100%;'>";
$ro->coconutFormStart("get", "http://" . $ro->getMyUrl() . "/COCONUT/android/doctor/viewHospitalCharges.php");
$ro->coconutHidden("registrationNo", $registrationNo);
echo "<button style='border: none;\n\tbackground: #47a3da;\n\tcolor: #fff;\n\tpadding: 1.5em;\n\tdisplay: block;\n\twidth: 20%;\n\tcursor: pointer;\n\tmargin: -20px 0;\n\tfont-size: 0.9em;'>View Hospital Charges</button>";
$ro->coconutFormStop();
echo "</div>";
echo "<br><br><br><br><br>";
echo "<div style='float:left; height:20%; width:100%; '>";
$ro->coconutFormStart("get", "http://" . $ro->getMyUrl() . "/COCONUT/android/doctor/planPreview_handler.php");
$ro->coconutHidden("registrationNo", $registrationNo);