本文整理汇总了PHP中database1::getReportInformation方法的典型用法代码示例。如果您正苦于以下问题:PHP database1::getReportInformation方法的具体用法?PHP database1::getReportInformation怎么用?PHP database1::getReportInformation使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类database1
的用法示例。
在下文中一共展示了database1::getReportInformation方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: fopen
<?php
include "../../myDatabase1.php";
$registrationNo = $_GET['registrationNo'];
$username = $_GET['username'];
$ro = new database1();
$ro->getBatchNo();
$myFile = $ro->getReportInformation("homeRoot") . "/COCONUT/trackingNo/batchNo.dat";
$fh = fopen($myFile, 'r');
$batchNo = fread($fh, 100);
fclose($fh);
echo "\r\n\r\n<style type='text/css'>\r\na \r\n{ \r\ntext-decoration:none;\r\ncolor:black;\r\nfont-weight:bold;\r\n }\r\nul { list-style-type:none; }\r\ndisplay: block;\r\n</style>\r\n\r\n";
$ro->getPatientProfile($registrationNo);
if ($ro->selectNow("registeredUser", "module", "username", $ro->getRegistrationDetails_registeredBy()) == "MI") {
echo "<br><hr><font size=2 color=blue>" . $ro->getPatientRecord_lastName() . " " . $ro->getPatientRecord_firstName() . " " . $ro->getPatientRecord_middleName() . ".</font><hr>";
} else {
echo "<br><hr><font size=2 color=red>" . $ro->getPatientRecord_lastName() . " " . $ro->getPatientRecord_firstName() . " " . $ro->getPatientRecord_middleName() . "</font><hr>";
}
echo "<ul>";
echo "<li><a href='http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/patientProfile_right.php?registrationNo=" . $ro->getRegistrationDetails_registrationNo() . "' target='rightFrame'><font size=2>Information</font></a></li>";
if ($ro->getRegistrationDetails_caseType() != "") {
echo "<li><a href='http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/phicLimit/show_phicLimit.php?registrationNo={$registrationNo}&casetype=" . $ro->getRegistrationDetails_caseType() . "' target='rightFrame'><font size=2>Credit Limit</font></a></li>";
} else {
echo "";
}
/*
if($ro->getRegistrationDetails_room() != "OPD_OPD") {
echo "<li><a href='http://".$ro->getMyUrl()."/COCONUT/patientProfile/creditLimit/viewCreditLimit.php?registrationNo=$registrationNo&username=$username' target='rightFrame'><font size=2>Credit Limit</font></a></li>";
}else {
echo "";
}
示例2: date
<?php
include "../../../myDatabase1.php";
$registrationNo = $_GET['registrationNo'];
$dispensedNo = $_GET['dispensedNo'];
$ro = new database1();
$ro->getPatientProfile($registrationNo);
echo "<center><b><font size=4>" . $ro->getReportInformation("hmoSOA_name") . "</font></b></center>";
echo "<center><b><font size=2>" . $ro->getReportInformation("hmoSOA_address") . "</font></b></center>";
echo "<center><font size=2>Tel No. (062) 2143237</font></center>";
echo "<br>";
echo "Reg#: " . $registrationNo . " Batch#: " . $dispensedNo;
echo "<br>";
echo "Name: " . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName();
echo "<br>";
echo "Date Print: " . date("M d, Y");
echo "<br>";
echo "PhilHealth: " . $ro->getPatientRecord_phic();
echo "<br><br>";
$ro->getBatchMeds($registrationNo, $dispensedNo);
示例3: printF
function printF(printData)
{
var a = window.open ('', '',"status=1,scrollbars=1, width=auto,height=auto");
a.document.write(document.getElementById(printData).innerHTML.replace(/<a\/?[^>]+>/gi, ''));
a.document.close();
a.focus();
a.print();
a.close();
}
</script>
<div id='printData'>
<a href="#" onClick="printF('printData');" style="text-decoration:none; color:black;"><b><?php
echo "<center><font size=6>" . $ro->getReportInformation("hmoSOA_name") . "</font></center>";
?>
</b></a>
<?php
echo " <style type='text/css'> ";
echo "\n.registrationNo {\nborder-color:transparent transparent black transparent;\nwidth:150px;\nfont-size:17px;\ncolor:black;\n}\n\n.patientName {\nborder-color:transparent transparent black transparent;\nwidth:92%;\nfont-size:17px;\n}\n\n.age {\nborder-color:transparent transparent black transparent;\nwidth:635px;\nfont-size:17px;\n}\n\n\n.address {\nborder-color:transparent transparent black transparent;\nfont-size:17px;\nwidth:89%;\n}\n\n.dateAdmitted {\nborder-color:transparent transparent black transparent;\nfont-size:17px;\nwidth:82%;\n}\n\n\n.dateDischarged {\nborder-color:transparent transparent black transparent;\nfont-size:17px;\nwidth:80%;\n}\n\n\n\n.admittingDiagnosis {\nborder-color:transparent transparent black transparent;\nfont-size:17px;\nwidth:75%;\n}\n\n\n.finalDiagnosis {\nborder-color:transparent transparent black transparent;\nfont-size:17px;\nwidth:80%;\n}\n\n\n.icd10 {\nborder-color:transparent transparent black transparent;\nfont-size:16px;\nwidth:90%;\n}\n\n\n.remarks {\nborder-color:transparent transparent black transparent;\nfont-size:16px;\nwidth:560px;\n}\n\n\n.positi0n {\nborder-color:transparent transparent transparent transparent;\nfont-size:14px;\nwidth:250px;\n}\n\n\n";
echo "</style>";
echo "<center>";
echo "<font size=2><b>\"YOUR CHOICE IN PASSIONATE AND QUALITY HEALTHCARE\"</b></font>";
echo "<br>";
echo "<font size=2><b>Ledesma St,Tacurong City,Sultan Kudarat,Philipines,9800</b></font>";
echo "<br>";
echo "<font size=2>TEL NO.(064) 200-3201 FAX NO.(064) 200-4472</font>";
echo "<br><br><br><Br>";
echo "<font size=4>Clinical Cover Sheet</font>";
示例4: fopen
<?php
include "../../myDatabase1.php";
$ro = new database1();
$ro->getRegistrationNo();
$myFile = $ro->getReportInformation("homeRoot") . "/COCONUT/trackingNo/registrationNo.dat";
$fh = fopen($myFile, 'r');
$registrationNo = fread($fh, 100);
fclose($fh);
$ro->getPatientID();
$myFile = $ro->getReportInformation("homeRoot") . "/COCONUT/trackingNo/patientID.dat";
$fh = fopen($myFile, 'r');
$patientNo = fread($fh, 100);
fclose($fh);
$ro->coconutDesign();
?>
<link rel="stylesheet" type="text/css" href="http://<?php
echo $ro->getMyUrl();
?>
/COCONUT/flow/rickyCSS1.css" />
<script type='text/javascript'>
$("#breadcrumbs a").hover(
function () {
$(this).addClass("hover").children().addClass("hover");
$(this).parent().prev().find("span.arrow:first").addClass("pre_hover");
},
function () {
$(this).removeClass("hover").children().removeClass("hover");
$(this).parent().prev().find("span.arrow:first").removeClass("pre_hover");
示例5: date
<?php
include "../../myDatabase1.php";
$registrationNo = $_GET['registrationNo'];
$ro = new database1();
$ro->getPatientProfile($registrationNo);
echo " <style type='text/css'> ";
echo "\n.underLine {\nborder-color:transparent transparent black transparent;\ntext-align:center;\nfont-size:17px;\n}\n\n\n.underLine2 {\nborder-color:transparent transparent black transparent;\ntext-align:center;\nfont-size:17px;\nwidth:212px;\n}\n\n\n.underLine3 {\nborder-color:transparent transparent black transparent;\ntext-align:center;\nfont-size:17px;\nwidth:600px;\n}\n\n\n.underLine4 {\nborder-color:transparent transparent black transparent;\ntext-align:center;\nfont-size:13px;\nwidth:200px;\n}\n\n\n";
echo "</style>";
echo "<center><br><Br>";
echo "<font size=5>" . $ro->getReportInformation("hmoSOA_name") . "</font>";
echo "<br>";
echo "<font size=3>" . $ro->getReportInformation("hmoSOA_address") . "</font>";
echo "<br><Br><Br><br><Br>";
echo "<b><u><font size=5>CERTIFICATE OF CONFINEMENT</font></u></b>";
echo "<br><Br><Br>";
echo "</center>";
echo "<table border=0>";
echo "<tr>";
echo "<td width='25%'> </td>";
echo "<td width='10%'><input type='text' class='underLine' value='" . date("M d, Y") . "'><br> <font size=2>Date</font></td>";
echo "</tr>";
echo "</table>";
echo "<br><Br>";
echo "<center>";
echo "<table border=0>";
echo "<tr>";
echo "<td width='45%'> <B><font size=3>TO WHOM IT MAY CONCERN:</font></b></td>";
echo "<td width='40%'> </td>";
echo "</tr>";
echo "</table>";