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


PHP database1::getMyUrl方法代码示例

本文整理汇总了PHP中database1::getMyUrl方法的典型用法代码示例。如果您正苦于以下问题:PHP database1::getMyUrl方法的具体用法?PHP database1::getMyUrl怎么用?PHP database1::getMyUrl使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在database1的用法示例。


在下文中一共展示了database1::getMyUrl方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: count

<?php

include "../../../myDatabase1.php";
$registrationNo = $_GET['registrationNo'];
$countz = count($registrationNo);
$month = $_GET['month'];
$day = $_GET['day'];
$year = $_GET['year'];
$ro = new database1();
for ($x = 0; $x < $countz; $x++) {
    $ro->editNow("registrationDetails", "registrationNo", $registrationNo[$x], "mgh", "");
    $ro->editNow("registrationDetails", "registrationNo", $registrationNo[$x], "mgh_date", "");
}
$ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/MGH/showMGH.php?month={$month}&day={$day}&year={$year}&username=");
开发者ID:rickyx12,项目名称:protacio,代码行数:14,代码来源:disable_MGH.php

示例2:

<?php

include "../../myDatabase1.php";
$packageName = $_GET['packageName'];
$packagePrice = $_GET['packagePrice'];
$phicPrice = $_GET['phicPrice'];
$ro = new database1();
if ($packageName == "") {
    $ro->getBack("Pls Type the Package Name");
} else {
    if ($packagePrice == "") {
        $ro->getBack("Pls Type the Package Price");
    } else {
        echo "\n\n<frameset cols='150%,150%' framespacing='0' border='1'>\n   <frame src='http://" . $ro->getMyUrl() . "/COCONUT/hospitalPackage/searchCharges.php?packageName={$packageName}&packagePrice={$packagePrice}&phicPrice={$phicPrice}'  scrolling=no frameborder=1 framespacing=1 name='selection' />\n   <frame src='http://" . $ro->getMyUrl() . "/COCONUT/hospitalPackage/showAddedPackage_update.php?packageName={$packageName}' />\n\n</frameset>\n\n\n";
    }
}
开发者ID:rickyx12,项目名称:protacio,代码行数:16,代码来源:addPackage1.php

示例3: fopen

$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 "";
}
*/
echo "<li><a href='http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/patientCharges.php?registrationNo=" . $ro->getRegistrationDetails_registrationNo() . "&username={$username}&show=All&desc=' target='rightFrame'><font size=2>Charges</font></a></li>";
echo "<li><a href='http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/patientChargesTitle.php?registrationNo={$registrationNo}&title=PROFESSIONAL FEE&username={$username}&show=&desc=' target='rightFrame'><font size=2>Doctor</font></a></li>";
echo "<li><a href='http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/patientChargesTitle.php?registrationNo={$registrationNo}&title=LABORATORY&username={$username}&show=&desc=' target='rightFrame'><font size=2>Laboratory</font></a></li>";
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:patientProfile_left_oct_4_2012.php

示例4:

<?php

include "../../../myDatabase1.php";
$fromMonth = $_GET['fromMonth'];
$fromDay = $_GET['fromDay'];
$fromYear = $_GET['fromYear'];
$toMonth = $_GET['toMonth'];
$toDay = $_GET['toDay'];
$toYear = $_GET['toYear'];
$type = $_GET['type'];
$ro = new database1();
echo "<center><font size=6>" . $ro->getReportInformation("hmoSOA_name") . "</font></center>";
echo "<center><font size=4>" . $ro->getReportInformation("hmoSOA_address") . "</font></center>";
echo "<br><br>";
echo "<center><b><font size=4>{$type}</font></b></center>";
echo "<center><a href='http://" . $ro->getMyUrl() . "/COCONUT/philhealth/reconciled/reconcillation_update.php?month={$fromMonth}&day={$fromDay}&year={$fromYear}&month1={$toMonth}&day1={$toDay}&year1={$toYear}&type={$type}' style='text-decoration:none; color:black;' target='_blank'>(PhilHealth Receivables)</a></center>";
echo "<br>";
echo "<center><b>(<font size=3>{$fromMonth} {$fromDay}, {$fromYear} - {$toMonth} {$toDay}, {$toYear}</font>)</b></center>";
$ro->getPhilHeealthReceivables($fromMonth, $fromDay, $fromYear, $toMonth, $toDay, $toYear, $type);
开发者ID:rickyx12,项目名称:protacio,代码行数:19,代码来源:phicReceivables.php

