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


PHP database2::coconutButton方法代码示例

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


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

示例1:

include "../../../myDatabase2.php";
$inventoryCode = $_GET['inventoryCode'];
$department = $_GET['department'];
$description = $_GET['description'];
$date = $_GET['date'];
$time = $_GET['time'];
$username = $_GET['username'];
$ro = new database2();
$ro->coconutDesign();
echo "<br><br><br><br><center><font size=2 color=red>{$description}</font></center>";
$ro->coconutFormStart("get", "http://" . $ro->getMyUrl() . "/COCONUT/inventory/department/inventoryLog.php");
$ro->coconutHidden("inventoryCode", $inventoryCode);
$ro->coconutHidden("department", $department);
$ro->coconutHidden("description", $description);
$ro->coconutHidden("date", $date);
$ro->coconutHidden("time", $time);
$ro->coconutHidden("username", $username);
$ro->coconutBoxStart("500", "85");
echo "<br>";
echo "<table border=0>";
echo "<Tr>";
echo "<td>QTY:&nbsp;</td>";
echo "<td>";
$ro->coconutTextBox_short("qty", "1");
echo "</td>";
echo "</tr>";
echo "</table>";
echo "<br>";
$ro->coconutButton("Proceed");
$ro->coconutBoxStop();
$ro->coconutFormStop();
开发者ID:rickyx12,项目名称:mendero,代码行数:31,代码来源:qty.php

示例2:

<?php

include "../../myDatabase2.php";
$username = $_GET['username'];
$ro = new database2();
echo "<center><br>";
$ro->coconutFormStart("post", "create_ipd_census.php");
$ro->coconutHidden("username", $username);
$ro->coconutTableStart();
$ro->coconutTableRowStart();
$ro->coconutTableHeader("Room");
$ro->coconutTableHeader("Reg#");
$ro->coconutTableHeader("Patient");
$ro->coconutTableHeader("Admitted");
$ro->coconutTableHeader("Company");
$ro->coconutTableHeader("Cash");
$ro->coconutTableHeader("PhilHealth");
$ro->coconutTableHeader("Company");
$ro->coconutTableRowStop();
$ro->currentAdmitted("3rd floor");
$ro->currentAdmitted("2nd floor");
$ro->coconutTableStop();
echo "<Br>";
if ($ro->selectNow("ipdCensus", "id", "date", date("Y-m-d")) != "") {
    //dont show button
} else {
    $ro->coconutButton("Create Inpatient Census");
}
$ro->coconutFormStop();
开发者ID:rickyx12,项目名称:protacio,代码行数:29,代码来源:currentAdmitted.php

示例3:

<?php

include "../../../myDatabase2.php";
$transactionNo = $_POST['transactionNo'];
$subTitle = $_POST['subTitle'];
$paidTo = $_POST['paidTo'];
$narration = $_POST['narration'];
$invoiceNo = $_POST['invoiceNo'];
$datedMonth = $_POST['datedMonth'];
$datedDay = $_POST['datedDay'];
$datedYear = $_POST['datedYear'];
$debit = $_POST['debit'];
$credit = $_POST['credit'];
$username = $_POST['username'];
$dateEncoded = $_POST['dateEncoded'];
$type = $_POST['type'];
$ro = new database2();
$acctHeads = preg_split("/\\_/", $subTitle);
$accountNo = $acctHeads[0];
$accountTitle = $acctHeads[1];
$dated = $datedYear . "-" . $datedMonth . "-" . $datedDay;
$ro->addDisbursement($transactionNo, $accountNo, $accountTitle, $paidTo, $narration, $invoiceNo, $dated, $debit, $credit, $username, $dateEncoded, $type);
$ro->coconutFormStart("GET", "addEntry.php");
$ro->coconutHidden("username", $username);
$ro->coconutHidden("transactionNo", $transactionNo);
$ro->coconutHidden("type", $type);
$ro->coconutButton("<< Back");
$ro->coconutFormStop();
开发者ID:rickyx12,项目名称:protacio,代码行数:28,代码来源:addEntry1.php

示例4:

