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


PHP database::coconutTextBox方法代码示例

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


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

示例1: database

$module = $_GET['module'];
$username = $_GET['username'];
$ro = new database();
$ro->coconutDesign();
$ro->coconutFormStart("get", "addCharges1.php");
$ro->coconutHidden("username", $username);
$ro->coconutHidden("category", $module);
$ro->coconutHidden("services", "Examination");
echo "<b>{$module}</b>";
$ro->coconutBoxStart("500", "215");
echo "<Br>";
echo "<Table border=0>";
echo "<tr>";
echo "<td>Description</td>";
echo "<td>";
$ro->coconutTextBox("description", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>OPD Price</td>";
echo "<td>";
$ro->coconutTextBox_short("opdprice", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>IPD Price (Ward)</td>";
echo "<td>";
$ro->coconutTextBox_short("ipdprice", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:addCharges.php

示例2:

echo "<td><font class='labelz'>Description&nbsp;</font></td>";
if ($status == "old") {
    echo "<td><input type=text class='txtBox' name='description' value='{$description}' readonly autocomplete='off'></td>";
} else {
    echo "<td><input type=text class='txtBox' name='description' value='{$description}' autocomplete='off'></td>";
}
echo "</tr>";
echo "<tr>";
echo "<td><font class='labelz'>Generic&nbsp;</font></td>";
echo "<td><input type=text class='txtBox' name='generic' value='{$genericName}' autocomplete='off'></td>";
echo "</tr>";
echo "<tr>";
echo "<tr>";
echo "<td><font class='labelz'>Preparation&nbsp;</font></td>";
echo "<td>";
$ro->coconutTextBox("preparation", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td><font class='labelz'>Unit of Measure&nbsp;</font></td>";
echo "<td>";
$ro->coconutTextBox("unitOfMeasure", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td><font class='labelz'>Unit Cost&nbsp;</font></td>";
echo "<td><input type=text class='shortField' name='unitcost' autocomplete='off'></td>";
echo "</tr>";
echo "<tr>";
echo "<td><font class='labelz'>Quantity&nbsp;</font></td>";
echo "<td><input type=text class='shortField' name='quantity' autocomplete='off'></td>";
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:addInventory.php

示例3:

echo "<tr>";
echo "<td><div class='style1'>Description&nbsp;</div></td>";
if ($status == "old") {
    echo "<td><input type=text class='txtBox' name='description' value='{$description}' readonly autocomplete='off'></td>";
} else {
    echo "<td><input type=text class='txtBox' name='description' value='{$description}' autocomplete='off'></td>";
}
echo "</tr>";
echo "<tr>";
echo "<td><div class='style1'>Unit Cost&nbsp;</div></td>";
echo "<td><input type=text class='shortField' name='unitcost' autocomplete='off'></td>";
echo "</tr>";
echo "<tr>";
echo "<td><font class='style1'>Unit of Measure&nbsp;</font></td>";
echo "<td>";
$ro->coconutTextBox("unitOfMeasure", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td><div class='style1'>Selling Price&nbsp;</div></td>";
echo "<td><input type=text class='shortField' name='pricing' autocomplete='off'></td>";
echo "</tr>";
echo "<tr>";
echo "<td><div class='style1'>Quantity&nbsp;</div></td>";
echo "<td><input type=text class='shortField' name='quantity' autocomplete='off'></td>";
echo "</tr>";
echo "<tr>";
echo "<td><font class='labelz'>B.I QTY&nbsp;</font></td>";
echo "<td><input type=text class='shortField' name='biQTY' value='{$biQTY}' readonly autocomplete='off'>&nbsp;&nbsp;<a href='/COCONUT/inventory/bi.php?stockCardNo={$stockCardNo}&username={$username}&status={$status}&genericName=&description={$description}' style='text-decoration:none;'><font size=2 color=red>[Add B.I]</font></a></td>";
echo "</tr>";
echo "<tr>";
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:addInventory_supplies.php

示例4:

    if ($ro->selectNow("registeredUser", "module", "username", $username) == "PHILHEALTH" || $ro->selectNow("registeredUser", "module", "username", $username) == "HMO" || $ro->selectNow("registeredUser", "module", "username", $username) == "PHARMACY" || $ro->selectNow("registeredUser", "module", "username", $username) == "CASHIER" || $ro->selectNow("registeredUser", "module", "username", $username) == "BILLING") {
        echo "\n<tr>\n<td><font class='charges'>Cash (Unpaid)</font></td>\n<td><input type=text name='cashCovered' autocomplete='off' class='shortField' value=" . $ro->patientCharges_cashUnpaid() . "></td>\n</tr>\n<tr>\n<td><font class='charges'>Company</font></td>\n<td><input type=text name='companyCovered' autocomplete='off' class='shortField' value='" . $ro->patientCharges_company() . "'></td>\n</tr>";
        echo "<tr>\n<td><font class='charges'>PhilHealth</font></td>\n<td><input type=text name='phicCovered' autocomplete='off' class='shortField' value='" . $ro->patientCharges_phicCovered() . "'></td>\n</tr>\n";
    } else {
    }
} else {
    echo "\n<tr>\n<td><font class='charges'>Cash (Unpaid)</font></td>\n<td><input type=text name='cashCovered' autocomplete='off' class='shortField' value=" . $ro->patientCharges_cashUnpaid() . "></td>\n</tr>\n<tr>\n<td><font class='charges'>Company</font></td>\n<td><input type=text name='companyCovered' autocomplete='off' class='shortField' value='" . $ro->patientCharges_company() . "'></td>\n</tr>\n<tr>\n<td><font class='charges'>PhilHealth</font></td>\n<td><input type=text name='phicCovered' autocomplete='off' class='shortField' value='" . $ro->patientCharges_phicCovered() . "'></td>\n</tr>\n";
}
echo "\n<tr>\n<td><font class='charges'>Branch</font></td>\n<td><select name='branch' class='txtBox'>\n<option value='" . $ro->patientCharges_branch() . "'>" . $ro->patientCharges_branch() . "</option>\n";
$ro->showOption("branch", "branch");
echo "</select></td>\n</tr>\n";
if ($ro->patientCharges_title() == "LABORATORY") {
    echo "<tr>";
    echo "<td>Remarks&nbsp;</td>";
    echo "<td>";
    $ro->coconutTextBox("remarks", $ro->patientCharges_remarks());
    echo "</td>";
    echo "</tr>";
} else {
    if ($ro->patientCharges_title() == "OXYGEN") {
        echo "<tr>";
        echo "<td>Remarks&nbsp;</td>";
        echo "<td>";
        $ro->coconutTextBox("remarks", $ro->patientCharges_remarks());
        echo "</td>";
        echo "</tr>";
    } else {
        if ($ro->patientCharges_title() == "NITROUS") {
            echo "<tr>";
            echo "<td>Remarks&nbsp;</td>";
            echo "<td>";
开发者ID:rickyx12,项目名称:mendero,代码行数:31,代码来源:editCharges.php

示例5: database

<?php

include "../../myDatabase2.php";
$registrationNo = $_GET['registrationNo'];
$lastName = $_GET['lastName'];
$firstName = $_GET['firstName'];
$ro = new database();
$ro->coconutDesign();
echo "<br><br><br><br>";
echo "<center><font color=red size=2>To View [" . strtoupper($lastName . " " . $firstName) . "] enter your username and password</font></center>";
$ro->coconutFormStart("post", "patientLogin1.php");
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutBoxStart("500", "120");
echo "<br>";
echo "<table border=0>";
echo "<tr>";
echo "<Td>Username&nbsp;</td>";
echo "<td>";
$ro->coconutTextBox("username", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<Td>Password&nbsp;</td>";
echo "<td>" . $ro->coconutPasswordBox_return("password", "") . "</td>";
echo "</tr>";
echo "</table>";
echo "<br>";
$ro->coconutButton("Proceed");
$ro->coconutBoxStop();
$ro->coconutFormStop();
开发者ID:rickyx12,项目名称:mendero,代码行数:30,代码来源:patientLogin.php

示例6: database

include "../../../myDatabase.php";
$username = $_GET['username'];
$ro = new database();
$ro->coconutDesign();
echo "<Br><Br>";
$ro->coconutFormStart("get", "addPayment1.php");
$ro->coconutHidden("username", $username);
$ro->coconutHidden("datePaid", date("M_d_Y"));
$ro->coconutBoxStart("500", "220");
echo "<Br>";
echo "<Table border=0>";
echo "<tr>";
echo "<TD>Name&nbsp;&nbsp;</tD>";
echo "<td>";
$ro->coconutTextBox("registrationNo", "manual_");
echo "</tD>";
echo "</tr>";
echo "<Tr>";
echo "<Td>Payment For&nbsp;&nbsp;</tD>";
echo "<Td>";
$ro->coconutTextBox("paymentFor", "");
/*
$ro->coconutComboBoxStart_long("paymentFor");
echo "<option value='ADVANCE PAYMENT'>ADVANCE PAYMENT</option>";
echo "<option value='HOSPITAL BILL'>HOSPITAL BILL</option>";
echo "<option value='BILLED'>BILLED</option>";
echo "<option value='PARTIAL PAYMENT'>PARTIAL PAYMENT</option>";
echo "<option value='FULL PAYMENT'>FULL PAYMENT</option>";
echo "<option value='XRAY'>XRAY</option>";
echo "<option value='UTZ'>UTZ</option>";
开发者ID:rickyx12,项目名称:mendero,代码行数:30,代码来源:manualPayment.php

示例7: database

<?php

include "../myDatabase.php";
$ro = new database();
$ro->coconutDesign();
echo "<Br><Br><br>";
$ro->coconutFormStart("get", "addSupplier1.php");
$ro->coconutBoxStart("500", "222");
echo "<br>";
echo "<Table border=0>";
echo "<tr>";
echo "<td>Supplier Name</tD>";
echo "<td>";
$ro->coconutTextBox("supplierName", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Address</tD>";
echo "<td>";
$ro->coconutTextBox("address", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Contact Person</tD>";
echo "<td>";
$ro->coconutTextBox("contactPerson", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Contact No</tD>";
echo "<td>";
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:addSupplier.php

示例8: database

include "../../../myDatabase1.php";
$userz = $_GET['username'];
$ro = new database();
$ro->coconutDesign();
$ro->coconutFormStart("get", "addVoucher1_acct.php");
$ro->coconutHidden("username", $userz);
$ro->coconutHidden("timeIssued", $ro->getSynapseTime());
$ro->coconutHidden("voucherNo", "");
echo "<Br><br>";
$ro->coconutBoxStart("500", "320");
echo "<br>";
echo "<table>";
echo "<tr>";
echo "<TD>Check#</tD>";
echo "<TD>";
$ro->coconutTextBox("checkedNo", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<TD>Payment Mode</tD>";
echo "<TD>";
$ro->coconutComboBoxStart_long("paymentMode");
echo "<option value='cash'>Cash</option>";
echo "<option value='check'>Check</option>";
$ro->coconutComboBoxStop();
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<TD>Description</tD>";
echo "<TD>";
$ro->coconutTextBox("description", "");
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:addVoucher_acct.php

示例9: database

$room = $_GET['supplies'];
$pf = $_GET['pf'];
$suppliesOnly = $_GET['suppliesOnly'];
$username = $_GET['username'];
$ro = new database();
$ro->coconutDesign();
echo "<Br><Br>";
$ro->coconutFormStart("get", "editCasetype1.php");
$ro->coconutHidden("username", $username);
$ro->coconutBoxStart("500", "280");
echo "<center><br><br>";
echo "<Table border=0>";
echo "<tr>";
echo "<td>" . $ro->coconutText("Casetype") . "&nbsp;</td>";
echo "<td>";
$ro->coconutTextBox("casetype", $casetype);
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>" . $ro->coconutText("Medicine") . "&nbsp;</td>";
echo "<td>";
$ro->coconutTextBox("medicine", $medicine);
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>" . $ro->coconutText("Supplies") . "&nbsp;</td>";
echo "<td>";
$ro->coconutTextBox("supplies", $supplies);
echo "</td>";
echo "</tr>";
echo "<tr>";
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:editCasetype.php

示例10: database

<?php

include "../../../myDatabase.php";
$stockCardNo = $_GET['stockCardNo'];
$startLetter = $_GET['startLetter'];
$ro = new database();
$ro->coconutDesign();
echo "Description:&nbsp;<b>" . $ro->selectNow("inventoryStockCard", "description", "stockCardNo", $stockCardNo) . "</b>";
echo "<br>";
echo "Generic:&nbsp;<b>" . $ro->selectNow("inventoryStockCard", "genericName", "stockCardNo", $stockCardNo) . "</b>";
$ro->coconutFormStart("get", "rename1.php");
$ro->coconutHidden("stockCardNo", $stockCardNo);
$ro->coconutHidden("startLetter", $startLetter);
echo "<Br><br>";
echo "New Description:";
$ro->coconutTextBox("description", $ro->selectNow("inventoryStockCard", "description", "stockCardNo", $stockCardNo));
echo "<br><bR>";
echo "New Generic Name";
$ro->coconutTextBox("genericName", $ro->selectNow("inventoryStockCard", "genericName", "stockCardNo", $stockCardNo));
echo "<br><br>";
$ro->coconutButton("Rename");
$ro->coconutFormStop();
开发者ID:rickyx12,项目名称:protacio,代码行数:22,代码来源:rename.php

示例11: database

<?php

include "../../../myDatabase.php";
$packageName = $_GET['packageName'];
$packagePrice = $_GET['packagePrice'];
$ro = new database();
$ro->coconutDesign();
echo "<Br><br><Br>";
$ro->coconutFormStart("get", "editPackage1.php");
$ro->coconutHidden("packageName", $packageName);
$ro->coconutBoxStart("400", "100");
echo "<br>";
echo "<table border=0>";
echo "<Tr>";
echo "<td>Price</tD>";
echo "<td>";
$ro->coconutTextBox("packagePrice", $packagePrice);
echo "</td>";
echo "</tr>";
echo "</table>";
echo "<br>";
$ro->coconutButton("Proceed");
$ro->coconutBoxStop();
$ro->coconutFormStop();
开发者ID:rickyx12,项目名称:protacio,代码行数:24,代码来源:editPackage.php

示例12: database

$ro = new database();
$ro->coconutDesign();
echo "<Br><Br>";
$ro->coconutFormStart("get", "addPayment1.php");
$ro->coconutHidden("username", $username);
$ro->coconutHidden("discount", "");
$ro->coconutHidden("receiptType", "");
$ro->coconutHidden("creditCardNo", "");
$ro->coconutHidden("shift", "1");
$ro->coconutBoxStart("500", "250");
echo "<Br>";
echo "<Table border=0>";
echo "<tr>";
echo "<TD>Name&nbsp;&nbsp;</tD>";
echo "<td>";
$ro->coconutTextBox("registrationNo", $paymentType . "");
echo "</tD>";
echo "</tr>";
echo "<Tr>";
echo "<Td>Payment For&nbsp;&nbsp;</tD>";
echo "<Td>";
$ro->coconutTextBox("paymentFor", "");
/*
$ro->coconutComboBoxStart_long("paymentFor");
echo "<option value='ADVANCE PAYMENT'>ADVANCE PAYMENT</option>";
echo "<option value='HOSPITAL BILL'>HOSPITAL BILL</option>";
echo "<option value='BILLED'>BILLED</option>";
echo "<option value='PARTIAL PAYMENT'>PARTIAL PAYMENT</option>";
echo "<option value='FULL PAYMENT'>FULL PAYMENT</option>";
echo "<option value='XRAY'>XRAY</option>";
echo "<option value='UTZ'>UTZ</option>";
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:manualPayment.php

示例13: database

<?php

include "../../myDatabase.php";
$ro = new database();
$ro->coconutDesign();
echo "<Br><Br>";
$ro->coconutFormStart("get", "addCasetype1.php");
$ro->coconutBoxStart("500", "280");
echo "<center><br><br>";
echo "<Table border=0>";
echo "<tr>";
echo "<td>" . $ro->coconutText("Casetype") . "&nbsp;</td>";
echo "<td>";
$ro->coconutTextBox("casetype", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>" . $ro->coconutText("Medicine") . "&nbsp;</td>";
echo "<td>";
$ro->coconutTextBox("medicine", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>" . $ro->coconutText("Supplies") . "&nbsp;</td>";
echo "<td>";
$ro->coconutTextBox("supplies", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>" . $ro->coconutText("Room") . "&nbsp;</td>";
echo "<td>";
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:addCasetype.php

示例14: database

$description = $_GET['description'];
$supplierCode = $_GET['supplierCode'];
$username = $_GET['username'];
$ro = new database();
$ro->coconutDesign();
echo "<Br><Br><br>";
$ro->coconutFormStart("get", "editSupplier1.php");
$ro->coconutHidden("supplierCode", $supplierCode);
$ro->coconutHidden("username", $username);
$ro->coconutBoxStart("500", "222");
echo "<br>";
echo "<Table border=0>";
echo "<tr>";
echo "<td>Supplier Name</tD>";
echo "<td>";
$ro->coconutTextBox("supplierName", $supplierName);
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Address</tD>";
echo "<td>";
$ro->coconutTextBox("address", $address);
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Contact Person</tD>";
echo "<td>";
$ro->coconutTextBox("contactPerson", $contactPerson);
echo "</td>";
echo "</tr>";
echo "<tr>";
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:editSupplier.php

示例15: database

$noteNo = $_GET['noteNo'];
$noteType = $_GET['noteType'];
$noteBy = $_GET['noteBy'];
echo "\n\n<style type='text/css'>\n.message {\n\tborder: 1px solid #000;\n\tcolor: #000;\n\theight:329px;\n\twidth: 570px;\n\tpadding:4px 4px 4px 2px;\n}\n\n</style>\n\n";
$ro = new database();
$ro->coconutDesign();
$ro->coconutFormStart("post", "editNote1.php");
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutHidden("noteNo", $noteNo);
$ro->coconutBoxStart("650", "463");
echo "<br>";
echo "<table border=0>";
echo "<tr>";
echo "<td>" . $ro->coconutText("Note By") . "</td>";
echo "<td>";
$ro->coconutTextBox("noteBy", $noteBy);
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>" . $ro->coconutText("Note Type") . "</td>";
echo "<td>";
$ro->coconutTextBox_readonly("noteType", $noteType);
echo "</td>";
echo "</tr>";
echo "</table>";
echo $ro->coconutText("<font color=red>Message</font>");
echo "<Br>";
echo "\n<textarea name='noteMessage' class='message'>\n{$noteMessage}\n</textarea>";
echo "<br><br>";
//$ro->coconutButton("Proceed");
$ro->coconutBoxStop();
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:viewDetailedNote.php


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