示例5: date

<?php

include "../../myDatabase1.php";
$description = $_GET['description'];
$chargesCode = $_GET['chargesCode'];
$ro = new database1();
$ro->coconutDesign();
echo "<Br><Br><Br>";
$ro->coconutFormStart("post", "http://" . $ro->getMyUrl() . "/COCONUT/graphicalReport/bestSelling/fastMovingChart.php");
$ro->coconutHidden("description", $description);
$ro->coconutHidden("chargesCode", $chargesCode);
$ro->coconutBoxStart("500", "119");
echo "<br>";
echo "<table border=0>";
echo "<tr>";
echo "<Td>Month&nbsp;</tD>";
echo "<td>";
$ro->coconutComboBoxStart_short("month");
echo "<option value='" . date("m") . "'>" . date("M") . "</option>";
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>";
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:monthlyChart_front.php

示例6: date

//$ro->doubleEditNow("patientCharges","registrationNo",$registrationNo,"itemNo",$itemNo,"status","PAID");
//$ro->doubleEditNow("patientCharges","registrationNo",$registrationNo,"itemNo",$itemNo,"cashUnpaid","0.00");
if ($ro->selectNow("patientCharges", "title", "itemNo", $itemNo) == "MEDICINE") {
    $price = preg_split("/\\_/", $ro->selectNow("inventory", "Added", "inventoryCode", $ro->selectNow("patientCharges", "chargesCode", "itemNo", $itemNo)));
    $totalPay = $price[1] * $ro->selectNow("patientCharges", "quantity", "itemNo", $itemNo);
    $ro->doubleEditNow("patientCharges", "registrationNo", $registrationNo, "itemNo", $itemNo, "status", "PAID");
    $ro->doubleEditNow("patientCharges", "registrationNo", $registrationNo, "itemNo", $itemNo, "cashUnpaid", "0.00");
    $ro->doubleEditNow("patientCharges", "registrationNo", $registrationNo, "itemNo", $itemNo, "phic", "0.00");
    $ro->doubleEditNow("patientCharges", "registrationNo", $registrationNo, "itemNo", $itemNo, "company", "0.00");
    $ro->doubleEditNow("patientCharges", "registrationNo", $registrationNo, "itemNo", $itemNo, "cashPaid", $totalPay);
    $ro->doubleEditNow("patientCharges", "registrationNo", $registrationNo, "itemNo", $itemNo, "sellingPrice", $price[1]);
    $ro->doubleEditNow("patientCharges", "registrationNo", $registrationNo, "itemNo", $itemNo, "total", $totalPay);
    $ro->doubleEditNow("patientCharges", "registrationNo", $registrationNo, "itemNo", $itemNo, "datePaid", date("Y-m-d"));
    $ro->doubleEditNow("patientCharges", "registrationNo", $registrationNo, "itemNo", $itemNo, "timePaid", $ro->getSynapseTime());
    $ro->doubleEditNow("patientCharges", "registrationNo", $registrationNo, "itemNo", $itemNo, "paidBy", $username);
} else {
    //supplies
    $totalPay = $ro->selectNow("inventory", "unitcost", "inventoryCode", $ro->selectNow("patientCharges", "chargesCode", "itemNo", $itemNo)) * $ro->selectNow("patientCharges", "quantity", "itemNo", $itemNo);
    $ro->doubleEditNow("patientCharges", "registrationNo", $registrationNo, "itemNo", $itemNo, "status", "PAID");
    $ro->doubleEditNow("patientCharges", "registrationNo", $registrationNo, "itemNo", $itemNo, "cashUnpaid", "0.00");
    $ro->doubleEditNow("patientCharges", "registrationNo", $registrationNo, "itemNo", $itemNo, "phic", "0.00");
    $ro->doubleEditNow("patientCharges", "registrationNo", $registrationNo, "itemNo", $itemNo, "company", "0.00");
    $ro->doubleEditNow("patientCharges", "registrationNo", $registrationNo, "itemNo", $itemNo, "cashPaid", $totalPay);
    $ro->doubleEditNow("patientCharges", "registrationNo", $registrationNo, "itemNo", $itemNo, "sellingPrice", $ro->selectNow("inventory", "unitcost", "inventoryCode", $ro->selectNow("patientCharges", "chargesCode", "itemNo", $itemNo)));
    $ro->doubleEditNow("patientCharges", "registrationNo", $registrationNo, "itemNo", $itemNo, "total", $totalPay);
    $ro->doubleEditNow("patientCharges", "registrationNo", $registrationNo, "itemNo", $itemNo, "datePaid", date("Y-m-d"));
    $ro->doubleEditNow("patientCharges", "registrationNo", $registrationNo, "itemNo", $itemNo, "timePaid", $ro->getSynapseTime());
    $ro->doubleEditNow("patientCharges", "registrationNo", $registrationNo, "itemNo", $itemNo, "paidBy", $username);
}
$ro->gotoPage("http://" . $ro->getMyUrl() . "/Department/patientDepartmentProfile.php?registrationNo={$registrationNo}&module={$module}&month={$month}&day={$day}&year={$year}&fromTime_hour={$fromTime_hour}&fromTime_minutes={$fromTime_minutes}&fromTime_seconds={$fromTime_seconds}&toTime_hour={$toTime_hour}&toTime_minutes={$toTime_minutes}&toTime_seconds={$toTime_seconds}&username={$username}");
开发者ID:rickyx12,项目名称:protacio,代码行数:30,代码来源:individualPaid.php