$registrationNo = $_GET['registrationNo'];
$itemNo = $_GET['itemNo'];
$chargesCode = $_GET['chargesCode'];
$username = $_GET['username'];
$ro = new database2();
echo "\n<style type='text/css'>\n.Arial16RedBold {font-family: Arial;font-size: 16px;color: #FF0000;font-weight: bold;}\n</style>\n";
echo "<Br><Br><Br>";
$ro->coconutBoxStart_red("500", "130");
echo "<br>";
$ro->coconutFormStart("get", "deleteRoom1.php");
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutHidden("itemNo", $itemNo);
$ro->coconutHidden("chargesCode", $chargesCode);
$ro->coconutHidden("username", $username);
$ro->coconutHidden("control", "delete");
$ro->coconutButton("&nbsp;&nbsp;Delete Room&nbsp;&nbsp;");
$ro->coconutFormStop();
$ro->coconutFormStart("get", "deleteRoom1.php");
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutHidden("itemNo", $itemNo);
$ro->coconutHidden("username", $username);
$ro->coconutHidden("chargesCode", $chargesCode);
$ro->coconutHidden("control", "discharge");
$ro->coconutButton("&nbsp;&nbsp;Discharge Room&nbsp;&nbsp;");
$ro->coconutFormStop();
$ro->coconutFormStart("get", "computeDays.php");
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutHidden("itemNo", $itemNo);
$ro->coconutHidden("username", $username);
$ro->coconutButton("Compute Days");
$ro->coconutFormStop();
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:deleteRoom.php

示例5: date

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>";
$ro->coconutComboBoxStop();
echo "-";
$ro->coconutComboBoxStart_short("day");
echo "<option value='" . date("d") . "'>" . date("d") . "</option>";
for ($x = 1; $x < 32; $x++) {
    if ($x < 10) {
        echo "<option value='0{$x}'>0{$x}</option>";
    } else {
        echo "<option value='{$x}'>{$x}</option>";
    }
}
$ro->coconutComboBoxStop();
echo "-";
$ro->coconutTextBox_short("year", date("Y"));
echo "<Br><br>";
$ro->coconutButton("&nbsp;&nbsp;Paid&nbsp;&nbsp;");
echo "</center>";
$ro->coconutFormStop();
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:showSelectedMeds.php

示例6:

<?php

include "../../../myDatabase2.php";
$controlNo = $_GET['controlNo'];
$ro = new database2();
$ro->coconutDesign();
echo "<Br><br><br>";
$ro->coconutFormStart("get", "deleteVoucher1.php");
$ro->coconutHidden("controlNo", $controlNo);
$ro->coconutBoxStart_red("400", "100");
echo "<br>";
echo "DELETE?";
echo "<Br><Br>";
$ro->coconutButton("Yes");
$ro->coconutBoxStop();
$ro->coconutFormStop();
开发者ID:rickyx12,项目名称:protacio,代码行数:16,代码来源:deleteVoucher.php

示例7:

<?php

include "../../myDatabase2.php";
$orNo = $_GET['orNo'];
$ro = new database2();
$ro->coconutDesign();
$ro->coconutFormStart("get", "searchOR1.php");
echo "<br>";
echo "OR#:&nbsp;";
$ro->coconutTextBox("orNo", $orNo);
echo "&nbsp;&nbsp;&nbsp;&nbsp;";
$ro->coconutButton("Search OR#");
$ro->coconutFormStop();
$ro->search_orNo($orNo);
开发者ID:rickyx12,项目名称:mendero,代码行数:14,代码来源:searchOR1.php

