本文整理匯總了PHP中database2::coconutText方法的典型用法代碼示例。如果您正苦於以下問題:PHP database2::coconutText方法的具體用法?PHP database2::coconutText怎麽用?PHP database2::coconutText使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類database2
的用法示例。
在下文中一共展示了database2::coconutText方法的3個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1:
$hospitalBill_company = 0;
$hospitalBill_gt = 0;
$pf_cash = 0;
$pf_phic = 0;
$pf_company = 0;
$pf_gt = 0;
echo "<style type='text/css'>\n\n.editable{\n\tborder: 1px solid #000;\n\tcolor: #000;\n\theight: 15px;\n\twidth: 80px;\n\tborder-color:white white white white;\n\tfont-size:10px;\n\ttext-align:center;\n}\n\n</style>";
echo "<center><div style='border:0px solid #000000; width:700px; height:auto; border-color:black black black black;'>";
echo "";
echo "<font size=5><b><a href='http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/updateSOA.php?registrationNo={$registrationNo}' style='color:#000; text-decoration:none;'>" . $ro->getReportInformation("hmoSOA_name") . "</a></b></font>";
echo "<br><font size=2>" . $ro->getReportInformation("hmoSOA_address") . "</font>";
echo "<br><br><center>";
echo "<table>";
echo "<tr>";
echo "<td>Name: </td><td> " . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName() . "</td>";
echo "<td> </td><td>" . $ro->coconutText("Doctor") . "</td><td> " . $ro->getAttendingDoc($registrationNo, "Attending") . "</td>";
echo "</tr>";
echo "<tr>";
echo "<Td>" . $ro->coconutText("Admitted") . ": </td><td> " . $ro->getRegistrationDetails_dateRegistered() . "</td>";
echo "<td> </td>";
//echo "<td>CaseType:</td><TD>".$ro->getRegistrationDetails_caseType()."</tD>";
echo "<Td>" . $ro->coconutText("Discharged") . ": </td><td> " . $ro->getRegistrationDetails_dateUnregistered() . "</td>";
echo "</tr>";
//echo "<tr>";
//echo "<Td>".$ro->coconutText("Company").": </td><td> ".$ro->getRegistrationDetails_company()."</td>";
//echo "<td> </tD>";
//echo "<Td>".$ro->coconutText("Fx Diagnosis:").": </td><td> ".$ro->getRegistrationDetails_finalDiagnosis()."</td>";
//echo "</tr>";
$room = preg_split("/\\-/", $ro->getRegistrationDetails_room());
$roomRate = $ro->selectNow("room", "rate", "Description", $ro->getRegistrationDetails_room());
echo "<tr>";
示例2:
<?php
echo "<center><img src='http://" . $ro->getMyUrl() . "/COCONUT/myImages/mendero.png' width='60%' height='20%'></center>";
//echo "<center><div style='border:0px solid #000000; width:700px; height:auto; border-color:black black black black;'>";
echo "";
//echo "<font size=5><b><a href='#' style='color:#000; text-decoration:none;'>".$ro->getReportInformation("hmoSOA_name")."</a></b></font>";
//echo "<br><font size=2>".$ro->getReportInformation("hmoSOA_address")."</font>";
echo "<center>";
echo "<table border=0>";
echo "<tr>";
echo "<td>Patient#: </td><td>" . $ro->getRegistrationDetails_patientNo() . "</td>";
echo "<td> Registration#: </td><td> " . $ro->getRegistrationDetails_registrationNo() . "</td>";
echo "<td> Room: " . $room1[0] . " </td>";
echo "</tr>";
echo "<tr>";
echo "<td>Name: </td><td> <a href='#' onClick='printF(printData)' style='text-decoration:none; color:black;'>" . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName() . "</a></td>";
echo "<td align='right'> " . $ro->coconutText("Physician") . " : </td><td> " . $ro->getAttendingDoc($registrationNo, "Attending") . "</td>";
echo "<td> Case: " . $ro->selectNow("registrationDetails", "privateORhouse_case", "registrationNo", $registrationNo) . "</td>";
echo "</tr>";
echo "<tr>";
echo "<Td>" . $ro->coconutText("Admitted") . ": </td><td> " . $ro->getRegistrationDetails_dateRegistered() . "@" . $ro->getRegistrationDetails_timeRegistered() . "</td>";
//echo "<td>CaseType:</td><TD>".$ro->getRegistrationDetails_caseType()."</tD>";
echo "<Td align='right'> " . $ro->coconutText("Discharged") . ": </td><td> " . $ro->getRegistrationDetails_dateUnregistered() . "@" . $ro->getRegistrationDetails_timeUnregistered() . "</td>";
echo "</tr>";
if ($ro->selectNow("registrationDetails", "LimitHMO", "registrationNo", $registrationNo) != "") {
$hmoLimit = number_format($ro->selectNow("registrationDetails", "LimitHMO", "registrationNo", $registrationNo), 2);
} else {
if ($ro->selectNow("Company", "type", "companyName", $ro->getRegistrationDetails_company()) == "insurance") {
//check kung insurance..
$hmoLimit = number_format(2000, 2);
} else {
$hmoLimit = "";
示例3:
<?php
include "../../myDatabase2.php";
$username = $_GET['username'];
$ro = new database2();
$ro->coconutDesign();
$ro->coconutFormStart("get", "transmitted_reconcile.php");
$ro->coconutBoxStart("600", "170");
echo "<Br>";
echo "<table border=0>";
echo "<tr>";
echo "<td>" . $ro->coconutText("From Date") . "</td>";
echo "<td>";
$ro->coconutComboBoxStart_short("fromMonth");
echo "<option value='01'>Jan</option>";
echo "<option value='02'>Feb</option>";
echo "<option value='03'>Mar</option>";
echo "<option value='04'>Apr</option>";
echo "<option value='05'>May</option>";
echo "<option value='06'>Jun</option>";
echo "<option value='07'>Jul</option>";
echo "<option value='08'>Aug</option>";
echo "<option value='09'>Sep</option>";
echo "<option value='10'>Oct</option>";
echo "<option value='11'>Nov</option>";
echo "<option value='12'>Dec</option>";
$ro->coconutComboBoxStop();
echo "</td>";
echo "<td>";
$ro->coconutComboBoxStart_short("fromDay");
for ($x = 1; $x < 32; $x++) {