示例7:

<?php

include "../../../myDatabase1.php";
$reportNo = $_GET['reportNo'];
$username = $_GET['username'];
$ro = new database1();
$ro->deleteNow("radioReportList", "reportNo", $reportNo);
$ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/Results/Radiology/radioReportTemplateMasterfile.php?username={$username}");
开发者ID:rickyx12,项目名称:protacio,代码行数:8,代码来源:deleteTemplate1.php

示例8: printF

<script type="text/javascript">
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>
<a href="#" onClick="printF('printData')" style="text-decoration:none; color:black;"><font color=red>PRINT</font></a>
<div id='printData'>

<?php 
echo "<center><a href='http://" . $ro->getMyUrl() . "/COCONUT/Reports/radiologyReport/radioReport_output_doctor.php?registrationNo={$registrationNo}&itemNo={$itemNo}&description={$description}'><img src='http://" . $ro->getMyUrl() . "/COCONUT/myImages/mendero.png' width='40%;' height='20%'></a></center>";
echo "<br>";
echo "<table border=0 width='100%;'>";
echo "<Tr>";
echo "<td><b>NAME:</b> " . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName() . "</td>";
echo "<tD align='left'><b>DATE:</b> " . $ro->selectNow("radioSavedReport", "date", "itemNo", $itemNo) . "</tD>";
echo "</tr>";
echo "<tr>";
echo "<td><b>PATIENT NO:</b>&nbsp;" . $ro->getRegistrationDetails_patientNo() . "</td>";
echo "<td><b>AGE:</b> " . $ro->getPatientRecord_age() . "/" . $ro->getPatientRecord_gender() . "</td>";
echo "</tr>";
echo "<tr>";
echo "<td><b>PERFORMED:&nbsp;</b> " . $ro->selectNow("radioSavedReport", "performed", "itemNo", $itemNo) . "</td>";
echo "</tr>";
echo "<tr>";
echo "<td><B>PROCEDURE:</b> " . $ro->selectNow("patientCharges", "description", "itemNo", $itemNo) . "</td>";
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:radioReport_output.php

