当前位置: 首页>>代码示例>>PHP>>正文


PHP database1::getReportInformation方法代码示例

本文整理汇总了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 "";
}
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:patientProfile_left_oct_4_2012.php

示例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#:&nbsp;" . $registrationNo . "&nbsp;&nbsp;&nbsp;&nbsp;Batch#:&nbsp;" . $dispensedNo;
echo "<br>";
echo "Name:&nbsp;" . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName();
echo "<br>";
echo "Date Print:&nbsp;" . date("M d, Y");
echo "<br>";
echo "PhilHealth:&nbsp;" . $ro->getPatientRecord_phic();
echo "<br><br>";
$ro->getBatchMeds($registrationNo, $dispensedNo);
开发者ID:rickyx12,项目名称:protacio,代码行数:20,代码来源:byBatch1.php

示例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>";
开发者ID:rickyx12,项目名称:protacio,代码行数:29,代码来源:clinicalCoverSheet.php

示例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");
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:unknownPatient_04242014.php

示例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%'>&nbsp;</td>";
echo "<td width='10%'><input type='text' class='underLine'  value='" . date("M d, Y") . "'><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<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%'>&nbsp;<B><font size=3>TO WHOM IT MAY CONCERN:</font></b></td>";
echo "<td width='40%'>&nbsp;</td>";
echo "</tr>";
echo "</table>";
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:certConfinement.php


注:本文中的database1::getReportInformation方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。