示例8:

    echo "<br><font class='informationLabel' color=red>Current Balance:</font>&nbsp;" . $ro->may_naibayad_naba_ang_patient($registrationNo);
} else {
}
if ($ro->getRegistrationDetails_dateUnregistered() != "") {
    echo "<br><font class='informationLabel'>Time Discharged:</font>&nbsp;" . $ro->getRegistrationDetails_timeUnregistered();
    echo "<br><font class='informationLabel'>Discharged:</font>&nbsp;" . $ro->getRegistrationDetails_dateUnregistered();
} else {
    echo "";
}
if ($ro->selectNowLast("billingRequest", "status", "registrationNo", $registrationNo) == "pending") {
    if ($ro->selectNowLast("billingRequest", "status", "registrationNo", $registrationNo) == "pending") {
        echo "<br><br>";
        $ro->coconutFormStart("post", "http://" . $ro->getMyUrl() . "/COCONUT/billing/cancelRequest2bill.php");
        $ro->coconutHidden("registrationNo", $registrationNo);
        $ro->coconutHidden("username", $username);
        $ro->coconutButton("Cancel Request to Bill");
        $ro->coconutFormStop();
        if ($ro->selectNow("registeredUser", "module", "username", $username) == "CASHIER") {
            $ro->coconutFormStart("post", "http://" . $ro->getMyUrl() . "/COCONUT/billing/finalBill.php");
            $ro->coconutHidden("registrationNo", $registrationNo);
            $ro->coconutHidden("username", $username);
            $ro->coconutButton("Final Bill");
            $ro->coconutFormStop();
        } else {
        }
    } else {
        echo "<br><br>";
        $ro->coconutFormStart("post", "http://" . $ro->getMyUrl() . "/COCONUT/billing/request2bill.php");
        $ro->coconutHidden("registrationNo", $registrationNo);
        $ro->coconutHidden("username", $username);
        $ro->coconutButton("Request to Bill");
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:patientProfile_right_07102014.php

示例9:

<?php

include "../../myDatabase2.php";
$ro = new database2();
$ro->coconutDesign();
echo "<br>";
$ro->coconutFormStart("get", "searchReg1.php");
echo "Registration No:&nbsp;";
$ro->coconutTextBox("registrationNo", "");
echo "&nbsp;&nbsp;&nbsp;&nbsp;";
$ro->coconutButton("Search Registration No#");
$ro->coconutFormStop();
开发者ID:rickyx12,项目名称:mendero,代码行数:12,代码来源:searchReg.php

示例10:

<?php

include "../../../myDatabase2.php";
$registrationNo = $_GET['registrationNo'];
$username = $_GET['username'];
$ro = new database2();
$ro->coconutFormStart("post", "addPermission.php");
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutHidden("username", $username);
$ro->coconutButton("Add Permission");
$ro->coconutFormStop();
echo "<Br><br><Center>";
$ro->showSupervisorLocked($registrationNo, $username);
开发者ID:rickyx12,项目名称:protacio,代码行数:13,代码来源:showLocked.php

示例11:

echo "<tr>";
echo "<td>TIME OF INCIDENCCE:&nbsp;<input type='text' autocomplete='off' name='timeOfIncidence' class='medicoLegalInformation' value='" . $ro->selectNow("medicoLegal", "timeOfIncidence", "registrationNo", $registrationNo) . "'></td>";
echo "</tr>";
echo "<tr>";
echo "<td>DATE OF EXAMINATION:&nbsp;<input type='text' autocomplete='off' name='dateOfExamination' class='medicoLegalInformation' value='" . $ro->selectNow("medicoLegal", "dateOfExamination", "registrationNo", $registrationNo) . "'></td>";
echo "</tr>";
echo "<tr>";
echo "<td>TIME OF EXAMINATION:&nbsp;<input type='text' autocomplete='off' name='timeOfExamination' class='medicoLegalInformation' value='" . $ro->selectNow("medicoLegal", "timeOfExamination", "registrationNo", $registrationNo) . "'></td>";
echo "</tr>";
echo "<tr>";
echo "<td>PLACE OF EXAMINATION:&nbsp;<input type='text' autocomplete='off' name='placeOfExamination' class='medicoLegalInformation' value='" . $ro->selectNow("medicoLegal", "placeOfExamination", "registrationNo", $registrationNo) . "'></td>";
echo "</tr>";
echo "<tr>";
echo "<td><input type='text' name='placeOfExamination1' autocomplete='off' class='medicoLegalInformation1' value='" . $ro->selectNow("medicoLegal", "placeOfExamination1", "registrationNo", $registrationNo) . "'></td>";
echo "</tr>";
echo "<tr>";
echo "<td>NATURE<input type='text' autocomplete='off' name='nature' class='medicoLegalInformation' value='" . $ro->selectNow("medicoLegal", "nature", "registrationNo", $registrationNo) . "'></td>";
echo "</tr>";
echo "</table>";
echo "<br><br><br>";
echo "<table border=0 width='70%'>";
echo "<Tr>";
echo "<td>PERTINENT PHYSICAL EXAMINATION</td>";
echo "</tr>";
echo "<tr>";
echo "<td><textarea class='txtBox' name='pertinentPhysicalExamination'>" . $ro->selectNow("medicoLegal", "pertinentPhysicalExamination", "registrationNo", $registrationNo) . "</textarea></td>";
echo "</tr>";
echo "</table>";
echo "<br><bR>";
$ro->coconutButton("Edit");
$ro->coconutFormStop();
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:medicoLegal_edit.php

示例12:

<?php

include "../../myDatabase2.php";
$registrationNo = $_GET['registrationNo'];
$username = $_GET['username'];
$ro = new database2();
echo "<br><Br><Br><Br>";
$ro->coconutBoxStart("500", "100");
echo "<Br>";
echo "<font color=red>Are you sure you want to uncleared this patient?</font>";
$ro->coconutFormStart("get", "unverified1.php");
$ro->coconutHidden("username", $username);
$ro->coconutHidden("registrationNo", $registrationNo);
echo "<br>";
$ro->coconutButton("Cleared");
$ro->coconutFormStop();
$ro->coconutBoxStop();
开发者ID:rickyx12,项目名称:protacio,代码行数:17,代码来源:unverified.php

示例13:

<?php

include "../../myDatabase2.php";
$registrationNo = $_GET['registrationNo'];
$username = $_GET['username'];
$ro = new database2();
$ro->coconutDesign();
echo "<Br><Br><Br><BR>";
$ro->coconutFormStart("get", "certified1.php");
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutHidden("username", $username);
$ro->coconutBoxStart("500", "70");
echo "<Br>";
echo "<font color=red>Certified? </font>";
echo "<Br><Br>";
$ro->coconutButton("&nbsp;&nbsp;&nbsp;Yes&nbsp;&nbsp;&nbsp;");
$ro->coconutBoxStop();
$ro->coconutFormStop();
开发者ID:rickyx12,项目名称:protacio,代码行数:18,代码来源:certified.php

示例14:

    echo "<br><font class='informationLabel' color=red>Current Balance:</font>&nbsp;" . $ro->may_naibayad_naba_ang_patient($registrationNo);
} else {
}
if ($ro->getRegistrationDetails_dateUnregistered() != "") {
    echo "<br><font class='informationLabel'>Time Discharged:</font>&nbsp;" . $ro->getRegistrationDetails_timeUnregistered();
    echo "<br><font class='informationLabel'>Discharged:</font>&nbsp;" . $ro->reformatDate($ro->getRegistrationDetails_dateUnregistered());
} else {
    echo "";
}
if ($ro->selectNowLast("billingRequest", "status", "registrationNo", $registrationNo) == "pending") {
    if ($ro->selectNowLast("billingRequest", "status", "registrationNo", $registrationNo) == "pending") {
        echo "<br><br>";
        $ro->coconutFormStart("post", "http://" . $ro->getMyUrl() . "/COCONUT/billing/cancelRequest2bill.php");
        $ro->coconutHidden("registrationNo", $registrationNo);
        $ro->coconutHidden("username", $username);
        $ro->coconutButton("Cancel Request to Bill");
        $ro->coconutFormStop();
        if ($ro->selectNow("registeredUser", "module", "username", $username) == "CASHIER") {
            $ro->coconutFormStart("post", "http://" . $ro->getMyUrl() . "/COCONUT/billing/finalBill.php");
            $ro->coconutHidden("registrationNo", $registrationNo);
            $ro->coconutHidden("username", $username);
            $ro->coconutButton("Final Bill");
            $ro->coconutFormStop();
        } else {
        }
    } else {
        echo "<br><br>";
        $ro->coconutFormStart("post", "http://" . $ro->getMyUrl() . "/COCONUT/billing/request2bill.php");
        $ro->coconutHidden("registrationNo", $registrationNo);
        $ro->coconutHidden("username", $username);
        $ro->coconutButton("Request to Bill");
开发者ID:rickyx12,项目名称:mendero,代码行数:31,代码来源:patientProfile_right.php

示例15:

<?php

include "../../myDatabase2.php";
$registrationNo = $_GET['registrationNo'];
$ro = new database2();
echo "<center><br><br>Medico Legal";
$ro->medicoLegalList($registrationNo);
echo "<Br><br>";
$ro->coconutFormStart("get", "medicoLegal.php");
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutButton("Add Medico Legal");
$ro->coconutFormStop();
开发者ID:rickyx12,项目名称:protacio,代码行数:12,代码来源:medicoLegalList.php


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