示例9: 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>
<a href="#" onClick="printF('printData')" style="text-decoration:none; color:black;">PRINT</a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

<!-----
<a href="http://<?php 
echo $ro->getMyUrl();
?>
/COCONUT/Laboratory/resultList/deleteResult.php?registrationNo=<?php 
echo $registrationNo;
?>
&itemNo=<?php 
echo $itemNo;
?>
" style="text-decoration:none; color:Red;">DELETE</a>
//-->



<div id='printData'>

<?php 
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:resultForm_output.php

示例10:

<?php

include "../../../myDatabase1.php";
$registrationNo = $_GET['registrationNo'];
$itemNo = $_GET['itemNo'];
$description = $_GET['description'];
$ro = new database1();
$ro->getPatientProfile($registrationNo);
echo "\n<style type='text/css'>\n\n.txtArea {\n\tborder: 1px solid #000;\n\tcolor: #000;\n\theight: auto;\n\twidth:900px;\n\tpadding:4px 4px 4px 5px;\n\tfont-size:20px;\n}\n\n</style>\n";
echo "<center><img src='http://" . $ro->getMyUrl() . "/COCONUT/myImages/mendero.png' width='80%;' height='30%'></center>";
$ro->coconutFormStart("post", "http://" . $ro->getMyUrl() . "/COCONUT/Reports/radiologyReport/radioReport_edit.php");
echo "<br>";
echo "<table border=0 width='100%;'>";
echo "<Tr>";
echo "<td><b>NAME:</b> " . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName() . "</td>";
echo "<tD align='left'><b>DATE:</b> " . $ro->selectNow("radioSavedReport", "date", "itemNo", $itemNo) . "</tD>";
echo "</tr>";
echo "<tr>";
echo "<td><b>AGE:</b> " . $ro->getPatientRecord_age() . "/" . $ro->getPatientRecord_gender() . "</td>";
echo "</tr>";
echo "<tr>";
echo "<td><B>PROCEDURE:</b> " . $ro->selectNow("patientCharges", "description", "itemNo", $itemNo) . "</td>";
echo "</tr>";
echo "</table>";
echo "</center>";
echo "<font size=4>" . $ro->selectNow("radioSavedReport", "radioReport", "itemNo", $itemNo) . "</font>";
echo "<br><br><br><br>";
echo "<u>" . $ro->selectNow("radioSavedReport", "physician", "itemNo", $itemNo) . "</u><br>&nbsp;&nbsp;&nbsp;" . $ro->selectNow("Doctors", "Specialization1", "Name", $ro->selectNow("radioSavedReport", "physician", "itemNo", $itemNo)) . "";
echo "<Center><center>";
$ro->coconutHidden("description", $description);
$ro->coconutHidden("registrationNo", $registrationNo);
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:radioReport_output_doctor.php

示例11: date

<?php

include "../../../myDatabase1.php";
$paymentNo = $_GET['paymentNo'];
$registrationNo = $_GET['registrationNo'];
$username = $_GET['username'];
$ro = new database1();
$ro->getPatientProfile($registrationNo);
$ro->addVoidPayment($registrationNo . "_" . $ro->getPatientRecord_completeName(), "IPD_DELETE_" . $ro->selectNow("patientPayment", "paymentFor", "paymentNo", $paymentNo), $ro->selectNow("patientPayment", "amountPaid", "paymentNo", $paymentNo), $ro->getSynapseTime(), date("Y-m-d"), $username);
$ro->deleteNow("patientPayment", "paymentNo", $paymentNo);
echo "\n\n<script type='text/javascript'>\nwindow.location='http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/Payments/viewPayment.php?username={$username}&registrationNo={$registrationNo}'\n</script>\n\n";
开发者ID:rickyx12,项目名称:protacio,代码行数:11,代码来源:deletePayment.php

