本文整理汇总了PHP中database2::getReportInformation方法的典型用法代码示例。如果您正苦于以下问题:PHP database2::getReportInformation方法的具体用法?PHP database2::getReportInformation怎么用?PHP database2::getReportInformation使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类database2
的用法示例。
在下文中一共展示了database2::getReportInformation方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: fopen
<?php
include "../../../myDatabase2.php";
$username = $_GET['username'];
$ro = new database2();
$ro->coconutDesign();
$ro->getRequestNo();
$myFile = $ro->getReportInformation("homeRoot") . "/COCONUT/trackingNo/requestNo.dat";
$fh = fopen($myFile, 'r');
$requestNo = fread($fh, 100);
fclose($fh);
/*
echo $username;
echo "<br>";
echo $requestNo;
*/
echo "<Br><Br><Br><Br>";
$ro->coconutFormStart("get", "requestHandler.php");
$ro->coconutHidden("username", $username);
$ro->coconutHidden("requestNo", $requestNo);
$ro->coconutBoxStart("500", "80");
echo "<Br>";
echo "<table border=0>";
echo "<tr>";
echo "<td>My Department: </td>";
echo "<td>";
$ro->coconutComboBoxStart_long("department");
echo "<option value='ER E Cart'>ER</option>";
echo "<option value='ICU E Cart'>ICU</option>";
echo "<option value='OR E Cart'>OR</option>";
echo "<option value='DR E Cart'>DR</option>";
示例2:
$cashz = 0;
$phicz = 0;
$company = 0;
$gt = 0;
$hospitalBill_cash = 0;
$hospitalBill_phic = 0;
$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>";
示例3: date
a.document.close();
a.focus();
a.print();
a.close();
}
</script>
<a href='#' onClick="printF('printData')" style="text-decoration:none;"><?php
echo $ro->coconutImages("printer.jpeg");
?>
<font color=red>Print</font></a><Br><Br>
<div id="printData">
<?php
echo "<Center><font size=3>" . $ro->getReportInformation("hmoSOA_name") . "</font></center>";
echo "<center><font size=2>" . $ro->getReportInformation("hmoSOA_address") . "</font></center>";
echo "<Br>\n<center><b><font size=2>STATEMENT OF ACTUAL CHARGES</font></b></center>\n";
$actual = 0;
$phic = 0;
$company = 0;
$excess = 0;
echo "<font size=2>Name: " . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName() . "</font>";
echo " ";
echo "<font size=2>Doctor: " . $ro->getAttendingDoc($registrationNo, "ATTENDING") . "</font>";
echo "<Br>";
echo "<font size=2>Date: " . date("M d, Y") . "</font>";
echo "<Table border=1 cellpadding=1 cellspacing=0>";
echo "<tr>";
echo "<th><font size=2>HOSPITAL CHARGES</font></th>";
echo "<th><font size=2>ACTUAL</font></th>";
示例4: fopen
<?php
include "../../../myDatabase2.php";
$username = $_POST['username'];
$ro = new database2();
$ro->coconutDesign();
$ro->getDisbursementNo();
$myFile = $ro->getReportInformation("homeRoot") . "/COCONUT/trackingNo/disbursementNo.dat";
$fh = fopen($myFile, 'r');
$disbursementNo = fread($fh, 100);
fclose($fh);
echo "<br><br><br><center>";
/*
$ro->coconutFormStart("get","disbursement_handler.php");
$ro->coconutHidden("username",$username);
$ro->coconutHidden("type","group");
$ro->coconutHidden("transactionNo",$disbursementNo);
echo "<input type='submit' style='border:1px solid #FF0000;' value='Add Disbursement (group)'>";
$ro->coconutFormStop();
*/
$ro->coconutFormStart("get", "disbursement_handler.php");
$ro->coconutHidden("username", $username);
$ro->coconutHidden("type", "individual");
$ro->coconutHidden("transactionNo", $disbursementNo);
echo "<input type='submit' style='border:1px solid #FF0000;' value='Add Disbursement'>";
$ro->coconutFormStop();