示例12:

<?php

include "../../../myDatabase1.php";
$username = $_GET['username'];
$registrationNo = $_GET['registrationNo'];
$chargesCode = $_GET['chargesCode'];
$itemNo = $_GET['itemNo'];
$ro = new database1();
$ro->coconutFormStart("post", "http://" . $ro->getMyUrl() . "/COCONUT/Laboratory/mergeResult.php");
echo "<input type='submit' value='<< M E R G E >>' style='border:1px solid #000;' >";
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutHidden("itemNo", $itemNo);
$ro->coconutFormStop();
echo "<Br>";
$ro->getLabFormList($username, $registrationNo, $itemNo, $chargesCode);
开发者ID:rickyx12,项目名称:mendero,代码行数:15,代码来源:resultList.php

示例13:

<?php

include "../../myDatabase1.php";
$module = $_GET['module'];
$username = $_GET['username'];
$ro = new database1();
echo "<br><Br><Br><br><Br>";
$ro->coconutBoxStart("400", "100");
echo "<br>";
echo "<center><font size=2>For Receiving in {$module}</font>\n<br>";
if ($ro->getReceivingRequest($module, "Pagadian") > 0) {
    echo "<br><a href='http://" . $ro->getMyUrl() . "/COCONUT/availableMedicine/receivingRequest.php?module={$module}&username={$username}&branch=Pagadian' style='text-decoration:none;'><font color=red>(" . $ro->getReceivingRequest($module, "Pagadian") . ") Receiving Found</font></a>";
} else {
    echo "";
}
echo "</center>";
$ro->coconutBoxStop();
开发者ID:rickyx12,项目名称:protacio,代码行数:17,代码来源:receiveRequest1.php

示例14:

<?php

include "../../../myDatabase1.php";
$hospitalName = $_GET['hospitalName'];
$hospitalAddress = $_GET['hospitalAddress'];
$username = $_GET['username'];
$ro = new database1();
$ro->radioHeading($hospitalName, $hospitalAddress);
$ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/Results/Radiology/addHospital.php?username={$username}");
开发者ID:rickyx12,项目名称:protacio,代码行数:9,代码来源:addHospital1.php

示例15:

<?php

include "../../myDatabase1.php";
$username = $_GET['username'];
$ro = new database1();
$ro->coconutDesign();
echo "<Br><Br><Br><Br>";
$ro->coconutFormStart("get", "http://" . $ro->getMyUrl() . "/COCONUT/inventory/department/searchInventory.php");
$ro->coconutHidden("username", $username);
$ro->coconutBoxStart("500", "83");
echo "<br>";
echo "<table border=0>";
echo "<tr>";
echo "<td>Department&nbsp;</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>";
echo "<option value='LABORATORY'>LABORATORY</option>";
echo "<option value='3A E Cart'>3A</option>";
echo "<option value='3B E Cart'>3B</option>";
echo "<option value='ICU E Cart'>ICU</option>";
echo "<option value='DR E Cart'>DR</option>";
echo "<option value='OR E Cart'>OR</option>";
echo "<option value='CSR E Cart'>CSR</option>";
echo "<option value='PHARMACY'>PHARMACY</option>";
echo "<option value='RADIOLOGY'>RADIOLOGY</option>";
echo "<option value='OR PACKAGE'>OR PACKAGE</option>";
echo "<option value='OB PACKAGE'>OB PACKAGE</option>";
开发者ID:rickyx12,项目名称:mendero,代码行数:31,代码来源:consumedInventory.php


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